* [PATCH 1/3] dt-bindings: pinctrl: qcom-pmic-gpio: Add pm8150 support
@ 2019-08-14 12:35 Vinod Koul
2019-08-14 12:35 ` [PATCH 2/3] dt-bindings: pinctrl: qcom-pmic-gpio: Add pm8150b support Vinod Koul
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: Vinod Koul @ 2019-08-14 12:35 UTC (permalink / raw)
To: Linus Walleij
Cc: linux-arm-msm, Bjorn Andersson, Vinod Koul, Andy Gross,
Rob Herring, Mark Rutland, linux-gpio, devicetree, linux-kernel
Add support for the PM8150 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 +++
drivers/pinctrl/qcom/pinctrl-spmi-gpio.c | 2 ++
2 files changed, 5 insertions(+)
diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt b/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt
index 7f64a7e92c28..56553c06f129 100644
--- a/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt
+++ b/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt
@@ -21,6 +21,7 @@ PMIC's from Qualcomm.
"qcom,pmi8994-gpio"
"qcom,pmi8998-gpio"
"qcom,pms405-gpio"
+ "qcom,pm8150-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
@@ -94,6 +95,8 @@ to specify in a pin configuration subnode:
gpio1-gpio22 for pma8084
gpio1-gpio10 for pmi8994
gpio1-gpio12 for pms405 (holes on gpio1, gpio9 and gpio10)
+ gpio1-gpio10 for pm8150 (holes on gpio2, gpio5, gpio7
+ and gpio8)
- function:
Usage: required
diff --git a/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c b/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c
index f39da87ea185..5286ec060894 100644
--- a/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c
+++ b/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c
@@ -1155,6 +1155,8 @@ static const struct of_device_id pmic_gpio_of_match[] = {
{ .compatible = "qcom,pma8084-gpio", .data = (void *) 22 },
/* pms405 has 12 GPIOs with holes on 1, 9, and 10 */
{ .compatible = "qcom,pms405-gpio", .data = (void *) 12 },
+ /* pm8150 has 10 GPIOs with holes on 2, 5, 7 and 8 */
+ { .compatible = "qcom,pm8150-gpio", .data = (void *) 10 },
{ },
};
--
2.20.1
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH 2/3] dt-bindings: pinctrl: qcom-pmic-gpio: Add pm8150b support
2019-08-14 12:35 [PATCH 1/3] dt-bindings: pinctrl: qcom-pmic-gpio: Add pm8150 support Vinod Koul
@ 2019-08-14 12:35 ` Vinod Koul
2019-08-23 7:59 ` Linus Walleij
2019-08-14 12:35 ` [PATCH 3/3] dt-bindings: pinctrl: qcom-pmic-gpio: Add pm8150l support Vinod Koul
2019-08-23 7:58 ` [PATCH 1/3] dt-bindings: pinctrl: qcom-pmic-gpio: Add pm8150 support Linus Walleij
2 siblings, 1 reply; 6+ messages in thread
From: Vinod Koul @ 2019-08-14 12:35 UTC (permalink / raw)
To: Linus Walleij
Cc: linux-arm-msm, Bjorn Andersson, Vinod Koul, Andy Gross,
Rob Herring, Mark Rutland, linux-gpio, devicetree, linux-kernel
Add support for the PM8150b GPIO support to the Qualcomm PMIC GPIO
binding.
Signed-off-by: Vinod Koul <vkoul@kernel.org>
---
Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt | 2 ++
drivers/pinctrl/qcom/pinctrl-spmi-gpio.c | 2 ++
2 files changed, 4 insertions(+)
diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt b/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt
index 56553c06f129..457459d17e79 100644
--- a/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt
+++ b/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt
@@ -22,6 +22,7 @@ PMIC's from Qualcomm.
"qcom,pmi8998-gpio"
"qcom,pms405-gpio"
"qcom,pm8150-gpio"
+ "qcom,pm8150b-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
@@ -97,6 +98,7 @@ to specify in a pin configuration subnode:
gpio1-gpio12 for pms405 (holes on gpio1, gpio9 and gpio10)
gpio1-gpio10 for pm8150 (holes on gpio2, gpio5, gpio7
and gpio8)
+ gpio1-gpio12 for pm8150b (holes on gpio3, gpio4, gpio7)
- function:
Usage: required
diff --git a/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c b/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c
index 5286ec060894..931c9349f145 100644
--- a/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c
+++ b/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c
@@ -1157,6 +1157,8 @@ static const struct of_device_id pmic_gpio_of_match[] = {
{ .compatible = "qcom,pms405-gpio", .data = (void *) 12 },
/* pm8150 has 10 GPIOs with holes on 2, 5, 7 and 8 */
{ .compatible = "qcom,pm8150-gpio", .data = (void *) 10 },
+ /* pm8150b has 12 GPIOs with holes on 3, r and 7 */
+ { .compatible = "qcom,pm8150b-gpio", .data = (void *) 12 },
{ },
};
--
2.20.1
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH 3/3] dt-bindings: pinctrl: qcom-pmic-gpio: Add pm8150l support
2019-08-14 12:35 [PATCH 1/3] dt-bindings: pinctrl: qcom-pmic-gpio: Add pm8150 support Vinod Koul
2019-08-14 12:35 ` [PATCH 2/3] dt-bindings: pinctrl: qcom-pmic-gpio: Add pm8150b support Vinod Koul
@ 2019-08-14 12:35 ` Vinod Koul
2019-08-23 8:00 ` Linus Walleij
2019-08-23 7:58 ` [PATCH 1/3] dt-bindings: pinctrl: qcom-pmic-gpio: Add pm8150 support Linus Walleij
2 siblings, 1 reply; 6+ messages in thread
From: Vinod Koul @ 2019-08-14 12:35 UTC (permalink / raw)
To: Linus Walleij
Cc: linux-arm-msm, Bjorn Andersson, Vinod Koul, Andy Gross,
Rob Herring, Mark Rutland, linux-gpio, devicetree, linux-kernel
Add support for the PM8150l GPIO support to the Qualcomm PMIC GPIO
binding.
Signed-off-by: Vinod Koul <vkoul@kernel.org>
---
Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt | 1 +
drivers/pinctrl/qcom/pinctrl-spmi-gpio.c | 2 ++
2 files changed, 3 insertions(+)
diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt b/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt
index 457459d17e79..c32bf3237545 100644
--- a/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt
+++ b/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt
@@ -99,6 +99,7 @@ to specify in a pin configuration subnode:
gpio1-gpio10 for pm8150 (holes on gpio2, gpio5, gpio7
and gpio8)
gpio1-gpio12 for pm8150b (holes on gpio3, gpio4, gpio7)
+ gpio1-gpio12 for pm8150l (hole on gpio7)
- function:
Usage: required
diff --git a/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c b/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c
index 931c9349f145..6f935e46f12c 100644
--- a/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c
+++ b/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c
@@ -1159,6 +1159,8 @@ static const struct of_device_id pmic_gpio_of_match[] = {
{ .compatible = "qcom,pm8150-gpio", .data = (void *) 10 },
/* pm8150b has 12 GPIOs with holes on 3, r and 7 */
{ .compatible = "qcom,pm8150b-gpio", .data = (void *) 12 },
+ /* pm8150l has 12 GPIOs with holes on 7 */
+ { .compatible = "qcom,pm8150l-gpio", .data = (void *) 12 },
{ },
};
--
2.20.1
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH 1/3] dt-bindings: pinctrl: qcom-pmic-gpio: Add pm8150 support
2019-08-14 12:35 [PATCH 1/3] dt-bindings: pinctrl: qcom-pmic-gpio: Add pm8150 support Vinod Koul
2019-08-14 12:35 ` [PATCH 2/3] dt-bindings: pinctrl: qcom-pmic-gpio: Add pm8150b support Vinod Koul
2019-08-14 12:35 ` [PATCH 3/3] dt-bindings: pinctrl: qcom-pmic-gpio: Add pm8150l support Vinod Koul
@ 2019-08-23 7:58 ` Linus Walleij
2 siblings, 0 replies; 6+ messages in thread
From: Linus Walleij @ 2019-08-23 7:58 UTC (permalink / raw)
To: Vinod Koul
Cc: MSM, Bjorn Andersson, Andy Gross, Rob Herring, Mark Rutland,
open list:GPIO SUBSYSTEM,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
linux-kernel
On Wed, Aug 14, 2019 at 2:36 PM Vinod Koul <vkoul@kernel.org> wrote:
> Add support for the PM8150 GPIO support to the Qualcomm PMIC GPIO
> binding.
>
> Signed-off-by: Vinod Koul <vkoul@kernel.org>
Patch applied as lightweight and uncontroversial.
Yours,
Linus Walleij
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH 2/3] dt-bindings: pinctrl: qcom-pmic-gpio: Add pm8150b support
2019-08-14 12:35 ` [PATCH 2/3] dt-bindings: pinctrl: qcom-pmic-gpio: Add pm8150b support Vinod Koul
@ 2019-08-23 7:59 ` Linus Walleij
0 siblings, 0 replies; 6+ messages in thread
From: Linus Walleij @ 2019-08-23 7:59 UTC (permalink / raw)
To: Vinod Koul
Cc: MSM, Bjorn Andersson, Andy Gross, Rob Herring, Mark Rutland,
open list:GPIO SUBSYSTEM,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
linux-kernel
On Wed, Aug 14, 2019 at 2:36 PM Vinod Koul <vkoul@kernel.org> wrote:
> Add support for the PM8150b 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] 6+ messages in thread
* Re: [PATCH 3/3] dt-bindings: pinctrl: qcom-pmic-gpio: Add pm8150l support
2019-08-14 12:35 ` [PATCH 3/3] dt-bindings: pinctrl: qcom-pmic-gpio: Add pm8150l support Vinod Koul
@ 2019-08-23 8:00 ` Linus Walleij
0 siblings, 0 replies; 6+ messages in thread
From: Linus Walleij @ 2019-08-23 8:00 UTC (permalink / raw)
To: Vinod Koul
Cc: MSM, Bjorn Andersson, Andy Gross, Rob Herring, Mark Rutland,
open list:GPIO SUBSYSTEM,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
linux-kernel
On Wed, Aug 14, 2019 at 2:36 PM Vinod Koul <vkoul@kernel.org> wrote:
> Add support for the PM8150l 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] 6+ messages in thread
end of thread, other threads:[~2019-08-23 8:00 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-14 12:35 [PATCH 1/3] dt-bindings: pinctrl: qcom-pmic-gpio: Add pm8150 support Vinod Koul
2019-08-14 12:35 ` [PATCH 2/3] dt-bindings: pinctrl: qcom-pmic-gpio: Add pm8150b support Vinod Koul
2019-08-23 7:59 ` Linus Walleij
2019-08-14 12:35 ` [PATCH 3/3] dt-bindings: pinctrl: qcom-pmic-gpio: Add pm8150l support Vinod Koul
2019-08-23 8:00 ` Linus Walleij
2019-08-23 7:58 ` [PATCH 1/3] dt-bindings: pinctrl: qcom-pmic-gpio: Add pm8150 support Linus Walleij
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).