diff mbox series

gpio: fix test.py for gpio label lookup

Message ID 20200708082400.625080-1-hs@denx.de
State New
Headers show
Series gpio: fix test.py for gpio label lookup | expand

Commit Message

Heiko Schocher July 8, 2020, 8:24 a.m. UTC
commit 2bd261dd1712 ("gpio: search for gpio label if gpio is not found through bank name")

disabled DM_GPIO_LOOKUP_LABEL which is needed
in sandbox defconfigs, as we have tests for this
functionality.

Signed-off-by: Heiko Schocher <hs at denx.de>
---

 configs/sandbox64_defconfig        | 1 +
 configs/sandbox_defconfig          | 1 +
 configs/sandbox_flattree_defconfig | 1 +
 3 files changed, 3 insertions(+)

Comments

Tom Rini July 8, 2020, 2:40 p.m. UTC | #1
On Wed, Jul 08, 2020 at 10:24:00AM +0200, Heiko Schocher wrote:

> commit 2bd261dd1712 ("gpio: search for gpio label if gpio is not found through bank name")
> 
> disabled DM_GPIO_LOOKUP_LABEL which is needed
> in sandbox defconfigs, as we have tests for this
> functionality.
> 
> Signed-off-by: Heiko Schocher <hs at denx.de>

Applied to u-boot/master, thanks!
diff mbox series

Patch

diff --git a/configs/sandbox64_defconfig b/configs/sandbox64_defconfig
index 06ccbcd7aa..dcf2f44b58 100644
--- a/configs/sandbox64_defconfig
+++ b/configs/sandbox64_defconfig
@@ -100,6 +100,7 @@  CONFIG_DM_DEMO_SHAPE=y
 CONFIG_BOARD=y
 CONFIG_BOARD_SANDBOX=y
 CONFIG_GPIO_HOG=y
+CONFIG_DM_GPIO_LOOKUP_LABEL=y
 CONFIG_PM8916_GPIO=y
 CONFIG_SANDBOX_GPIO=y
 CONFIG_I2C_CROS_EC_TUNNEL=y
diff --git a/configs/sandbox_defconfig b/configs/sandbox_defconfig
index 61b608b7d4..e0dffa36ea 100644
--- a/configs/sandbox_defconfig
+++ b/configs/sandbox_defconfig
@@ -118,6 +118,7 @@  CONFIG_DMA=y
 CONFIG_DMA_CHANNELS=y
 CONFIG_SANDBOX_DMA=y
 CONFIG_GPIO_HOG=y
+CONFIG_DM_GPIO_LOOKUP_LABEL=y
 CONFIG_PM8916_GPIO=y
 CONFIG_SANDBOX_GPIO=y
 CONFIG_DM_HWSPINLOCK=y
diff --git a/configs/sandbox_flattree_defconfig b/configs/sandbox_flattree_defconfig
index da0e970b7a..4158b9b86d 100644
--- a/configs/sandbox_flattree_defconfig
+++ b/configs/sandbox_flattree_defconfig
@@ -85,6 +85,7 @@  CONFIG_DM_DEMO_SHAPE=y
 CONFIG_BOARD=y
 CONFIG_BOARD_SANDBOX=y
 CONFIG_GPIO_HOG=y
+CONFIG_DM_GPIO_LOOKUP_LABEL=y
 CONFIG_PM8916_GPIO=y
 CONFIG_SANDBOX_GPIO=y
 CONFIG_I2C_CROS_EC_TUNNEL=y