]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
pmdomain: amlogic: fix T7 ISP secpower
authorXianwei Zhao <xianwei.zhao@amlogic.com>
Mon, 3 Mar 2025 09:06:05 +0000 (17:06 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 5 Mar 2025 14:51:04 +0000 (15:51 +0100)
ISP and MIPI_ISP, these two have a parent-child relationship,
ISP depends on MIPI_ISP.

Fixes: ca75e4b214c6 ("pmdomain: amlogic: Add support for T7 power domains controller")
Signed-off-by: Xianwei Zhao <xianwei.zhao@amlogic.com>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20250303-fix-t7-pwrc-v1-1-b563612bcd86@amlogic.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/pmdomain/amlogic/meson-secure-pwrc.c

index 42ce41a2fe3a0c59a6f2b066b47118b3067e4c4d..ff76ea36835e533140d135dec550e30a11dd494c 100644 (file)
@@ -221,7 +221,7 @@ static const struct meson_secure_pwrc_domain_desc t7_pwrc_domains[] = {
        SEC_PD(T7_VI_CLK2,      0),
        /* ETH is for ethernet online wakeup, and should be always on */
        SEC_PD(T7_ETH,          GENPD_FLAG_ALWAYS_ON),
-       SEC_PD(T7_ISP,          0),
+       TOP_PD(T7_ISP,          0, PWRC_T7_MIPI_ISP_ID),
        SEC_PD(T7_MIPI_ISP,     0),
        TOP_PD(T7_GDC,          0, PWRC_T7_NIC3_ID),
        TOP_PD(T7_DEWARP,       0, PWRC_T7_NIC3_ID),