Re: [PATCH 06/10] usb: musb: ux500: add device tree probing support

From: Arnd Bergmann
Date: Tue Apr 23 2013 - 11:14:22 EST


On Tuesday 23 April 2013, Lee Jones wrote:
> +Required properties:
> + - compatible : Should be "stericsson,db8500-musb"
> + - reg : Offset and length of registers
> + - interrupts : Interrupt; mode, number and trigger
> + - mode : One of; "host", "otg", or "peripheral"

I think we don't have any precedent for this combination of "mode" property
and contents. You could either try to match ehci-omap.txt and do

- mode : Should be "3" to represent OTG. "1" signifies HOST and "2"
represents PERIPHERAL.

Or you match fsl-usb.txt and nvidia,tegra20-ehci.txt, defining

- dr_mode : dual role mode. Indicates the working mode to
controllers. Can be "host", "peripheral", or "otg". Default to
"host" if not defined for backward compatibility.

> +Optional properties:
> + - dmas : A list of dma channels;
> + dma-controller, event-line, fixed-channel, flags
> + - dma-names : An ordered list of channel names affiliated to the above

Please list the exact dma-names that are required.

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