diff mbox

[4/4] ARM: dts: AM4372: Add the wkup_m3_ipc node

Message ID 1437167284-25659-5-git-send-email-d-gerlach@ti.com (mailing list archive)
State New, archived
Headers show

Commit Message

Dave Gerlach July 17, 2015, 9:08 p.m. UTC
From: Suman Anna <s-anna@ti.com>

Add the Wakeup M3 IPC device node for the wkup_m3_ipc driver on
AM4372 SoC. This node uses the IPC registers, part of the Control
Module, and is therefore added as a child of the scm node.

Signed-off-by: Suman Anna <s-anna@ti.com>
Signed-off-by: Dave Gerlach <d-gerlach@ti.com>
---
 arch/arm/boot/dts/am4372.dtsi | 8 ++++++++
 1 file changed, 8 insertions(+)

Comments

Tony Lindgren Aug. 5, 2015, 10:31 a.m. UTC | #1
* Dave Gerlach <d-gerlach@ti.com> [150717 14:10]:
> From: Suman Anna <s-anna@ti.com>
> 
> Add the Wakeup M3 IPC device node for the wkup_m3_ipc driver on
> AM4372 SoC. This node uses the IPC registers, part of the Control
> Module, and is therefore added as a child of the scm node.

Applying the last two patches in this series into omap-for-v4.3/dt
thanks.

Probably the send-no-irq quirk you can do in the driver based
on the compatible flag like I suggested in the related mailbox
thread so not applying those until that's been discussed.

Regards,

Tony
Dave Gerlach Jan. 18, 2016, 8:17 p.m. UTC | #2
Hi Tony,
On 08/05/2015 05:31 AM, Tony Lindgren wrote:
> * Dave Gerlach <d-gerlach@ti.com> [150717 14:10]:
>> From: Suman Anna <s-anna@ti.com>
>>
>> Add the Wakeup M3 IPC device node for the wkup_m3_ipc driver on
>> AM4372 SoC. This node uses the IPC registers, part of the Control
>> Module, and is therefore added as a child of the scm node.
>
> Applying the last two patches in this series into omap-for-v4.3/dt
> thanks.
>
> Probably the send-no-irq quirk you can do in the driver based
> on the compatible flag like I suggested in the related mailbox
> thread so not applying those until that's been discussed.

Now that this compatible flag for the mbox driver has been accepted 
here: 8e3c5952144f ("mailbox/omap: Add ti,mbox-send-noirq quirk to fix 
AM33xx CPU Idle") can the first two patches in this series get picked 
up. I tested applying to v4.4 and they still apply cleanly.

Regards,
Dave

>
> Regards,
>
> Tony
>
Tony Lindgren Jan. 21, 2016, 9:55 p.m. UTC | #3
* Dave Gerlach <d-gerlach@ti.com> [160118 12:18]:
> Hi Tony,
> On 08/05/2015 05:31 AM, Tony Lindgren wrote:
> >* Dave Gerlach <d-gerlach@ti.com> [150717 14:10]:
> >>From: Suman Anna <s-anna@ti.com>
> >>
> >>Add the Wakeup M3 IPC device node for the wkup_m3_ipc driver on
> >>AM4372 SoC. This node uses the IPC registers, part of the Control
> >>Module, and is therefore added as a child of the scm node.
> >
> >Applying the last two patches in this series into omap-for-v4.3/dt
> >thanks.
> >
> >Probably the send-no-irq quirk you can do in the driver based
> >on the compatible flag like I suggested in the related mailbox
> >thread so not applying those until that's been discussed.
> 
> Now that this compatible flag for the mbox driver has been accepted here:
> 8e3c5952144f ("mailbox/omap: Add ti,mbox-send-noirq quirk to fix AM33xx CPU
> Idle") can the first two patches in this series get picked up. I tested
> applying to v4.4 and they still apply cleanly.

OK applying into omap-for-v4.5/fixes thanks.

Regards,

Tony
diff mbox

Patch

diff --git a/arch/arm/boot/dts/am4372.dtsi b/arch/arm/boot/dts/am4372.dtsi
index 5bccc48..45bcd1b 100644
--- a/arch/arm/boot/dts/am4372.dtsi
+++ b/arch/arm/boot/dts/am4372.dtsi
@@ -136,6 +136,14 @@ 
 					};
 				};
 
+				wkup_m3_ipc: wkup_m3_ipc@1324 {
+					compatible = "ti,am4372-wkup-m3-ipc";
+					reg = <0x1324 0x44>;
+					interrupts = <GIC_SPI 78 IRQ_TYPE_LEVEL_HIGH>;
+					ti,rproc = <&wkup_m3>;
+					mboxes = <&mailbox &mbox_wkupm3>;
+				};
+
 				scm_clockdomains: clockdomains {
 				};
 			};