-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge tag 'drivers' of git://git.kernel.org/pub/scm/linux/kernel/git/…
…arm/arm-soc Driver specific changes Again, a lot of platforms have changes in here: pxa, samsung, omap, at91, imx, ... * tag 'drivers' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (54 commits) ARM: sa1100: clean up of the clock support ARM: pxa: add dummy clock for sa1100-rtc RTC: sa1100: support sa1100, pxa and mmp soc families RTC: sa1100: remove redundant code of setting alarm RTC: sa1100: Clean out ost register Input: zylonite-wm97xx - replace IRQ_GPIO() with gpio_to_irq() pcmcia: pxa: replace IRQ_GPIO() with gpio_to_irq() ARM: EXYNOS: Modified files for SPI consolidation work ARM: S5P64X0: Enable SDHCI support ARM: S5P64X0: Add lookup of sdhci-s3c clocks using generic names ARM: S5P64X0: Add HSMMC setup for host Controller ARM: EXYNOS: Add USB OHCI support to ORIGEN board USB: Add Samsung Exynos OHCI diver ARM: EXYNOS: Add USB OHCI support to SMDKV310 board ARM: EXYNOS: Add USB OHCI device net: macb: fix build break with !CONFIG_OF i2c: tegra: Support DVC controller in device tree i2c: tegra: Add __devinit/exit to probe/remove net/at91_ether: use gpio_is_valid for phy IRQ line ARM: at91/net: add macb ethernet controller in 9g45/9g20 DT ...
- Loading branch information
Showing
169 changed files
with
3,010 additions
and
1,631 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
* Cadence MACB/GEM Ethernet controller | ||
|
||
Required properties: | ||
- compatible: Should be "cdns,[<chip>-]{macb|gem}" | ||
Use "cdns,at91sam9260-macb" Atmel at91sam9260 and at91sam9263 SoCs. | ||
Use "cdns,at32ap7000-macb" for other 10/100 usage or use the generic form: "cdns,macb". | ||
Use "cnds,pc302-gem" for Picochip picoXcell pc302 and later devices based on | ||
the Cadence GEM, or the generic form: "cdns,gem". | ||
- reg: Address and length of the register set for the device | ||
- interrupts: Should contain macb interrupt | ||
- phy-mode: String, operation mode of the PHY interface. | ||
Supported values are: "mii", "rmii", "gmii", "rgmii". | ||
|
||
Optional properties: | ||
- local-mac-address: 6 bytes, mac address | ||
|
||
Examples: | ||
|
||
macb0: ethernet@fffc4000 { | ||
compatible = "cdns,at32ap7000-macb"; | ||
reg = <0xfffc4000 0x4000>; | ||
interrupts = <21>; | ||
phy-mode = "rmii"; | ||
local-mac-address = [3a 0e 03 04 05 06]; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
/* linux/arch/arm/mach-exynos/dev-ohci.c | ||
* | ||
* Copyright (c) 2011 Samsung Electronics Co., Ltd. | ||
* http://www.samsung.com | ||
* | ||
* EXYNOS - OHCI support | ||
* | ||
* This program is free software; you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License version 2 as | ||
* published by the Free Software Foundation. | ||
*/ | ||
|
||
#include <linux/dma-mapping.h> | ||
#include <linux/platform_device.h> | ||
|
||
#include <mach/irqs.h> | ||
#include <mach/map.h> | ||
#include <mach/ohci.h> | ||
|
||
#include <plat/devs.h> | ||
#include <plat/usb-phy.h> | ||
|
||
static struct resource exynos4_ohci_resource[] = { | ||
[0] = DEFINE_RES_MEM(EXYNOS4_PA_OHCI, SZ_256), | ||
[1] = DEFINE_RES_IRQ(IRQ_USB_HOST), | ||
}; | ||
|
||
static u64 exynos4_ohci_dma_mask = DMA_BIT_MASK(32); | ||
|
||
struct platform_device exynos4_device_ohci = { | ||
.name = "exynos-ohci", | ||
.id = -1, | ||
.num_resources = ARRAY_SIZE(exynos4_ohci_resource), | ||
.resource = exynos4_ohci_resource, | ||
.dev = { | ||
.dma_mask = &exynos4_ohci_dma_mask, | ||
.coherent_dma_mask = DMA_BIT_MASK(32), | ||
} | ||
}; | ||
|
||
void __init exynos4_ohci_set_platdata(struct exynos4_ohci_platdata *pd) | ||
{ | ||
struct exynos4_ohci_platdata *npd; | ||
|
||
npd = s3c_set_platdata(pd, sizeof(struct exynos4_ohci_platdata), | ||
&exynos4_device_ohci); | ||
|
||
if (!npd->phy_init) | ||
npd->phy_init = s5p_usb_phy_init; | ||
if (!npd->phy_exit) | ||
npd->phy_exit = s5p_usb_phy_exit; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
/* | ||
* Copyright (C) 2011 Samsung Electronics Co.Ltd | ||
* http://www.samsung.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; either version 2 of the License, or (at your | ||
* option) any later version. | ||
*/ | ||
|
||
#ifndef __MACH_EXYNOS_OHCI_H | ||
#define __MACH_EXYNOS_OHCI_H | ||
|
||
struct exynos4_ohci_platdata { | ||
int (*phy_init)(struct platform_device *pdev, int type); | ||
int (*phy_exit)(struct platform_device *pdev, int type); | ||
}; | ||
|
||
extern void exynos4_ohci_set_platdata(struct exynos4_ohci_platdata *pd); | ||
|
||
#endif /* __MACH_EXYNOS_OHCI_H */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
/* linux/arch/arm/mach-exynos4/include/mach/spi-clocks.h | ||
* | ||
* Copyright (C) 2011 Samsung Electronics Co. Ltd. | ||
* | ||
* This program is free software; you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License version 2 as | ||
* published by the Free Software Foundation. | ||
*/ | ||
|
||
#ifndef __ASM_ARCH_SPI_CLKS_H | ||
#define __ASM_ARCH_SPI_CLKS_H __FILE__ | ||
|
||
/* Must source from SCLK_SPI */ | ||
#define EXYNOS4_SPI_SRCCLK_SCLK 0 | ||
|
||
#endif /* __ASM_ARCH_SPI_CLKS_H */ |
Oops, something went wrong.