[PATCH v4 00/10] pmdomain: samsung: add support for Google GS101
From: André Draszik <andre.draszik@linaro.org>
Date: 2026-01-28 16:10:54
Also in:
linux-devicetree, linux-pm, linux-samsung-soc, lkml
Hi, This series adds support for the power domains on Google GS101. There are a few differences compared to SoCs already supported by this driver: * register access does not work via plain ioremap() / readl() / writel(). Instead, the regmap created by the PMU driver must be used (which uses Arm SMCC calls under the hood). * DTZPC: a call needs to be made before and after power domain off/on, to inform the EL3 firmware of the request. * power domains can and are fed by a regulator rail and therefore regulator control needed be implemented. Bullet points 2 and 3 are new compared to previous versions of this series, and related changes are in patches 1, 2, 9, and 10. I can merge patch 9 (SMC call) into the gs101 patch (patch 7) if preferred, but for now I kept them independent to make it easier to see changes compared to previous versions of this series, and because patch 8 actually applies to not only gs101, but to many newer Exynos SoCs, and to make the two patches themselves easier to review and reason about. The DT update to add the new required properties on gs101 will be posted separately. Signed-off-by: André Draszik <andre.draszik@linaro.org> --- Changes in v4: - drop unneeded or already merged patches - drop patch "pmdomain: samsung: convert to regmap_read_poll_timeout()" as Marek reported issues on some platforms - rebase - DTZPC related changes - Link to v3: https://lore.kernel.org/r/20251016-gs101-pd-v3-0-7b30797396e7@linaro.org (local) Changes in v3: - use additionalProperties, not unevaluatedProperties in patch 2 - fix path in $id in patch 2 (Rob) - drop comment around 'select' in patch 2 (Rob) - collect tags - Link to v2: https://lore.kernel.org/r/20251009-gs101-pd-v2-0-3f4a6db2af39@linaro.org (local) Changes in v2: - Krzysztof: - move google,gs101-pmu binding into separate file - mark devm_kstrdup_const() patch as fix - use bool for need_early_sync_state - merge patches 8 and 10 from v1 series into one patch - collect tags - Link to v1: https://lore.kernel.org/r/20251006-gs101-pd-v1-0-f0cb0c01ea7b@linaro.org (local) --- André Draszik (10): dt-bindings: soc: google: add google,gs101-dtzpc dt-bindings: power: samsung: add google,gs101-pd dt-bindings: soc: samsung: exynos-pmu: move gs101-pmu into separate binding dt-bindings: soc: google: gs101-pmu: allow power domains as children pmdomain: samsung: convert to using regmap pmdomain: samsung: don't hard-code offset for registers to 0 and 4 pmdomain: samsung: add support for google,gs101-pd pmdomain: samsung: use dev_err() instead of pr_err() pmdomain: samsung: implement SMC to save / restore TZ config pmdomain: samsung: implement domain-supply regulator .../devicetree/bindings/power/pd-samsung.yaml | 29 ++- .../bindings/soc/google/google,gs101-dtzpc.yaml | 42 ++++ .../bindings/soc/google/google,gs101-pmu.yaml | 97 ++++++++ .../bindings/soc/samsung/exynos-pmu.yaml | 20 -- MAINTAINERS | 2 + drivers/pmdomain/samsung/exynos-pm-domains.c | 254 ++++++++++++++++++--- 6 files changed, 395 insertions(+), 49 deletions(-) --- base-commit: e3b32dcb9f23e3c3927ef3eec6a5842a988fb574 change-id: 20251001-gs101-pd-d4dc97d70a84 Best regards, -- André Draszik [off-list ref]