mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
pinctrl: Add support for PM8916 GPIO's and MPP's
Add compatible string definitions and supported pin functions. Signed-off-by: Ivan T. Ivanov <[email protected]> Acked-by: Bjorn Andersson <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
This commit is contained in:
parent
b8a19382ac
commit
7414b0993c
6 changed files with 25 additions and 0 deletions
|
|
@ -810,6 +810,7 @@ static int pmic_gpio_remove(struct platform_device *pdev)
|
|||
}
|
||||
|
||||
static const struct of_device_id pmic_gpio_of_match[] = {
|
||||
{ .compatible = "qcom,pm8916-gpio" }, /* 4 GPIO's */
|
||||
{ .compatible = "qcom,pm8941-gpio" }, /* 36 GPIO's */
|
||||
{ .compatible = "qcom,pma8084-gpio" }, /* 22 GPIO's */
|
||||
{ },
|
||||
|
|
|
|||
|
|
@ -925,6 +925,7 @@ static int pmic_mpp_remove(struct platform_device *pdev)
|
|||
|
||||
static const struct of_device_id pmic_mpp_of_match[] = {
|
||||
{ .compatible = "qcom,pm8841-mpp" }, /* 4 MPP's */
|
||||
{ .compatible = "qcom,pm8916-mpp" }, /* 4 MPP's */
|
||||
{ .compatible = "qcom,pm8941-mpp" }, /* 8 MPP's */
|
||||
{ .compatible = "qcom,pma8084-mpp" }, /* 8 MPP's */
|
||||
{ },
|
||||
|
|
|
|||
Loading…
Reference in a new issue