forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-04 1543e317f1da31b75942316931e8f491a8920811
kernel/Documentation/devicetree/bindings/pinctrl/meson,pinctrl.txt
....@@ -13,6 +13,9 @@
1313 "amlogic,meson-gxl-aobus-pinctrl"
1414 "amlogic,meson-axg-periphs-pinctrl"
1515 "amlogic,meson-axg-aobus-pinctrl"
16
+ "amlogic,meson-g12a-periphs-pinctrl"
17
+ "amlogic,meson-g12a-aobus-pinctrl"
18
+ "amlogic,meson-a1-periphs-pinctrl"
1619 - reg: address and size of registers controlling irq functionality
1720
1821 === GPIO sub-nodes ===
....@@ -21,11 +24,11 @@
2124 GPIO controller.
2225
2326 Required properties for sub-nodes are:
24
- - reg: should contain address and size for mux, pull-enable, pull and
25
- gpio register sets
26
- - reg-names: an array of strings describing the "reg" entries. Must
27
- contain "mux", "pull" and "gpio". "pull-enable" is optional and
28
- when it is missing the "pull" registers are used instead
27
+ - reg: should contain a list of address and size, one tuple for each entry
28
+ in reg-names.
29
+ - reg-names: an array of strings describing the "reg" entries.
30
+ Must contain "mux" and "gpio".
31
+ May contain "pull", "pull-enable" and "ds" when appropriate.
2932 - gpio-controller: identifies the node as a gpio controller
3033 - #gpio-cells: must be 2
3134
....@@ -45,9 +48,19 @@
4548 Required properties for configuration nodes:
4649 - pins: a list of pin names
4750
48
-Configuration nodes support the generic properties "bias-disable",
49
-"bias-pull-up" and "bias-pull-down", described in file
50
-pinctrl-bindings.txt
51
+Configuration nodes support the following generic properties, as
52
+described in file pinctrl-bindings.txt:
53
+ - "bias-disable"
54
+ - "bias-pull-up"
55
+ - "bias-pull-down"
56
+ - "output-enable"
57
+ - "output-disable"
58
+ - "output-low"
59
+ - "output-high"
60
+
61
+Optional properties :
62
+ - drive-strength-microamp: Drive strength for the specified pins in uA.
63
+ This property is only valid for G12A and newer.
5164
5265 === Example ===
5366