pinctrl: sandbox: add gpio onewire w1 group
authorEugen Hristev <eugen.hristev@microchip.com>
Tue, 18 Sep 2018 07:35:34 +0000 (10:35 +0300)
committerTom Rini <trini@konsulko.com>
Sat, 29 Sep 2018 00:22:37 +0000 (20:22 -0400)
Add onewire "w1" groups and pin function for onewire GPIOs in sandbox.

Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
drivers/pinctrl/pinctrl-sandbox.c

index 468fa2a7d0b772f732bc5af82ba8a5e17d000314..755ac08bdf72cd880e9ce6413065192f4e3ffc96 100644 (file)
@@ -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[] = {