diff mbox series

[2/2] pinctrl: qcom: spmi: Add PMC8380

Message ID 20240522-topic-pmc8380_gpio-v1-2-7298afa9e181@linaro.org (mailing list archive)
State Superseded
Headers show
Series PMC8380 PMIC pinctrl | expand

Commit Message

Konrad Dybcio May 22, 2024, 11:30 a.m. UTC
PMC8380 is a new chip, featuring 10 GPIOs. Describe it.

Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
---
 drivers/pinctrl/qcom/pinctrl-spmi-gpio.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Neil Armstrong May 22, 2024, 11:50 a.m. UTC | #1
On 22/05/2024 13:30, Konrad Dybcio wrote:
> PMC8380 is a new chip, featuring 10 GPIOs. Describe it.
> 
> Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
> ---
>   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 <neil.armstrong@linaro.org>
diff mbox series

Patch

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