mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-14 17:07:38 +00:00
fd42f263ce
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>
15 lines
242 B
C
15 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
|