summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorClaudiu Beznea <claudiu.beznea@microchip.com>2020-01-20 13:10:04 +0100
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2020-02-18 21:47:54 +0100
commit0be298a939b748256035f66716fca409dd26d0dc (patch)
treefbcfd9f1f732ce6c86b1a655618653c10ddc42d2 /include
parentARM: at91: pm: add macros for plla disable/enable (diff)
downloadlinux-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 'include')
-rw-r--r--include/linux/clk/at91_pmc.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/clk/at91_pmc.h b/include/linux/clk/at91_pmc.h
index 390437887b46..f3d691fc5f29 100644
--- a/include/linux/clk/at91_pmc.h
+++ b/include/linux/clk/at91_pmc.h
@@ -12,6 +12,9 @@
#ifndef AT91_PMC_H
#define AT91_PMC_H
+#define AT91_PMC_V1 (1) /* PMC version 1 */
+#define AT91_PMC_V2 (2) /* PMC version 2 [SAM9X60] */
+
#define AT91_PMC_SCER 0x00 /* System Clock Enable Register */
#define AT91_PMC_SCDR 0x04 /* System Clock Disable Register */