ARM: dts: da850: Enable cppi41 dma
cover ARM: dts: da850: Enable cppi41 dma
This series enable support of cppi41 for da850. The bindings and DT support are added in the series "dmaengine: cppi41: Add dma support to da8xx".
Alexandre Bailon (3):
ARM: dts: da850: Add the cppi41 dma node
ARM: dts: da850: Add the cppi41 dma to the usb otg controller
ARM: dts: da850: Enable cppi41 dma for da850-lcdk
arch/arm/boot/dts/da850-lcdk.dts | 4 ++++ arch/arm/boot/dts/da850.dtsi | 24 ++++++++++++++++++++++++ 2 files changed, 28 insertions(+)
Signature · 6 lines
2.10.2 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
A message that is not in the archive (sent off-list or not yet received): 20170109162449.5012-1-abailon-rdvid1DuHRBWk0Htik3J/[email protected]
PATCH 1/3 ARM: dts: da850: Add the cppi41 dma node
This adds the device tree node for the cppi41 dma
used by the usb otg controller present in the da850 family of SoC's.
--- arch/arm/boot/dts/da850.dtsi | 16 ++++++++++++++++ 1 file changed, 16 insertions(+)
arch/arm/boot/dts/da850.dtsi +16 -0
@@ -403,6 +403,22 @@ phy-names = "usb-phy"; status = "disabled"; }; + cppi41dma: dma-controller@201000 { + compatible = "ti,da8xx-cppi41"; + reg = <0x200000 0x1000 + 0x201000 0x1000 + 0x202000 0x1000 + 0x204000 0x4000>; + reg-names = "glue", "controller", + "scheduler", "queuemgr"; + interrupts = <58>; + interrupt-names = "glue"; + #dma-cells = <2>; + #dma-channels = <4>; + #dma-requests = <256>; + status = "disabled"; + + }; mdio: mdio@224000 { compatible = "ti,davinci_mdio"; #address-cells = <1>;
Signature · 6 lines
2.10.2 -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
A message that is not in the archive (sent off-list or not yet received): 20170109162449.5012-2-abailon-rdvid1DuHRBWk0Htik3J/[email protected]
Re: [PATCH 1/3] ARM: dts: da850: Add the cppi41 dma node
Hello.
Quoted 13 lines · Alexandre Bailon
This adds the device tree node for the cppi41 dma
used by the usb otg controller present in the da850 family of SoC's.--- arch/arm/boot/dts/da850.dtsi | 16 ++++++++++++++++ 1 file changed, 16 insertions(+)arch/arm/boot/dts/da850.dtsi +0
-0
arch/arm/boot/dts/da850.dtsi line 408
Quoted 6 lines
arch/arm/boot/dts/da850.dtsi +3
-0@@ -403,6 +403,22 @@ phy-names = "usb-phy"; status = "disabled"; }; + cppi41dma: dma-controller@201000 { + compatible = "ti,da8xx-cppi41"; + reg = <0x200000 0x1000
I don't remember any DA8xx glue regs having to do with the CPPI 4.1...
arch/arm/boot/dts/da850.dtsi line 419
Quoted 11 lines
arch/arm/boot/dts/da850.dtsi +11
-0+ 0x201000 0x1000 + 0x202000 0x1000 + 0x204000 0x4000>; + reg-names = "glue", "controller", + "scheduler", "queuemgr"; + interrupts = <58>; + interrupt-names = "glue"; + #dma-cells = <2>; + #dma-channels = <4>; + #dma-requests = <256>; + status = "disabled";
Why disabled? It doesn't use any external pins...
[...]
MBR, Sergei
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
A message that is not in the archive (sent off-list or not yet received): 811adb6b-00e4-bbc4-d6f5-7bf3ba85ab63-M4DtvfQ/[email protected]
Re: [PATCH 1/3] ARM: dts: da850: Add the cppi41 dma node
Quoted 12 lines · Sergei Shtylyov
Hello.
Quoted 8 lines · Alexandre Bailon
This adds the device tree node for the cppi41 dma
used by the usb otg controller present in the da850 family of SoC's.--- arch/arm/boot/dts/da850.dtsi | 16 ++++++++++++++++ 1 file changed, 16 insertions(+)
Quoted 13 lines
arch/arm/boot/dts/da850.dtsi line 408
Quoted 11 lines
arch/arm/boot/dts/da850.dtsi +3
-0@@ -403,6 +403,22 @@ phy-names = "usb-phy"; status = "disabled"; }; + cppi41dma: dma-controller@201000 { + compatible = "ti,da8xx-cppi41"; + reg = <0x200000 0x1000I don't remember any DA8xx glue regs having to do with the CPPI 4.1...
The CPPI 4.1 driver need it to manage the IRQ.
Quoted 13 lines
arch/arm/boot/dts/da850.dtsi line 419
Quoted 12 lines
arch/arm/boot/dts/da850.dtsi +11
-0+ 0x201000 0x1000 + 0x202000 0x1000 + 0x204000 0x4000>; + reg-names = "glue", "controller", + "scheduler", "queuemgr"; + interrupts = <58>; + interrupt-names = "glue"; + #dma-cells = <2>; + #dma-channels = <4>; + #dma-requests = <256>; + status = "disabled";
Quoted 1 line
Why disabled? It doesn't use any external pins...
Will fix it.
Quoted 5 lines
[...]
MBR, Sergei
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
A message that is not in the archive (sent off-list or not yet received): 885f6118-16e8-2386-3016-6056d3259ad9-rdvid1DuHRBWk0Htik3J/[email protected]
Re: [PATCH 1/3] ARM: dts: da850: Add the cppi41 dma node
Quoted 14 lines · Alexandre Bailon
Quoted 12 lines · Sergei Shtylyov
Quoted 11 lines
arch/arm/boot/dts/da850.dtsi +11
-0+ 0x201000 0x1000 + 0x202000 0x1000 + 0x204000 0x4000>; + reg-names = "glue", "controller", + "scheduler", "queuemgr"; + interrupts = <58>; + interrupt-names = "glue"; + #dma-cells = <2>; + #dma-channels = <4>; + #dma-requests = <256>; + status = "disabled";
Quoted 3 lines
Quoted 1 line
Why disabled? It doesn't use any external pins...
Will fix it.
Please keep it disabled. See the other thread on this.
Thanks,
Sekhar
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [PATCH 1/3] ARM: dts: da850: Add the cppi41 dma node
In reply to a message not in the archiveQuoted 38 lines · Sergei Shtylyov
Hello.
Quoted 13 lines · Alexandre Bailon
This adds the device tree node for the cppi41 dma
used by the usb otg controller present in the da850 family of SoC's.--- arch/arm/boot/dts/da850.dtsi | 16 ++++++++++++++++ 1 file changed, 16 insertions(+)arch/arm/boot/dts/da850.dtsi +0
-0arch/arm/boot/dts/da850.dtsi line 408
Quoted 6 lines
arch/arm/boot/dts/da850.dtsi +3
-0@@ -403,6 +403,22 @@ phy-names = "usb-phy"; status = "disabled"; }; + cppi41dma: dma-controller@201000 { + compatible = "ti,da8xx-cppi41"; + reg = <0x200000 0x1000I don't remember any DA8xx glue regs having to do with the CPPI 4.1...
arch/arm/boot/dts/da850.dtsi line 419
Quoted 11 lines
arch/arm/boot/dts/da850.dtsi +11
-0+ 0x201000 0x1000 + 0x202000 0x1000 + 0x204000 0x4000>; + reg-names = "glue", "controller", + "scheduler", "queuemgr"; + interrupts = <58>; + interrupt-names = "glue"; + #dma-cells = <2>; + #dma-channels = <4>; + #dma-requests = <256>; + status = "disabled";
Quoted 1 line
Why disabled? It doesn't use any external pins...
Why enable it if musb node is not also enabled?
Quoted 5 lines
[...]
MBR, Sergei
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
A message that is not in the archive (sent off-list or not yet received): 026deab8-8584-0744-3ec5-9346a7f6d16a-nq/r/kbU++upp/[email protected]
Re: [PATCH 1/3] ARM: dts: da850: Add the cppi41 dma node
Quoted 34 lines · David Lechner
Quoted 34 lines
Quoted 13 lines
This adds the device tree node for the cppi41 dma
used by the usb otg controller present in the da850 family of SoC's.--- arch/arm/boot/dts/da850.dtsi | 16 ++++++++++++++++ 1 file changed, 16 insertions(+)arch/arm/boot/dts/da850.dtsi +0
-0arch/arm/boot/dts/da850.dtsi line 408
Quoted 6 lines
arch/arm/boot/dts/da850.dtsi +3
-0@@ -403,6 +403,22 @@ phy-names = "usb-phy"; status = "disabled"; }; + cppi41dma: dma-controller@201000 { + compatible = "ti,da8xx-cppi41"; + reg = <0x200000 0x1000I don't remember any DA8xx glue regs having to do with the CPPI 4.1...
Quoted 11 lines
arch/arm/boot/dts/da850.dtsi +11
-0+ 0x201000 0x1000 + 0x202000 0x1000 + 0x204000 0x4000>; + reg-names = "glue", "controller", + "scheduler", "queuemgr"; + interrupts = <58>; + interrupt-names = "glue"; + #dma-cells = <2>; + #dma-channels = <4>; + #dma-requests = <256>; + status = "disabled";
Quoted 3 lines
Quoted 1 line
Why disabled? It doesn't use any external pins...
Why enable it if musb node is not also enabled?
Well, it's a good point.
Quoted 1 line
Quoted 1 line
[...]
MBR, Sergei
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
PATCH 2/3 ARM: dts: da850: Add the cppi41 dma to the usb otg controller
In reply to a message not in the archiveThis adds the cppi41 dma controller to the usb otg controller.
--- arch/arm/boot/dts/da850.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+)
arch/arm/boot/dts/da850.dtsi +8 -0
@@ -402,6 +402,14 @@ phys = <&usb_phy 0>; phy-names = "usb-phy"; status = "disabled"; + + dmas = <&cppi41dma 0 0 &cppi41dma 1 0 + &cppi41dma 2 0 &cppi41dma 3 0 + &cppi41dma 0 1 &cppi41dma 1 1 + &cppi41dma 2 1 &cppi41dma 3 1>; + dma-names = + "rx1", "rx2", "rx3", "rx4", + "tx1", "tx2", "tx3", "tx4"; }; cppi41dma: dma-controller@201000 { compatible = "ti,da8xx-cppi41";
Signature · 6 lines
2.10.2 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
PATCH 3/3 ARM: dts: da850: Enable cppi41 dma for da850-lcdk
In reply to a message not in the archiveThis enable the cppi41 dma controller used by the usb otg for the da850-lcdk board.
--- arch/arm/boot/dts/da850-lcdk.dts | 4 ++++ 1 file changed, 4 insertions(+)
arch/arm/boot/dts/da850-lcdk.dts +4 -0
@@ -167,6 +167,10 @@ status = "okay"; }; +&cppi41dma { + status = "okay"; +}; + &aemif { pinctrl-names = "default"; pinctrl-0 = <&nand_pins>;
Signature · 6 lines
2.10.2 -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
A message that is not in the archive (sent off-list or not yet received): 20170109162449.5012-4-abailon-rdvid1DuHRBWk0Htik3J/[email protected]
Re: [PATCH 3/3] ARM: dts: da850: Enable cppi41 dma for da850-lcdk
Quoted 13 lines · Alexandre Bailon
This enable the cppi41 dma controller used by the usb otg for the da850-lcdk board.
--- arch/arm/boot/dts/da850-lcdk.dts | 4 ++++ 1 file changed, 4 insertions(+)arch/arm/boot/dts/da850-lcdk.dts +0
-0
arch/arm/boot/dts/da850-lcdk.dts line 170
Quoted 4 lines
arch/arm/boot/dts/da850-lcdk.dts +1
-0@@ -167,6 +167,10 @@ status = "okay"; }; +&cppi41dma {
nit, there should only be one space before "{"
arch/arm/boot/dts/da850-lcdk.dts line 176
Quoted 7 lines
arch/arm/boot/dts/da850-lcdk.dts +3
-0+ status = "okay"; +}; + &aemif { pinctrl-names = "default"; pinctrl-0 = <&nand_pins>;
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html