coreboot/src/drivers/i2c
Momoko Hattori 68b8565fc4 drivers/i2c/generic: Add option to generate proper PowerResource _STA
The _STA method of drivers/i2c/generic PowerResource currently always
returns true. To allow generating _STA that returns the device's actual
power state, this CL adds a new boolean option `use_gpio_for_status` to
the `drivers_i2c_generic_config` struct, and propagates the value to
`acpi_power_res_params` to reuse the feature implemented for acpi/device
in [1].

[1] https://review.coreboot.org/c/coreboot/+/55027

BUG=b:397355818
TEST=Dump SSDT on redrix with CB:86749

Change-Id: I5c0a423730788d634a780d1d1d8c87a7007cc150
Signed-off-by: Momoko Hattori <momohatt@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/86759
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Kapil Porwal <kapilporwal@google.com>
Reviewed-by: Sam McNally <sammc@google.com>
2025-03-11 21:40:57 +00:00
..
at24rf08c drivers/i2c/at24rf08c: Disable DRIVER_LENOVO_SERIALS by default 2024-09-30 11:09:34 +00:00
ck505 drivers: Add SPDX license headers to Kconfig files 2024-02-18 01:59:32 +00:00
cs35l53 tree: Use <stdio.h> for snprintf 2024-05-29 10:33:54 +00:00
cs42l42 tree: Drop duplicated <device/{path,resource}.h> 2024-04-12 04:24:20 +00:00
da7219 tree: Drop duplicated <device/{path,resource}.h> 2024-04-12 04:24:20 +00:00
designware drivers: Add SPDX license headers to Kconfig files 2024-02-18 01:59:32 +00:00
generic drivers/i2c/generic: Add option to generate proper PowerResource _STA 2025-03-11 21:40:57 +00:00
gpiomux tree: Remove unused <string.h> 2024-05-29 10:34:08 +00:00
hid tree: Remove unused <string.h> 2024-05-29 10:34:08 +00:00
lm96000 drivers: Add SPDX license headers to Kconfig files 2024-02-18 01:59:32 +00:00
max98373 tree: Drop duplicated <device/{path,resource}.h> 2024-04-12 04:24:20 +00:00
max98390 tree: Use <stdio.h> for snprintf 2024-05-29 10:33:54 +00:00
max98396 tree: Use <stdio.h> for snprintf 2024-05-29 10:33:54 +00:00
max98927 tree: Drop duplicated <device/{path,resource}.h> 2024-04-12 04:24:20 +00:00
nau8825 tree: Drop duplicated <device/{path,resource}.h> 2024-04-12 04:24:20 +00:00
nct7802y drivers: Add SPDX license headers to Kconfig files 2024-02-18 01:59:32 +00:00
pca9538 drivers: Add SPDX license headers to Kconfig files 2024-02-18 01:59:32 +00:00
pcf8523 include/device/device.h: Remove CHIP_NAME() macro 2024-01-31 09:51:58 +00:00
pi608gp drivers: Add SPDX license headers to Kconfig files 2024-02-18 01:59:32 +00:00
ptn3460 tree: Remove blank lines before '}' and after '{' 2024-04-11 19:19:08 +00:00
rt1011 tree: Use <stdio.h> for snprintf 2024-05-29 10:33:54 +00:00
rt5645 tree: Use <stdio.h> for snprintf 2024-05-29 10:33:54 +00:00
rt5663 tree: Drop duplicated <device/{path,resource}.h> 2024-04-12 04:24:20 +00:00
rtd2132 drivers: Add SPDX license headers to Kconfig files 2024-02-18 01:59:32 +00:00
rv3028c7 drivers: Add SPDX license headers to Kconfig files 2024-02-18 01:59:32 +00:00
rx6110sa drivers: Add SPDX license headers to Kconfig files 2024-02-18 01:59:32 +00:00
sx9310 tree: Remove unused <string.h> 2024-05-29 10:34:08 +00:00
sx9324 tree: Remove unused <string.h> 2024-05-29 10:34:08 +00:00
sx9360 tree: Remove unused <string.h> 2024-05-29 10:34:08 +00:00
tas5825m drivers/i2c/tas5825m: Allow using I2C bus 2024-03-23 18:07:12 +00:00
tpm tpm: Add Ti50 OpenTitan DID_VID 2024-06-14 12:33:31 +00:00
ww_ring drivers: Add SPDX license headers to Kconfig files 2024-02-18 01:59:32 +00:00