Skip to content

Commit 5c470d4

Browse files
committed
dt-bindings: pinctrl: qcom,sm6115-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-31-krzysztof.kozlowski@linaro.org Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
1 parent 810e171 commit 5c470d4

1 file changed

Lines changed: 1 addition & 9 deletions

File tree

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

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

5758
properties:
5859
pins:
@@ -85,18 +86,9 @@ $defs:
8586
uim2_present, uim2_reset, usb_phy, vfr_1, vsense_trigger,
8687
wlan1_adc0, elan1_adc1 ]
8788

88-
bias-pull-down: true
89-
bias-pull-up: true
90-
bias-disable: true
91-
drive-strength: true
92-
output-high: true
93-
output-low: true
94-
9589
required:
9690
- pins
9791

98-
additionalProperties: false
99-
10092
allOf:
10193
- $ref: /schemas/pinctrl/qcom,tlmm-common.yaml#
10294

0 commit comments

Comments
 (0)