diff mbox series

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

Message ID 20201126092151.1082697-2-vkoul@kernel.org (mailing list archive)
State Accepted
Commit ceb58de4365fff8b503b1e6ba7d1110613adb305
Headers show
Series [1/2] dt-bindings: pinctrl: qcom-pmic-gpio: Add pmx55 support | expand

Commit Message

Vinod Koul Nov. 26, 2020, 9:21 a.m. UTC
PM55 pmic support gpio controller so add compatible and comment for gpio
holes

Signed-off-by: Vinod Koul <vkoul@kernel.org>
---
 drivers/pinctrl/qcom/pinctrl-spmi-gpio.c | 2 ++
 1 file changed, 2 insertions(+)

Comments

Bjorn Andersson Nov. 26, 2020, 5:36 p.m. UTC | #1
On Thu 26 Nov 03:21 CST 2020, Vinod Koul wrote:

> PM55 pmic support gpio controller so add compatible and comment for gpio
> holes
> 
> Signed-off-by: Vinod Koul <vkoul@kernel.org>

Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>

> ---
>  drivers/pinctrl/qcom/pinctrl-spmi-gpio.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c b/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c
> index 17441388ce8f..9801c717e311 100644
> --- a/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c
> +++ b/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c
> @@ -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 },
>  	{ },
>  };
>  
> -- 
> 2.26.2
>
Linus Walleij Dec. 4, 2020, 9:22 a.m. UTC | #2
On Thu, Nov 26, 2020 at 10:22 AM Vinod Koul <vkoul@kernel.org> wrote:

> PM55 pmic support gpio controller so add compatible and comment for gpio
> holes
>
> Signed-off-by: Vinod Koul <vkoul@kernel.org>

Patch applied!

Yours,
Linus Walleij
diff mbox series

Patch

diff --git a/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c b/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c
index 17441388ce8f..9801c717e311 100644
--- a/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c
+++ b/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c
@@ -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 },
 	{ },
 };