mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
pinctrl: single: AM437x: Add pinctrl compatibility
AM437x pinctrl definitions now differ from traditional 16 bit OMAP pin ctrl definitions, in that all 32 bits are used to describe a single pin Also the location of wakeupenable and event bits have changed. Signed-off-by: Keerthy <[email protected]> [[email protected]: minor updates] Signed-off-by: Nishanth Menon <[email protected]> Acked-by: Tony Lindgren <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
This commit is contained in:
parent
31320beaa3
commit
aa2293d82c
2 changed files with 8 additions and 0 deletions
|
|
@ -1987,6 +1987,12 @@ static const struct pcs_soc_data pinctrl_single_dra7 = {
|
|||
.irq_status_mask = (1 << 25), /* WAKEUPEVENT */
|
||||
};
|
||||
|
||||
static const struct pcs_soc_data pinctrl_single_am437x = {
|
||||
.flags = PCS_QUIRK_SHARED_IRQ,
|
||||
.irq_enable_mask = (1 << 29), /* OMAP_WAKEUP_EN */
|
||||
.irq_status_mask = (1 << 30), /* OMAP_WAKEUP_EVENT */
|
||||
};
|
||||
|
||||
static const struct pcs_soc_data pinctrl_single = {
|
||||
};
|
||||
|
||||
|
|
@ -1999,6 +2005,7 @@ static struct of_device_id pcs_of_match[] = {
|
|||
{ .compatible = "ti,omap4-padconf", .data = &pinctrl_single_omap_wkup },
|
||||
{ .compatible = "ti,omap5-padconf", .data = &pinctrl_single_omap_wkup },
|
||||
{ .compatible = "ti,dra7-padconf", .data = &pinctrl_single_dra7 },
|
||||
{ .compatible = "ti,am437-padconf", .data = &pinctrl_single_am437x },
|
||||
{ .compatible = "pinctrl-single", .data = &pinctrl_single },
|
||||
{ .compatible = "pinconf-single", .data = &pinconf_single },
|
||||
{ },
|
||||
|
|
|
|||
Loading…
Reference in a new issue