2022-04-05 00:22:02

by Rohit Agarwal

[permalink] [raw]
Subject: [PATCH 0/2] Add pmx65 support for pinctrl

Hello,

Separating the two patches from the original patch series
"Add Power Domains and Regulators in SDX65" as suggested
by Linus Walleij.

Thanks,
Rohit.

Rohit Agarwal (2):
dt-bindings: pinctrl: qcom-pmic-gpio: Add pmx65 support
pinctrl: qcom-pmic-gpio: Add support for pmx65

Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.yaml | 2 ++
drivers/pinctrl/qcom/pinctrl-spmi-gpio.c | 1 +
2 files changed, 3 insertions(+)

--
2.7.4


2022-04-05 01:48:51

by Rohit Agarwal

[permalink] [raw]
Subject: [PATCH 1/2] dt-bindings: pinctrl: qcom-pmic-gpio: Add pmx65 support

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

Signed-off-by: Rohit Agarwal <[email protected]>
---
Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.yaml | 2 ++
1 file changed, 2 insertions(+)

diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.yaml
index fe2bcf0..22dbcba 100644
--- a/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.yaml
+++ b/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.yaml
@@ -53,6 +53,7 @@ properties:
- qcom,pmr735b-gpio
- qcom,pms405-gpio
- qcom,pmx55-gpio
+ - qcom,pmx65-gpio

- enum:
- qcom,spmi-gpio
@@ -140,6 +141,7 @@ $defs:
and gpio10)
- gpio1-gpio11 for pmx55 (holes on gpio3, gpio7, gpio10
and gpio11)
+ - gpio1-gpio16 for pmx65

items:
pattern: "^gpio([0-9]+)$"
--
2.7.4

2022-04-05 02:07:51

by Rohit Agarwal

[permalink] [raw]
Subject: [PATCH 2/2] pinctrl: qcom-pmic-gpio: Add support for pmx65

PMX65 pmic support gpio controller so add compatible.

Signed-off-by: Rohit Agarwal <[email protected]>
---
drivers/pinctrl/qcom/pinctrl-spmi-gpio.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c b/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c
index 4fbf8d3..a0c45b3 100644
--- a/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c
+++ b/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c
@@ -1183,6 +1183,7 @@ static const struct of_device_id pmic_gpio_of_match[] = {
{ .compatible = "qcom,pms405-gpio", .data = (void *) 12 },
/* pmx55 has 11 GPIOs with holes on 3, 7, 10, 11 */
{ .compatible = "qcom,pmx55-gpio", .data = (void *) 11 },
+ { .compatible = "qcom,pmx65-gpio", .data = (void *) 16 },
{ },
};

--
2.7.4

2022-04-05 02:59:42

by Krzysztof Kozlowski

[permalink] [raw]
Subject: Re: [PATCH 1/2] dt-bindings: pinctrl: qcom-pmic-gpio: Add pmx65 support

On 04/04/2022 07:04, Rohit Agarwal wrote:
> Add support for the PMX65 GPIO support to the Qualcomm PMIC GPIO
> binding.
>
> Signed-off-by: Rohit Agarwal <[email protected]>
> ---
> Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.yaml | 2 ++
> 1 file changed, 2 insertions(+)


Acked-by: Krzysztof Kozlowski <[email protected]>


Best regards,
Krzysztof

2022-04-21 08:42:49

by Linus Walleij

[permalink] [raw]
Subject: Re: [PATCH 0/2] Add pmx65 support for pinctrl

On Mon, Apr 4, 2022 at 7:04 AM Rohit Agarwal <[email protected]> wrote:

> Separating the two patches from the original patch series
> "Add Power Domains and Regulators in SDX65" as suggested
> by Linus Walleij.
>
> Thanks,
> Rohit.

Patches applied! They have surely been reviewed long enough.

Yours,
Linus Walleij