Thread (18 messages) 18 messages, 4 authors, 2017-08-03

Re: [PATCH v7 12/12] pinctrl: dt-bindings: add bindings for Rockchip RK805 PMIC

From: Linus Walleij <hidden>
Date: 2017-08-03 07:42:37
Also in: linux-devicetree, linux-gpio, linux-rockchip, lkml

On Fri, Jul 21, 2017 at 1:19 PM, Joseph Chen [off-list ref] wrote:

(...)
+Following are optional properties defined as pinmux DT binding document
+<pinctrl-bindings.txt>. Absence of properties will leave the configuration
+on default.
+       function,
+       output-low,
+       output-high.
+
+Valid values for function properties are: gpio.
+
+Theres is also not customised properties for any GPIO.
+
+Example:
+--------
+rk805: rk805@18 {
+       compatible = "rockchip,rk805";
+       ...
+       gpio-controller;
+       #gpio-cells = <2>;
+
+       pinctrl-names = "default";
+       pinctrl-0 = <&pmic_int_l>, <&rk805_default>;
+
+       rk805_default: pinmux {
+               gpio01 {
+                       pins = "gpio0", "gpio1";
+                       function = "gpio";
+                       output-high.
That should be a semicolon.

With that fixed:
Acked-by: Linus Walleij <redacted>

Yours,
Linus Walleij
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help