coreboot/src/superio/ite
Michał Żygowski 5ad8a5fa47 superio/acpi: Add SUPERIO_PNP_NO_DIS to support always active LDNs
Some LDNs do not implement the activate bit at all, e.g. ITE GPIO LDNs
are an example where the LDN is always active. The pnp_generic.asl can
be used to describe the GPIO LDN resources configured by the platform,
however the register 0x30 is always 0 for these LDNs, so OS will not
claim the reported resource for the GPIO device, because _STA will
return inactive LDN.

Add SUPERIO_PNP_NO_DIS macro to generate _STA method returning an
always active LDN and skip _DIS generation. Define the SUPERIO_PNP_NO_DIS
for SIOs which use the pnp_generic.asl preserving the previous states,
except the ITE GPIO LDNs.

Change-Id: Ieb827fdffe7660b875cba6ca99b0560b4cab66b4
Signed-off-by: Michał Żygowski <michal.zygowski@3mdeb.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/80496
Reviewed-by: Nico Huber <nico.h@gmx.de>
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2024-03-01 15:37:48 +00:00
..
common superio/ite/common/early_serial.c: ite_kill_watchdog: set timeout to 0 2022-08-07 19:54:43 +00:00
it8528e include/device/device.h: Remove CHIP_NAME() macro 2024-01-31 09:51:58 +00:00
it8613e include/device/device.h: Remove CHIP_NAME() macro 2024-01-31 09:51:58 +00:00
it8623e include/device/device.h: Remove CHIP_NAME() macro 2024-01-31 09:51:58 +00:00
it8629e superio/ite: Add IT8629E 2024-02-26 12:59:19 +00:00
it8712f include/device/device.h: Remove CHIP_NAME() macro 2024-01-31 09:51:58 +00:00
it8718f include/device/device.h: Remove CHIP_NAME() macro 2024-01-31 09:51:58 +00:00
it8720f superio/acpi: Add SUPERIO_PNP_NO_DIS to support always active LDNs 2024-03-01 15:37:48 +00:00
it8721f superio/acpi: Add SUPERIO_PNP_NO_DIS to support always active LDNs 2024-03-01 15:37:48 +00:00
it8728f include/device/device.h: Remove CHIP_NAME() macro 2024-01-31 09:51:58 +00:00
it8772f include/device/device.h: Remove CHIP_NAME() macro 2024-01-31 09:51:58 +00:00
it8783ef include/device/device.h: Remove CHIP_NAME() macro 2024-01-31 09:51:58 +00:00
it8784e superio/acpi: Add SUPERIO_PNP_NO_DIS to support always active LDNs 2024-03-01 15:37:48 +00:00
it8786e include/device/device.h: Remove CHIP_NAME() macro 2024-01-31 09:51:58 +00:00
Makefile.mk superio/ite: Add IT8629E 2024-02-26 12:59:19 +00:00