All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] MIPS: mscc: ocelot: enable FDMA usage
@ 2022-06-24 15:25 Clément Léger
  2022-06-30 15:43 ` Vladimir Oltean
  2022-07-05 10:21 ` Thomas Bogendoerfer
  0 siblings, 2 replies; 3+ messages in thread
From: Clément Léger @ 2022-06-24 15:25 UTC (permalink / raw)
  To: Alexandre Belloni, UNGLinuxDriver, Rob Herring,
	Krzysztof Kozlowski, Thomas Bogendoerfer, Vladimir Oltean,
	Claudiu Manoil
  Cc: linux-mips, devicetree, linux-kernel, Clément Léger

From: Alexandre Belloni <alexandre.belloni@bootlin.com>

Enable FDMA usage by adding "fdma" resource in regs and interrupts.

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Clément Léger <clement.leger@bootlin.com>
---
 arch/mips/boot/dts/mscc/ocelot.dtsi | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/arch/mips/boot/dts/mscc/ocelot.dtsi b/arch/mips/boot/dts/mscc/ocelot.dtsi
index cfc219a72bdd..6bd8a1ad94da 100644
--- a/arch/mips/boot/dts/mscc/ocelot.dtsi
+++ b/arch/mips/boot/dts/mscc/ocelot.dtsi
@@ -136,13 +136,14 @@ switch@1010000 {
 			      <0x1880000 0x10000>,
 			      <0x1040000 0x10000>,
 			      <0x1050000 0x10000>,
-			      <0x1060000 0x10000>;
+			      <0x1060000 0x10000>,
+			      <0x1a0 0x1c4>;
 			reg-names = "sys", "rew", "qs", "ptp", "port0", "port1",
 				    "port2", "port3", "port4", "port5", "port6",
 				    "port7", "port8", "port9", "port10", "qsys",
-				    "ana", "s0", "s1", "s2";
-			interrupts = <18 21 22>;
-			interrupt-names = "ptp_rdy", "xtr", "inj";
+				    "ana", "s0", "s1", "s2", "fdma";
+			interrupts = <18 21 22 16>;
+			interrupt-names = "ptp_rdy", "xtr", "inj", "fdma";
 
 			ethernet-ports {
 				#address-cells = <1>;
-- 
2.36.1


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

* Re: [PATCH] MIPS: mscc: ocelot: enable FDMA usage
  2022-06-24 15:25 [PATCH] MIPS: mscc: ocelot: enable FDMA usage Clément Léger
@ 2022-06-30 15:43 ` Vladimir Oltean
  2022-07-05 10:21 ` Thomas Bogendoerfer
  1 sibling, 0 replies; 3+ messages in thread
From: Vladimir Oltean @ 2022-06-30 15:43 UTC (permalink / raw)
  To: Clément Léger
  Cc: Alexandre Belloni, UNGLinuxDriver, Rob Herring,
	Krzysztof Kozlowski, Thomas Bogendoerfer, Claudiu Manoil,
	linux-mips, devicetree, linux-kernel

On Fri, Jun 24, 2022 at 05:25:48PM +0200, Clément Léger wrote:
> From: Alexandre Belloni <alexandre.belloni@bootlin.com>
> 
> Enable FDMA usage by adding "fdma" resource in regs and interrupts.
> 
> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
> Signed-off-by: Clément Léger <clement.leger@bootlin.com>
> ---

Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com>

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

* Re: [PATCH] MIPS: mscc: ocelot: enable FDMA usage
  2022-06-24 15:25 [PATCH] MIPS: mscc: ocelot: enable FDMA usage Clément Léger
  2022-06-30 15:43 ` Vladimir Oltean
@ 2022-07-05 10:21 ` Thomas Bogendoerfer
  1 sibling, 0 replies; 3+ messages in thread
From: Thomas Bogendoerfer @ 2022-07-05 10:21 UTC (permalink / raw)
  To: Clément Léger
  Cc: Alexandre Belloni, UNGLinuxDriver, Rob Herring,
	Krzysztof Kozlowski, Vladimir Oltean, Claudiu Manoil, linux-mips,
	devicetree, linux-kernel

On Fri, Jun 24, 2022 at 05:25:48PM +0200, Clément Léger wrote:
> From: Alexandre Belloni <alexandre.belloni@bootlin.com>
> 
> Enable FDMA usage by adding "fdma" resource in regs and interrupts.
> 
> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
> Signed-off-by: Clément Léger <clement.leger@bootlin.com>
> ---
>  arch/mips/boot/dts/mscc/ocelot.dtsi | 9 +++++----
>  1 file changed, 5 insertions(+), 4 deletions(-)
> 
> diff --git a/arch/mips/boot/dts/mscc/ocelot.dtsi b/arch/mips/boot/dts/mscc/ocelot.dtsi
> index cfc219a72bdd..6bd8a1ad94da 100644
> --- a/arch/mips/boot/dts/mscc/ocelot.dtsi
> +++ b/arch/mips/boot/dts/mscc/ocelot.dtsi
> @@ -136,13 +136,14 @@ switch@1010000 {
>  			      <0x1880000 0x10000>,
>  			      <0x1040000 0x10000>,
>  			      <0x1050000 0x10000>,
> -			      <0x1060000 0x10000>;
> +			      <0x1060000 0x10000>,
> +			      <0x1a0 0x1c4>;
>  			reg-names = "sys", "rew", "qs", "ptp", "port0", "port1",
>  				    "port2", "port3", "port4", "port5", "port6",
>  				    "port7", "port8", "port9", "port10", "qsys",
> -				    "ana", "s0", "s1", "s2";
> -			interrupts = <18 21 22>;
> -			interrupt-names = "ptp_rdy", "xtr", "inj";
> +				    "ana", "s0", "s1", "s2", "fdma";
> +			interrupts = <18 21 22 16>;
> +			interrupt-names = "ptp_rdy", "xtr", "inj", "fdma";
>  
>  			ethernet-ports {
>  				#address-cells = <1>;
> -- 
> 2.36.1

applied to mips-next.

Thomas.

-- 
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea.                                                [ RFC1925, 2.3 ]

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

end of thread, other threads:[~2022-07-05 10:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-24 15:25 [PATCH] MIPS: mscc: ocelot: enable FDMA usage Clément Léger
2022-06-30 15:43 ` Vladimir Oltean
2022-07-05 10:21 ` Thomas Bogendoerfer

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.