Skip to content

Commit 5a81d72

Browse files
committed
dt-bindings: pinctrl: qcom,sm8150: 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-36-krzysztof.kozlowski@linaro.org Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
1 parent 13bb968 commit 5a81d72

1 file changed

Lines changed: 1 addition & 10 deletions

File tree

Documentation/devicetree/bindings/pinctrl/qcom,sm8150-pinctrl.yaml

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

6465
properties:
6566
pins:
@@ -101,19 +102,9 @@ $defs:
101102
usb_phy, vfr_1, vsense_trigger, wlan1_adc0, wlan1_adc1,
102103
wlan2_adc0, wlan2_adc1, wmss_reset ]
103104

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

115-
additionalProperties: false
116-
117108
allOf:
118109
- $ref: /schemas/pinctrl/qcom,tlmm-common.yaml#
119110

0 commit comments

Comments
 (0)