Skip to content

Commit 13bb968

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

1 file changed

Lines changed: 1 addition & 11 deletions

File tree

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

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

5960
properties:
6061
pins:
@@ -109,20 +110,9 @@ $defs:
109110
usb_phy, vfr_1, vsense_trigger, wlan1_adc0, wlan1_adc1,
110111
wlan2_adc0, wlan2_adc1 ]
111112

112-
113-
bias-disable: true
114-
bias-pull-down: true
115-
bias-pull-up: true
116-
drive-strength: true
117-
input-enable: true
118-
output-high: true
119-
output-low: true
120-
121113
required:
122114
- pins
123115

124-
additionalProperties: false
125-
126116
examples:
127117
- |
128118
#include <dt-bindings/interrupt-controller/arm-gic.h>

0 commit comments

Comments
 (0)