pinctrl: single: Add compatible for ti,am654-padconf
Use the "ti,am654-padconf" compatible to enable the use of wake-up enable and event bits on K3 SOCs that support the daisychain feature Signed-off-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Dhruva Gole <d-gole@ti.com> Link: https://lore.kernel.org/r/20230808102207.130177-3-d-gole@ti.com [Alphabetized the compatible list] Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
parent
7e1e23219d
commit
0cec950d3f
@ -1954,6 +1954,12 @@ static const struct pcs_soc_data pinctrl_single_am437x = {
|
|||||||
.irq_status_mask = (1 << 30), /* OMAP_WAKEUP_EVENT */
|
.irq_status_mask = (1 << 30), /* OMAP_WAKEUP_EVENT */
|
||||||
};
|
};
|
||||||
|
|
||||||
|
static const struct pcs_soc_data pinctrl_single_am654 = {
|
||||||
|
.flags = PCS_QUIRK_SHARED_IRQ | PCS_CONTEXT_LOSS_OFF,
|
||||||
|
.irq_enable_mask = (1 << 29), /* WKUP_EN */
|
||||||
|
.irq_status_mask = (1 << 30), /* WKUP_EVT */
|
||||||
|
};
|
||||||
|
|
||||||
static const struct pcs_soc_data pinctrl_single = {
|
static const struct pcs_soc_data pinctrl_single = {
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -1962,11 +1968,12 @@ static const struct pcs_soc_data pinconf_single = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
static const struct of_device_id pcs_of_match[] = {
|
static const struct of_device_id pcs_of_match[] = {
|
||||||
|
{ .compatible = "ti,am437-padconf", .data = &pinctrl_single_am437x },
|
||||||
|
{ .compatible = "ti,am654-padconf", .data = &pinctrl_single_am654 },
|
||||||
|
{ .compatible = "ti,dra7-padconf", .data = &pinctrl_single_dra7 },
|
||||||
{ .compatible = "ti,omap3-padconf", .data = &pinctrl_single_omap_wkup },
|
{ .compatible = "ti,omap3-padconf", .data = &pinctrl_single_omap_wkup },
|
||||||
{ .compatible = "ti,omap4-padconf", .data = &pinctrl_single_omap_wkup },
|
{ .compatible = "ti,omap4-padconf", .data = &pinctrl_single_omap_wkup },
|
||||||
{ .compatible = "ti,omap5-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 = "pinctrl-single", .data = &pinctrl_single },
|
||||||
{ .compatible = "pinconf-single", .data = &pinconf_single },
|
{ .compatible = "pinconf-single", .data = &pinconf_single },
|
||||||
{ },
|
{ },
|
||||||
|
Loading…
x
Reference in New Issue
Block a user