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,pm8901-mpp
39 - qcom,pm8917-mpp
40 - qcom,pm8921-mpp
41 - const: qcom,ssbi-mpp
46 interrupt-controller: true
48 '#interrupt-cells':
51 gpio-controller: true
52 gpio-line-names: true
54 gpio-ranges:
57 '#gpio-cells':
66 - compatible
67 - reg
68 - gpio-controller
69 - '#gpio-cells'
70 - gpio-ranges
71 - interrupt-controller
74 '-state$':
76 - $ref: "#/$defs/qcom-pmic-mpp-state"
77 - patternProperties:
78 '-pins$':
79 $ref: "#/$defs/qcom-pmic-mpp-state"
83 qcom-pmic-mpp-state:
86 - $ref: pinmux-node.yaml
87 - $ref: pincfg-node.yaml
93 - mpp1-mpp4 for pm8841
94 - mpp1-mpp4 for pm8916
95 - mpp1-mpp8 for pm8941
96 - mpp1-mpp4 for pm8950
97 - mpp1-mpp4 for pmi8950
98 - mpp1-mpp4 for pma8084
101 pattern: "^mpp([0-9]+)$"
105 - enum:
106 - digital
107 - analog
108 - sink
110 bias-disable: true
111 bias-pull-up: true
112 bias-high-impedance: true
113 input-enable: true
114 output-high: true
115 output-low: true
116 power-source: true
118 qcom,analog-level:
122 <dt-binding/pinctrl/qcom,pmic-mpp.h> PMIC_MPP_AOUT_LVL_*
129 configured in analog-pass-through mode.
139 qcom,amux-route:
143 <dt-bindings/pinctrl/qcom,pmic-mpp.h> PMIC_MPP_AMUX_ROUTE_CH5,
153 - pins
154 - function
159 - |
160 #include <dt-bindings/pinctrl/qcom,pmic-mpp.h>
162 pmic {
163 #address-cells = <1>;
164 #size-cells = <0>;
167 compatible = "qcom,pm8841-mpp", "qcom,spmi-mpp";
170 gpio-controller;
171 #gpio-cells = <2>;
172 gpio-ranges = <&pm8841_mpp 0 0 4>;
173 gpio-line-names = "VDD_PX_BIAS", "WLAN_LED_CTRL",
174 "BT_LED_CTRL", "GPIO-F";
175 interrupt-controller;
176 #interrupt-cells = <2>;
178 pinctrl-names = "default";
179 pinctrl-0 = <&pm8841_default>;
181 mpp1-state {
184 input-enable;
185 power-source = <PM8841_MPP_S3>;
188 default-state {
189 gpio-pins {
192 input-enable;
193 power-source = <PM8841_MPP_S3>;