devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM: dts: OMAP2: fix interrupt number for rng
@ 2013-12-23 22:59 Suman Anna
  2014-01-08  0:28 ` Tony Lindgren
  0 siblings, 1 reply; 4+ messages in thread
From: Suman Anna @ 2013-12-23 22:59 UTC (permalink / raw)
  To: Benoit Cousson, Tony Lindgren; +Cc: devicetree, linux-omap, linux, Suman Anna

The irq data for rng module defined in hwmod data previously
missed the OMAP_INTC_START relative offset, so the interrupt
number is probably misconfigured during the DT node addition
adjusting for this OMAP_INTC_START. Interrupt #36 is associated
with a watchdog timer, so fix the rng module's interrupt to the
appropriate interrupt #52.

Signed-off-by: Suman Anna <s-anna@ti.com>
---
 arch/arm/boot/dts/omap2.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/omap2.dtsi b/arch/arm/boot/dts/omap2.dtsi
index d0c5b37..5377ddf 100644
--- a/arch/arm/boot/dts/omap2.dtsi
+++ b/arch/arm/boot/dts/omap2.dtsi
@@ -145,7 +145,7 @@
 			compatible = "ti,omap2-rng";
 			ti,hwmods = "rng";
 			reg = <0x480a0000 0x50>;
-			interrupts = <36>;
+			interrupts = <52>;
 		};
 
 		sham: sham@480a4000 {
-- 
1.8.4.3


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] ARM: dts: OMAP2: fix interrupt number for rng
  2013-12-23 22:59 [PATCH] ARM: dts: OMAP2: fix interrupt number for rng Suman Anna
@ 2014-01-08  0:28 ` Tony Lindgren
  2014-01-08 17:31   ` Anna, Suman
  0 siblings, 1 reply; 4+ messages in thread
From: Tony Lindgren @ 2014-01-08  0:28 UTC (permalink / raw)
  To: Suman Anna; +Cc: Benoit Cousson, devicetree, linux-omap, linux

* Suman Anna <s-anna@ti.com> [131223 15:01]:
> The irq data for rng module defined in hwmod data previously
> missed the OMAP_INTC_START relative offset, so the interrupt
> number is probably misconfigured during the DT node addition
> adjusting for this OMAP_INTC_START. Interrupt #36 is associated
> with a watchdog timer, so fix the rng module's interrupt to the
> appropriate interrupt #52.

Hmm indeed as the .dtsi files were generated from the hwmod
data. Are the other interrupts fixed earlier OK?

With earlier I mean your commit 6d4c8830479444 (ARM: OMAP2+:
hwmod_data: fix missing OMAP_INTC_START in irq data).

Regards,

Tony

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] ARM: dts: OMAP2: fix interrupt number for rng
  2014-01-08  0:28 ` Tony Lindgren
@ 2014-01-08 17:31   ` Anna, Suman
  2014-01-08 19:18     ` Tony Lindgren
  0 siblings, 1 reply; 4+ messages in thread
From: Anna, Suman @ 2014-01-08 17:31 UTC (permalink / raw)
  To: Tony Lindgren; +Cc: Benoit Cousson, devicetree, linux-omap, linux

Tony,

On 01/07/2014 06:28 PM, Tony Lindgren wrote:
> * Suman Anna <s-anna@ti.com> [131223 15:01]:
>> The irq data for rng module defined in hwmod data previously
>> missed the OMAP_INTC_START relative offset, so the interrupt
>> number is probably misconfigured during the DT node addition
>> adjusting for this OMAP_INTC_START. Interrupt #36 is associated
>> with a watchdog timer, so fix the rng module's interrupt to the
>> appropriate interrupt #52.
>
> Hmm indeed as the .dtsi files were generated from the hwmod
> data. Are the other interrupts fixed earlier OK?

GPMC DT nodes are already configured properly, the ISP MMU one needs 
fixing. I left it out to be fixed as part of Florian's patch that 
corrects the ISP MMU DT node. There is no IVA MMU DT node yet, and will 
add the correct number when we add the DT node.

regards
Suman



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] ARM: dts: OMAP2: fix interrupt number for rng
  2014-01-08 17:31   ` Anna, Suman
@ 2014-01-08 19:18     ` Tony Lindgren
  0 siblings, 0 replies; 4+ messages in thread
From: Tony Lindgren @ 2014-01-08 19:18 UTC (permalink / raw)
  To: Anna, Suman; +Cc: Benoit Cousson, devicetree, linux-omap, linux

* Anna, Suman <s-anna@ti.com> [140108 09:33]:
> Tony,
> 
> On 01/07/2014 06:28 PM, Tony Lindgren wrote:
> >* Suman Anna <s-anna@ti.com> [131223 15:01]:
> >>The irq data for rng module defined in hwmod data previously
> >>missed the OMAP_INTC_START relative offset, so the interrupt
> >>number is probably misconfigured during the DT node addition
> >>adjusting for this OMAP_INTC_START. Interrupt #36 is associated
> >>with a watchdog timer, so fix the rng module's interrupt to the
> >>appropriate interrupt #52.
> >
> >Hmm indeed as the .dtsi files were generated from the hwmod
> >data. Are the other interrupts fixed earlier OK?
> 
> GPMC DT nodes are already configured properly, the ISP MMU one needs
> fixing. I left it out to be fixed as part of Florian's patch that
> corrects the ISP MMU DT node. There is no IVA MMU DT node yet, and
> will add the correct number when we add the DT node.

OK thanks, adding this into omap-for-v3.14/dt as it won't
be needed earlier.

Regards,

Tony

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-01-08 19:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-23 22:59 [PATCH] ARM: dts: OMAP2: fix interrupt number for rng Suman Anna
2014-01-08  0:28 ` Tony Lindgren
2014-01-08 17:31   ` Anna, Suman
2014-01-08 19:18     ` Tony Lindgren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).