Skip to content

Commit 647c16a

Browse files
committed
dt-bindings: pinctrl: qcom,sm7150-tlmm: simplify with unevaluatedProperties
All Qualcomm SoC Top Level Mode Multiplexer pin controllers have similar capabilities regarding pin properties, thus we can just accept entire set provided by qcom,tlmm-common.yaml schema. Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Krzysztof Kozlowski <[email protected]>
1 parent f69ba35 commit 647c16a

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

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

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ $defs:
6262
Pinctrl node's client devices use subnodes for desired pin configuration.
6363
Client device subnodes use below standard properties.
6464
$ref: qcom,tlmm-common.yaml#/$defs/qcom-tlmm-state
65+
unevaluatedProperties: false
6566

6667
properties:
6768
pins:
@@ -102,19 +103,9 @@ $defs:
102103
wlan1_adc0, wlan1_adc1, wlan2_adc0, wlan2_adc1, wsa_clk,
103104
wsa_data ]
104105

105-
bias-pull-down: true
106-
bias-pull-up: true
107-
bias-disable: true
108-
drive-strength: true
109-
input-enable: true
110-
output-high: true
111-
output-low: true
112-
113106
required:
114107
- pins
115108

116-
additionalProperties: false
117-
118109
required:
119110
- compatible
120111
- reg

0 commit comments

Comments
 (0)