Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 308111
b: refs/heads/master
c: 60d148b
h: refs/heads/master
i:
  308109: 0288775
  308107: bb2e2e6
  308103: 9ac79bd
  308095: ac8fd87
v: v3
  • Loading branch information
Stephen Warren committed Apr 25, 2012
1 parent 60457b7 commit ffe418b
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9abafa021e223f04d6589ee2b977bbaf2e1f1367
refs/heads/master: 60d148b9f838b718e4808061ee6d5833de77fd9c
2 changes: 2 additions & 0 deletions trunk/arch/arm/mach-tegra/board-paz00.c
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,8 @@ static void paz00_i2c_init(void)

static void paz00_usb_init(void)
{
tegra_ehci2_ulpi_phy_config.reset_gpio = TEGRA_ULPI_RST;

platform_device_register(&tegra_ehci2_device);
platform_device_register(&tegra_ehci3_device);
}
Expand Down
2 changes: 2 additions & 0 deletions trunk/arch/arm/mach-tegra/board-trimslice.c
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,8 @@ static void trimslice_usb_init(void)
pdata = tegra_ehci1_device.dev.platform_data;
pdata->vbus_gpio = TRIMSLICE_GPIO_USB1_MODE;

tegra_ehci2_ulpi_phy_config.reset_gpio = TEGRA_GPIO_PV0;

platform_device_register(&tegra_ehci3_device);
platform_device_register(&tegra_ehci2_device);
platform_device_register(&tegra_ehci1_device);
Expand Down
5 changes: 2 additions & 3 deletions trunk/arch/arm/mach-tegra/devices.c
Original file line number Diff line number Diff line change
Expand Up @@ -439,9 +439,8 @@ static struct resource tegra_usb3_resources[] = {
},
};

static struct tegra_ulpi_config tegra_ehci2_ulpi_phy_config = {
/* All existing boards use GPIO PV0 for phy reset */
.reset_gpio = TEGRA_GPIO_PV0,
struct tegra_ulpi_config tegra_ehci2_ulpi_phy_config = {
.reset_gpio = -1,
.clk = "cdev2",
};

Expand Down
4 changes: 4 additions & 0 deletions trunk/arch/arm/mach-tegra/devices.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@
#include <linux/platform_device.h>
#include <linux/platform_data/tegra_usb.h>

#include <mach/usb_phy.h>

extern struct tegra_ulpi_config tegra_ehci2_ulpi_phy_config;

extern struct tegra_ehci_platform_data tegra_ehci1_pdata;
extern struct tegra_ehci_platform_data tegra_ehci2_pdata;
extern struct tegra_ehci_platform_data tegra_ehci3_pdata;
Expand Down

0 comments on commit ffe418b

Please sign in to comment.