Skip to contentSkip to conversation

dt-bindings: pinctrl: qcom-pmic-gpio: Add pmx55 support

PATCH Applied Vinod Koul 4 participants 7 messages Nov 26, 2020 – Dec 29, 2020

Subsystems (6)
lore
Share & tools
lore

Vinod Koul

author
#0 lore raw

PATCH 1/2 dt-bindings: pinctrl: qcom-pmic-gpio: Add pmx55 support

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

---
 Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt | 3 +++
 1 file changed, 3 insertions(+)
Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt +3 -0
index c3d1914381ae..7648ab00f4e2 100644
@@ -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
Signature · 1 line
2.26.2
author
#1 lore raw

PATCH 2/2 pinctrl: qcom-pmic-gpio: Add support for pmx55

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

---
 drivers/pinctrl/qcom/pinctrl-spmi-gpio.c | 2 ++
 1 file changed, 2 insertions(+)
drivers/pinctrl/qcom/pinctrl-spmi-gpio.c +2 -0
index 17441388ce8f..9801c717e311 100644
@@ -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 },
 	{ },
 };
 
Signature · 1 line
2.26.2
Reviewed-by on v1 2/2
#2 lore raw

Re: [PATCH 2/2] pinctrl: qcom-pmic-gpio: Add support for pmx55

Quoted 4 lines · Vinod Koul

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

Quoted 20 lines
---
 drivers/pinctrl/qcom/pinctrl-spmi-gpio.c | 2 ++
 1 file changed, 2 insertions(+)
drivers/pinctrl/qcom/pinctrl-spmi-gpio.c +2 -0
index 17441388ce8f..9801c717e311 100644
@@ -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 },
 	{ },
 };
 
Signature · 1 line
2.26.2
Reviewed-by on v1 1/2
#4 lore raw
In reply to Vinod Koul
Quoted 4 lines · Vinod Koul

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

Quoted 28 lines
---
 Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt | 3 +++
 1 file changed, 3 insertions(+)
Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt +3 -0
index c3d1914381ae..7648ab00f4e2 100644
@@ -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
Signature · 1 line
2.26.2
#6 lore raw
In reply to Vinod Koul
This series was applied to qcom/linux.git (refs/heads/for-next):

Hello:

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

Quoted 7 lines · On Thu, 26 Nov 2020 14:51:50 +0530 you wrote:

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

---
 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