]> git.ipfire.org Git - thirdparty/linux.git/commit
pmdomain: thead: Instantiate GPU power sequencer via auxiliary bus
authorMichal Wilczynski <m.wilczynski@samsung.com>
Mon, 23 Jun 2025 11:42:41 +0000 (13:42 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 25 Jun 2025 10:09:21 +0000 (12:09 +0200)
commitda3d0b772f6f04e8460182024efbd4ce15e35c42
tree3846e5882ee5a462bf9c972e2cbe6b25dfc9a617
parentc7ba7a92ae72d53f7493d507d9b5db2af0e06ed9
pmdomain: thead: Instantiate GPU power sequencer via auxiliary bus

In order to support the complex power sequencing required by the TH1520
GPU, the AON power domain driver must be responsible for initiating the
corresponding sequencer driver. This functionality is specific to
platforms where the GPU power sequencing hardware is controlled by the
AON block.

Extend the AON power domain driver to check for the presence of the
"gpu-clkgen" reset in its own device tree node.

If the property is found, create and register a new auxiliary device.
This device acts as a proxy that allows the dedicated `pwrseq-thead-gpu`
auxiliary driver to bind and take control of the sequencing logic.

Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org>
Reviewed-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Michal Wilczynski <m.wilczynski@samsung.com>
Link: https://lore.kernel.org/r/20250623-apr_14_for_sending-v6-3-6583ce0f6c25@samsung.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/pmdomain/thead/Kconfig
drivers/pmdomain/thead/th1520-pm-domains.c