[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230308230931.27261-1-semen.protsenko@linaro.org>
Date: Wed, 8 Mar 2023 17:09:25 -0600
From: Sam Protsenko <semen.protsenko@...aro.org>
To: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>,
Rob Herring <robh+dt@...nel.org>
Cc: Alim Akhtar <alim.akhtar@...sung.com>,
Marek Szyprowski <m.szyprowski@...sung.com>,
Chanwoo Choi <cw00.choi@...sung.com>,
Chanho Park <chanho61.park@...sung.com>,
David Virag <virag.david003@...il.com>,
linux-arm-kernel@...ts.infradead.org,
linux-samsung-soc@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: [PATCH 0/6] soc: samsung: pm_domains: Add Exynos850 support
Power Domains in Exynos850 are not really different from other Exynos
platforms. Enabling Exynos850 support in the PD driver is really just a
matter of adding:
static const struct exynos_pm_domain_config exynos850_cfg = {
.local_pwr_cfg = 0x1,
};
to the driver. But in the face of recent developments, e.g. this patch:
arm64: dts: exynos: move MIPI phy to PMU node in Exynos5433
it looked logical to rework the PD driver a bit to support its nesting
under the PMU node, while adding Exynos850 support to it. Initially I
only wanted to add syscon regmap support via some dedicated property,
but pulling PD nodes under the PMU syscon looks like more correct way.
This patch series provides next changes:
1. Make it possible for PD nodes to be children of PMU
2. Add Exynos850 support to PD driver
3. A bit of refactoring in PD driver
4. Corresponding changes to dt-bindings
Dependencies inside of the series:
- patch #2 depends on patch #1
- patch #6 depends on patch #1
- patches 3,4,5,6 should be applied in the same order as in the series
Sam Protsenko (6):
dt-bindings: power: pd-samsung: Add Exynos850 support
dt-bindings: power: pd-samsung: Allow pd nodes to be children of PMU
soc: samsung: pm_domains: Extract DT handling into a separate function
soc: samsung: pm_domains: Implement proper I/O operations
soc: samsung: pm_domains: Allow PD to be a child of PMU syscon
soc: samsung: pm_domains: Add Exynos850 support
.../devicetree/bindings/power/pd-samsung.yaml | 12 +-
MAINTAINERS | 1 +
drivers/soc/samsung/Kconfig | 1 +
drivers/soc/samsung/pm_domains.c | 132 +++++++++++++++---
.../power/samsung,exynos850-power.h | 17 +++
5 files changed, 142 insertions(+), 21 deletions(-)
create mode 100644 include/dt-bindings/power/samsung,exynos850-power.h
--
2.39.2
Powered by blists - more mailing lists