public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Stephen Warren <swarren@wwwdotorg.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 1/3] ARM: Tegra: FDT: Add USB support for T20/T30/T114
Date: Fri, 03 May 2013 08:43:12 -0600	[thread overview]
Message-ID: <5183CD00.8010300@wwwdotorg.org> (raw)
In-Reply-To: <1367579247.1302.26.camel@jilin-desktop>

On 05/03/2013 05:07 AM, Jim Lin wrote:
> On Fri, 2013-05-03 at 03:10 +0800, Stephen Warren wrote:
>> On 04/29/2013 03:21 AM, Jim Lin wrote:
>>> Add DT node for USB function.
>>
>>> diff --git a/arch/arm/dts/tegra114.dtsi b/arch/arm/dts/tegra114.dtsi
>>
>>> +/* This table has USB timing parameters for each Oscillator frequency we
>>> + * support. There are four sets of values:
...
>>> +	usbparams at 3 {
>>> +		compatible = "nvidia,usbparams";
>>> +		osc-frequency = <26000000>;
>>> +		params = <0x3c0 0x1a 0x00 0xc 2  0x04 0x66 0x09 0xfe  0xfde8 0xb>;
>>> +	};
>>
>> None of the above should be present; this is SoC-specific information
>> and should be part of the USB driver itself. There's no benefit to
>> putting the information into DT just to parse it back out into the same
>> tables that the driver could have contained in the first place.
>
> Parameters are not completely same for T20, T30, and T114.
> Putting over dt file is for expanding on future chips.

The driver itself is going to need to change anything in all likelihood,
so there's no point attempting to put the parameters somewhere else to
avoid changing the driver.

Even ignoring all that, the USB DT binding for Tegra is already defined,
and does not include this information, so it must be in the driver.

...
>> The bindings here don't match the kernel. Please make sure they do.
>> This patch only touches 2 board files: Cardhu and Dalmore. Will USB
>> support on other boards continue to work without any DT changes?
>> Existing functionality can't be broken. I'd expect to see a bunch more
>> DT files edited here.
>
> For T20, I only have Seaboard and Harmony platforms.
> For other T20 platforms, I may blindly add USB support as you suggested,
> is that okay?

Yes, please update all Tegra boards so that nothing breaks. For boards
you don't have, others can perform the testing once you've posted the
patches.

  reply	other threads:[~2013-05-03 14:43 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-29  9:21 [U-Boot] [PATCH 0/3] Tegra: USB: EHCI: add Tegra30 compatible support Jim Lin
2013-04-29  9:21 ` [U-Boot] [PATCH 1/3] ARM: Tegra: FDT: Add USB support for T20/T30/T114 Jim Lin
2013-05-02 19:10   ` Stephen Warren
2013-05-03 11:07     ` Jim Lin
2013-05-03 14:43       ` Stephen Warren [this message]
2013-05-03 11:48     ` Venu Byravarasu
2013-04-29  9:21 ` [U-Boot] [PATCH 2/3] ARM: Tegra: USB: Add driver support for Tegra30/Tegra114 Jim Lin
2013-04-29 23:46   ` Marek Vasut
2013-04-30 16:21     ` Tom Warren
2013-04-30 17:09       ` Marek Vasut
2013-04-30 17:20       ` Tom Rini
2013-05-01 16:16         ` Tom Warren
2013-05-01 16:45           ` Tom Rini
2013-05-01 19:33             ` Marek Vasut
2013-05-01 23:20               ` Tom Warren
2013-05-01 23:23                 ` Tom Warren
2013-05-02  9:50               ` Jim Lin
2013-05-02 11:38                 ` Marek Vasut
2013-05-02 15:38                   ` Tom Warren
2013-05-02 19:29   ` Stephen Warren
2013-05-03 10:53     ` Jim Lin
2013-05-03 14:46       ` Stephen Warren
2013-04-29  9:21 ` [U-Boot] [PATCH 3/3] Tegra: Config: Enable Tegra30/Tegra114 USB function Jim Lin
2013-05-02 19:30   ` Stephen Warren
2013-05-03 15:02 ` [U-Boot] [PATCH 0/3] Tegra: USB: EHCI: add Tegra30 compatible support Stephen Warren
2013-05-08 16:11   ` Stephen Warren

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5183CD00.8010300@wwwdotorg.org \
    --to=swarren@wwwdotorg.org \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox