blob: 92fc613ab23db09139d0ccb4ceded5b78a1ecdf9 [file] [log] [blame]
Geert Uytterhoevenbe32bcb2016-04-20 14:02:36 +02001#ifndef __LINUX_SOC_RENESAS_RCAR_SYSC_H__
2#define __LINUX_SOC_RENESAS_RCAR_SYSC_H__
3
4#include <linux/types.h>
Magnus Damma6557eb2014-01-15 16:43:08 +09005
6struct rcar_sysc_ch {
Geert Uytterhoeven6fd2242e2015-06-04 20:22:28 +02007 u16 chan_offs;
8 u8 chan_bit;
9 u8 isr_bit;
Magnus Damma6557eb2014-01-15 16:43:08 +090010};
11
Geert Uytterhoeven624deb32015-06-04 20:22:30 +020012int rcar_sysc_power_down(const struct rcar_sysc_ch *sysc_ch);
13int rcar_sysc_power_up(const struct rcar_sysc_ch *sysc_ch);
Magnus Damma6557eb2014-01-15 16:43:08 +090014void __iomem *rcar_sysc_init(phys_addr_t base);
15
Geert Uytterhoevenbe32bcb2016-04-20 14:02:36 +020016#endif /* __LINUX_SOC_RENESAS_RCAR_SYSC_H__ */