diff options
author | Bai Ping <ping.bai@nxp.com> | 2016-11-21 14:56:12 +0800 |
---|---|---|
committer | Bai Ping <ping.bai@nxp.com> | 2016-12-19 13:05:08 +0800 |
commit | fbca3cf42b13278beee33057f13d7fd83f18de7a (patch) | |
tree | b99ba03885b2c1714b6bdb41defaff834e513890 /include/linux | |
parent | b2c6f8e71c656e66ad78d9214be5940f74db0e9b (diff) |
MLK-13616 ARM: imx: Add low power run voltage change support on i.MX6SLL
On i.MX6SLL, if all PLLs is bypassed in low power run mode, we can decrease
the VDD_ARM_IN and VDD_SOC_IN voltage to 0.925V to save power. a 25mV margin
is added to cover IR drop and board tolerance.
Add low power run voltage change support for i.MX6SLL.
Signed-off-by: Bai Ping <ping.bai@nxp.com>
(cherry picked from commit 3b9da6e8b867ee59c81314d3e08af60053a5855d)
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/busfreq-imx.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/linux/busfreq-imx.h b/include/linux/busfreq-imx.h index d309f3db02ae..2a2459a15d5a 100644 --- a/include/linux/busfreq-imx.h +++ b/include/linux/busfreq-imx.h @@ -1,5 +1,5 @@ /* - * Copyright 2012-2015 Freescale Semiconductor, Inc. All Rights Reserved. + * Copyright 2012-2016 Freescale Semiconductor, Inc. All Rights Reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as @@ -10,6 +10,7 @@ #define __ASM_ARCH_MXC_BUSFREQ_H__ #include <linux/notifier.h> +#include <linux/regulator/consumer.h> /* * This enumerates busfreq low power mode entry and exit. @@ -42,6 +43,8 @@ enum bus_freq_mode { }; #ifdef CONFIG_CPU_FREQ +extern struct regulator *arm_reg; +extern struct regulator *soc_reg; void request_bus_freq(enum bus_freq_mode mode); void release_bus_freq(enum bus_freq_mode mode); int register_busfreq_notifier(struct notifier_block *nb); |