Skip to contentSkip to conversation

sysreset: select DM_GPIO instead of GPIO

PATCH New Chris Packham 3 participants 6 messages Apr 13, 2019 – May 10, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 sysreset: select DM_GPIO instead of GPIO

CONFIG_GPIO does not exist. sysreset_gpio.c uses the DM gpio APIs so the correct option to select is DM_GPIO.

---

 drivers/sysreset/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/sysreset/Kconfig +1 -1
index 8ce3e2e20761..73d141184953 100644
@@ -17,7 +17,7 @@ if SYSRESET
 
 config SYSRESET_GPIO
 	bool "Enable support for GPIO reset driver"
-	select GPIO
+	select DM_GPIO
 	help
 	  Reset support via GPIO pin connected reset logic. This is used for
 	  example on Microblaze where reset logic can be controlled via GPIO
Signature · 1 line
2.21.0
#1 lore raw

PATCH 2/2 Remove whitelist entry for CONFIG_GPIO

CONFIG_GPIO does not exist. There is one hit for it in tegra_gpio.c but it is a variable name.

---

 scripts/config_whitelist.txt | 1 -
 1 file changed, 1 deletion(-)
scripts/config_whitelist.txt +0 -1
index fa98efc24c0b..48622b12bb64 100644
@@ -713,7 +713,6 @@ CONFIG_GLOBAL_TIMER
 CONFIG_GMII
 CONFIG_GOOD_SESH4
 CONFIG_GPCNTRL
-CONFIG_GPIO
 CONFIG_GPIO_ENABLE_SPI_FLASH
 CONFIG_GPIO_LED_INVERTED_TABLE
 CONFIG_GPIO_LED_STUBS
Signature · 1 line
2.21.0
#3 lore raw

PATCH 2/2 Remove whitelist entry for CONFIG_GPIO

In reply to Chris Packham
Quoted 5 lines · Chris Packham

CONFIG_GPIO does not exist. There is one hit for it in tegra_gpio.c but it is a variable name.

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190510/cfd02bc9/attachment.sig>
#5 lore raw

PATCH 1/2 sysreset: select DM_GPIO instead of GPIO

In reply to Chris Packham
Quoted 6 lines · Chris Packham

CONFIG_GPIO does not exist. sysreset_gpio.c uses the DM gpio APIs so the correct option to select is DM_GPIO.

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190510/2decb6d2/attachment.sig>