On 11/09/2023 16:30, Ulf Hansson wrote:
On Mon, 11 Sept 2023 at 04:52, Xianwei Zhao <xianwei.zhao@xxxxxxxxxxx> wrote:
First patch is that remove C3 some power domain ALWAYS_ON property.
Second patch is that add driver to support power parent node.
Third patch is that turn on power if initial power domain with
"AWAY_ON" property state is off.
Other patchs adds power controller driver support for Amlogic T7 SoC.
Changes Since v2:
-Modify subject.
-Define PWRC_NO_PARENT UINT_MAX
-Remove modification that transform is_off into 1 or 0 using !!
Changes Since v1:
-Fix license from "GPL-2.0-only OR .*" to "GPL-2.0-only OR MIT".
-Modify T7_NIC flag "ALWAYS_ON"
xianwei.zhao (6):
genpd: amlogic: modify some power domains property
genpd: amlogic: add driver to support power parent node
genpd: amlogic: init power domain state
dt-bindings: power: add Amlogic T7 power domains
genpd: amlogic: Add support for T7 power domains controller
arm64: dts: amlogic: t7: add power domain controller node
.../power/amlogic,meson-sec-pwrc.yaml | 3 +-
arch/arm64/boot/dts/amlogic/amlogic-t7.dtsi | 6 +
drivers/genpd/amlogic/meson-secure-pwrc.c | 127 ++++++++++++++++--
include/dt-bindings/power/amlogic,t7-pwrc.h | 63 +++++++++
4 files changed, 185 insertions(+), 14 deletions(-)
create mode 100644 include/dt-bindings/power/amlogic,t7-pwrc.h
base-commit: 413f5c02929bb33042bbc4ee233166550a5fca70
--
2.37.1
Patch 1 to 5, applied for next!
The DT patch (patch4), is available on an immutable branch "genpd_dt" too.
From now on, I will continue to put changes for genpd DT bindings on
the above branch, to allow SoC maintainers to pull it in to manage
potential dependent updates to DTS files.
Thanks, let's see how it works :-)
Neil
Kind regards
Uffe