RE: [PATCH 1/1] ARM: tegra: Add support for USB2 port on Seaboard

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jim Lin wrote at Thursday, February 02, 2012 4:36 AM:
> ...

Jim,

This message was sent as rich-text which makes it unsuitable for public
mailing lists. Also, the email wasn't formatted as appropriate for a
patch. If you use "git send-email", it'll do all the hard work for you.
Please see our internal upstreaming wiki for details (which for reference
points at the usual files in the kernel's Documentation/ tree), or talk
to me off-list about this.

> 1. ULPI_RESET* is routed to GPIO_PV1, based on schematic file.

That's true for Seaboard, but not for Toshiba AC100 and TrimSlice, which
both share the same PHY platform data structure at present. Consequently,
this patch would break those boards.

The best course of action here would be to define complete device tree
bindings for Tegra's USB hardware. However, be aware that there's an
effort in progress to revamp our USB drivers so that features like USB
device mode can be upstreamed in a cleaner fashion than they exist in
our downstream kernels; you should co-ordinate with the people working
on that (I can give you names off-list).

> diff --git a/arch/arm/mach-tegra/board-seaboard.c b/arch/arm/mach-tegra/board-seaboard.c

>  static __initdata struct tegra_clk_init_table seaboard_clk_init_table[] = {
>  	/* name		parent		rate		enabled */
> +	{ "pll_c",	"clk_m",	600000000,	true },
> +	{ "pll_c_out1",	"pll_c",	120000000,	true },
> +	{ "sclk",	"pll_c_out1",	120000000,	true },
> +	{ "hclk",	"sclk",		120000000,	true },
> +	{ "pclk",	"hclk",		60000000,	true },
> +	{ "pll_p_out4",	"pll_p",	24000000,	true },

That seems like general setup that'd be better off in common.c or
board-dt-*.c. Actually, this change conflicts with some of the clocking
already in those files. Can you explain more re: whether this is a
safe change, and will work for all boards; it'd be nice to use the same
base clock tree setup everywhere if possible.

-- 
nvpublic

--
To unsubscribe from this list: send the line "unsubscribe linux-tegra" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [ARM Kernel]     [Linux ARM]     [Linux ARM MSM]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux