i2c: designware_i2c: Support ACPI table generation
authorSimon Glass <sjg@chromium.org>
Wed, 8 Jul 2020 03:32:29 +0000 (21:32 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Fri, 17 Jul 2020 06:32:24 +0000 (14:32 +0800)
commit4b0ec52b9ee52de7aabb05c6a8386c0b788d2271
treea69f5291c1f048cc7d7f3ff010186011ce3b4733
parentc61c8efd477c075b75b22ebd7b0e845a39a7d105
i2c: designware_i2c: Support ACPI table generation

Update the PCI driver to generate ACPI information so that Linux has the
full information about each I2C bus.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Heiko Schocher <hs@denx.de>
Reviewed-by: Wolfgang Wallner <wolfgang.wallner@br-automation.com>
[bmeng: Correct one typo in dw_i2c_gen_speed_config() comments]
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
drivers/i2c/designware_i2c.c
drivers/i2c/designware_i2c.h
drivers/i2c/designware_i2c_pci.c