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

From: Stephen Boyd
Date: Wed Aug 13 2014 - 10:32:54 EST


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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/