1 Qualcomm PMIC Multi-Purpose Pin (MPP) block
3 This binding describes the MPP block(s) found in the 8xxx series
4 of PMIC's from Qualcomm.
9 Definition: Should contain one of:
23 Value type: <prop-encoded-array>
24 Definition: Register base of the MPP block and length.
28 Value type: <prop-encoded-array>
29 Definition: Must contain an array of encoded interrupt specifiers for
35 Definition: Mark the device node as a GPIO controller
40 Definition: Must be 2;
41 the first cell will be used to define MPP number and the
42 second denotes the flags for this MPP
44 Please refer to ../gpio/gpio.txt and ../interrupt-controller/interrupts.txt for
45 a general description of GPIO and interrupt bindings.
47 Please refer to pinctrl-bindings.txt in this directory for details of the
48 common pinctrl bindings used by client devices, including the meaning of the
49 phrase "pin configuration node".
51 The pin configuration nodes act as a container for an arbitrary number of
52 subnodes. Each of these subnodes represents some desired configuration for a
53 pin or a list of pins. This configuration can include the
54 mux function to select on those pin(s), and various pin configuration
55 parameters, as listed below.
59 The name of each subnode is not important; all subnodes should be enumerated
60 and processed purely based on their content.
62 Each subnode only affects those parameters that are explicitly listed. In
63 other words, a subnode that lists a mux function but no pin configuration
64 parameters implies no information about any pin configuration parameters.
65 Similarly, a pin subnode that describes a pullup parameter implies no
66 information about e.g. the mux function.
68 The following generic properties as defined in pinctrl-bindings.txt are valid
69 to specify in a pin configuration subnode:
73 Value type: <string-array>
74 Definition: List of MPP pins affected by the properties specified in
75 this subnode. Valid pins are:
84 Definition: Specify the alternative function to be configured for the
85 specified pins. Valid values are:
93 Definition: The specified pins should be configured as no pull.
98 Definition: The specified pins should be configured as pull up.
99 Valid values are 600, 10000 and 30000 in bidirectional mode
100 only, i.e. when operating in qcom,analog-mode and input and
101 outputs are enabled. The hardware ignores the configuration
102 when operating in other modes.
104 - bias-high-impedance:
107 Definition: The specified pins will put in high-Z mode and disabled.
112 Definition: The specified pins are put in input mode, i.e. their input
118 Definition: The specified pins are configured in output mode, driven
124 Definition: The specified pins are configured in output mode, driven
130 Definition: Selects the power source for the specified pins. Valid power
131 sources are defined in <dt-bindings/pinctrl/qcom,pmic-mpp.h>
136 Definition: Selects the source for analog output. Valued values are
137 defined in <dt-binding/pinctrl/qcom,pmic-mpp.h>
143 Definition: Selects which dtest rail to be routed in the various functions.
149 Definition: Selects the source for analog input. Valid values are
150 defined in <dt-bindings/pinctrl/qcom,pmic-mpp.h>
151 PMIC_MPP_AMUX_ROUTE_CH5, PMIC_MPP_AMUX_ROUTE_CH6...
155 Definition: Indicates that the pin should be operating in paired mode.
160 compatible = "qcom,pm8841-mpp";
164 interrupts = <4 0xa0 0 0>, <4 0xa1 0 0>, <4 0xa2 0 0>, <4 0xa3 0 0>;
166 pinctrl-names = "default";
167 pinctrl-0 = <&pm8841_default>;
169 pm8841_default: default {
171 pins = "mpp1", "mpp2", "mpp3", "mpp4";
172 function = "digital";
174 power-source = <PM8841_MPP_S3>;