All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] dt-bindings: pinctrl: qcom-pmic-gpio: Add pmx55 support
@ 2020-11-26  9:21 Vinod Koul
  2020-11-26  9:21 ` [PATCH 2/2] pinctrl: qcom-pmic-gpio: Add support for pmx55 Vinod Koul
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Vinod Koul @ 2020-11-26  9:21 UTC (permalink / raw)
  To: Linus Walleij
  Cc: linux-arm-msm, Bjorn Andersson, Vinod Koul, Andy Gross,
	Rob Herring, Manivannan Sadhasivam, linux-gpio, devicetree,
	linux-kernel

Add support for the PMX55 GPIO support to the Qualcomm PMIC GPIO
binding.

Signed-off-by: Vinod Koul <vkoul@kernel.org>
---
 Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt b/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt
index c3d1914381ae..7648ab00f4e2 100644
--- a/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt
+++ b/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt
@@ -29,6 +29,7 @@ PMIC's from Qualcomm.
 		    "qcom,pm8150b-gpio"
 		    "qcom,pm6150-gpio"
 		    "qcom,pm6150l-gpio"
+		    "qcom,pmx55-gpio"
 
 		    And must contain either "qcom,spmi-gpio" or "qcom,ssbi-gpio"
 		    if the device is on an spmi bus or an ssbi bus respectively
@@ -110,6 +111,8 @@ to specify in a pin configuration subnode:
 		    gpio1-gpio12 for pm8150l (hole on gpio7)
 		    gpio1-gpio10 for pm6150
 		    gpio1-gpio12 for pm6150l
+		    gpio1-gpio11 for pmx55 (holes on gpio3, gpio7, gpio10
+					    and gpio11)
 
 - function:
 	Usage: required
-- 
2.26.2


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [PATCH 2/2] pinctrl: qcom-pmic-gpio: Add support for pmx55
  2020-11-26  9:21 [PATCH 1/2] dt-bindings: pinctrl: qcom-pmic-gpio: Add pmx55 support Vinod Koul
@ 2020-11-26  9:21 ` Vinod Koul
  2020-11-26 17:36   ` Bjorn Andersson
  2020-12-04  9:22   ` Linus Walleij
  2020-11-26 17:36 ` [PATCH 1/2] dt-bindings: pinctrl: qcom-pmic-gpio: Add pmx55 support Bjorn Andersson
                   ` (2 subsequent siblings)
  3 siblings, 2 replies; 7+ messages in thread
From: Vinod Koul @ 2020-11-26  9:21 UTC (permalink / raw)
  To: Linus Walleij
  Cc: linux-arm-msm, Bjorn Andersson, Vinod Koul, Andy Gross,
	Rob Herring, Manivannan Sadhasivam, linux-gpio, devicetree,
	linux-kernel

PM55 pmic support gpio controller so add compatible and comment for gpio
holes

Signed-off-by: Vinod Koul <vkoul@kernel.org>
---
 drivers/pinctrl/qcom/pinctrl-spmi-gpio.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c b/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c
index 17441388ce8f..9801c717e311 100644
--- a/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c
+++ b/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c
@@ -1129,6 +1129,8 @@ static const struct of_device_id pmic_gpio_of_match[] = {
 	{ .compatible = "qcom,pm8150l-gpio", .data = (void *) 12 },
 	{ .compatible = "qcom,pm6150-gpio", .data = (void *) 10 },
 	{ .compatible = "qcom,pm6150l-gpio", .data = (void *) 12 },
+	/* pmx55 has 11 GPIOs with holes on 3, 7, 10, 11 */
+	{ .compatible = "qcom,pmx55-gpio", .data = (void *) 11 },
 	{ },
 };
 
-- 
2.26.2


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* Re: [PATCH 1/2] dt-bindings: pinctrl: qcom-pmic-gpio: Add pmx55 support
  2020-11-26  9:21 [PATCH 1/2] dt-bindings: pinctrl: qcom-pmic-gpio: Add pmx55 support Vinod Koul
  2020-11-26  9:21 ` [PATCH 2/2] pinctrl: qcom-pmic-gpio: Add support for pmx55 Vinod Koul
@ 2020-11-26 17:36 ` Bjorn Andersson
  2020-12-04  9:21 ` Linus Walleij
  2020-12-29 20:15 ` patchwork-bot+linux-arm-msm
  3 siblings, 0 replies; 7+ messages in thread
