diff options
Diffstat (limited to 'drivers/soc/renesas/rcar-sysc.h')
-rw-r--r-- | drivers/soc/renesas/rcar-sysc.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/soc/renesas/rcar-sysc.h b/drivers/soc/renesas/rcar-sysc.h index f6e842e2976e..07edb049a401 100644 --- a/drivers/soc/renesas/rcar-sysc.h +++ b/drivers/soc/renesas/rcar-sysc.h | |||
@@ -46,6 +46,7 @@ struct rcar_sysc_area { | |||
46 | */ | 46 | */ |
47 | 47 | ||
48 | struct rcar_sysc_info { | 48 | struct rcar_sysc_info { |
49 | int (*init)(void); /* Optional */ | ||
49 | const struct rcar_sysc_area *areas; | 50 | const struct rcar_sysc_area *areas; |
50 | unsigned int num_areas; | 51 | unsigned int num_areas; |
51 | }; | 52 | }; |
@@ -59,4 +60,13 @@ extern const struct rcar_sysc_info r8a7792_sysc_info; | |||
59 | extern const struct rcar_sysc_info r8a7794_sysc_info; | 60 | extern const struct rcar_sysc_info r8a7794_sysc_info; |
60 | extern const struct rcar_sysc_info r8a7795_sysc_info; | 61 | extern const struct rcar_sysc_info r8a7795_sysc_info; |
61 | extern const struct rcar_sysc_info r8a7796_sysc_info; | 62 | extern const struct rcar_sysc_info r8a7796_sysc_info; |
63 | |||
64 | |||
65 | /* | ||
66 | * Helpers for fixing up power area tables depending on SoC revision | ||
67 | */ | ||
68 | |||
69 | extern void rcar_sysc_nullify(struct rcar_sysc_area *areas, | ||
70 | unsigned int num_areas, u8 id); | ||
71 | |||
62 | #endif /* __SOC_RENESAS_RCAR_SYSC_H__ */ | 72 | #endif /* __SOC_RENESAS_RCAR_SYSC_H__ */ |