diff options
Diffstat (limited to 'arch/arm/mach-shmobile/include/mach/sh7372.h')
| -rw-r--r-- | arch/arm/mach-shmobile/include/mach/sh7372.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/arch/arm/mach-shmobile/include/mach/sh7372.h b/arch/arm/mach-shmobile/include/mach/sh7372.h index ce595cee86cd..84532f9629b2 100644 --- a/arch/arm/mach-shmobile/include/mach/sh7372.h +++ b/arch/arm/mach-shmobile/include/mach/sh7372.h | |||
| @@ -459,6 +459,10 @@ enum { | |||
| 459 | SHDMA_SLAVE_SDHI2_TX, | 459 | SHDMA_SLAVE_SDHI2_TX, |
| 460 | SHDMA_SLAVE_MMCIF_RX, | 460 | SHDMA_SLAVE_MMCIF_RX, |
| 461 | SHDMA_SLAVE_MMCIF_TX, | 461 | SHDMA_SLAVE_MMCIF_TX, |
| 462 | SHDMA_SLAVE_USB0_TX, | ||
| 463 | SHDMA_SLAVE_USB0_RX, | ||
| 464 | SHDMA_SLAVE_USB1_TX, | ||
| 465 | SHDMA_SLAVE_USB1_RX, | ||
| 462 | }; | 466 | }; |
| 463 | 467 | ||
| 464 | extern struct clk sh7372_extal1_clk; | 468 | extern struct clk sh7372_extal1_clk; |
| @@ -475,7 +479,12 @@ struct platform_device; | |||
| 475 | 479 | ||
| 476 | struct sh7372_pm_domain { | 480 | struct sh7372_pm_domain { |
| 477 | struct generic_pm_domain genpd; | 481 | struct generic_pm_domain genpd; |
| 482 | struct dev_power_governor *gov; | ||
| 483 | void (*suspend)(void); | ||
| 484 | void (*resume)(void); | ||
| 478 | unsigned int bit_shift; | 485 | unsigned int bit_shift; |
| 486 | bool no_debug; | ||
| 487 | bool stay_on; | ||
| 479 | }; | 488 | }; |
| 480 | 489 | ||
| 481 | static inline struct sh7372_pm_domain *to_sh7372_pd(struct generic_pm_domain *d) | 490 | static inline struct sh7372_pm_domain *to_sh7372_pd(struct generic_pm_domain *d) |
| @@ -487,16 +496,24 @@ static inline struct sh7372_pm_domain *to_sh7372_pd(struct generic_pm_domain *d) | |||
| 487 | extern struct sh7372_pm_domain sh7372_a4lc; | 496 | extern struct sh7372_pm_domain sh7372_a4lc; |
| 488 | extern struct sh7372_pm_domain sh7372_a4mp; | 497 | extern struct sh7372_pm_domain sh7372_a4mp; |
| 489 | extern struct sh7372_pm_domain sh7372_d4; | 498 | extern struct sh7372_pm_domain sh7372_d4; |
| 499 | extern struct sh7372_pm_domain sh7372_a4r; | ||
| 490 | extern struct sh7372_pm_domain sh7372_a3rv; | 500 | extern struct sh7372_pm_domain sh7372_a3rv; |
| 491 | extern struct sh7372_pm_domain sh7372_a3ri; | 501 | extern struct sh7372_pm_domain sh7372_a3ri; |
| 502 | extern struct sh7372_pm_domain sh7372_a3sp; | ||
| 492 | extern struct sh7372_pm_domain sh7372_a3sg; | 503 | extern struct sh7372_pm_domain sh7372_a3sg; |
| 493 | 504 | ||
| 494 | extern void sh7372_init_pm_domain(struct sh7372_pm_domain *sh7372_pd); | 505 | extern void sh7372_init_pm_domain(struct sh7372_pm_domain *sh7372_pd); |
| 495 | extern void sh7372_add_device_to_domain(struct sh7372_pm_domain *sh7372_pd, | 506 | extern void sh7372_add_device_to_domain(struct sh7372_pm_domain *sh7372_pd, |
| 496 | struct platform_device *pdev); | 507 | struct platform_device *pdev); |
| 508 | extern void sh7372_pm_add_subdomain(struct sh7372_pm_domain *sh7372_pd, | ||
| 509 | struct sh7372_pm_domain *sh7372_sd); | ||
| 497 | #else | 510 | #else |
| 498 | #define sh7372_init_pm_domain(pd) do { } while(0) | 511 | #define sh7372_init_pm_domain(pd) do { } while(0) |
| 499 | #define sh7372_add_device_to_domain(pd, pdev) do { } while(0) | 512 | #define sh7372_add_device_to_domain(pd, pdev) do { } while(0) |
| 513 | #define sh7372_pm_add_subdomain(pd, sd) do { } while(0) | ||
| 500 | #endif /* CONFIG_PM */ | 514 | #endif /* CONFIG_PM */ |
| 501 | 515 | ||
| 516 | extern void sh7372_intcs_suspend(void); | ||
| 517 | extern void sh7372_intcs_resume(void); | ||
| 518 | |||
| 502 | #endif /* __ASM_SH7372_H__ */ | 519 | #endif /* __ASM_SH7372_H__ */ |
