Lines Matching +full:multi +full:- +full:pmic
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>
14 PMIC's from Qualcomm.
19 - items:
20 - enum:
21 - qcom,pm8019-mpp
22 - qcom,pm8226-mpp
23 - qcom,pm8841-mpp
24 - qcom,pm8916-mpp
25 - qcom,pm8941-mpp
26 - qcom,pm8950-mpp
27 - qcom,pmi8950-mpp
28 - qcom,pm8994-mpp
29 - qcom,pma8084-mpp
30 - qcom,pmi8994-mpp
31 - const: qcom,spmi-mpp
32 - items:
33 - enum:
34 - qcom,pm8018-mpp
35 - qcom,pm8038-mpp
36 - qcom,pm8058-mpp
37 - qcom,pm8821-mpp
38 - qcom,pm8917-mpp
39 - qcom,pm8921-mpp
40 - const: qcom,ssbi-mpp
45 interrupt-controller: true
47 '#interrupt-cells':
50 gpio-controller: true
51 gpio-line-names: true
53 gpio-ranges:
56 '#gpio-cells':
65 - compatible
66 - reg
67 - gpio-controller
68 - '#gpio-cells'
69 - gpio-ranges
70 - interrupt-controller
73 '-state$':
75 - $ref: "#/$defs/qcom-pmic-mpp-state"
76 - patternProperties:
77 '-pins$':
78 $ref: "#/$defs/qcom-pmic-mpp-state"
82 qcom-pmic-mpp-state:
85 - $ref: pinmux-node.yaml
86 - $ref: pincfg-node.yaml
92 - mpp1-mpp4 for pm8841
93 - mpp1-mpp4 for pm8916
94 - mpp1-mpp8 for pm8941
95 - mpp1-mpp4 for pm8950
96 - mpp1-mpp4 for pmi8950
97 - mpp1-mpp4 for pma8084
100 pattern: "^mpp([0-9]+)$"
104 - enum:
105 - digital
106 - analog
107 - sink
109 bias-disable: true
110 bias-pull-up: true
111 bias-high-impedance: true
112 input-enable: true
113 output-high: true
114 output-low: true
115 power-source: true
117 qcom,analog-level:
121 <dt-binding/pinctrl/qcom,pmic-mpp.h> PMIC_MPP_AOUT_LVL_*
128 configured in analog-pass-through mode.
138 qcom,amux-route:
142 <dt-bindings/pinctrl/qcom,pmic-mpp.h> PMIC_MPP_AMUX_ROUTE_CH5,
152 - pins
153 - function
158 - |
159 #include <dt-bindings/pinctrl/qcom,pmic-mpp.h>
161 pmic {
162 #address-cells = <1>;
163 #size-cells = <0>;
166 compatible = "qcom,pm8841-mpp", "qcom,spmi-mpp";
169 gpio-controller;
170 #gpio-cells = <2>;
171 gpio-ranges = <&pm8841_mpp 0 0 4>;
172 gpio-line-names = "VDD_PX_BIAS", "WLAN_LED_CTRL",
173 "BT_LED_CTRL", "GPIO-F";
174 interrupt-controller;
175 #interrupt-cells = <2>;
177 pinctrl-names = "default";
178 pinctrl-0 = <&pm8841_default>;
180 mpp1-state {
183 input-enable;
184 power-source = <PM8841_MPP_S3>;
187 default-state {
188 gpio-pins {
191 input-enable;
192 power-source = <PM8841_MPP_S3>;