projects
/
cascardo
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2402850
)
ARM: dts: STiH41x-b2000: update gpio specifier
author
Patrice Chotard
<patrice.chotard@st.com>
Thu, 4 Aug 2016 09:50:21 +0000
(11:50 +0200)
committer
Patrice Chotard
<patrice.chotard@st.com>
Tue, 6 Sep 2016 07:21:21 +0000
(09:21 +0200)
Remove useless gpio-cells
Add second parameter to indicate if gpio is active high
or low.
Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
arch/arm/boot/dts/stih41x-b2000.dtsi
patch
|
blob
|
history
diff --git
a/arch/arm/boot/dts/stih41x-b2000.dtsi
b/arch/arm/boot/dts/stih41x-b2000.dtsi
index
5f91f45
..
9bfa067
100644
(file)
--- a/
arch/arm/boot/dts/stih41x-b2000.dtsi
+++ b/
arch/arm/boot/dts/stih41x-b2000.dtsi
@@
-7,6
+7,8
@@
* publishhed by the Free Software Foundation.
*/
#include <dt-bindings/input/input.h>
+#include <dt-bindings/gpio/gpio.h>
+
/ {
memory{
@@
-33,9
+35,8
@@
leds {
compatible = "gpio-leds";
fp_led {
- #gpio-cells = <1>;
label = "Front Panel LED";
- gpios = <&pio105 7>;
+ gpios = <&pio105 7
GPIO_ACTIVE_HIGH
>;
linux,default-trigger = "heartbeat";
};
};