drivers: mfd: exynos-pmu: Add support for Exynos7
Subsystems (4)
PATCH 1/1 drivers: mfd: exynos-pmu: Add support for Exynos7
Add intial PMU settings for exynos7. This is required for future suspend-to-ram and cpuidle support.
---
This patch has been tested on an Exynos7 espresso board and is based on Kgene's tree (for-next branch).
Following are the dependencies:
1) Support 64bit Cortex A57 based Exynos7 SoC
http://www.spinics.net/lists/arm-kernel/msg357380.html
2) mfd: syscon: Decouple syscon interface from syscon devices
http://www.spinics.net/lists/linux-samsung-soc/msg35906.html
3) ARM: EXYNOS: Add platform driver support for Exynos PMU
http://lists.infradead.org/pipermail/linux-arm-kernel/2014-July/275675.html
4) ARM: EXYNOS: Move PMU specific definitions from common.h
http://lists.infradead.org/pipermail/linux-arm-kernel/2014-July/270655.html
5) ARM: EXYNOS: Move pmu specific header files under "linux/mfd/samsung"
https://lkml.org/lkml/2014/4/28/217
6) drivers: mfd: Add support for Exynos PMU driver
https://lkml.org/lkml/2014/4/28/332
NOTE: The above dependencies are not final yet, especially the movement of exynos pmu driver to the mfd directory. I will re-work this patch when the final location for exynos PMU driver is decided.
.../devicetree/bindings/arm/samsung/pmu.txt | 1 + arch/arm64/boot/dts/exynos7.dtsi | 5 + drivers/mfd/exynos-pmu.c | 285 ++++++++++++++++++++ include/linux/mfd/samsung/exynos-regs-pmu.h | 212 +++++++++++++++ 4 files changed, 503 insertions(+)
Documentation/devicetree/bindings/arm/samsung/pmu.txt +1 -0
@@ -10,6 +10,7 @@ Properties: - "samsung,exynos5260-pmu" - for Exynos5260 SoC. - "samsung,exynos5410-pmu" - for Exynos5410 SoC, - "samsung,exynos5420-pmu" - for Exynos5420 SoC. + - "samsung,exynos7-pmu" - for Exynos7 SoC. second value must be always "syscon". - reg : offset and length of the register set.
arch/arm64/boot/dts/exynos7.dtsi +5 -0
@@ -361,6 +361,11 @@ status = "disabled"; }; + pmu: pmu-controller at 105c0000 { + compatible = "samsung,exynos7-pmu"; + reg = <0x105c0000 0x5000>; + }; + rtc at 10590000 { compatible = "samsung,s3c6410-rtc"; reg = <0x10590000 0x100>;
drivers/mfd/exynos-pmu.c +285 -0
321 lines not on this page · raw message
include/linux/mfd/samsung/exynos-regs-pmu.h +212 -0
216 lines not on this page · raw message
Signature · 1 line
1.7.9.5
PATCH 1/1 drivers: mfd: exynos-pmu: Add support for Exynos7
Quoted 23 lines · Abhilash Kesavan
Add intial PMU settings for exynos7. This is required for future suspend-to-ram and cpuidle support.
Signed-off-by Eunseok Choi <[email protected]>Signed-off-by Abhilash Kesavan <[email protected]>---
This patch has been tested on an Exynos7 espresso board and is based on Kgene's tree (for-next branch).Following are the dependencies:
1) Support 64bit Cortex A57 based Exynos7 SoC
http://www.spinics.net/lists/arm-kernel/msg357380.html
2) mfd: syscon: Decouple syscon interface from syscon devices
http://www.spinics.net/lists/linux-samsung-soc/msg35906.html
3) ARM: EXYNOS: Add platform driver support for Exynos PMU
http://lists.infradead.org/pipermail/linux-arm-kernel/2014-July/275675.html
4) ARM: EXYNOS: Move PMU specific definitions fromcommon.h
http://lists.infradead.org/pipermail/linux-arm-kernel/2014-July/270655.html
5) ARM: EXYNOS: Move pmu specific header files under "linux/mfd/samsung"
https://lkml.org/lkml/2014/4/28/217
6) drivers: mfd: Add support for Exynos PMU driver
https://lkml.org/lkml/2014/4/28/332
Quoted 3 lines
NOTE: The above dependencies are not final yet, especially the movement of exynos pmu driver to the mfd directory. I will re-work this patch when the final location for exynos PMU driver is decided.
Let me know when this patch is ready to go in and I'll review.
Quoted 5 lines
.../devicetree/bindings/arm/samsung/pmu.txt | 1 + arch/arm64/boot/dts/exynos7.dtsi | 5 + drivers/mfd/exynos-pmu.c | 285 ++++++++++++++++++++ include/linux/mfd/samsung/exynos-regs-pmu.h | 212 +++++++++++++++ 4 files changed, 503 insertions(+)
This all needs to be broken up into seperate patches.
Also, see: Documentation/devicetree/bindings/submitting-patches.txt.
Signature · 4 lines
Lee Jones Linaro STMicroelectronics Landing Team Lead Linaro.org ? Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog