Lines Matching +full:pm8921 +full:- +full:gpio

1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/pinctrl/qcom,pmic-mpp.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Qualcomm PMIC Multi-Purpose Pin (MPP) block
10 - Bjorn Andersson <bjorn.andersson@linaro.org>
19 - enum:
20 - qcom,pm8018-mpp
21 - qcom,pm8019-mpp
22 - qcom,pm8038-mpp
23 - qcom,pm8058-mpp
24 - qcom,pm8226-mpp
25 - qcom,pm8821-mpp
26 - qcom,pm8841-mpp
27 - qcom,pm8916-mpp
28 - qcom,pm8917-mpp
29 - qcom,pm8921-mpp
30 - qcom,pm8941-mpp
31 - qcom,pm8950-mpp
32 - qcom,pmi8950-mpp
33 - qcom,pm8994-mpp
34 - qcom,pma8084-mpp
35 - qcom,pmi8994-mpp
37 - enum:
38 - qcom,spmi-mpp
39 - qcom,ssbi-mpp
44 interrupt-controller: true
46 '#interrupt-cells':
49 gpio-controller: true
50 gpio-line-names: true
52 gpio-ranges:
55 '#gpio-cells':
58 The first cell will be used to define gpio number and the
59 second denotes the flags for this gpio
64 - compatible
65 - reg
66 - gpio-controller
67 - '#gpio-cells'
68 - gpio-ranges
69 - interrupt-controller
72 '-state$':
74 - $ref: "#/$defs/qcom-pmic-mpp-state"
75 - patternProperties:
77 $ref: "#/$defs/qcom-pmic-mpp-state"
81 qcom-pmic-mpp-state:
84 - $ref: "pinmux-node.yaml"
85 - $ref: "pincfg-node.yaml"
89 List of gpio pins affected by the properties specified in
91 - mpp1-mpp4 for pm8841
92 - mpp1-mpp4 for pm8916
93 - mpp1-mpp8 for pm8941
94 - mpp1-mpp4 for pm8950
95 - mpp1-mpp4 for pmi8950
96 - mpp1-mpp4 for pma8084
99 pattern: "^mpp([0-9]+)$"
103 - enum:
104 - digital
105 - analog
106 - sink
108 bias-disable: true
109 bias-pull-up: true
110 bias-high-impedance: true
111 input-enable: true
112 output-high: true
113 output-low: true
114 power-source: true
116 qcom,analog-level:
120 <dt-binding/pinctrl/qcom,pmic-mpp.h> PMIC_MPP_AOUT_LVL_*
126 Selects ATEST rail to route to GPIO when it's
127 configured in analog-pass-through mode.
133 Selects DTEST rail to route to GPIO when it's
137 qcom,amux-route:
141 <dt-bindings/pinctrl/qcom,pmic-mpp.h> PMIC_MPP_AMUX_ROUTE_CH5,
146 - description:
150 - pins
151 - function
156 - |
157 #include <dt-bindings/pinctrl/qcom,pmic-mpp.h>
160 compatible = "qcom,pm8841-mpp", "qcom,spmi-mpp";
162 gpio-controller;
163 #gpio-cells = <2>;
164 gpio-ranges = <&pm8841_mpp 0 0 4>;
165 gpio-line-names = "VDD_PX_BIAS", "WLAN_LED_CTRL",
166 "BT_LED_CTRL", "GPIO-F";
167 interrupt-controller;
168 #interrupt-cells = <2>;
170 pinctrl-names = "default";
171 pinctrl-0 = <&pm8841_default>;
173 mpp1-state {
176 input-enable;
177 power-source = <PM8841_MPP_S3>;
180 default-state {
181 gpio-mpp {
184 input-enable;
185 power-source = <PM8841_MPP_S3>;