coreboot/src/soc/intel
Sean Rhodes ba7ed69583 soc/intel/cnvi: Skip calling _ON when device is already enabled
Add a check in the _ON method, similar to coreboot's ONSK handling
in its RTD3 driver, to determine whether the enable GPIO is already
asserted.

This prevents the OS from repeatedly invoking _ON, which can happen
because CNVi takes around 300ms to initialize after the GPIO is
enabled.

Change-Id: I53986aa11714666c12056460aa47396266a00a1c
Signed-off-by: Sean Rhodes <sean@starlabs.systems>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/87240
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Matt DeVillier <matt.devillier@gmail.com>
2025-04-18 14:59:30 +00:00
..
alderlake soc/intel/alderlake/vr_config: Add Amston Lake X7433RE 2025-04-17 14:51:37 +00:00
apollolake {drivers, mb, soc}: Drop HAVE_FSP_LOGO_SUPPORT Kconfig 2025-03-06 19:02:08 +00:00
baytrail soc/intel/baytrail: Add microcode for '06-37-08' SOCs 2025-02-03 18:59:45 +00:00
braswell tree: Handle NULL pointer returned by smm_get_save_state() 2025-01-20 03:26:26 +00:00
broadwell intel/broadwell/spd: Use <spd.h> and <dram/ddr3.h> 2025-02-26 14:27:22 +00:00
cannonlake soc/intel/cannonlake: Use common ACPI code for SRAM and HECI 2025-03-17 20:20:33 +00:00
common soc/intel/cnvi: Skip calling _ON when device is already enabled 2025-04-18 14:59:30 +00:00
denverton_ns soc/intel/denverton_ns: Remove unused memcpy_s function 2025-02-01 06:00:27 +00:00
elkhartlake soc/intel/elkhartlake/pmc,gpio: Fix PMC GPE GPIO routes 2025-04-14 16:46:06 +00:00
jasperlake Revert "soc/intel/jasperlake: Add CrashLog implementation for Intel JSL" 2025-03-17 20:21:04 +00:00
meteorlake soc/intel/meteorlake: Add missing minimum D-state for SMBUS 2025-04-09 07:19:08 +00:00
pantherlake soc/intel/fatcat: Override FSP-M UART MMIO for GFX PEIM debug 2025-04-17 17:09:07 +00:00
skylake soc/intel/skylake: Use common ACPI code for HECI 2025-03-17 20:20:39 +00:00
snowridge soc/intel/common/block: Add const qualifier for input of pirq ops 2024-12-09 13:55:53 +00:00
tigerlake soc/intel/tigerlake: Use common ACPI code for SRAM and HECI 2025-03-17 20:20:26 +00:00
xeon_sp soc/intel/xeon_sp/spr: Use default turbo ratio 2025-03-12 12:44:06 +00:00
Makefile.mk