Use power domain driver for Exynos7 SOC's
Cc: Catalin Marinas
Reviewed-by: Pankaj Dubey
Signed-off-by: Amit Daniel Kachhap
---
arch/arm64/Kconfig |1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig
index 693db3e..f537558 100644
--- a/arch/arm64/Kconfi
Invoke the GPD_OFF_PRE/GPD_ON_POST power Domain notifiers. This will
allow some clocks to be saved and restored. These notifiers can also
be invoked from the core power domain files but is not done as exynos is
the only user of these notifiers as of now.
In exynos7 SOC's only GPD_OFF_PRE/GPD_ON_POS
This patch adds support for save and restore for clock registers
which loses register contents across power domain off/on sequence.
Cc: Sylwester Nawrocki
Cc: Mike Turquette
Reviewed-by: Pankaj Dubey
Signed-off-by: Amit Daniel Kachhap
---
drivers/clk/samsung/clk.c | 66 +
This patch adds support for second optional compatible complate name. If
this compatible name is present then this name will be used to create
the Power Domain and not the DT node name.
The benefit of this approach is to hook the notifier to the correct
Power Domain.
Cc: Kukjin Kim
Reviewed-by: P
This patch adds supports for parent power domain. This will ensure
invoking of parent/child power domain on/off in a correct sequence.
In exynos7 SOC's, power domain controllers have parent and child
hierarchy.
Cc: Kukjin Kim
Reviewed-by: Pankaj Dubey
Signed-off-by: Amit Daniel Kachhap
---
...
This patch adds a new optional parameter "pd-power-conf" to fetch the
correct power configuration value. In exynos7 soc, this field is
different from previous exynos soc's.
Cc: Kukjin Kim
Reviewed-by: Pankaj Dubey
Signed-off-by: Amit Daniel Kachhap
---
.../bindings/arm/exynos/power_domain.txt
This patch moves arch/arm/mach-exynos/pm_domains.c to driver/soc/samsung
folder. This will be useful to use it for both arm and arm64 platforms.
This file is moved in this directory as this driver is soc specific and
only used by exynos platforms.
Cc: Kukjin Kim
Reviewed-by: Pankaj Dubey
Signed-
This patch modifies Exynos Power Domain driver initialization
implementation in following way:
- Added platform driver support and probe function where Exynos
PM Domain driver will register itself as MFD PMU client
driver.
- This driver will now use the PMU base address with certai
This can be used later to probe and configure PMU client drivers
like pm_domain etc.
A global structure pmu_dev_client_data is created to pass exynos-pmu
platform data to all the clients. Currently the data passed is register
base addresses.
Although the exynos-pmu driver also provides the sysreg i
These power domain transition notifiers will assist in carrying
out some activity associated with domain power on/off such as
some registers which may lose its contents and need save/restore
across domain power off/on.
4 type of notifications are added,
GPD_OFF_PRE - GPD state before power off
From: Pankaj Dubey
This patch moves Exynos PMU driver implementation from "arm/mach-exynos"
to "drivers/mfd". This driver is mainly used for setting misc bits of
register from PMU IP of Exynos SoC which will be required to configure
before Suspend/Resume. Currently all these settings are done in
From: Pankaj Dubey
Moving Exynos PMU specific header file into "include/linux/mfd/samsung"
thus updated affected files under "mach-exynos" to use new location of
these header files.
CC: Sangbeom Kim
CC: Samuel Ortiz
CC: Lee Jones
Signed-off-by: Pankaj Dubey
Signed-off-by: Amit Daniel Kachhap
This patch series[3 - 12] performs several implementations as described below,
1) Converts power domain driver to platform driver.
2) Registers this driver as MFD client driver.
3) Moves them into driver/soc/samsung folder.
4) Add new power domain notifier feature.
5) Uses those notfier from exyno
13 matches
Mail list logo