Re: [PATCH 1/3 v4] usb: tegra20-ehci: Add devicetree support.

From: Dan Willemsen
Date: Thu Jul 21 2011 - 17:27:30 EST


On 7/21/11 2:17 PM, "Andrew Chew" <achew@xxxxxxxxxx> wrote:
>From: Andrew Chew <achew@xxxxxxxxxx>
>
>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@xxxxxxxxxx>
>Acked-by: Stephen Warren <swarren@xxxxxxxxxx>
>---
>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

--
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/