mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-19 08:28:51 +09:00
![Simon Glass](/assets/img/avatar_default.png)
Many I2C devices produce roughly the same ACPI data with just things like the GPIO/interrupt information being different. This can be handled by a generic driver along with some information in the device tree. Add a generic i2c driver for this purpose. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
16 lines
242 B
C
16 lines
242 B
C
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
/*
|
|
* Copyright 2019 Google LLC
|
|
*/
|
|
|
|
#ifndef __ACPI_I2C_H
|
|
#define __ACPI_I2C_H
|
|
|
|
#include <dm/acpi.h>
|
|
|
|
extern struct acpi_ops acpi_i2c_ops;
|
|
|
|
int acpi_i2c_ofdata_to_platdata(struct udevice *dev);
|
|
|
|
#endif
|