* [PATCH v2 0/3] Add DSP control nodes for K2G
@ 2016-08-09 14:33 Andrew F. Davis
2016-08-09 14:33 ` [PATCH v2 1/3] ARM: dts: keystone-k2g: Add device state controller node Andrew F. Davis
` (3 more replies)
0 siblings, 4 replies; 6+ messages in thread
From: Andrew F. Davis @ 2016-08-09 14:33 UTC (permalink / raw)
To: Santosh Shilimkar, Russell King, Suman Anna
Cc: linux-arm-kernel, linux-kernel, Andrew F . Davis
Hello all,
This series adds the nodes needed to control the DSP available on
this SoC. These are similar to the nodes already present the
other K2x SoCs.
Thanks,
Andrew
Andrew F. Davis (3):
ARM: dts: keystone-k2g: Add device state controller node
ARM: dts: keystone-k2g: Add keystone IRQ controller node
ARM: dts: keystone-k2g: Add DSP GPIO controller node
arch/arm/boot/dts/keystone-k2g.dtsi | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
--
2.9.2
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH v2 1/3] ARM: dts: keystone-k2g: Add device state controller node
2016-08-09 14:33 [PATCH v2 0/3] Add DSP control nodes for K2G Andrew F. Davis
@ 2016-08-09 14:33 ` Andrew F. Davis
2016-08-09 14:33 ` [PATCH v2 2/3] ARM: dts: keystone-k2g: Add keystone IRQ " Andrew F. Davis
` (2 subsequent siblings)
3 siblings, 0 replies; 6+ messages in thread
From: Andrew F. Davis @ 2016-08-09 14:33 UTC (permalink / raw)
To: Santosh Shilimkar, Russell King, Suman Anna
Cc: linux-arm-kernel, linux-kernel, Andrew F . Davis
Add the device state controller node as a syscon node to the
K2G SoC. This module provides similar device control functionality
as that on the existing K2 SoCs.
One example usage would be the boot address programming of the
DSP processor sub-system.
Signed-off-by: Andrew F. Davis <afd@ti.com>
Signed-off-by: Suman Anna <s-anna@ti.com>
---
arch/arm/boot/dts/keystone-k2g.dtsi | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/arch/arm/boot/dts/keystone-k2g.dtsi b/arch/arm/boot/dts/keystone-k2g.dtsi
index 3372615..fe17dc4 100644
--- a/arch/arm/boot/dts/keystone-k2g.dtsi
+++ b/arch/arm/boot/dts/keystone-k2g.dtsi
@@ -83,6 +83,11 @@
pinctrl-single,function-mask = <0x001b0007>;
};
+ devctrl: device-state-control@02620000 {
+ compatible = "ti,keystone-devctrl", "syscon";
+ reg = <0x02620000 0x1000>;
+ };
+
uart0: serial@02530c00 {
compatible = "ns16550a";
current-speed = <115200>;
--
2.9.2
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH v2 2/3] ARM: dts: keystone-k2g: Add keystone IRQ controller node
2016-08-09 14:33 [PATCH v2 0/3] Add DSP control nodes for K2G Andrew F. Davis
2016-08-09 14:33 ` [PATCH v2 1/3] ARM: dts: keystone-k2g: Add device state controller node Andrew F. Davis
@ 2016-08-09 14:33 ` Andrew F. Davis
2016-08-09 14:33 ` [PATCH v2 3/3] ARM: dts: keystone-k2g: Add DSP GPIO " Andrew F. Davis
2016-08-09 15:41 ` Santosh Shilimkar
3 siblings, 0 replies; 6+ messages in thread
From: Andrew F. Davis @ 2016-08-09 14:33 UTC (permalink / raw)
To: Santosh Shilimkar, Russell King, Suman Anna
Cc: linux-arm-kernel, linux-kernel, Andrew F . Davis
Add the Keystone IRQ controller IP node on K2G SoC. This allows the
ARM CorePac core to receive interrupts from remote processor devices
(eg: DSP) on the SoC.
The IP is identical in functionality to that of the equivalent
nodes on existing K2 SoCs. The only difference is the ARM INTC
interrupt id/event number.
Signed-off-by: Andrew F. Davis <afd@ti.com>
Signed-off-by: Suman Anna <s-anna@ti.com>
---
arch/arm/boot/dts/keystone-k2g.dtsi | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/arch/arm/boot/dts/keystone-k2g.dtsi b/arch/arm/boot/dts/keystone-k2g.dtsi
index fe17dc4..eccda9c 100644
--- a/arch/arm/boot/dts/keystone-k2g.dtsi
+++ b/arch/arm/boot/dts/keystone-k2g.dtsi
@@ -98,5 +98,13 @@
clock-frequency = <200000000>;
status = "disabled";
};
+
+ kirq0: keystone_irq@026202a0 {
+ compatible = "ti,keystone-irq";
+ interrupts = <GIC_SPI 1 IRQ_TYPE_EDGE_RISING>;
+ interrupt-controller;
+ #interrupt-cells = <1>;
+ ti,syscon-dev = <&devctrl 0x2a0>;
+ };
};
};
--
2.9.2
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH v2 3/3] ARM: dts: keystone-k2g: Add DSP GPIO controller node
2016-08-09 14:33 [PATCH v2 0/3] Add DSP control nodes for K2G Andrew F. Davis
2016-08-09 14:33 ` [PATCH v2 1/3] ARM: dts: keystone-k2g: Add device state controller node Andrew F. Davis
2016-08-09 14:33 ` [PATCH v2 2/3] ARM: dts: keystone-k2g: Add keystone IRQ " Andrew F. Davis
@ 2016-08-09 14:33 ` Andrew F. Davis
2016-08-09 15:41 ` Santosh Shilimkar
3 siblings, 0 replies; 6+ messages in thread
From: Andrew F. Davis @ 2016-08-09 14:33 UTC (permalink / raw)
To: Santosh Shilimkar, Russell King, Suman Anna
Cc: linux-arm-kernel, linux-kernel, Andrew F . Davis
Add the DSP GPIO controller node on K2G SoC.
This is used to send interrupts to the only DSP processor
subsystem present on the SoC. The IP is identical to that
of the equivalent nodes on existing K2 SoCs.
Signed-off-by: Andrew F. Davis <afd@ti.com>
Signed-off-by: Suman Anna <s-anna@ti.com>
---
arch/arm/boot/dts/keystone-k2g.dtsi | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/arch/arm/boot/dts/keystone-k2g.dtsi b/arch/arm/boot/dts/keystone-k2g.dtsi
index eccda9c..025ad12 100644
--- a/arch/arm/boot/dts/keystone-k2g.dtsi
+++ b/arch/arm/boot/dts/keystone-k2g.dtsi
@@ -106,5 +106,12 @@
#interrupt-cells = <1>;
ti,syscon-dev = <&devctrl 0x2a0>;
};
+
+ dspgpio0: keystone_dsp_gpio@02620240 {
+ compatible = "ti,keystone-dsp-gpio";
+ gpio-controller;
+ #gpio-cells = <2>;
+ gpio,syscon-dev = <&devctrl 0x240>;
+ };
};
};
--
2.9.2
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH v2 0/3] Add DSP control nodes for K2G
2016-08-09 14:33 [PATCH v2 0/3] Add DSP control nodes for K2G Andrew F. Davis
@ 2016-08-09 15:41 ` Santosh Shilimkar
2016-08-09 14:33 ` [PATCH v2 2/3] ARM: dts: keystone-k2g: Add keystone IRQ " Andrew F. Davis
` (2 subsequent siblings)
3 siblings, 0 replies; 6+ messages in thread
From: Santosh Shilimkar @ 2016-08-09 15:41 UTC (permalink / raw)
To: Andrew F. Davis, Santosh Shilimkar, Russell King, Suman Anna
Cc: linux-arm-kernel, linux-kernel
On 8/9/2016 7:33 AM, Andrew F. Davis wrote:
> Hello all,
>
> This series adds the nodes needed to control the DSP available on
> this SoC. These are similar to the nodes already present the
> other K2x SoCs.
>
> Thanks,
> Andrew
>
> Andrew F. Davis (3):
> ARM: dts: keystone-k2g: Add device state controller node
> ARM: dts: keystone-k2g: Add keystone IRQ controller node
> ARM: dts: keystone-k2g: Add DSP GPIO controller node
>
The series looks good to me. I will add them to the next merge
window queue...
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH v2 0/3] Add DSP control nodes for K2G
@ 2016-08-09 15:41 ` Santosh Shilimkar
0 siblings, 0 replies; 6+ messages in thread
From: Santosh Shilimkar @ 2016-08-09 15:41 UTC (permalink / raw)
To: linux-arm-kernel
On 8/9/2016 7:33 AM, Andrew F. Davis wrote:
> Hello all,
>
> This series adds the nodes needed to control the DSP available on
> this SoC. These are similar to the nodes already present the
> other K2x SoCs.
>
> Thanks,
> Andrew
>
> Andrew F. Davis (3):
> ARM: dts: keystone-k2g: Add device state controller node
> ARM: dts: keystone-k2g: Add keystone IRQ controller node
> ARM: dts: keystone-k2g: Add DSP GPIO controller node
>
The series looks good to me. I will add them to the next merge
window queue...
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2016-08-09 15:42 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-08-09 14:33 [PATCH v2 0/3] Add DSP control nodes for K2G Andrew F. Davis
2016-08-09 14:33 ` [PATCH v2 1/3] ARM: dts: keystone-k2g: Add device state controller node Andrew F. Davis
2016-08-09 14:33 ` [PATCH v2 2/3] ARM: dts: keystone-k2g: Add keystone IRQ " Andrew F. Davis
2016-08-09 14:33 ` [PATCH v2 3/3] ARM: dts: keystone-k2g: Add DSP GPIO " Andrew F. Davis
2016-08-09 15:41 ` [PATCH v2 0/3] Add DSP control nodes for K2G Santosh Shilimkar
2016-08-09 15:41 ` Santosh Shilimkar
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.