2024-05-22 11:30:22

by Konrad Dybcio

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

nothing special, just some boilerplate

Signed-off-by: Konrad Dybcio <[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 | 1 +
drivers/pinctrl/qcom/pinctrl-spmi-gpio.c | 1 +
2 files changed, 2 insertions(+)
---
base-commit: 8314289a8d50a4e05d8ece1ae0445a3b57bb4d3b
change-id: 20240522-topic-pmc8380_gpio-e6d30861f862

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



2024-05-22 11:30:45

by Konrad Dybcio

[permalink] [raw]
Subject: [PATCH 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 | 1 +
1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.yaml
index 50846a2d09c8..a52949526a2a 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

--
2.43.0


2024-05-22 11:30:51

by Konrad Dybcio

[permalink] [raw]
Subject: [PATCH 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-22 11:51:38

by Neil Armstrong

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

On 22/05/2024 13:30, Konrad Dybcio 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(+)
>
> 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 },
>

Reviewed-by: Neil Armstrong <[email protected]>

2024-05-23 20:52:13

by Krzysztof Kozlowski

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

On 22/05/2024 13:30, 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 | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.yaml
> index 50846a2d09c8..a52949526a2a 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

There is also allOf: with if: constraining number of lines and reserved
ranges.

Best regards,
Krzysztof