Skip to content

Commit ede4773

Browse files
committed
dt-bindings: pinctrl: qcom,sm8450-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-39-krzysztof.kozlowski@linaro.org Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
1 parent a3c355b commit ede4773

1 file changed

Lines changed: 1 addition & 10 deletions

File tree

Documentation/devicetree/bindings/pinctrl/qcom,sm8450-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:
@@ -103,19 +104,9 @@ $defs:
103104
uim0_reset, uim1_clk, uim1_data, uim1_present, uim1_reset,
104105
usb2phy_ac, usb_phy, vfr_0, vfr_1, vsense_trigger ]
105106

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

117-
additionalProperties: false
118-
119110
examples:
120111
- |
121112
#include <dt-bindings/interrupt-controller/arm-gic.h>

0 commit comments

Comments
 (0)