summaryrefslogtreecommitdiff
path: root/drivers/soc/samsung/exynos-pmu.h
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2024-03-04 18:54:27 +0300
committerArnd Bergmann <arnd@arndb.de>2024-03-04 18:54:27 +0300
commit63caaee9af8277ac02c9a478e568d2516a288670 (patch)
tree9d63e0148ce2341f8189b95c8a7bef3e14f6e1d0 /drivers/soc/samsung/exynos-pmu.h
parentdaa0987e1f8c753b36b29d1b73213bc7a3925fd3 (diff)
parent746f0770f916e6c48e422d6a34e67eae16707f0e (diff)
downloadlinux-63caaee9af8277ac02c9a478e568d2516a288670.tar.xz
Merge tag 'samsung-drivers-6.9-2' of https://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux into soc/drivers
Samsung SoC driver changes for v6.9, part two 1. Extend Exynos PMU (Power Management Unit) driver being also the syscon to main system controller registers block, to support Google GS101. The Google GS101 has PMU registers protected and writing is available only via SMC. The Exynos PMU will register its own custom regmap for such case of mixed MMIO+SMC. 2. Rework Samsung watchdog driver to get the regmap to PMU block not via syscon API, but from the Exynos PMU driver. This is necessary for the watchdog driver to work on Google GS101. * tag 'samsung-drivers-6.9-2' of https://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux: watchdog: s3c2410_wdt: use exynos_get_pmu_regmap_by_phandle() for PMU regs soc: samsung: exynos-pmu: Add regmap support for SoCs that protect PMU regs MAINTAINERS: samsung: gs101: match patches touching Google Tensor SoC Link: https://lore.kernel.org/r/20240227080755.34170-1-krzysztof.kozlowski@linaro.org Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'drivers/soc/samsung/exynos-pmu.h')
-rw-r--r--drivers/soc/samsung/exynos-pmu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/soc/samsung/exynos-pmu.h b/drivers/soc/samsung/exynos-pmu.h
index 1c652ffd79b4..0a49a2c9a08e 100644
--- a/drivers/soc/samsung/exynos-pmu.h
+++ b/drivers/soc/samsung/exynos-pmu.h
@@ -21,6 +21,7 @@ struct exynos_pmu_conf {
struct exynos_pmu_data {
const struct exynos_pmu_conf *pmu_config;
const struct exynos_pmu_conf *pmu_config_extra;
+ bool pmu_secure;
void (*pmu_init)(void);
void (*powerdown_conf)(enum sys_powerdown);