gpio: dwapb: Enable SPL support for DWAPB GPIO driver
authorTanmay Kathpalia <tanmay.kathpalia@altera.com>
Wed, 15 Oct 2025 15:44:45 +0000 (08:44 -0700)
committerTien Fong Chee <tien.fong.chee@intel.com>
Mon, 1 Dec 2025 05:55:02 +0000 (13:55 +0800)
commit2b30c416f0b210328fc5869f90926e346da08521
tree74dc0c163942442acfb59b4762228072f023da1f
parentb17c28488b31e44279b58e87fd838f601c393176
gpio: dwapb: Enable SPL support for DWAPB GPIO driver

Add SPL_DWAPB_GPIO configuration option to enable the Designware APB
GPIO driver in SPL builds.

Changes:
- Add SPL_DWAPB_GPIO Kconfig option with SPL_DM_GPIO dependency
- Update Makefile to use CONFIG_$(PHASE_)DWAPB_GPIO pattern for
  conditional compilation in both SPL and main U-Boot builds

Signed-off-by: Tanmay Kathpalia <tanmay.kathpalia@altera.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
drivers/gpio/Kconfig
drivers/gpio/Makefile