ARM: socfpga: dts: add fpga manager
PATCH 1/1 ARM: socfpga: dts: add fpga manager
From: Alan Tull <[email protected]>
Add FPGA manager to device tree for SoCFPGA.
--- arch/arm/boot/dts/socfpga.dtsi | 7 +++++++ 1 file changed, 7 insertions(+)
arch/arm/boot/dts/socfpga.dtsi +7 -0
@@ -834,5 +834,12 @@ compatible = "altr,sys-mgr", "syscon"; reg = <0xffd08000 0x4000>; }; + + hps_0_fpgamgr: fpgamgr at 0xff706000 { + compatible = "altr,socfpga-fpga-mgr"; + reg = <0xFF706000 0x1000 + 0xFFB90000 0x1000>; + interrupts = <0 175 4>; + }; }; };
Signature · 1 line
1.9.1
Hi Alan!
Quoted 16 lines · atull at opensource.altera.com
From: Alan Tull <[email protected]>
Add FPGA manager to device tree for SoCFPGA.
Signed-off-by Alan Tull <[email protected]>--- arch/arm/boot/dts/socfpga.dtsi | 7 +++++++ 1 file changed, 7 insertions(+)arch/arm/boot/dts/socfpga.dtsi +0
-0@@ -834,5 +834,12 @@ compatible = "altr,sys-mgr", "syscon"; reg = <0xffd08000 0x4000>;
arch/arm/boot/dts/socfpga.dtsi line 845
Quoted 10 lines
arch/arm/boot/dts/socfpga.dtsi +7
-0}; + + hps_0_fpgamgr: fpgamgr at 0xff706000 { + compatible = "altr,socfpga-fpga-mgr"; + reg = <0xFF706000 0x1000 + 0xFFB90000 0x1000>; + interrupts = <0 175 4>; + }; }; };
Please keep the format in line with the rest of the file:
Hexvalues are lowercase and no 0x after the "fpgamgr@". I'd say "And please put the node in its proper position according to its address", but I see just now, that the dtsi is all messed up right now anyway :-(
Regards,
Steffen
Signature · 4 lines
Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
Quoted 27 lines · Steffen Trumtrar
Hi Alan!
Quoted 24 lines · atull at opensource.altera.com
From: Alan Tull <[email protected]>
Add FPGA manager to device tree for SoCFPGA.
Signed-off-by Alan Tull <[email protected]>--- arch/arm/boot/dts/socfpga.dtsi | 7 +++++++ 1 file changed, 7 insertions(+)arch/arm/boot/dts/socfpga.dtsi +7
-0@@ -834,5 +834,12 @@ compatible = "altr,sys-mgr", "syscon"; reg = <0xffd08000 0x4000>; }; + + hps_0_fpgamgr: fpgamgr at 0xff706000 { + compatible = "altr,socfpga-fpga-mgr"; + reg = <0xFF706000 0x1000 + 0xFFB90000 0x1000>; + interrupts = <0 175 4>; + };
Quoted 9 lines
arch/arm/boot/dts/socfpga.dtsi line 845
Quoted 2 lines
arch/arm/boot/dts/socfpga.dtsi +0
-0}; };Please keep the format in line with the rest of the file:
Hexvalues are lowercase and no 0x after the "fpgamgr@". I'd say "And please put the node in its proper position according to its address", but I see just now, that the dtsi is all messed up right now anyway :-(
How so? Patches are welcomed!
Please fix the "fpgamgr@" and lower case the hex values. But I would prefer the nodes to be in alphabetical order.
Also, you need to document the "altr,socfpga-fpga-mgr".
Thanks,
Dinh
Quoted 9 lines
Regards,
SteffenSignature · 4 lines
Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
BR,
Dinh
Quoted 30 lines · Dinh Nguyen
Quoted 28 lines · Steffen Trumtrar
Hi Alan!
Quoted 25 lines · atull at opensource.altera.com
From: Alan Tull <[email protected]>
Add FPGA manager to device tree for SoCFPGA.
Signed-off-by Alan Tull <[email protected]>--- arch/arm/boot/dts/socfpga.dtsi | 7 +++++++ 1 file changed, 7 insertions(+)arch/arm/boot/dts/socfpga.dtsi +7
-0@@ -834,5 +834,12 @@ compatible = "altr,sys-mgr", "syscon"; reg = <0xffd08000 0x4000>; }; + + hps_0_fpgamgr: fpgamgr at 0xff706000 { + compatible = "altr,socfpga-fpga-mgr"; + reg = <0xFF706000 0x1000 + 0xFFB90000 0x1000>; + interrupts = <0 175 4>; + }; };
Quoted 8 lines
Quoted 8 lines
arch/arm/boot/dts/socfpga.dtsi line 845
Quoted 1 line
arch/arm/boot/dts/socfpga.dtsi +0
-0};Please keep the format in line with the rest of the file:
Hexvalues are lowercase and no 0x after the "fpgamgr@". I'd say "And please put the node in its proper position according to its address", but I see just now, that the dtsi is all messed up right now anyway :-(
Hi Steffen,
Thanks for the review. I'll fix these things you pointed out.
"all messed up" seems kind of unclear and overstated here. From the context, I assume you mean that you are pointing out that the nodes are in more or less alphatetical order and not in order of address. Is that what you mean or is the dtsi really all messed up?
Alan
Quoted 23 lines
How so? Patches are welcomed!
Please fix the "fpgamgr@" and lower case the hex values. But I would prefer the nodes to be in alphabetical order.
Also, you need to document the "altr,socfpga-fpga-mgr".
Thanks,
DinhQuoted 9 lines
Regards,
SteffenSignature · 4 lines
Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |BR,
Dinh
Hi!
Quoted 41 lines · atull
Quoted 30 lines · Dinh Nguyen
Quoted 28 lines · Steffen Trumtrar
Hi Alan!
Quoted 25 lines · atull at opensource.altera.com
From: Alan Tull <[email protected]>
Add FPGA manager to device tree for SoCFPGA.
Signed-off-by Alan Tull <[email protected]>--- arch/arm/boot/dts/socfpga.dtsi | 7 +++++++ 1 file changed, 7 insertions(+)arch/arm/boot/dts/socfpga.dtsi +7
-0@@ -834,5 +834,12 @@ compatible = "altr,sys-mgr", "syscon"; reg = <0xffd08000 0x4000>; }; + + hps_0_fpgamgr: fpgamgr at 0xff706000 { + compatible = "altr,socfpga-fpga-mgr"; + reg = <0xFF706000 0x1000 + 0xFFB90000 0x1000>; + interrupts = <0 175 4>; + }; };Quoted 8 lines
Quoted 8 lines
arch/arm/boot/dts/socfpga.dtsi line 845
Quoted 1 line
arch/arm/boot/dts/socfpga.dtsi +0
-0};Please keep the format in line with the rest of the file:
Hexvalues are lowercase and no 0x after the "fpgamgr@". I'd say "And please put the node in its proper position according to its address", but I see just now, that the dtsi is all messed up right now anyway :-(
Quoted 5 lines
"all messed up" seems kind of unclear and overstated here. From the context, I assume you mean that you are pointing out that the nodes are in more or less alphatetical order and not in order of address. Is that what you mean or is the dtsi really all messed up?
"more or less" was the thing that bugged me.
And for the record: I didn't try to blame anyone for this. I put many of the nodes there myself ;-)
Regards,
Steffen
Signature · 4 lines
Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
Quoted 39 lines · Dinh Nguyen
Quoted 27 lines · Steffen Trumtrar
Hi Alan!
Quoted 24 lines · atull at opensource.altera.com
From: Alan Tull <[email protected]>
Add FPGA manager to device tree for SoCFPGA.
Signed-off-by Alan Tull <[email protected]>--- arch/arm/boot/dts/socfpga.dtsi | 7 +++++++ 1 file changed, 7 insertions(+)arch/arm/boot/dts/socfpga.dtsi +7
-0@@ -834,5 +834,12 @@ compatible = "altr,sys-mgr", "syscon"; reg = <0xffd08000 0x4000>; }; + + hps_0_fpgamgr: fpgamgr at 0xff706000 { + compatible = "altr,socfpga-fpga-mgr"; + reg = <0xFF706000 0x1000 + 0xFFB90000 0x1000>; + interrupts = <0 175 4>; + };Quoted 9 lines
arch/arm/boot/dts/socfpga.dtsi line 845
Quoted 2 lines
arch/arm/boot/dts/socfpga.dtsi +0
-0}; };Please keep the format in line with the rest of the file:
Hexvalues are lowercase and no 0x after the "fpgamgr@". I'd say "And please put the node in its proper position according to its address", but I see just now, that the dtsi is all messed up right now anyway :-(
Quoted 1 line
How so? Patches are welcomed!
Done :-)
Quoted 4 lines
Please fix the "fpgamgr@" and lower case the hex values. But I would prefer the nodes to be in alphabetical order.
Ah, that explains it, I guess. I always sorted my patches by address :-) The thing is, now all nodes are sorted alphabetically by phandle, the clkmgr however seems to be ordered by address.
I prefer address btw because it is a fixed hardware constant. For the dts files sorting via phandle is again fixed via the dtsi.
Regards,
Steffen
Signature · 4 lines
Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
Quoted 5 lines · On Tue, Oct 13, 2015 at 11:28 AM, <[email protected]> wrote:
From: Alan Tull <[email protected]>
Add FPGA manager to device tree for SoCFPGA.
Signed-off-by Alan Tull <[email protected]>
Quoted 29 lines
--- arch/arm/boot/dts/socfpga.dtsi | 7 +++++++ 1 file changed, 7 insertions(+)arch/arm/boot/dts/socfpga.dtsi +7
-1@@ -834,5 +834,12 @@ compatible = "altr,sys-mgr", "syscon"; reg = <0xffd08000 0x4000>; }; + + hps_0_fpgamgr: fpgamgr at 0xff706000 { + compatible = "altr,socfpga-fpga-mgr"; + reg = <0xFF706000 0x1000 + 0xFFB90000 0x1000>; + interrupts = <0 175 4>; + }; }; }; --1.9.1
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel at lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel