mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andrew Chew <AChew@nvidia.com>
To: "'Grant Likely'" <grant.likely@secretlab.ca>
Cc: "olof@lixom.net" <olof@lixom.net>,
	Stephen Warren <swarren@nvidia.com>,
	Dan Willemsen <dwillemsen@nvidia.com>,
	Rhyland Klein <rklein@nvidia.com>,
	Venkat Moganty <vmoganty@nvidia.com>,
	"devicetree-discuss@lists.ozlabs.org" 
	<devicetree-discuss@lists.ozlabs.org>,
	"linux-tegra@vger.kernel.org" <linux-tegra@vger.kernel.org>,
	"linux-usb@vger.kernel.org" <linux-usb@vger.kernel.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: RE: [PATCH 1/3 v2] usb: tegra20-ehci: Add devicetree support.
Date: Wed, 20 Jul 2011 13:16:08 -0700	[thread overview]
Message-ID: <643E69AA4436674C8F39DCC2C05F76383CF0DD2277@HQMAIL03.nvidia.com> (raw)
In-Reply-To: <CACxGe6uDVdemjbjY_i-_M_-VT8HuLdtXP-R9V8kB+pSSin4dEw@mail.gmail.com>

> Can the driver use sane defaults for any of these values?  This patch
> will be a lot smaller if there isn't the need to check all the return
> values each time.

The defaults are in the dt ehci node.  I'd really hate to duplicate these defaults in C code as well, if that's what you're suggesting (they're already duplicated privately elsewhere, sadly, in mach-tegra, but I'm hoping those defaults can go away once we move over to dt for good).  By failing probe if these defaults aren't present, I think it helps make sure the dt ehci node stays in sync with the code.

Or am I misunderstanding your comment?

  reply	other threads:[~2011-07-20 20:16 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-20 19:38 achew
2011-07-20 19:38 ` [PATCH 2/3 v2] dt: tegra20: Add ehci host controller nodes achew
2011-07-20 19:52   ` Stephen Warren
2011-07-20 20:03     ` Grant Likely
2011-07-20 19:38 ` [PATCH 3/3 v2] dt: tegra20: Add ehci overrides to Seaboard achew
2011-07-20 19:51 ` [PATCH 1/3 v2] usb: tegra20-ehci: Add devicetree support Stephen Warren
2011-07-20 20:02 ` Grant Likely
2011-07-20 20:16   ` Andrew Chew [this message]
2011-07-20 20:19     ` Grant Likely
2011-07-20 20:27       ` Andrew Chew
2011-07-20 20:28         ` Grant Likely
2011-07-20 22:23   ` Andrew Chew
2011-07-20 22:57     ` Andrew Chew
2011-07-20 22:52   ` Andrew Chew

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=643E69AA4436674C8F39DCC2C05F76383CF0DD2277@HQMAIL03.nvidia.com \
    --to=achew@nvidia.com \
    --cc=devicetree-discuss@lists.ozlabs.org \
    --cc=dwillemsen@nvidia.com \
    --cc=grant.likely@secretlab.ca \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-tegra@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=olof@lixom.net \
    --cc=rklein@nvidia.com \
    --cc=swarren@nvidia.com \
    --cc=vmoganty@nvidia.com \
    /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

all inboxes | Powered by JetHome®