projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d05266f
)
pinctrl: sandbox: add gpio onewire w1 group
author
Eugen Hristev
<eugen.hristev@microchip.com>
Tue, 18 Sep 2018 07:35:34 +0000
(10:35 +0300)
committer
Tom 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
patch
|
blob
|
history
diff --git
a/drivers/pinctrl/pinctrl-sandbox.c
b/drivers/pinctrl/pinctrl-sandbox.c
index 468fa2a7d0b772f732bc5af82ba8a5e17d000314..755ac08bdf72cd880e9ce6413065192f4e3ffc96 100644
(file)
--- 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[] = {