~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/pinctrl/pinctrl-rk805.txt

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /Documentation/devicetree/bindings/pinctrl/pinctrl-rk805.txt (Architecture sparc64) and /Documentation/devicetree/bindings/pinctrl/pinctrl-rk805.txt (Architecture alpha)


  1 Pincontrol driver for RK805 Power management I      1 Pincontrol driver for RK805 Power management IC.
  2                                                     2 
  3 RK805 has 2 pins which can be configured as GP      3 RK805 has 2 pins which can be configured as GPIO output only.
  4                                                     4 
  5 Please refer file <devicetree/bindings/pinctrl      5 Please refer file <devicetree/bindings/pinctrl/pinctrl-bindings.txt>
  6 for details of the common pinctrl bindings use      6 for details of the common pinctrl bindings used by client devices,
  7 including the meaning of the phrase "pin confi      7 including the meaning of the phrase "pin configuration node".
  8                                                     8 
  9 Optional Pinmux properties:                         9 Optional Pinmux properties:
 10 --------------------------                         10 --------------------------
 11 Following properties are required if default s     11 Following properties are required if default setting of pins are required
 12 at boot.                                           12 at boot.
 13 - pinctrl-names: A pinctrl state named per <pi     13 - pinctrl-names: A pinctrl state named per <pinctrl-bindings.txt>.
 14 - pinctrl[0...n]: Properties to contain the ph     14 - pinctrl[0...n]: Properties to contain the phandle for pinctrl states per
 15                 <pinctrl-bindings.txt>.            15                 <pinctrl-bindings.txt>.
 16                                                    16 
 17 The pin configurations are defined as child of     17 The pin configurations are defined as child of the pinctrl states node. Each
 18 sub-node have following properties:                18 sub-node have following properties:
 19                                                    19 
 20 Required properties:                               20 Required properties:
 21 ------------------                                 21 ------------------
 22 - #gpio-cells: Should be two. The first cell i     22 - #gpio-cells: Should be two. The first cell is the pin number and the
 23   second is the GPIO flags.                        23   second is the GPIO flags.
 24                                                    24 
 25 - gpio-controller: Marks the device node as a      25 - gpio-controller: Marks the device node as a GPIO controller.
 26                                                    26 
 27 - pins: List of pins. Valid values of pins pro     27 - pins: List of pins. Valid values of pins properties are: gpio0, gpio1.
 28                                                    28 
 29 First 2 properties must be added in the RK805      29 First 2 properties must be added in the RK805 PMIC node, documented in
 30 Documentation/devicetree/bindings/mfd/rockchip     30 Documentation/devicetree/bindings/mfd/rockchip,rk808.yaml
 31                                                    31 
 32 Optional properties:                               32 Optional properties:
 33 -------------------                                33 -------------------
 34 Following are optional properties defined as p     34 Following are optional properties defined as pinmux DT binding document
 35 <pinctrl-bindings.txt>. Absence of properties      35 <pinctrl-bindings.txt>. Absence of properties will leave the configuration
 36 on default.                                        36 on default.
 37         function,                                  37         function,
 38         output-low,                                38         output-low,
 39         output-high.                               39         output-high.
 40                                                    40 
 41 Valid values for function properties are: gpio     41 Valid values for function properties are: gpio.
 42                                                    42 
 43 There are also not customised properties for a     43 There are also not customised properties for any GPIO.
 44                                                    44 
 45 Example:                                           45 Example:
 46 --------                                           46 --------
 47 rk805: rk805@18 {                                  47 rk805: rk805@18 {
 48         compatible = "rockchip,rk805";             48         compatible = "rockchip,rk805";
 49         ...                                        49         ...
 50         gpio-controller;                           50         gpio-controller;
 51         #gpio-cells = <2>;                         51         #gpio-cells = <2>;
 52                                                    52 
 53         pinctrl-names = "default";                 53         pinctrl-names = "default";
 54         pinctrl-0 = <&pmic_int_l>, <&rk805_def     54         pinctrl-0 = <&pmic_int_l>, <&rk805_default>;
 55                                                    55 
 56         rk805_default: pinmux {                    56         rk805_default: pinmux {
 57                 gpio01 {                           57                 gpio01 {
 58                         pins = "gpio0", "gpio1     58                         pins = "gpio0", "gpio1";
 59                         function = "gpio";         59                         function = "gpio";
 60                         output-high;               60                         output-high;
 61                 };                                 61                 };
 62         };                                         62         };
 63 };                                                 63 };
                                                      

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php