lkml.org 
[lkml]   [2011]   [Jul]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH 1/3 v4] usb: tegra20-ehci: Add devicetree support.
On 7/21/11 2:17 PM, "Andrew Chew" <achew@nvidia.com> wrote:
>From: Andrew Chew <achew@nvidia.com>
>
>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.

This patch no longer gets the register base or irq, just the modes and
tuning parameters.

- Dan Willemsen

>Signed-off-by: Andrew Chew <achew@nvidia.com>
>Acked-by: Stephen Warren <swarren@nvidia.com>
>---
>Applied Olof Johansson's comments:
>- Use direct assignment when copying default config structs.
>- Use __devinitdata for static default config structs.
>- Don't compile the default config structs if CONFIG_OF is disabled, to
>avoid
> a warning.
>
> .../devicetree/bindings/usb/tegra20-ehci.txt | 27 +++
> drivers/usb/host/ehci-tegra.c | 189
>++++++++++++++++++++
> 2 files changed, 216 insertions(+), 0 deletions(-)
> create mode 100644 Documentation/devicetree/bindings/usb/tegra20-ehci.txt

--
nvpublic



\
 
 \ /
  Last update: 2011-07-21 23:29    [W:0.100 / U:0.212 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site