Skip to content

Commit a51c1f0

Browse files
committed
dt-bindings: pinctrl: qcom,sm6375: correct GPIO name pattern and example
The SM6375 TLMM pin controller has GPIOs 0-155, so narrow the pattern and gpio-ranges in the example. Acked-by: Rob Herring <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Krzysztof Kozlowski <[email protected]>
1 parent 87b93dd commit a51c1f0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Documentation/devicetree/bindings/pinctrl/qcom,sm6375-tlmm.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -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]|15[0-6])$"
66+
- pattern: "^gpio([0-9]|[1-9][0-9]|1[0-4][0-9]|15[0-5])$"
6767
- enum: [ ufs_reset, sdc1_clk, sdc1_cmd, sdc1_data, sdc2_clk,
6868
sdc2_cmd, sdc2_data ]
6969
minItems: 1
@@ -134,7 +134,7 @@ examples:
134134
#gpio-cells = <2>;
135135
interrupt-controller;
136136
#interrupt-cells = <2>;
137-
gpio-ranges = <&tlmm 0 0 157>;
137+
gpio-ranges = <&tlmm 0 0 157>; /* GPIOs + ufs_reset */
138138
139139
gpio-wo-subnode-state {
140140
pins = "gpio1";

0 commit comments

Comments
 (0)