Thread (26 messages) 26 messages, 4 authors, 2015-05-21

[PATCH v2 11/11] ARM: dts: mt8135-evbp1: Add pinctrl/GPIO node for mt6397.

From: matthias.bgg@gmail.com (Matthias Brugger)
Date: 2015-05-21 08:03:57
Also in: linux-devicetree, linux-gpio, linux-mediatek, lkml

2015-05-19 8:11 GMT+02:00 Hongzhou Yang [off-list ref]:
quoted hunk ↗ jump to hunk
Add pinctrl and GPIO node to mt8135-evbp1.dts.

Signed-off-by: Hongzhou Yang <redacted>
---
 arch/arm/boot/dts/mt8135-evbp1.dts |    8 ++++++++
 1 file changed, 8 insertions(+)
diff --git a/arch/arm/boot/dts/mt8135-evbp1.dts b/arch/arm/boot/dts/mt8135-evbp1.dts
index 357a91f..332233b 100644
--- a/arch/arm/boot/dts/mt8135-evbp1.dts
+++ b/arch/arm/boot/dts/mt8135-evbp1.dts
@@ -14,6 +14,7 @@

 /dts-v1/;
 #include "mt8135.dtsi"
+#include <dt-bindings/pinctrl/mt6397-pinfunc.h>

 / {
        model = "MediaTek MT8135 evaluation board";
@@ -28,6 +29,13 @@
        pmic: mt6397 {
                compatible = "mediatek,mt6397";

+               pio6397: pinctrl at c000 {
+                       compatible = "mediatek,mt6397-pinctrl";
+                       pins-are-numbered;
+                       gpio-controller;
+                       #gpio-cells = <2>;
+               };
+
                mt6397regulator: mt6397regulator {
                        compatible = "mediatek,mt6397-regulator";
Acked-by: Matthias Brugger <matthias.bgg@gmail.com>

Linus, please take it through your tree.
Thanks.

-- 
motzblog.wordpress.com
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help