Re: [PATCH v3 3/6] pinctrl: Add documentation for SPMI PMIC pinctrl driver bindings

Stephen Boyd
2014-08-13T14:32:51Z

On 08/11, Ivan T. Ivanov wrote:
> diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,pmic-mpp.txt b/Documentation/devicetree/bindings/pinctrl/qcom,pmic-mpp.txt
> new file mode 100644
> index 0000000..0a64567
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/pinctrl/qcom,pmic-mpp.txt
> @@ -0,0 +1,179 @@
> +Qualcomm PMIC Multi-Purpose Pin (MPP) block
> +
> +This binding describes the MPP block(s) found in the 8xxx series of pmics from
> +Qualcomm.
> +
> +- compatible:
> + Usage: required
> + Value type: <string>
> + Definition: must be one of:
> + "qcom,pm8841-mpp"
> + "qcom,pm8941-mpp"
> + "qcom,pma8084-mpp"
> +
> +- reg:
> + Usage: required
> + Value type: <u32>
> + Definition: Register base of the gpio block

MPP?

> +
> +- interrupts:
> + Usage: required
> + Value type: <prop-encoded-array>
> + Definition: Must contain an array of encoded interrupt specifiers for
> + each available gpio

MPP? Maybe gpio makes sense.

> +
> +- gpio-controller:
> + Usage: required
> + Value type: <none>
> + Definition: Mark the device node as a GPIO controller
> +
> +- #gpio-cells:
> + Usage: required
> + Value type: <u32>
> + Definition: Must be 2;
> + the first cell will be used to define gpio number and the
> + second denotes the flags for this gpio
> +

--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
hosted by The Linux Foundation