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:
17 Value type: <prop-encoded-array>
18 Definition: Register base of the MPP block and length.
22 Value type: <prop-encoded-array>
23 Definition: Must contain an array of encoded interrupt specifiers for
29 Definition: Mark the device node as a GPIO controller
34 Definition: Must be 2;
35 the first cell will be used to define MPP number and the
36 second denotes the flags for this MPP
38 Please refer to ../gpio/gpio.txt and ../interrupt-controller/interrupts.txt for
39 a general description of GPIO and interrupt bindings.
41 Please refer to pinctrl-bindings.txt in this directory for details of the
42 common pinctrl bindings used by client devices, including the meaning of the
43 phrase "pin configuration node".
45 The pin configuration nodes act as a container for an arbitrary number of
46 subnodes. Each of these subnodes represents some desired configuration for a
47 pin or a list of pins. This configuration can include the
48 mux function to select on those pin(s), and various pin configuration
49 parameters, as listed below.
53 The name of each subnode is not important; all subnodes should be enumerated
54 and processed purely based on their content.
56 Each subnode only affects those parameters that are explicitly listed. In
57 other words, a subnode that lists a mux function but no pin configuration
58 parameters implies no information about any pin configuration parameters.
59 Similarly, a pin subnode that describes a pullup parameter implies no
60 information about e.g. the mux function.
62 The following generic properties as defined in pinctrl-bindings.txt are valid
63 to specify in a pin configuration subnode:
67 Value type: <string-array>
68 Definition: List of MPP pins affected by the properties specified in
69 this subnode. Valid pins are:
78 Definition: Specify the alternative function to be configured for the
79 specified pins. Valid values are:
90 Definition: The specified pins should be configured as no pull.
95 Definition: The specified pins should be configured as pull up.
96 Valid values are 600, 10000 and 30000 in bidirectional mode
97 only, i.e. when operating in qcom,analog-mode and input and
98 outputs are enabled. The hardware ignores the configuration
99 when operating in other modes.
101 - bias-high-impedance:
104 Definition: The specified pins will put in high-Z mode and disabled.
109 Definition: The specified pins are put in input mode, i.e. their input
115 Definition: The specified pins are configured in output mode, driven
121 Definition: The specified pins are configured in output mode, driven
127 Definition: Selects the power source for the specified pins. Valid power
128 sources are defined in <dt-bindings/pinctrl/qcom,pmic-mpp.h>
133 Definition: Selects Analog mode of operation: combined with input-enable
134 and/or output-high, output-low MPP could operate as
135 Bidirectional Logic, Analog Input, Analog Output.
140 Definition: Selects the source for analog input. Valid values are
141 defined in <dt-bindings/pinctrl/qcom,pmic-mpp.h>
142 PMIC_MPP_AMUX_ROUTE_CH5, PMIC_MPP_AMUX_ROUTE_CH6...
147 compatible = "qcom,pm8841-mpp";
151 interrupts = <4 0xa0 0 0>, <4 0xa1 0 0>, <4 0xa2 0 0>, <4 0xa3 0 0>;
153 pinctrl-names = "default";
154 pinctrl-0 = <&pm8841_default>;
156 pm8841_default: default {
158 pins = "mpp1", "mpp2", "mpp3", "mpp4";
161 power-source = <PM8841_MPP_S3>;