summaryrefslogtreecommitdiff
path: root/configs/sandbox_noinst_defconfig
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2021-08-07 07:24:12 -0600
committerSimon Glass <sjg@chromium.org>2021-09-25 09:46:15 -0600
commit48609d0789f811014b33e6eefc2c27c99be7fea7 (patch)
treea60a6c721d5776859926501269c2a9f08235bb26 /configs/sandbox_noinst_defconfig
parent3e57ad907caa55bab8ba52ef87ddbc5130aede2c (diff)
downloadu-boot-socfpga-48609d0789f811014b33e6eefc2c27c99be7fea7.tar.gz
dm: gpio: Add of-platdata support
Add support for accessing GPIOs using of-plata. This uses the same mechanism as for clocks, but allows use of the xlate() method so that the driver can interpret the parameters. Update the condition for GPIO_HOG so that it is not built into SPL, since it needs SPL_OF_REAL which is not enabled in sandbox_spl. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'configs/sandbox_noinst_defconfig')
-rw-r--r--configs/sandbox_noinst_defconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/configs/sandbox_noinst_defconfig b/configs/sandbox_noinst_defconfig
index 6469260b53..b3584563d2 100644
--- a/configs/sandbox_noinst_defconfig
+++ b/configs/sandbox_noinst_defconfig
@@ -1,4 +1,5 @@
CONFIG_SYS_TEXT_BASE=0x200000
+CONFIG_SPL_GPIO=y
CONFIG_SPL_LIBCOMMON_SUPPORT=y
CONFIG_SPL_LIBGENERIC_SUPPORT=y
CONFIG_NR_DRAM_BANKS=1
@@ -122,6 +123,7 @@ CONFIG_SANDBOX_GPIO=y
CONFIG_I2C_CROS_EC_TUNNEL=y
CONFIG_I2C_CROS_EC_LDO=y
CONFIG_DM_I2C_GPIO=y
+# CONFIG_SPL_DM_I2C_GPIO is not set
CONFIG_SYS_I2C_SANDBOX=y
CONFIG_I2C_MUX=y
CONFIG_I2C_ARB_GPIO_CHALLENGE=y