Skip to content

Commit 4134e65

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

1 file changed

Lines changed: 1 addition & 10 deletions

File tree

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

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

6263
properties:
6364
pins:
@@ -94,19 +95,9 @@ $defs:
9495
tsif0_en, tsif0_error, tsif0_sync, tsif1_clk, tsif1_data, tsif1_en,
9596
tsif1_error, tsif1_sync, usb2phy_ac, usb_phy, vsense_trigger ]
9697

97-
bias-pull-down: true
98-
bias-pull-up: true
99-
bias-disable: true
100-
drive-strength: true
101-
input-enable: true
102-
output-high: true
103-
output-low: true
104-
10598
required:
10699
- pins
107100

108-
additionalProperties: false
109-
110101
allOf:
111102
- $ref: /schemas/pinctrl/qcom,tlmm-common.yaml#
112103

0 commit comments

Comments
 (0)