From: Bjorn Andersson @ 2020-11-26 17:36 UTC (permalink / raw)
  To: Vinod Koul
  Cc: Linus Walleij, linux-arm-msm, Andy Gross, Rob Herring,
	Manivannan Sadhasivam, linux-gpio, devicetree, linux-kernel

On Thu 26 Nov 03:21 CST 2020, Vinod Koul wrote:

> Add support for the PMX55 GPIO support to the Qualcomm PMIC GPIO
> binding.
> 
> Signed-off-by: Vinod Koul <vkoul@kernel.org>

Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>

> ---
>  Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt b/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt
> index c3d1914381ae..7648ab00f4e2 100644
> --- a/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt
> +++ b/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt
> @@ -29,6 +29,7 @@ PMIC's from Qualcomm.
>  		    "qcom,pm8150b-gpio"
>  		    "qcom,pm6150-gpio"
>  		    "qcom,pm6150l-gpio"
> +		    "qcom,pmx55-gpio"
>  
>  		    And must contain either "qcom,spmi-gpio" or "qcom,ssbi-gpio"
>  		    if the device is on an spmi bus or an ssbi bus respectively
> @@ -110,6 +111,8 @@ to specify in a pin configuration subnode:
>  		    gpio1-gpio12 for pm8150l (hole on gpio7)
>  		    gpio1-gpio10 for pm6150
>  		    gpio1-gpio12 for pm6150l
> +		    gpio1-gpio11 for pmx55 (holes on gpio3, gpio7, gpio10
> +					    and gpio11)
>  
>  - function:
>  	Usage: required
> -- 
> 2.26.2
> 

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH 2/2] pinctrl: qcom-pmic-gpio: Add support for pmx55
  2020-11-26  9:21 ` [PATCH 2/2] pinctrl: qcom-pmic-gpio: Add support for pmx55 Vinod Koul
@ 2020-11-26 17:36   ` Bjorn Andersson
  2020-12-04  9:22   ` Linus Walleij
  1 sibling, 0 replies; 7+ messages in thread
From: Bjorn Andersson @ 2020-11-26 17:36 UTC (permalink / raw)
  To: Vinod Koul
  Cc: Linus Walleij, linux-arm-msm, Andy Gross, Rob Herring,
	Manivannan Sadhasivam, linux-gpio, devicetree, linux-kernel

On Thu 26 Nov 03:21 CST 2020, Vinod Koul wrote:

> PM55 pmic support gpio controller so add compatible and comment for gpio
> holes
> 
> Signed-off-by: Vinod Koul <vkoul@kernel.org>

Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>

> ---
>  drivers/pinctrl/qcom/pinctrl-spmi-gpio.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c b/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c
> index 17441388ce8f..9801c717e311 100644
> --- a/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c
> +++ b/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c
> @@ -1129,6 +1129,8 @@ static const struct of_device_id pmic_gpio_of_match[] = {
>  	{ .compatible = "qcom,pm8150l-gpio", .data = (void *) 12 },
>  	{ .compatible = "qcom,pm6150-gpio", .data = (void *) 10 },
>  	{ .compatible = "qcom,pm6150l-gpio", .data = (void *) 12 },
> +	/* pmx55 has 11 GPIOs with holes on 3, 7, 10, 11 */
> +	{ .compatible = "qcom,pmx55-gpio", .data = (void *) 11 },
>  	{ },
>  };
>  
> -- 
> 2.26.2
> 

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH 1/2] dt-bindings: pinctrl: qcom-pmic-gpio: Add pmx55 support
  2020-11-26  9:21 [PATCH 1/2] dt-bindings: pinctrl: qcom-pmic-gpio: Add pmx55 support Vinod Koul
  2020-11-26  9:21 ` [PATCH 2/2] pinctrl: qcom-pmic-gpio: Add support for pmx55 Vinod Koul
  2020-11-26 17:36 ` [PATCH 1/2] dt-bindings: pinctrl: qcom-pmic-gpio: Add pmx55 support Bjorn Andersson
@ 2020-12-04  9:21 ` Linus Walleij
  2020-12-29 20:15 ` patchwork-bot+linux-arm-msm
  3 siblings, 0 replies; 7+ messages in thread
From: Linus Walleij @ 2020-12-04  9:21 UTC (permalink / raw)
  To: Vinod Koul
  Cc: MSM, Bjorn Andersson, Andy Gross, Rob Herring,
	Manivannan Sadhasivam, open list:GPIO SUBSYSTEM,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
	linux-kernel

On Thu, Nov 26, 2020 at 10:22 AM Vinod Koul <vkoul@kernel.org> wrote:

> Add support for the PMX55 GPIO support to the Qualcomm PMIC GPIO
> binding.
>
> Signed-off-by: Vinod Koul <vkoul@kernel.org>

Patch applied!

Yours,
Linus Walleij

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH 2/2] pinctrl: qcom-pmic-gpio: Add support for pmx55
  2020-11-26  9:21 ` [PATCH 2/2] pinctrl: qcom-pmic-gpio: Add support for pmx55 Vinod Koul
  2020-11-26 17:36   ` Bjorn Andersson
@ 2020-12-04  9:22   ` Linus Walleij
  1 sibling, 0 replies; 7+ messages in thread
