Geert Uytterhoeven | be32bcb | 2016-04-20 14:02:36 +0200 | [diff] [blame] | 1 | #ifndef __LINUX_SOC_RENESAS_RCAR_SYSC_H__ |
| 2 | #define __LINUX_SOC_RENESAS_RCAR_SYSC_H__ |
| 3 | |
| 4 | #include <linux/types.h> |
Magnus Damm | a6557eb | 2014-01-15 16:43:08 +0900 | [diff] [blame] | 5 | |
| 6 | struct rcar_sysc_ch { |
Geert Uytterhoeven | 6fd2242e | 2015-06-04 20:22:28 +0200 | [diff] [blame] | 7 | u16 chan_offs; |
| 8 | u8 chan_bit; |
| 9 | u8 isr_bit; |
Magnus Damm | a6557eb | 2014-01-15 16:43:08 +0900 | [diff] [blame] | 10 | }; |
| 11 | |
Geert Uytterhoeven | 624deb3 | 2015-06-04 20:22:30 +0200 | [diff] [blame] | 12 | int rcar_sysc_power_down(const struct rcar_sysc_ch *sysc_ch); |
| 13 | int rcar_sysc_power_up(const struct rcar_sysc_ch *sysc_ch); |
Magnus Damm | a6557eb | 2014-01-15 16:43:08 +0900 | [diff] [blame] | 14 | void __iomem *rcar_sysc_init(phys_addr_t base); |
| 15 | |
Geert Uytterhoeven | be32bcb | 2016-04-20 14:02:36 +0200 | [diff] [blame] | 16 | #endif /* __LINUX_SOC_RENESAS_RCAR_SYSC_H__ */ |