Skip to content

Commit 174668b

Browse files
committed
dt-bindings: pinctrl: qcom,msm8994: correct number of GPIOs
The MSM8994 TLMM pin controller has GPIOs 0-145, so narrow the pattern and reduce sizes of arrays with pins. Acked-by: Rob Herring <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Krzysztof Kozlowski <[email protected]>
1 parent 5c70697 commit 174668b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Documentation/devicetree/bindings/pinctrl/qcom,msm8994-pinctrl.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,10 @@ properties:
3434

3535
gpio-reserved-ranges:
3636
minItems: 1
37-
maxItems: 75
37+
maxItems: 73
3838

3939
gpio-line-names:
40-
maxItems: 150
40+
maxItems: 146
4141

4242
patternProperties:
4343
"-state$":
@@ -63,7 +63,7 @@ $defs:
6363
subnode.
6464
items:
6565
oneOf:
66-
- pattern: "^gpio([0-9]|[1-9][0-9]|1[0-4][0-9])$"
66+
- pattern: "^gpio([0-9]|[1-9][0-9]|1[0-3][0-9]|14[0-5])$"
6767
- enum: [ sdc1_clk, sdc1_cmd, sdc1_data, sdc1_rclk, sdc2_clk,
6868
sdc2_cmd, sdc2_data, sdc3_clk, sdc3_cmd, sdc3_data ]
6969
minItems: 1

0 commit comments

Comments
 (0)