mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-04 16:56:45 +07:00
2fce7e1106
Update to the r8a7779 SoC: * Add SH Ethernet support * Add comment describing clock ratios This pull request is based on: git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas renesas-soc2-for-v3.10 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iQIcBAABAgAGBQJRXjspAAoJENfPZGlqN0++hK8P/1IPQUnrKWrySDJmDjgMVd6P yayOvZ5OAAHuhzvON+gkIk1VZ2Ic6fLcE0rPwTU+2WWjRfQ7Be7TRED73Ukl+/oN AOsUkOuuxILit/XQ+6LnMqFJMCz18Y6ZIQc9qgselMUVplNcYsDeHC1sawS9mBdi B13WPQU2mEEWhso7JLgNiIdLauf74N74hnzRDK6Xml7dOTgUBnH6QEOL7gud4jqP ymaauSfdkI58/swZY4DtIbnnchiVmrg4doTa1tdpaCQORYACTD1ahJaEfBxuScjy WK1O8XBDzYPVYhcVMXzu/PSKTkHtb+SJWVz81OthhNX4PFzk9bQuVXWqWz9kEiEY PFFRuPM8SMLFajtjsDVfj2EWUhbRagoAAIHKfL+yaDUXFGWwwOrRuoHKHtegx53o ArMwkYTDcD3UfHZhlVabtvG2Y/DabowYStamZjjtDP9pFERIvhXcZVaw8kcNZxpC ysj6bsA4lazoIa2v0g68TJSjxPPhzCgjJB+VcTE8Coe+voyP27CQwbMelFzyDl/z Grfi13UCly29MtqLH85txD3J4k40OCrKinnrblxk6RQBVRkHezMT5YLIVrdSu4FI oub/dsZi2scCHRb/5vS4/4sQIcoknDhE/0s5d1V51N6cu2AxspBRI/kbziDhQa9j X1jSjcp+/sbOkHq9y85H =YyOX -----END PGP SIGNATURE----- Merge tag 'renesas-soc-r8a7779-for-v3.10' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas into next/soc2 From Simon Horman <horms+renesas@verge.net.au>: Renesas ARM r8a7779 SoC update for v3.10 Update to the r8a7779 SoC: * Add SH Ethernet support * Add comment describing clock ratios This pull request is based on: git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas renesas-soc2-for-v3.10 * tag 'renesas-soc-r8a7779-for-v3.10' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas: ARM: shmobile: R8A7779: add Ether support ARM: shmobile: r8a7779: add each clocks ratio on comment area Signed-off-by: Arnd Bergmann <arnd@arndb.de>
52 lines
1.4 KiB
C
52 lines
1.4 KiB
C
#ifndef __ASM_R8A7779_H__
|
|
#define __ASM_R8A7779_H__
|
|
|
|
#include <linux/sh_clk.h>
|
|
#include <linux/pm_domain.h>
|
|
#include <linux/sh_eth.h>
|
|
|
|
struct platform_device;
|
|
|
|
struct r8a7779_pm_ch {
|
|
unsigned long chan_offs;
|
|
unsigned int chan_bit;
|
|
unsigned int isr_bit;
|
|
};
|
|
|
|
struct r8a7779_pm_domain {
|
|
struct generic_pm_domain genpd;
|
|
struct r8a7779_pm_ch ch;
|
|
};
|
|
|
|
static inline struct r8a7779_pm_ch *to_r8a7779_ch(struct generic_pm_domain *d)
|
|
{
|
|
return &container_of(d, struct r8a7779_pm_domain, genpd)->ch;
|
|
}
|
|
|
|
extern void r8a7779_init_delay(void);
|
|
extern void r8a7779_init_irq(void);
|
|
extern void r8a7779_init_irq_extpin(int irlm);
|
|
extern void r8a7779_init_irq_dt(void);
|
|
extern void r8a7779_map_io(void);
|
|
extern void r8a7779_earlytimer_init(void);
|
|
extern void r8a7779_add_early_devices(void);
|
|
extern void r8a7779_add_standard_devices(void);
|
|
extern void r8a7779_add_standard_devices_dt(void);
|
|
extern void r8a7779_add_ether_device(struct sh_eth_plat_data *pdata);
|
|
extern void r8a7779_clock_init(void);
|
|
extern void r8a7779_pinmux_init(void);
|
|
extern void r8a7779_pm_init(void);
|
|
extern void r8a7779_register_twd(void);
|
|
extern int r8a7779_sysc_power_down(struct r8a7779_pm_ch *r8a7779_ch);
|
|
extern int r8a7779_sysc_power_up(struct r8a7779_pm_ch *r8a7779_ch);
|
|
|
|
#ifdef CONFIG_PM
|
|
extern void __init r8a7779_init_pm_domains(void);
|
|
#else
|
|
static inline void r8a7779_init_pm_domains(void) {}
|
|
#endif /* CONFIG_PM */
|
|
|
|
extern struct smp_operations r8a7779_smp_ops;
|
|
|
|
#endif /* __ASM_R8A7779_H__ */
|