]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blob - include/linux/soc/renesas/rcar-sysc.h
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
[mirror_ubuntu-bionic-kernel.git] / include / linux / soc / renesas / rcar-sysc.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __LINUX_SOC_RENESAS_RCAR_SYSC_H__
3 #define __LINUX_SOC_RENESAS_RCAR_SYSC_H__
4
5 #include <linux/types.h>
6
7 struct rcar_sysc_ch {
8 u16 chan_offs;
9 u8 chan_bit;
10 u8 isr_bit;
11 };
12
13 int rcar_sysc_power_down(const struct rcar_sysc_ch *sysc_ch);
14 int rcar_sysc_power_up(const struct rcar_sysc_ch *sysc_ch);
15 void rcar_sysc_init(phys_addr_t base, u32 syscier);
16
17 #endif /* __LINUX_SOC_RENESAS_RCAR_SYSC_H__ */