RE: [PATCH 1/3 v2] usb: tegra20-ehci: Add devicetree support.

From: Stephen Warren
Date: Wed Jul 20 2011 - 15:51:22 EST

achew@xxxxxxxxxx wrote at Wednesday, July 20, 2011 1:38 PM:
> From: Andrew Chew <achew@xxxxxxxxxx>
> Add code to try to get platform data information (register base, irq,
> modes, various tuning parameters) from device tree, if not present in board
> files.
> Signed-off-by: Andrew Chew <achew@xxxxxxxxxx>

> +++ b/Documentation/devicetree/bindings/usb/tegra20-ehci.txt
> +Required properties for type = "ulpi":
> + - reset_gpio: The GPIO used to drive reset
> + - clk

We should probably document what this is. I know you're finding out more
about this internally.

> diff --git a/drivers/usb/host/ehci-tegra.c b/drivers/usb/host/ehci-tegra.c
> + retval = of_property_read_u32(dn, "power_down_on_bus_suspend",
> + &pdata->power_down_on_bus_suspend);

Sorry I missed this before, but perhaps we should skip reading that
property unless mode=="host"?

Acked-by: Stephen Warren <swarren@xxxxxxxxxx>


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at