diff options
Diffstat (limited to 'dts/Bindings/pinctrl/qcom,sm8350-tlmm.yaml')
-rw-r--r-- | dts/Bindings/pinctrl/qcom,sm8350-tlmm.yaml | 39 |
1 files changed, 15 insertions, 24 deletions
diff --git a/dts/Bindings/pinctrl/qcom,sm8350-tlmm.yaml b/dts/Bindings/pinctrl/qcom,sm8350-tlmm.yaml index 0b1e4aa581..ec5e09611d 100644 --- a/dts/Bindings/pinctrl/qcom,sm8350-tlmm.yaml +++ b/dts/Bindings/pinctrl/qcom,sm8350-tlmm.yaml @@ -22,20 +22,15 @@ properties: reg: maxItems: 1 - interrupts: true - interrupt-controller: true - "#interrupt-cells": true - gpio-controller: true - gpio-reserved-ranges: true - "#gpio-cells": true - gpio-ranges: true - wakeup-parent: true + interrupts: + maxItems: 1 -required: - - compatible - - reg + gpio-reserved-ranges: + minItems: 1 + maxItems: 102 -additionalProperties: false + gpio-line-names: + maxItems: 203 patternProperties: "-state$": @@ -53,6 +48,7 @@ $defs: Pinctrl node's client devices use subnodes for desired pin configuration. Client device subnodes use below standard properties. $ref: qcom,tlmm-common.yaml#/$defs/qcom-tlmm-state + unevaluatedProperties: false properties: pins: @@ -61,7 +57,7 @@ $defs: subnode. items: oneOf: - - pattern: "^gpio([0-9]|[1-9][0-9]|1[0-9][0-9]|20[0-3])$" + - pattern: "^gpio([0-9]|[1-9][0-9]|1[0-9][0-9]|20[0-2])$" - enum: [ sdc1_clk, sdc1_cmd, sdc1_data, sdc2_clk, sdc2_cmd, sdc2_data ] minItems: 1 maxItems: 36 @@ -95,19 +91,14 @@ $defs: uim0_present, uim0_reset, uim1_clk, uim1_data, uim1_present, uim1_reset, usb2phy_ac, usb_phy, vfr_0, vfr_1, vsense_trigger ] - - bias-disable: true - bias-pull-down: true - bias-pull-up: true - drive-strength: true - input-enable: true - output-high: true - output-low: true - required: - pins - additionalProperties: false +required: + - compatible + - reg + +unevaluatedProperties: false examples: - | @@ -120,7 +111,7 @@ examples: #gpio-cells = <2>; interrupt-controller; #interrupt-cells = <2>; - gpio-ranges = <&tlmm 0 0 203>; + gpio-ranges = <&tlmm 0 0 204>; /* GPIOs + ufs_reset */ gpio-wo-subnode-state { pins = "gpio1"; |