2024-05-24 23:37:46

by Konrad Dybcio

[permalink] [raw]
Subject: [PATCH v2 0/2] PMC8380 PMIC pinctrl

nothing special, just some boilerplate

Signed-off-by: Konrad Dybcio <[email protected]>
---
Changes in v2:
- Restrict # of GPIO line names (bindings)
- Link to v1: https://lore.kernel.org/r/[email protected]

---
Konrad Dybcio (2):
dt-bindings: pinctrl: qcom,pmic-gpio: Document PMC8380
pinctrl: qcom: spmi: Add PMC8380

Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.yaml | 2 ++
drivers/pinctrl/qcom/pinctrl-spmi-gpio.c | 1 +
2 files changed, 3 insertions(+)
---
base-commit: 8314289a8d50a4e05d8ece1ae0445a3b57bb4d3b
change-id: 20240522-topic-pmc8380_gpio-e6d30861f862

Best regards,
--
Konrad Dybcio <[email protected]>



2024-05-24 23:37:59

by Konrad Dybcio

[permalink] [raw]
Subject: [PATCH v2 1/2] dt-bindings: pinctrl: qcom,pmic-gpio: Document PMC8380

PMC8380 is a new PMIC used with X1 SoCs. Document it

Signed-off-by: Konrad Dybcio <[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 50846a2d09c8..1e6dd4d2f6b4 100644
--- a/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.yaml
+++ b/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.yaml
@@ -57,6 +57,7 @@ properties:
- qcom,pma8084-gpio
- qcom,pmc8180-gpio
- qcom,pmc8180c-gpio
+ - qcom,pmc8380-gpio
- qcom,pmd8028-gpio
- qcom,pmi632-gpio
- qcom,pmi8950-gpio
@@ -225,6 +226,7 @@ allOf:
- qcom,pm8150-gpio
- qcom,pm8350-gpio
- qcom,pmc8180-gpio
+ - qcom,pmc8380-gpio
- qcom,pmi8994-gpio
- qcom,pmm8155au-gpio
then:

--
2.43.0


2024-05-24 23:38:15

by Konrad Dybcio

[permalink] [raw]
Subject: [PATCH v2 2/2] pinctrl: qcom: spmi: Add PMC8380

PMC8380 is a new chip, featuring 10 GPIOs. Describe it.

Signed-off-by: Konrad Dybcio <[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 4e80c7204e5f..ce576149b7ae 100644
--- a/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c
+++ b/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c
@@ -1235,6 +1235,7 @@ static const struct of_device_id pmic_gpio_of_match[] = {
{ .compatible = "qcom,pm8994-gpio", .data = (void *) 22 },
{ .compatible = "qcom,pm8998-gpio", .data = (void *) 26 },
{ .compatible = "qcom,pma8084-gpio", .data = (void *) 22 },
+ { .compatible = "qcom,pmc8380-gpio", .data = (void *) 10 },
{ .compatible = "qcom,pmd8028-gpio", .data = (void *) 4 },
{ .compatible = "qcom,pmi632-gpio", .data = (void *) 8 },
{ .compatible = "qcom,pmi8950-gpio", .data = (void *) 2 },

--
2.43.0


2024-05-24 23:58:19

by Dmitry Baryshkov

[permalink] [raw]
Subject: Re: [PATCH v2 2/2] pinctrl: qcom: spmi: Add PMC8380

On Sat, 25 May 2024 at 02:38, Konrad Dybcio <[email protected]> wrote:
>
> PMC8380 is a new chip, featuring 10 GPIOs. Describe it.
>
> Signed-off-by: Konrad Dybcio <[email protected]>
> ---
> drivers/pinctrl/qcom/pinctrl-spmi-gpio.c | 1 +
> 1 file changed, 1 insertion(+)

Reviewed-by: Dmitry Baryshkov <[email protected]>

--
With best wishes
Dmitry

2024-05-25 16:54:27

by Krzysztof Kozlowski

[permalink] [raw]
Subject: Re: [PATCH v2 1/2] dt-bindings: pinctrl: qcom,pmic-gpio: Document PMC8380

On 25/05/2024 01:37, Konrad Dybcio wrote:
> PMC8380 is a new PMIC used with X1 SoCs. Document it
>
> Signed-off-by: Konrad Dybcio <[email protected]>
> ---
> Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.yaml | 2 ++
> 1 file changed, 2 insertions(+)

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

Best regards,
Krzysztof


2024-05-28 11:42:17

by Linus Walleij

[permalink] [raw]
Subject: Re: [PATCH v2 0/2] PMC8380 PMIC pinctrl

On Sat, May 25, 2024 at 1:37 AM Konrad Dybcio <konrad.dybcio@linaroorg> wrote:

> nothing special, just some boilerplate
>
> Signed-off-by: Konrad Dybcio <[email protected]>

Patches applied!

Yours,
Linus Walleij