]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
soc: samsung: gs101-pmu: implement access tables for read and write
authorAndré Draszik <andre.draszik@linaro.org>
Thu, 9 Oct 2025 09:31:27 +0000 (10:31 +0100)
committerKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Sat, 18 Oct 2025 17:16:45 +0000 (19:16 +0200)
commit8b9cd112f1ac8d72244b189654e693012ea8dfe0
tree95b0c1b361778c9c9821685f8b6eaa869326c7e2
parentb320711e4c377b0e2ce0b296ba9485cf3f9eb10d
soc: samsung: gs101-pmu: implement access tables for read and write

Accessing non-existent PMU registers causes an SError, halting the
system.

Implement read and write access tables for the gs101-PMU to specify
which registers are read- and/or writable to avoid that SError.

Reviewed-by: Sam Protsenko <semen.protsenko@linaro.org>
Signed-off-by: André Draszik <andre.draszik@linaro.org>
Link: https://patch.msgid.link/20251009-gs101-pmu-regmap-tables-v2-3-2d64f5261952@linaro.org
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
drivers/soc/samsung/gs101-pmu.c
include/linux/soc/samsung/exynos-regs-pmu.h