Skip to content

Commit 87b93dd

Browse files
committed
dt-bindings: pinctrl: qcom,msm8909: correct GPIO name pattern and example
The MSM8909 TLMM pin controller has GPIOs 0-112, so narrow the pattern and gpio-ranges in the example. Fixes: c249ec7 ("dt-bindings: pinctrl: Add DT schema for qcom,msm8909-tlmm") Reviewed-by: Stephan Gerhold <[email protected]> Acked-by: Rob Herring <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Krzysztof Kozlowski <[email protected]>
1 parent 7923490 commit 87b93dd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Documentation/devicetree/bindings/pinctrl/qcom,msm8909-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]|10[0-9]|11[0-7])$"
66+
- pattern: "^gpio([0-9]|[1-9][0-9]|10[0-9]|11[0-2])$"
6767
- enum: [ sdc1_clk, sdc1_cmd, sdc1_data, sdc2_clk, sdc2_cmd,
6868
sdc2_data, qdsd_clk, qdsd_cmd, qdsd_data0, qdsd_data1,
6969
qdsd_data2, qdsd_data3 ]
@@ -127,7 +127,7 @@ examples:
127127
interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>;
128128
gpio-controller;
129129
#gpio-cells = <2>;
130-
gpio-ranges = <&tlmm 0 0 117>;
130+
gpio-ranges = <&tlmm 0 0 113>;
131131
interrupt-controller;
132132
#interrupt-cells = <2>;
133133

0 commit comments

Comments
 (0)