diff options
author | Tony Lindgren <tony@atomide.com> | 2021-09-21 12:42:25 +0300 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2021-09-21 12:56:14 +0300 |
commit | 5c99fa737c693a50419606d8f8266974a3521b32 (patch) | |
tree | be1a9964847fb30fb3979cede3ba41115e10d089 /include/linux/platform_data/ti-sysc.h | |
parent | 9067839ff45a528bcb015cc2f24f656126b91e3f (diff) | |
download | lwn-5c99fa737c693a50419606d8f8266974a3521b32.tar.gz lwn-5c99fa737c693a50419606d8f8266974a3521b32.zip |
bus: ti-sysc: Handle otg force idle quirk
Let's add handling the otg force idle quirk for the old omap2430 glue layer
used up to omap4 as the musb driver quirk only works if the driver is
loaded. Unlike with the am335x glue layer, looks like we don't need the
quirk handling for SYSC_QUIRK_REINIT_ON_CTX_LOST.
Eventually when all the musb using SoCs are booting with device tree based
configuration, we can just remove the related quirk handling from the
musb driver.
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'include/linux/platform_data/ti-sysc.h')
-rw-r--r-- | include/linux/platform_data/ti-sysc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/platform_data/ti-sysc.h b/include/linux/platform_data/ti-sysc.h index f11244f5c0b6..eb556f988d57 100644 --- a/include/linux/platform_data/ti-sysc.h +++ b/include/linux/platform_data/ti-sysc.h @@ -50,6 +50,7 @@ struct sysc_regbits { s8 emufree_shift; }; +#define SYSC_MODULE_QUIRK_OTG BIT(30) #define SYSC_QUIRK_RESET_ON_CTX_LOST BIT(29) #define SYSC_QUIRK_REINIT_ON_CTX_LOST BIT(28) #define SYSC_QUIRK_REINIT_ON_RESUME BIT(27) |