Re: [PATCH v2] Documentation: dt: bindings: TI WiLink modules
From: Luciano Coelho <hidden>
Date: 2013-07-30 18:55:15
Also in:
linux-omap, lkml
From: Luciano Coelho <hidden>
Date: 2013-07-30 18:55:15
Also in:
linux-omap, lkml
(using the new devicetree mailing list address) On Tue, 2013-07-30 at 20:24 +0200, Laurent Pinchart wrote:
Hi Luciano, Thank you for the patch. On Monday 29 July 2013 17:55:28 Luciano Coelho wrote:quoted
Add device tree bindings documentation for the TI WiLink modules. Currently only the WLAN part of the WiLink6, WiLink7 and WiLink8 modules is supported. Signed-off-by: Luciano Coelho <redacted> --- Changes in v2: Use generic clock definitions to get the clock data instead of passing the frequencies directly. Also added definition for "internal" ti,wilink-clock. Please review.The proposal looks good to me, I just have one small comment.
Cool! Thanks for the review. [...]
quoted
+Example: +-------- + +Example definition that can be used in OMAP4 Panda: + +wlan { + compatible = "ti,wilink6"; + interrupt-parent = <&gpio2>; + interrupts = <21 0x4>; /* gpio line 53, high level triggered */Could you please use the IRQ_TYPE_LEVEL_HIGH macro (defined in <dt- bindings/interrupt-controller/irq.h>) instead of the hardcode 0x4 constant ?
Ah, right, I saw this new header file recently but forgot to update my example. I'll update the OMAP4 Panda and OMAP4 SDP dts files I just sent out as well. -- Cheers, Luca.