diff options
author | Claudiu Beznea <claudiu.beznea@microchip.com> | 2020-01-20 13:10:04 +0100 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2020-02-18 21:47:54 +0100 |
commit | 0be298a939b748256035f66716fca409dd26d0dc (patch) | |
tree | fbcfd9f1f732ce6c86b1a655618653c10ddc42d2 /arch/arm/mach-at91/pm_data-offsets.c | |
parent | ARM: at91: pm: add macros for plla disable/enable (diff) | |
download | linux-0be298a939b748256035f66716fca409dd26d0dc.tar.xz linux-0be298a939b748256035f66716fca409dd26d0dc.zip |
ARM: at91: pm: add pmc_version member to at91_pm_data
This will be used to differentiate b/w different PLLs settings to be
applied in the final/first steps of the suspend/resume process by doing
PLL specific configurations.
Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Acked-by: Stephen Boyd <sboyd@kernel.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Link: https://lore.kernel.org/r/1579522208-19523-5-git-send-email-claudiu.beznea@microchip.com
Diffstat (limited to 'arch/arm/mach-at91/pm_data-offsets.c')
-rw-r--r-- | arch/arm/mach-at91/pm_data-offsets.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-at91/pm_data-offsets.c b/arch/arm/mach-at91/pm_data-offsets.c index dfcbe626865c..82089ff258c0 100644 --- a/arch/arm/mach-at91/pm_data-offsets.c +++ b/arch/arm/mach-at91/pm_data-offsets.c @@ -14,6 +14,8 @@ int main(void) DEFINE(PM_DATA_SFRBU, offsetof(struct at91_pm_data, sfrbu)); DEFINE(PM_DATA_PMC_MCKR_OFFSET, offsetof(struct at91_pm_data, pmc_mckr_offset)); + DEFINE(PM_DATA_PMC_VERSION, offsetof(struct at91_pm_data, + pmc_version)); return 0; } |