From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Boyd Subject: Re: [PATCH v3 3/6] pinctrl: Add documentation for SPMI PMIC pinctrl driver bindings Date: Wed, 13 Aug 2014 07:32:47 -0700 Message-ID: <20140813143247.GE32301@codeaurora.org> References: <1407771634-14946-1-git-send-email-iivanov@mm-sol.com> <1407771634-14946-4-git-send-email-iivanov@mm-sol.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <1407771634-14946-4-git-send-email-iivanov@mm-sol.com> Sender: linux-arm-msm-owner@vger.kernel.org To: "Ivan T. Ivanov" Cc: Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Bjorn Andersson , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org List-Id: devicetree@vger.kernel.org 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: > + Definition: must be one of: > + "qcom,pm8841-mpp" > + "qcom,pm8941-mpp" > + "qcom,pma8084-mpp" > + > +- reg: > + Usage: required > + Value type: > + Definition: Register base of the gpio block MPP? > + > +- interrupts: > + Usage: required > + Value type: > + Definition: Must contain an array of encoded interrupt specifiers for > + each available gpio MPP? Maybe gpio makes sense. > + > +- gpio-controller: > + Usage: required > + Value type: > + Definition: Mark the device node as a GPIO controller > + > +- #gpio-cells: > + Usage: required > + Value type: > + 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