Skip to content

Commit 17cc38e

Browse files
konradybcioLinus Walleij
authored andcommitted
pinctrl: qcom: spmi-gpio: Add pm660(l) compatibility
Add support for pm660(l) SPMI GPIOs. The PMICs feature 13 and 12 GPIOs respectively, though with a lot of holes inbetween. Signed-off-by: Konrad Dybcio <konradybcio@gmail.com> Acked-by: Bjorn Andersson <bjorn.andersson@linaro.org> Link: https://lore.kernel.org/r/20200622192558.152828-2-konradybcio@gmail.com Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
1 parent f8a7476 commit 17cc38e

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1118,6 +1118,10 @@ static const struct of_device_id pmic_gpio_of_match[] = {
11181118
{ .compatible = "qcom,pma8084-gpio", .data = (void *) 22 },
11191119
/* pms405 has 12 GPIOs with holes on 1, 9, and 10 */
11201120
{ .compatible = "qcom,pms405-gpio", .data = (void *) 12 },
1121+
/* pm660 has 13 GPIOs with holes on 1, 5, 6, 7, 8 and 10 */
1122+
{ .compatible = "qcom,pm660-gpio", .data = (void *) 13 },
1123+
/* pm660l has 12 GPIOs with holes on 1, 2, 10, 11 and 12 */
1124+
{ .compatible = "qcom,pm660l-gpio", .data = (void *) 12 },
11211125
/* pm8150 has 10 GPIOs with holes on 2, 5, 7 and 8 */
11221126
{ .compatible = "qcom,pm8150-gpio", .data = (void *) 10 },
11231127
/* pm8150b has 12 GPIOs with holes on 3, r and 7 */

0 commit comments

Comments
 (0)