@@ -89,8 +89,12 @@ static struct s3c64xx_pm_domain s3c64xx_pm_irom = {
.name = "IROM",
.ena = S3C64XX_NORMALCFG_IROM_ON,
.pd = {
- .power_off = s3c64xx_pd_off,
- .power_on = s3c64xx_pd_on,
+ .states[0] = {
+ .name = "off",
+ .power_off = s3c64xx_pd_off,
+ .power_on = s3c64xx_pd_on,
+ },
+ .state_count = 1,
},
};
@@ -99,8 +103,11 @@ static struct s3c64xx_pm_domain s3c64xx_pm_etm = {
.ena = S3C64XX_NORMALCFG_DOMAIN_ETM_ON,
.pwr_stat = S3C64XX_BLKPWRSTAT_ETM,
.pd = {
- .power_off = s3c64xx_pd_off,
- .power_on = s3c64xx_pd_on,
+ .states[0] = {
+ .name = "off",
+ .power_off = s3c64xx_pd_off,
+ .power_on = s3c64xx_pd_on,
+ }
},
};
@@ -109,8 +116,11 @@ static struct s3c64xx_pm_domain s3c64xx_pm_s = {
.ena = S3C64XX_NORMALCFG_DOMAIN_S_ON,
.pwr_stat = S3C64XX_BLKPWRSTAT_S,
.pd = {
- .power_off = s3c64xx_pd_off,
- .power_on = s3c64xx_pd_on,
+ .states[0] = {
+ .name = "off",
+ .power_off = s3c64xx_pd_off,
+ .power_on = s3c64xx_pd_on,
+ }
},
};
@@ -119,8 +129,11 @@ static struct s3c64xx_pm_domain s3c64xx_pm_f = {
.ena = S3C64XX_NORMALCFG_DOMAIN_F_ON,
.pwr_stat = S3C64XX_BLKPWRSTAT_F,
.pd = {
- .power_off = s3c64xx_pd_off,
- .power_on = s3c64xx_pd_on,
+ .states[0] = {
+ .name = "off",
+ .power_off = s3c64xx_pd_off,
+ .power_on = s3c64xx_pd_on,
+ }
},
};
@@ -129,8 +142,11 @@ static struct s3c64xx_pm_domain s3c64xx_pm_p = {
.ena = S3C64XX_NORMALCFG_DOMAIN_P_ON,
.pwr_stat = S3C64XX_BLKPWRSTAT_P,
.pd = {
- .power_off = s3c64xx_pd_off,
- .power_on = s3c64xx_pd_on,
+ .states[0] = {
+ .name = "off",
+ .power_off = s3c64xx_pd_off,
+ .power_on = s3c64xx_pd_on,
+ }
},
};
@@ -139,8 +155,11 @@ static struct s3c64xx_pm_domain s3c64xx_pm_i = {
.ena = S3C64XX_NORMALCFG_DOMAIN_I_ON,
.pwr_stat = S3C64XX_BLKPWRSTAT_I,
.pd = {
- .power_off = s3c64xx_pd_off,
- .power_on = s3c64xx_pd_on,
+ .states[0] = {
+ .name = "off",
+ .power_off = s3c64xx_pd_off,
+ .power_on = s3c64xx_pd_on,
+ }
},
};
@@ -148,8 +167,11 @@ static struct s3c64xx_pm_domain s3c64xx_pm_g = {
.name = "G",
.ena = S3C64XX_NORMALCFG_DOMAIN_G_ON,
.pd = {
- .power_off = s3c64xx_pd_off,
- .power_on = s3c64xx_pd_on,
+ .states[0] = {
+ .name = "off",
+ .power_off = s3c64xx_pd_off,
+ .power_on = s3c64xx_pd_on,
+ }
},
};
@@ -158,8 +180,11 @@ static struct s3c64xx_pm_domain s3c64xx_pm_v = {
.ena = S3C64XX_NORMALCFG_DOMAIN_V_ON,
.pwr_stat = S3C64XX_BLKPWRSTAT_V,
.pd = {
- .power_off = s3c64xx_pd_off,
- .power_on = s3c64xx_pd_on,
+ .states[0] = {
+ .name = "off",
+ .power_off = s3c64xx_pd_off,
+ .power_on = s3c64xx_pd_on,
+ }
},
};