From: Linus Walleij @ 2020-12-04  9:22 UTC (permalink / raw)
  To: Vinod Koul
  Cc: MSM, Bjorn Andersson, Andy Gross, Rob Herring,
	Manivannan Sadhasivam, open list:GPIO SUBSYSTEM,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
	linux-kernel

On Thu, Nov 26, 2020 at 10:22 AM Vinod Koul <vkoul@kernel.org> wrote:

> PM55 pmic support gpio controller so add compatible and comment for gpio
> holes
>
> Signed-off-by: Vinod Koul <vkoul@kernel.org>

Patch applied!

Yours,
Linus Walleij

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH 1/2] dt-bindings: pinctrl: qcom-pmic-gpio: Add pmx55 support
  2020-11-26  9:21 [PATCH 1/2] dt-bindings: pinctrl: qcom-pmic-gpio: Add pmx55 support Vinod Koul
                   ` (2 preceding siblings ...)
  2020-12-04  9:21 ` Linus Walleij
@ 2020-12-29 20:15 ` patchwork-bot+linux-arm-msm
  3 siblings, 0 replies; 7+ messages in thread
From: patchwork-bot+linux-arm-msm @ 2020-12-29 20:15 UTC (permalink / raw)
  To: Vinod Koul; +Cc: linux-arm-msm

Hello:

This series was applied to qcom/linux.git (refs/heads/for-next):

On Thu, 26 Nov 2020 14:51:50 +0530 you wrote:
> Add support for the PMX55 GPIO support to the Qualcomm PMIC GPIO
> binding.
> 
> Signed-off-by: Vinod Koul <vkoul@kernel.org>
> ---
>  Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt | 3 +++
>  1 file changed, 3 insertions(+)

Here is the summary with links:
  - [1/2] dt-bindings: pinctrl: qcom-pmic-gpio: Add pmx55 support
    https://git.kernel.org/qcom/c/4247e3f56261
  - [2/2] pinctrl: qcom-pmic-gpio: Add support for pmx55
    https://git.kernel.org/qcom/c/ceb58de4365f

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2020-12-29 20:17 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-26  9:21 [PATCH 1/2] dt-bindings: pinctrl: qcom-pmic-gpio: Add pmx55 support Vinod Koul
2020-11-26  9:21 ` [PATCH 2/2] pinctrl: qcom-pmic-gpio: Add support for pmx55 Vinod Koul
2020-11-26 17:36   ` Bjorn Andersson
2020-12-04  9:22   ` Linus Walleij
2020-11-26 17:36 ` [PATCH 1/2] dt-bindings: pinctrl: qcom-pmic-gpio: Add pmx55 support Bjorn Andersson
2020-12-04  9:21 ` Linus Walleij
2020-12-29 20:15 ` patchwork-bot+linux-arm-msm

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.