mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-02-06 01:45:05 +07:00
803c2df217
Add VIN clocks and platform devices on R8A7778 SoC; add function to register the VIN platform devices. [Sergei: added 'id' parameter check to r8a7778_add_vin_device(), used '*pdata' in *sizeof* operator, and added an empty line there; renamed some variables, annotated 'vin[01]_info' and vin[01]_resources[] as '__initdata'.] Signed-off-by: Vladimir Barinov <vladimir.barinov@cogentembedded.com> Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> Acked-by: Simon Horman <horms+renesas@verge.net.au> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
47 lines
1.9 KiB
C
47 lines
1.9 KiB
C
/*
|
|
* Copyright (C) 2013 Renesas Solutions Corp.
|
|
* Copyright (C) 2013 Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation; version 2 of the License.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program; if not, write to the Free Software
|
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
*/
|
|
#ifndef __ASM_R8A7778_H__
|
|
#define __ASM_R8A7778_H__
|
|
|
|
#include <linux/mmc/sh_mmcif.h>
|
|
#include <linux/mmc/sh_mobile_sdhi.h>
|
|
#include <linux/sh_eth.h>
|
|
#include <linux/platform_data/usb-rcar-phy.h>
|
|
#include <linux/platform_data/camera-rcar.h>
|
|
|
|
extern void r8a7778_add_standard_devices(void);
|
|
extern void r8a7778_add_standard_devices_dt(void);
|
|
extern void r8a7778_add_ether_device(struct sh_eth_plat_data *pdata);
|
|
extern void r8a7778_add_usb_phy_device(struct rcar_phy_platform_data *pdata);
|
|
extern void r8a7778_add_i2c_device(int id);
|
|
extern void r8a7778_add_hspi_device(int id);
|
|
extern void r8a7778_add_mmc_device(struct sh_mmcif_plat_data *info);
|
|
extern void r8a7778_add_vin_device(int id,
|
|
struct rcar_vin_platform_data *pdata);
|
|
|
|
extern void r8a7778_init_late(void);
|
|
extern void r8a7778_init_delay(void);
|
|
extern void r8a7778_init_irq(void);
|
|
extern void r8a7778_init_irq_dt(void);
|
|
extern void r8a7778_clock_init(void);
|
|
extern void r8a7778_init_irq_extpin(int irlm);
|
|
extern void r8a7778_pinmux_init(void);
|
|
extern void r8a7778_sdhi_init(int id, struct sh_mobile_sdhi_info *info);
|
|
|
|
#endif /* __ASM_R8A7778_H__ */
|