S7D: power domain amfc config. [1/1]

PD#SWPL-164972

Problem:
1.The AMFC module is currently configured to always on.
In order to save power consumption, power can be
removed during suspend.
2.usb power domain naming is not standard

Solution:
1.Cancel the AMFC always on configuration.
2.Change the usb domain name

Verify:
S7D

Change-Id: Ib92ffee894f248f7edb2a358bddc548543c68719
Signed-off-by: hongyu.chen1 <hongyu.chen1@amlogic.com>
This commit is contained in:
hongyu.chen1
2024-04-11 17:52:30 +08:00
committed by gerrit autosubmit
parent f351083c56
commit edbb446892
2 changed files with 5 additions and 5 deletions
+3 -3
View File
@@ -722,16 +722,16 @@ static struct sec_pm_private_domain s7d_pm_domains[] __initdata = {
0),
[PDID_S7D_VPU_HDMI] = POWER_DOMAIN(hdmi, PDID_S7D_VPU_HDMI, DOMAIN_INIT_ON,
GENPD_FLAG_ALWAYS_ON),
[PDID_USB_U2DRD] = POWER_DOMAIN(usb_u2d, PDID_USB_U2DRD, DOMAIN_INIT_ON,
[PDID_S7D_USB_U2DRD] = POWER_DOMAIN(usb_u2d, PDID_S7D_USB_U2DRD, DOMAIN_INIT_ON,
GENPD_FLAG_ALWAYS_ON),
[PDID_USB_U2H] = POWER_DOMAIN(usb_u2h, PDID_USB_U2H, DOMAIN_INIT_ON,
[PDID_S7D_USB_U2H] = POWER_DOMAIN(usb_u2h, PDID_S7D_USB_U2H, DOMAIN_INIT_ON,
GENPD_FLAG_ALWAYS_ON),
[PDID_S7D_SD_EMMC_C] = POWER_DOMAIN(sd_emmc_c, PDID_S7D_SD_EMMC_C, DOMAIN_INIT_ON,
GENPD_FLAG_ALWAYS_ON),
[PDID_S7D_GE2D] = POWER_DOMAIN(ge2d, PDID_S7D_GE2D, DOMAIN_INIT_OFF,
0),
[PDID_S7D_AMFC] = POWER_DOMAIN(amfc, PDID_S7D_AMFC, DOMAIN_INIT_ON,
GENPD_FLAG_ALWAYS_ON),
0),
[PDID_S7D_SD_EMMC_A] = POWER_DOMAIN(sd_emmc_a, PDID_S7D_SD_EMMC_A, DOMAIN_INIT_ON,
GENPD_FLAG_ALWAYS_ON),
[PDID_S7D_SD_EMMC_B] = POWER_DOMAIN(sd_emmc_b, PDID_S7D_SD_EMMC_B, DOMAIN_INIT_ON,
+2 -2
View File
@@ -7,8 +7,8 @@
#define PDID_S7D_DOS_HEVC 1
#define PDID_S7D_DOS_VDEC 2
#define PDID_S7D_VPU_HDMI 3
#define PDID_USB_U2DRD 4
#define PDID_USB_U2H 5
#define PDID_S7D_USB_U2DRD 4
#define PDID_S7D_USB_U2H 5
#define PDID_S7D_SD_EMMC_C 6
#define PDID_S7D_GE2D 7
#define PDID_S7D_AMFC 8