Skip to content

Commit d7ee4d0

Browse files
masneybLinus Walleij
authored andcommitted
pinctrl: qcom: spmi-gpio: add support for three new variants
Add support for qcom,pm8005-gpio, qcom,pm8998-gpio, and qcom,pmi8998-gpio. These three variants are already in use in some arm64 dtsi files. Those boards work since the generic binding qcom,spmi-gpio is also specified. Signed-off-by: Brian Masney <masneyb@onstation.org> Reviewed-by: Stephen Boyd <sboyd@kernel.org> Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
1 parent 697818f commit d7ee4d0

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎drivers/pinctrl/qcom/pinctrl-spmi-gpio.c‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1063,10 +1063,13 @@ static int pmic_gpio_remove(struct platform_device *pdev)
10631063
}
10641064

10651065
static const struct of_device_id pmic_gpio_of_match[] = {
1066+
{ .compatible = "qcom,pm8005-gpio" }, /* 4 GPIO's */
10661067
{ .compatible = "qcom,pm8916-gpio" }, /* 4 GPIO's */
10671068
{ .compatible = "qcom,pm8941-gpio" }, /* 36 GPIO's */
10681069
{ .compatible = "qcom,pm8994-gpio" }, /* 22 GPIO's */
10691070
{ .compatible = "qcom,pmi8994-gpio" }, /* 10 GPIO's */
1071+
{ .compatible = "qcom,pm8998-gpio" }, /* 26 GPIO's */
1072+
{ .compatible = "qcom,pmi8998-gpio" }, /* 14 GPIO's */
10701073
{ .compatible = "qcom,pma8084-gpio" }, /* 22 GPIO's */
10711074
{ .compatible = "qcom,pms405-gpio" }, /* 12 GPIO's, holes on 1 9 10 */
10721075
{ .compatible = "qcom,spmi-gpio" }, /* Generic */

0 commit comments

Comments
 (0)