diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2015-08-27 12:44:30 +0900 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2015-08-31 07:57:29 -0600 |
commit | 9c6a3c6772c4aa53bed0b233621637af2e3eb83e (patch) | |
tree | c9cfa15b23ba561d6484832fdbf4f769be87f0e5 /drivers/pinctrl/Kconfig | |
parent | d90a5a30dec16442fc64154e40018bdbb37776a9 (diff) | |
download | u-boot-imx-9c6a3c6772c4aa53bed0b233621637af2e3eb83e.zip u-boot-imx-9c6a3c6772c4aa53bed0b233621637af2e3eb83e.tar.gz u-boot-imx-9c6a3c6772c4aa53bed0b233621637af2e3eb83e.tar.bz2 |
pinctrl: sandbox: add sandbox pinctrl driver
This driver actually does nothing but test pinctrl uclass, and
demonstrate how things work.
To try this driver, uncomment /* #define DEBUG */ in the
drivers/pinctrl/pinctrl-sandbox.c, and debug messages will be
displayed.
DRAM: 128 MiB
sandbox pinmux: group = 1 (serial_a), function = 1 (serial)
Using default environment
In: cros-ec-keyb
Out: lcd
Err: lcd
Net: Net Initialization Skipped
eth0: eth@10002000, eth1: eth@80000000, eth5: eth@90000000
=> i2c dev 0
Setting bus to 0
sandbox pinmux: group = 0 (i2c), function = 0 (i2c)
sandbox pinconf: group = 0 (i2c), param = 3, arg = 1
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/pinctrl/Kconfig')
-rw-r--r-- | drivers/pinctrl/Kconfig | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/pinctrl/Kconfig b/drivers/pinctrl/Kconfig index 6ac56eb..30b8e45 100644 --- a/drivers/pinctrl/Kconfig +++ b/drivers/pinctrl/Kconfig @@ -96,6 +96,14 @@ config SPL_PINCONF if PINCTRL || SPL_PINCTRL +config PINCTRL_SANDBOX + bool "Sandbox pinctrl driver" + depends on SANDBOX + help + This enables pinctrl driver for sandbox. Currently, this driver + actually does nothing but print debug messages when pinctrl + operations are invoked. + endif endmenu |