diff options
author | Eugen Hristev <eugen.hristev@microchip.com> | 2018-09-18 10:35:34 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2018-09-28 20:22:37 -0400 |
commit | 0523a6c6f7cc111063d9cb6508550dd83b2224d8 (patch) | |
tree | aec34f23d888f273e1da61a73c4dfc1e49c8ec6e /drivers/pinctrl/pinctrl-sandbox.c | |
parent | d05266f7c5bc4bbee7535804fea3388fe163a2dd (diff) | |
download | u-boot-0523a6c6f7cc111063d9cb6508550dd83b2224d8.zip u-boot-0523a6c6f7cc111063d9cb6508550dd83b2224d8.tar.gz u-boot-0523a6c6f7cc111063d9cb6508550dd83b2224d8.tar.bz2 |
pinctrl: sandbox: add gpio onewire w1 group
Add onewire "w1" groups and pin function for onewire GPIOs in sandbox.
Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
Diffstat (limited to 'drivers/pinctrl/pinctrl-sandbox.c')
-rw-r--r-- | drivers/pinctrl/pinctrl-sandbox.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/pinctrl/pinctrl-sandbox.c b/drivers/pinctrl/pinctrl-sandbox.c index 468fa2a..755ac08 100644 --- a/drivers/pinctrl/pinctrl-sandbox.c +++ b/drivers/pinctrl/pinctrl-sandbox.c @@ -14,6 +14,7 @@ static const char * const sandbox_pins[] = { "SDA", "TX", "RX", + "W1" }; static const char * const sandbox_groups[] = { @@ -21,12 +22,14 @@ static const char * const sandbox_groups[] = { "serial_a", "serial_b", "spi", + "w1", }; static const char * const sandbox_functions[] = { "i2c", "serial", "spi", + "w1", }; static const struct pinconf_param sandbox_conf_params[] = { |