coreboot-kgpe-d16/src/drivers/i2c
Furquan Shaikh 1d33488968 drivers/i2c/generic: Re-factor SSDT generation code
1. Export i2c_generic_fill_ssdt to allow other device-specific i2c
drivers to share and re-use the same code for generating AML code for
SSDT. In order to achieve this, following changes are required:
 a. Add macro I2C_GENERIC_CONFIG that defines a structure with all
 generic i2c device-tree properties. This macro should be placed by the
 using driver at the start of its config structure.
 b. Accept a callback function to add any device specific information to
 SSDT. If generic driver is used directly by a device, callback would be
 NULL. Other devices using a separate i2c driver can provide a callback
 to add any properties to SSDT.
2. Allow device to provide _CID.

BUG=chrome-os-partner:57846

Change-Id: I3a0054e22b81f9d6d407bef417eae5e9edc04ee4
Signed-off-by: Furquan Shaikh <furquan@chromium.org>
Reviewed-on: https://review.coreboot.org/17089
Tested-by: build bot (Jenkins)
Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
2016-10-25 00:13:05 +02:00
..
adm1026 drivers: Use DEVICE_NOOP macro over dummy symbol 2014-11-01 21:14:07 +01:00
adm1027 drivers: Use DEVICE_NOOP macro over dummy symbol 2014-11-01 21:14:07 +01:00
adt7463 tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
at24rf08c src/drivers: Remove whitespace after memcpy & memset 2016-10-07 18:06:48 +02:00
da7219 drivers/i2c/da7219: Add driver for generating device in SSDT 2016-07-08 17:22:16 +02:00
generic drivers/i2c/generic: Re-factor SSDT generation code 2016-10-25 00:13:05 +02:00
i2cmux devicetree: Discriminate device ops scan_bus() 2015-06-04 11:19:01 +02:00
i2cmux2 devicetree: Discriminate device ops scan_bus() 2015-06-04 11:19:01 +02:00
lm63 drivers: Use DEVICE_NOOP macro over dummy symbol 2014-11-01 21:14:07 +01:00
nau8825 acpi: Change device properties to work as a tree 2016-07-08 17:21:26 +02:00
pcf8523 drivers/i2c: Add new driver for RTC type PCF8523 2016-07-14 07:04:04 +02:00
rtd2132 tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
tpm drivers/i2c/tpm/cr50: Initialize IRQ status handler before probe 2016-10-05 17:32:10 +02:00
w83793 tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
w83795 i2c/w83795: Fix chip type message 2016-08-02 14:02:59 +02:00
ww_ring Gale: Fix the orange color to match the UX doc 2016-10-07 17:54:48 +02:00