forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-10 61598093bbdd283a7edc367d900f223070ead8d2
kernel/Documentation/devicetree/bindings/pinctrl/qcom,msm8998-pinctrl.txt
....@@ -40,6 +40,14 @@
4040 Definition: must be 2. Specifying the pin number and flags, as defined
4141 in <dt-bindings/gpio/gpio.h>
4242
43
+- gpio-ranges:
44
+ Usage: required
45
+ Definition: see ../gpio/gpio.txt
46
+
47
+- gpio-reserved-ranges:
48
+ Usage: optional
49
+ Definition: see ../gpio/gpio.txt
50
+
4351 Please refer to ../gpio/gpio.txt and ../interrupt-controller/interrupts.txt for
4452 a general description of GPIO and interrupt bindings.
4553
....@@ -124,9 +132,8 @@
124132 qlink_request, qua_mi2s, sd_card, sd_write, sdc40, sdc41,
125133 sdc42, sdc43, sdc4_clk, sdc4_cmd, sec_mi2s, sp_cmu,
126134 spkr_i2s, ssbi1, ssc_irq, ter_mi2s, tgu_ch0, tgu_ch1,
127
- tsense_pwm1, tsense_pwm2, tsif1_clk, tsif1_data, tsif1_en,
128
- tsif1_error, tsif1_sync, tsif2_clk, tsif2_data, tsif2_en,
129
- tsif2_error, tsif2_sync, uim1_clk, uim1_data, uim1_present,
135
+ tsense_pwm1, tsense_pwm2, tsif0, tsif1,
136
+ uim1_clk, uim1_data, uim1_present,
130137 uim1_reset, uim2_clk, uim2_data, uim2_present, uim2_reset,
131138 uim_batt, usb_phy, vfr_1, vsense_clkout, vsense_data0,
132139 vsense_data1, vsense_mode, wlan1_adc0, wlan1_adc1,
....@@ -135,17 +142,17 @@
135142 - bias-disable:
136143 Usage: optional
137144 Value type: <none>
138
- Definition: The specified pins should be configued as no pull.
145
+ Definition: The specified pins should be configured as no pull.
139146
140147 - bias-pull-down:
141148 Usage: optional
142149 Value type: <none>
143
- Definition: The specified pins should be configued as pull down.
150
+ Definition: The specified pins should be configured as pull down.
144151
145152 - bias-pull-up:
146153 Usage: optional
147154 Value type: <none>
148
- Definition: The specified pins should be configued as pull up.
155
+ Definition: The specified pins should be configured as pull up.
149156
150157 - output-high:
151158 Usage: optional
....@@ -175,6 +182,8 @@
175182 interrupts = <0 208 0>;
176183 gpio-controller;
177184 #gpio-cells = <2>;
185
+ gpio-ranges = <&tlmm 0 0 175>;
186
+ gpio-reserved-ranges = <0 4>, <81 4>;
178187 interrupt-controller;
179188 #interrupt-cells = <2>;
180189