Skip to content

Commit 152674a

Browse files
committed
dt-bindings: pinctrl: qcom,sm8550-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. Acked-by: Rob Herring <robh@kernel.org> Link: https://lore.kernel.org/r/20230407184546.161168-40-krzysztof.kozlowski@linaro.org Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
1 parent ede4773 commit 152674a

1 file changed

Lines changed: 1 addition & 10 deletions

File tree

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

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

5859
properties:
5960
pins:
@@ -109,19 +110,9 @@ $defs:
109110
uim1_clk, uim1_data, uim1_present, uim1_reset,
110111
usb1_hs, usb_phy, vfr_0, vfr_1, vsense_trigger_mirnat ]
111112

112-
bias-disable: true
113-
bias-pull-down: true
114-
bias-pull-up: true
115-
drive-strength: true
116-
input-enable: true
117-
output-high: true
118-
output-low: true
119-
120113
required:
121114
- pins
122115

123-
additionalProperties: false
124-
125116
required:
126117
- compatible
127118
- reg

0 commit comments

Comments
 (0)