Skip to content

Commit 312f795

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

1 file changed

Lines changed: 1 addition & 10 deletions

File tree

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

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

6566
properties:
6667
pins:
@@ -101,19 +102,9 @@ $defs:
101102
wlan1_adc0, wlan1_adc1, wlan2_adc0, wlan2_adc1, wsa_clk, wsa_data ]
102103

103104

104-
bias-disable: true
105-
bias-pull-down: true
106-
bias-pull-up: 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
examples:
118109
- |
119110
#include <dt-bindings/interrupt-controller/arm-gic.h>

0 commit comments

Comments
 (0)