Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 256935
b: refs/heads/master
c: c1ba5bb
h: refs/heads/master
i:
  256933: b90d55a
  256931: e09cba7
  256927: d2ff02d
v: v3
  • Loading branch information
Kuninori Morimoto authored and Rafael J. Wysocki committed Jul 10, 2011
1 parent 2766ca3 commit 65d33f4
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a41b64665a79b8be980d450f6e5b9354d7511700
refs/heads/master: c1ba5bb5608664b37a3b1ac647e0dd67d46ddc99
1 change: 1 addition & 0 deletions trunk/arch/arm/mach-shmobile/board-ap4evb.c
Original file line number Diff line number Diff line change
Expand Up @@ -1410,6 +1410,7 @@ static void __init ap4evb_init(void)

sh7372_add_device_to_domain(&sh7372_a4lc, &lcdc1_device);
sh7372_add_device_to_domain(&sh7372_a4lc, &lcdc_device);
sh7372_add_device_to_domain(&sh7372_a4mp, &fsi_device);

hdmi_init_pm_clock();
fsi_init_pm_clock();
Expand Down
1 change: 1 addition & 0 deletions trunk/arch/arm/mach-shmobile/board-mackerel.c
Original file line number Diff line number Diff line change
Expand Up @@ -1584,6 +1584,7 @@ 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();
sh7372_pm_init();
Expand Down
1 change: 1 addition & 0 deletions trunk/arch/arm/mach-shmobile/include/mach/sh7372.h
Original file line number Diff line number Diff line change
Expand Up @@ -485,6 +485,7 @@ static inline struct sh7372_pm_domain *to_sh7372_pd(struct generic_pm_domain *d)

#ifdef CONFIG_PM
extern struct sh7372_pm_domain sh7372_a4lc;
extern struct sh7372_pm_domain sh7372_a4mp;
extern struct sh7372_pm_domain sh7372_a3rv;
extern struct sh7372_pm_domain sh7372_a3ri;
extern struct sh7372_pm_domain sh7372_a3sg;
Expand Down
4 changes: 4 additions & 0 deletions trunk/arch/arm/mach-shmobile/pm-sh7372.c
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,10 @@ struct sh7372_pm_domain sh7372_a4lc = {
.bit_shift = 1,
};

struct sh7372_pm_domain sh7372_a4mp = {
.bit_shift = 2,
};

struct sh7372_pm_domain sh7372_a3rv = {
.bit_shift = 6,
};
Expand Down
3 changes: 3 additions & 0 deletions trunk/arch/arm/mach-shmobile/setup-sh7372.c
Original file line number Diff line number Diff line change
Expand Up @@ -842,6 +842,7 @@ static struct platform_device *sh7372_late_devices[] __initdata = {
void __init sh7372_add_standard_devices(void)
{
sh7372_init_pm_domain(&sh7372_a4lc);
sh7372_init_pm_domain(&sh7372_a4mp);
sh7372_init_pm_domain(&sh7372_a3rv);
sh7372_init_pm_domain(&sh7372_a3ri);
sh7372_init_pm_domain(&sh7372_a3sg);
Expand All @@ -853,6 +854,8 @@ void __init sh7372_add_standard_devices(void)
ARRAY_SIZE(sh7372_late_devices));

sh7372_add_device_to_domain(&sh7372_a3rv, &vpu_device);
sh7372_add_device_to_domain(&sh7372_a4mp, &spu0_device);
sh7372_add_device_to_domain(&sh7372_a4mp, &spu1_device);
}

void __init sh7372_add_early_devices(void)
Expand Down

0 comments on commit 65d33f4

Please sign in to comment.