u-boot/drivers/i2c/acpi_i2c.h
Simon Glass fd42f263ce i2c: Add a generic driver to generate ACPI info
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>
2020-09-25 11:27:15 +08:00

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