Lines Matching +full:qcom +full:- +full:tlmm +full:- +full:state
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/pinctrl/qcom,sm6125-pinctrl.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6 title: Qualcomm Technologies, Inc. SM6125 TLMM block
9 - Martin Botka <martin.botka@somainline.org>
12 This binding describes the Top Level Mode Multiplexer (TLMM) block found
16 - $ref: "pinctrl.yaml#"
17 - $ref: /schemas/pinctrl/qcom,tlmm-common.yaml#
21 const: qcom,sm6125-tlmm
27 reg-names:
29 - const: "west"
30 - const: "south"
31 - const: "east"
34 interrupt-controller: true
35 '#interrupt-cells': true
36 gpio-controller: true
37 gpio-reserved-ranges: true
38 '#gpio-cells': true
39 gpio-ranges: true
40 wakeup-parent: true
43 - compatible
44 - reg
45 - reg-names
50 '-state$':
52 - $ref: "#/$defs/qcom-sm6125-tlmm-state"
53 - patternProperties:
54 "-pins$":
55 $ref: "#/$defs/qcom-sm6125-tlmm-state"
59 qcom-sm6125-tlmm-state:
72 - pattern: "^gpio[0-9]|[1-9][0-9]|1[0-2][0-9]|13[0-2]$"
73 - enum: [ sdc1_clk, sdc1_cmd, sdc1_data, sdc2_clk, sdc2_cmd, sdc2_data ]
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
113 - pins
116 - $ref: "qcom,tlmm-common.yaml#/$defs/qcom-tlmm-state"
117 - if:
120 pattern: "^gpio[0-9]|[1-9][0-9]|1[0-2][0-9]|13[0-2]$"
123 - function
128 - |
129 #include <dt-bindings/interrupt-controller/arm-gic.h>
131 compatible = "qcom,sm6125-tlmm";
135 reg-names = "west", "south", "east";
137 gpio-controller;
138 gpio-ranges = <&tlmm 0 0 134>;
139 #gpio-cells = <2>;
140 interrupt-controller;
141 #interrupt-cells = <2>;
143 sdc2-off-state {
144 clk-pins {
146 drive-strength = <2>;
147 bias-disable;
150 cmd-pins {
152 drive-strength = <2>;
153 bias-pull-up;
156 data-pins {
158 drive-strength = <2>;
159 bias-pull-up;