mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-25 02:09:42 +00:00
pinctrl: qcom: spmi-gpio: Add pmc8180 & pmc8180c
The SC8180x platform comes with PMC8180 and PMC8180c, add support for the GPIO controller in these PMICs. Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> Acked-by: Rob Herring <robh@kernel.org> Link: https://lore.kernel.org/r/20210629003851.1787673-1-bjorn.andersson@linaro.org Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
parent
4b77f1dff5
commit
182700f258
2 changed files with 6 additions and 0 deletions
|
@ -30,6 +30,8 @@ PMIC's from Qualcomm.
|
|||
"qcom,pm8994-gpio"
|
||||
"qcom,pm8998-gpio"
|
||||
"qcom,pma8084-gpio"
|
||||
"qcom,pmc8180-gpio"
|
||||
"qcom,pmc8180c-gpio"
|
||||
"qcom,pmi8950-gpio"
|
||||
"qcom,pmi8994-gpio"
|
||||
"qcom,pmi8998-gpio"
|
||||
|
@ -122,6 +124,8 @@ to specify in a pin configuration subnode:
|
|||
gpio1-gpio22 for pm8994
|
||||
gpio1-gpio26 for pm8998
|
||||
gpio1-gpio22 for pma8084
|
||||
gpio1-gpio10 for pmc8180
|
||||
gpio1-gpio12 for pmc8180c
|
||||
gpio1-gpio2 for pmi8950
|
||||
gpio1-gpio10 for pmi8994
|
||||
gpio1-gpio4 for pmk8350
|
||||
|
|
|
@ -1115,10 +1115,12 @@ static const struct of_device_id pmic_gpio_of_match[] = {
|
|||
{ .compatible = "qcom,pm8008-gpio", .data = (void *) 2 },
|
||||
/* pm8150 has 10 GPIOs with holes on 2, 5, 7 and 8 */
|
||||
{ .compatible = "qcom,pm8150-gpio", .data = (void *) 10 },
|
||||
{ .compatible = "qcom,pmc8180-gpio", .data = (void *) 10 },
|
||||
/* pm8150b has 12 GPIOs with holes on 3, r and 7 */
|
||||
{ .compatible = "qcom,pm8150b-gpio", .data = (void *) 12 },
|
||||
/* pm8150l has 12 GPIOs with holes on 7 */
|
||||
{ .compatible = "qcom,pm8150l-gpio", .data = (void *) 12 },
|
||||
{ .compatible = "qcom,pmc8180c-gpio", .data = (void *) 12 },
|
||||
{ .compatible = "qcom,pm8350-gpio", .data = (void *) 10 },
|
||||
{ .compatible = "qcom,pm8350b-gpio", .data = (void *) 8 },
|
||||
{ .compatible = "qcom,pm8350c-gpio", .data = (void *) 9 },
|
||||
|
|
Loading…
Reference in a new issue