pinctrl: qcom: spmi-gpio: Add pm8998 and pm8005 to binding

Message ID 20180612230604.137880-1-swboyd@chromium.org
State New
Headers show
Series
  • pinctrl: qcom: spmi-gpio: Add pm8998 and pm8005 to binding
Related show

Commit Message

Stephen Boyd June 12, 2018, 11:06 p.m.
Update the binding for two more PMICs supported by the same driver.
While we're here, remove the duplicate pmi8994 lines because that
support got merged twice.

Cc: Rajendra Nayak <rnayak@codeaurora.org>
Cc: Vivek Gautam <vivek.gautam@codeaurora.org>
Cc: <devicetree@vger.kernel.org>
Signed-off-by: Stephen Boyd <swboyd@chromium.org>
---
 .../devicetree/bindings/pinctrl/qcom,pmic-gpio.txt          | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

Comments

Rob Herring June 13, 2018, 12:52 a.m. | #1
On Tue, Jun 12, 2018 at 5:06 PM, Stephen Boyd <swboyd@chromium.org> wrote:
> Update the binding for two more PMICs supported by the same driver.
> While we're here, remove the duplicate pmi8994 lines because that
> support got merged twice.
>
> Cc: Rajendra Nayak <rnayak@codeaurora.org>
> Cc: Vivek Gautam <vivek.gautam@codeaurora.org>
> Cc: <devicetree@vger.kernel.org>
> Signed-off-by: Stephen Boyd <swboyd@chromium.org>
> ---
>  .../devicetree/bindings/pinctrl/qcom,pmic-gpio.txt          | 6 ++++--
>  1 file changed, 4 insertions(+), 2 deletions(-)

Reviewed-by: Rob Herring <robh@kernel.org>
--
To unsubscribe from this list: send the line "unsubscribe linux-gpio" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Vivek Gautam June 14, 2018, 6:30 a.m. | #2
On 6/13/2018 4:36 AM, Stephen Boyd wrote:
> Update the binding for two more PMICs supported by the same driver.
> While we're here, remove the duplicate pmi8994 lines because that
> support got merged twice.
>
> Cc: Rajendra Nayak <rnayak@codeaurora.org>
> Cc: Vivek Gautam <vivek.gautam@codeaurora.org>
> Cc: <devicetree@vger.kernel.org>
> Signed-off-by: Stephen Boyd <swboyd@chromium.org>
> ---
>   .../devicetree/bindings/pinctrl/qcom,pmic-gpio.txt          | 6 ++++--
>   1 file changed, 4 insertions(+), 2 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt b/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt
> index 5c25fcb29fb5..ffd4345415f3 100644
> --- a/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt
> +++ b/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt
> @@ -7,6 +7,7 @@ PMIC's from Qualcomm.
>   	Usage: required
>   	Value type: <string>
>   	Definition: must be one of:
> +		    "qcom,pm8005-gpio"
>   		    "qcom,pm8018-gpio"
>   		    "qcom,pm8038-gpio"
>   		    "qcom,pm8058-gpio"
> @@ -15,7 +16,7 @@ PMIC's from Qualcomm.
>   		    "qcom,pm8921-gpio"
>   		    "qcom,pm8941-gpio"
>   		    "qcom,pm8994-gpio"
> -		    "qcom,pmi8994-gpio"

Thanks.
Reviewed-by: Vivek Gautam <vivek.gautam@codeaurora.org>

BRs
Vivek
> +		    "qcom,pm8998-gpio"
>   		    "qcom,pma8084-gpio"
>   		    "qcom,pmi8994-gpio"
>   
> @@ -78,6 +79,7 @@ to specify in a pin configuration subnode:
>   	Value type: <string-array>
>   	Definition: List of gpio pins affected by the properties specified in
>   		    this subnode.  Valid pins are:
> +		    gpio1-gpio4 for pm8005
>   		    gpio1-gpio6 for pm8018
>   		    gpio1-gpio12 for pm8038
>   		    gpio1-gpio40 for pm8058
> @@ -86,7 +88,7 @@ to specify in a pin configuration subnode:
>   		    gpio1-gpio44 for pm8921
>   		    gpio1-gpio36 for pm8941
>   		    gpio1-gpio22 for pm8994
> -		    gpio1-gpio10 for pmi8994
> +		    gpio1-gpio26 for pm8998
>   		    gpio1-gpio22 for pma8084
>   		    gpio1-gpio10 for pmi8994
>   

--
To unsubscribe from this list: send the line "unsubscribe linux-gpio" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Linus Walleij June 14, 2018, 2:23 p.m. | #3
On Wed, Jun 13, 2018 at 1:06 AM, Stephen Boyd <swboyd@chromium.org> wrote:

> Update the binding for two more PMICs supported by the same driver.
> While we're here, remove the duplicate pmi8994 lines because that
> support got merged twice.
>
> Cc: Rajendra Nayak <rnayak@codeaurora.org>
> Cc: Vivek Gautam <vivek.gautam@codeaurora.org>
> Cc: <devicetree@vger.kernel.org>
> Signed-off-by: Stephen Boyd <swboyd@chromium.org>

Patch applied with the tags.

Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-gpio" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch

diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt b/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt
index 5c25fcb29fb5..ffd4345415f3 100644
--- a/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt
+++ b/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt
@@ -7,6 +7,7 @@  PMIC's from Qualcomm.
 	Usage: required
 	Value type: <string>
 	Definition: must be one of:
+		    "qcom,pm8005-gpio"
 		    "qcom,pm8018-gpio"
 		    "qcom,pm8038-gpio"
 		    "qcom,pm8058-gpio"
@@ -15,7 +16,7 @@  PMIC's from Qualcomm.
 		    "qcom,pm8921-gpio"
 		    "qcom,pm8941-gpio"
 		    "qcom,pm8994-gpio"
-		    "qcom,pmi8994-gpio"
+		    "qcom,pm8998-gpio"
 		    "qcom,pma8084-gpio"
 		    "qcom,pmi8994-gpio"
 
@@ -78,6 +79,7 @@  to specify in a pin configuration subnode:
 	Value type: <string-array>
 	Definition: List of gpio pins affected by the properties specified in
 		    this subnode.  Valid pins are:
+		    gpio1-gpio4 for pm8005
 		    gpio1-gpio6 for pm8018
 		    gpio1-gpio12 for pm8038
 		    gpio1-gpio40 for pm8058
@@ -86,7 +88,7 @@  to specify in a pin configuration subnode:
 		    gpio1-gpio44 for pm8921
 		    gpio1-gpio36 for pm8941
 		    gpio1-gpio22 for pm8994
-		    gpio1-gpio10 for pmi8994
+		    gpio1-gpio26 for pm8998
 		    gpio1-gpio22 for pma8084
 		    gpio1-gpio10 for pmi8994