Re: [PATCH 2/3] dt: tegra20: Add ehci host controller nodes.

From: Olof Johansson
Date: Tue Jul 19 2011 - 19:58:46 EST


Hi,

On Tue, Jul 19, 2011 at 3:46 PM, <achew@xxxxxxxxxx> wrote:
> From: Andrew Chew <achew@xxxxxxxxxx>
>
> These values were derived from various headers in arch/arm/mach-tegra.
>
> Signed-off-by: Andrew Chew <achew@xxxxxxxxxx>
> ---
>  arch/arm/boot/dts/tegra20.dtsi |   52 ++++++++++++++++++++++++++++++++++++++++
>  1 files changed, 52 insertions(+), 0 deletions(-)
>
> diff --git a/arch/arm/boot/dts/tegra20.dtsi b/arch/arm/boot/dts/tegra20.dtsi
> index 83fedf3..a0353bb 100644
> --- a/arch/arm/boot/dts/tegra20.dtsi
> +++ b/arch/arm/boot/dts/tegra20.dtsi
> @@ -160,5 +160,57 @@
>                interrupts = < 63 >;
>                status = "disabled";
>        };
> +
> +       ehci@c5000000 {
> +               #address-cells = <1>;
> +               #size-cells = <0>;
> +               compatible = "nvidia,tegra20-ehci";
> +               reg = <0xc5000000 0x4000>;
> +               interrupts = < 52 >;
> +               mode = < 1 >;
> +               power_down_on_bus_suspend;
> +               type = "utmi";
> +               hssync_start_delay = < 0 >;
> +               idle_wait_delay = < 17 >;
> +               elastic_limit = < 16 >;
> +               term_range_adj = < 6 >;
> +               xcvr_setup = < 15 >;
> +               xcvr_lsfslew = < 2 >;
> +               xcvr_lsrslew = < 2 >;
> +               status = "disabled";

These are mostly phy related settings, maybe do a phy subnode with
them? That way the usb_phy code can probe on that.


-Olof
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/