Skip to content

Commit aeffc73

Browse files
committed
dt-bindings: pinctrl: qcom,sc8280xp-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. Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Krzysztof Kozlowski <[email protected]>
1 parent 8625372 commit aeffc73

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

Documentation/devicetree/bindings/pinctrl/qcom,sc8280xp-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:
@@ -104,20 +105,9 @@ $defs:
104105
usb1_phy, usb1_sbrx, usb1_sbtx, usb1_usb4, usb2phy_ac,
105106
vsense_trigger ]
106107

107-
bias-bus-hold: true
108-
bias-disable: true
109-
bias-pull-down: true
110-
bias-pull-up: true
111-
drive-strength: true
112-
input-enable: true
113-
output-high: true
114-
output-low: true
115-
116108
required:
117109
- pins
118110

119-
additionalProperties: false
120-
121111
examples:
122112
- |
123113
#include <dt-bindings/interrupt-controller/arm-gic.h>

0 commit comments

Comments
 (0)