Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1458800 > unrolled thread

[PATCH v2 0/3] Add DSP control nodes for K2G

Started by"Andrew F. Davis" <afd@ti.com>
First post2016-08-09 16:40 +0200
Last post2016-08-09 17:50 +0200
Articles 5 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH v2 0/3] Add DSP control nodes for K2G "Andrew F. Davis" <afd@ti.com> - 2016-08-09 16:40 +0200
    [PATCH v2 1/3] ARM: dts: keystone-k2g: Add device state controller node "Andrew F. Davis" <afd@ti.com> - 2016-08-09 16:40 +0200
    [PATCH v2 2/3] ARM: dts: keystone-k2g: Add keystone IRQ controller node "Andrew F. Davis" <afd@ti.com> - 2016-08-09 16:40 +0200
    [PATCH v2 3/3] ARM: dts: keystone-k2g: Add DSP GPIO controller node "Andrew F. Davis" <afd@ti.com> - 2016-08-09 16:40 +0200
    Re: [PATCH v2 0/3] Add DSP control nodes for K2G Santosh Shilimkar <santosh.shilimkar@oracle.com> - 2016-08-09 17:50 +0200

#1458800 — [PATCH v2 0/3] Add DSP control nodes for K2G

From"Andrew F. Davis" <afd@ti.com>
Date2016-08-09 16:40 +0200
Subject[PATCH v2 0/3] Add DSP control nodes for K2G
Message-ID<s4gmd-n3-1@gated-at.bofh.it>
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

[toc] | [next] | [standalone]


#1458801 — [PATCH v2 1/3] ARM: dts: keystone-k2g: Add device state controller node

From"Andrew F. Davis" <afd@ti.com>
Date2016-08-09 16:40 +0200
Subject[PATCH v2 1/3] ARM: dts: keystone-k2g: Add device state controller node
Message-ID<s4gmd-n3-3@gated-at.bofh.it>
In reply to#1458800
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

[toc] | [prev] | [next] | [standalone]


#1458802 — [PATCH v2 2/3] ARM: dts: keystone-k2g: Add keystone IRQ controller node

From"Andrew F. Davis" <afd@ti.com>
Date2016-08-09 16:40 +0200
Subject[PATCH v2 2/3] ARM: dts: keystone-k2g: Add keystone IRQ controller node
Message-ID<s4gmd-n3-5@gated-at.bofh.it>
In reply to#1458800
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

[toc] | [prev] | [next] | [standalone]


#1458804 — [PATCH v2 3/3] ARM: dts: keystone-k2g: Add DSP GPIO controller node

From"Andrew F. Davis" <afd@ti.com>
Date2016-08-09 16:40 +0200
Subject[PATCH v2 3/3] ARM: dts: keystone-k2g: Add DSP GPIO controller node
Message-ID<s4gme-n3-19@gated-at.bofh.it>
In reply to#1458800
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

[toc] | [prev] | [next] | [standalone]


#1458863

FromSantosh Shilimkar <santosh.shilimkar@oracle.com>
Date2016-08-09 17:50 +0200
Message-ID<s4hrX-134-9@gated-at.bofh.it>
In reply to#1458800
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...

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web