===================================================================
@@ -89,9 +89,16 @@ static struct sh7372_domain_data sh7372_
struct generic_power_domain sh7372_a4lc_domain;
+static struct sh7372_domain_data sh7372_a4mp_domain_data = {
+ .bit_shift = 2,
+};
+
+struct generic_power_domain sh7372_a4mp_domain;
+
static int __init sh7372_power_domains_init(void)
{
sh7372_init_domain(&sh7372_a4lc_domain, &sh7372_a4lc_domain_data);
+ sh7372_init_domain(&sh7372_a4mp_domain, &sh7372_a4mp_domain_data);
return 0;
}
core_initcall(sh7372_power_domains_init);
===================================================================
@@ -475,11 +475,14 @@ struct platform_device;
#ifdef CONFIG_PM
extern struct generic_power_domain sh7372_a4lc_domain;
#define SH7372_A4LC (&sh7372_a4lc_domain)
+extern struct generic_power_domain sh7372_a4mp_domain;
+#define SH7372_A4MP (&sh7372_a4mp_domain)
extern void sh7372_add_device_to_domain(struct generic_power_domain *domain,
struct platform_device *pdev);
#else
#define SH7372_A4LC NULL
+#define SH7372_A4PM NULL
static inline void sh7372_add_device_to_domain(struct generic_power_domain *dom,
struct platform_device *pd) {}
===================================================================
@@ -1218,6 +1218,8 @@ static void __init mackerel_init(void)
sh7372_add_device_to_domain(SH7372_A4LC, &lcdc_device);
sh7372_add_device_to_domain(SH7372_A4LC, &hdmi_lcdc_device);
+ sh7372_add_device_to_domain(SH7372_A4MP, &fsi_device);
+
hdmi_init_pm_clock();
}