mirror of
https://github.com/torvalds/linux.git
synced 2024-12-23 03:11:46 +00:00
9d1e7875fa
The DT fragment will select the ohci-platform driver, since that can handle the JZ4740 OHCI just fine. While I don't have a JZ4740-based board with anything connected to the USB host controller, I did test the generic OHCI driver successfully on a JZ4770-based board. The device is disabled by default; boards that want to use it can override the "status" property. The mass-production Qi LB60 boards don't use the USB host controller. Signed-off-by: Maarten ter Huurne <maarten@treewalker.org> Cc: Lars-Peter Clausen <lars@metafoo.de> Cc: Paul Cercueil <paul@crapouillou.net> Cc: linux-mips@linux-mips.org Cc: linux-kernel@vger.kernel.org Patchwork: https://patchwork.linux-mips.org/patch/13104/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
38 lines
1.3 KiB
C
38 lines
1.3 KiB
C
/*
|
|
* Copyright (C) 2009-2010, Lars-Peter Clausen <lars@metafoo.de>
|
|
* JZ4740 platform device definitions
|
|
*
|
|
* 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; either version 2 of the License, or (at your
|
|
* option) any later version.
|
|
*
|
|
* 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.,
|
|
* 675 Mass Ave, Cambridge, MA 02139, USA.
|
|
*
|
|
*/
|
|
|
|
|
|
#ifndef __JZ4740_PLATFORM_H
|
|
#define __JZ4740_PLATFORM_H
|
|
|
|
#include <linux/platform_device.h>
|
|
|
|
extern struct platform_device jz4740_udc_device;
|
|
extern struct platform_device jz4740_udc_xceiv_device;
|
|
extern struct platform_device jz4740_mmc_device;
|
|
extern struct platform_device jz4740_rtc_device;
|
|
extern struct platform_device jz4740_i2c_device;
|
|
extern struct platform_device jz4740_nand_device;
|
|
extern struct platform_device jz4740_framebuffer_device;
|
|
extern struct platform_device jz4740_i2s_device;
|
|
extern struct platform_device jz4740_pcm_device;
|
|
extern struct platform_device jz4740_codec_device;
|
|
extern struct platform_device jz4740_adc_device;
|
|
extern struct platform_device jz4740_wdt_device;
|
|
extern struct platform_device jz4740_pwm_device;
|
|
extern struct platform_device jz4740_dma_device;
|
|
|
|
#endif
|