Skip to content

Commit 315dffb

Browse files
committed
dt-bindings: pinctrl: qcom: lpass-lpi: correct GPIO name pattern
Narrow the pattern of possible GPIO names for pin controllers: - SC7280 LPASS: GPIOs 0-14 - SM8250 LPASS: GPIOs 0-13 - SM8450 LPASS: GPIOs 0-22 - SC8280XP LPASS: GPIOs 0-18 Acked-by: Rob Herring <[email protected]> Link: https://lore.kernel.org/r/[email protected] Link: https://lore.kernel.org/r/[email protected] Link: https://lore.kernel.org/r/[email protected] Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Krzysztof Kozlowski <[email protected]>
1 parent 6f4e10f commit 315dffb

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

Documentation/devicetree/bindings/pinctrl/qcom,sc7280-lpass-lpi-pinctrl.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ $defs:
5959
subnode.
6060
items:
6161
oneOf:
62-
- pattern: "^gpio([0-9]|[1-9][0-9])$"
62+
- pattern: "^gpio([0-9]|1[0-4])$"
6363
minItems: 1
6464
maxItems: 15
6565

Documentation/devicetree/bindings/pinctrl/qcom,sc8280xp-lpass-lpi-pinctrl.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ examples:
134134
clock-names = "core", "audio";
135135
gpio-controller;
136136
#gpio-cells = <2>;
137-
gpio-ranges = <&lpi_tlmm 0 0 18>;
137+
gpio-ranges = <&lpi_tlmm 0 0 19>;
138138
139139
dmic01-state {
140140
dmic01-clk-pins {

Documentation/devicetree/bindings/pinctrl/qcom,sm8250-lpass-lpi-pinctrl.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ $defs:
6464
subnode.
6565
items:
6666
oneOf:
67-
- pattern: "^gpio([0-9]|[1-9][0-9])$"
67+
- pattern: "^gpio([0-9]|1[0-3])$"
6868
minItems: 1
6969
maxItems: 14
7070

Documentation/devicetree/bindings/pinctrl/qcom,sm8450-lpass-lpi-pinctrl.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ $defs:
6565
List of gpio pins affected by the properties specified in this
6666
subnode.
6767
items:
68-
pattern: "^gpio([0-9]|[1-2][0-9])$"
68+
pattern: "^gpio([0-9]|1[0-9]|2[0-2])$"
6969

7070
function:
7171
enum: [ swr_tx_clk, swr_tx_data, swr_rx_clk, swr_rx_data,

0 commit comments

Comments
 (0)