From: Vinod Koul Date: Thu, 26 Nov 2020 09:21:51 +0000 (+0530) Subject: pinctrl: qcom-pmic-gpio: Add support for pmx55 X-Git-Tag: v5.11-rc1~97^2~6 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=ceb58de4365fff8b503b1e6ba7d1110613adb305;p=linux-2.6-block.git pinctrl: qcom-pmic-gpio: Add support for pmx55 PM55 pmic support gpio controller so add compatible and comment for gpio holes Signed-off-by: Vinod Koul Reviewed-by: Bjorn Andersson Link: https://lore.kernel.org/r/20201126092151.1082697-2-vkoul@kernel.org Signed-off-by: Linus Walleij --- 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 }, { }, };