diff options
Diffstat (limited to 'include/linux/soc')
| -rw-r--r-- | include/linux/soc/renesas/rcar-sysc.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/include/linux/soc/renesas/rcar-sysc.h b/include/linux/soc/renesas/rcar-sysc.h new file mode 100644 index 000000000000..96f30c288388 --- /dev/null +++ b/include/linux/soc/renesas/rcar-sysc.h | |||
| @@ -0,0 +1,17 @@ | |||
| 1 | #ifndef __LINUX_SOC_RENESAS_RCAR_SYSC_H__ | ||
| 2 | #define __LINUX_SOC_RENESAS_RCAR_SYSC_H__ | ||
| 3 | |||
| 4 | #include <linux/types.h> | ||
| 5 | |||
| 6 | struct rcar_sysc_ch { | ||
| 7 | u16 chan_offs; | ||
| 8 | u8 chan_bit; | ||
| 9 | u8 isr_bit; | ||
| 10 | }; | ||
| 11 | |||
| 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); | ||
| 14 | bool rcar_sysc_power_is_off(const struct rcar_sysc_ch *sysc_ch); | ||
| 15 | void __iomem *rcar_sysc_init(phys_addr_t base); | ||
| 16 | |||
| 17 | #endif /* __LINUX_SOC_RENESAS_RCAR_SYSC_H__ */ | ||
