1 Pincontrol driver for RK805 Power management IC.
3 RK805 has 2 pins which can be configured as GPIO output only.
5 Please refer file <devicetree/bindings/pinctrl/pinctrl-bindings.txt>
6 for details of the common pinctrl bindings used by client devices,
7 including the meaning of the phrase "pin configuration node".
9 Optional Pinmux properties:
10 --------------------------
11 Following properties are required if default setting of pins are required
13 - pinctrl-names: A pinctrl state named per <pinctrl-bindings.txt>.
14 - pinctrl[0...n]: Properties to contain the phandle for pinctrl states per
15 <pinctrl-bindings.txt>.
17 The pin configurations are defined as child of the pinctrl states node. Each
18 sub-node have following properties:
22 - #gpio-cells: Should be two. The first cell is the pin number and the
23 second is the GPIO flags.
25 - gpio-controller: Marks the device node as a GPIO controller.
27 - pins: List of pins. Valid values of pins properties are: gpio0, gpio1.
29 First 2 properties must be added in the RK805 PMIC node, documented in
30 Documentation/devicetree/bindings/mfd/rk808.txt
34 Following are optional properties defined as pinmux DT binding document
35 <pinctrl-bindings.txt>. Absence of properties will leave the configuration
41 Valid values for function properties are: gpio.
43 Theres is also not customised properties for any GPIO.
48 compatible = "rockchip,rk805";
53 pinctrl-names = "default";
54 pinctrl-0 = <&pmic_int_l>, <&rk805_default>;
56 rk805_default: pinmux {
58 pins = "gpio0", "gpio1";