ARM: dts: da850: add the mstpri and ddrctl nodes
PATCH v2 1/1 ARM: dts: da850: add the mstpri and ddrctl nodes
Add the nodes for the MSTPRI configuration and DDR2/mDDR memory controller drivers to da850.dtsi.
---
v1 -> v2:
- moved the priority controller node above the cfgchip node
- renamed added nodes to better reflect their purpose
arch/arm/boot/dts/da850.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+)
arch/arm/boot/dts/da850.dtsi +8 -0
@@ -210,6 +210,10 @@ }; }; + prictrl: priority-controller@14110 { + compatible = "ti,da850-mstpri"; + reg = <0x14110 0x0c>; + }; cfgchip: chip-controller@1417c { compatible = "ti,da830-cfgchip", "syscon", "simple-mfd"; reg = <0x1417c 0x14>;
@@ -451,4 +455,8 @@ 1 0 0x68000000 0x00008000>; status = "disabled"; }; + memctrl: memory-controller@b0000000 { + compatible = "ti,da850-ddr-controller"; + reg = <0xb0000000 0xe8>; + }; };
Signature · 1 line
2.9.3
Sekhar Nori
AppliedQuoted 4 lines · Bartosz Golaszewski
Add the nodes for the MSTPRI configuration and DDR2/mDDR memory controller drivers to
da850.dtsi.Signed-off-by Bartosz Golaszewski <[email protected]>
Applied to v4.10/dt
Thanks,
Sekhar
Quoted 17 lines · Bartosz Golaszewski
Add the nodes for the MSTPRI configuration and DDR2/mDDR memory controller drivers to
da850.dtsi.---
v1 -> v2:
- moved the priority controller node above the cfgchip node
- renamed added nodes to better reflect their purposearch/arm/boot/dts/da850.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+)arch/arm/boot/dts/da850.dtsi +0
-0
arch/arm/boot/dts/da850.dtsi line 215
Quoted 6 lines
arch/arm/boot/dts/da850.dtsi +3
-0@@ -210,6 +210,10 @@ }; }; + prictrl: priority-controller@14110 { + compatible = "ti,da850-mstpri"; + reg = <0x14110 0x0c>;
I think we should add status = "disabled"; here and let boards opt in.
arch/arm/boot/dts/da850.dtsi line 460
Quoted 11 lines
arch/arm/boot/dts/da850.dtsi +4
-0+ }; cfgchip: chip-controller@1417c { compatible = "ti,da830-cfgchip", "syscon", "simple-mfd"; reg = <0x1417c 0x14>;@@ -451,4 +455,8 @@ 1 0 0x68000000 0x00008000>; status = "disabled"; }; + memctrl: memory-controller@b0000000 { + compatible = "ti,da850-ddr-controller"; + reg = <0xb0000000 0xe8>;
same here. status = "disabled";
arch/arm/boot/dts/da850.dtsi line 462
Quoted 3 lines
arch/arm/boot/dts/da850.dtsi +1
-0+ }; };
--
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
2016-11-22 23:23 GMT+01:00 David Lechner <[email protected]>:
Quoted 29 lines · Bartosz Golaszewski
Quoted 18 lines
Add the nodes for the MSTPRI configuration and DDR2/mDDR memory controller drivers to
da850.dtsi.Signed-off-by Bartosz Golaszewski <[email protected]>---
v1 -> v2:
- moved the priority controller node above the cfgchip node
- renamed added nodes to better reflect their purposearch/arm/boot/dts/da850.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+)arch/arm/boot/dts/da850.dtsi +0
-0arch/arm/boot/dts/da850.dtsi line 215
Quoted 6 lines
arch/arm/boot/dts/da850.dtsi +3
-0@@ -210,6 +210,10 @@ }; }; + prictrl: priority-controller at 14110 { + compatible = "ti,da850-mstpri"; + reg = <0x14110 0x0c>;I think we should add status = "disabled"; here and let boards opt in.
Quoted 19 lines
arch/arm/boot/dts/da850.dtsi line 460
Quoted 12 lines
arch/arm/boot/dts/da850.dtsi +1
-0+ }; cfgchip: chip-controller at 1417c { compatible = "ti,da830-cfgchip", "syscon", "simple-mfd";reg = <0x1417c 0x14>;arch/arm/boot/dts/da850.dtsi +3
-0@@ -451,4 +455,8 @@ 1 0 0x68000000 0x00008000>; status = "disabled"; }; + memctrl: memory-controller at b0000000 { + compatible = "ti,da850-ddr-controller"; + reg = <0xb0000000 0xe8>;same here. status = "disabled";
Quoted 3 lines
arch/arm/boot/dts/da850.dtsi +1
-0+ }; };
Hi David,
I did that initially[1][2] and it was rejected by Kevin[3] and Laurent[4].
FYI this patch has already been queued by Sekhar.
Best regards,
Bartosz Golaszewski
[1] https://www.spinics.net/lists/arm-kernel/msg539638.html
[2] http://www.spinics.net/lists/devicetree/msg148575.html
[3] http://www.spinics.net/lists/devicetree/msg148667.html
[4] http://www.spinics.net/lists/devicetree/msg148655.html
Quoted 50 lines · Bartosz Golaszewski
2016-11-22 23:23 GMT+01:00 David Lechner <david-nq/r/kbU++upp/[email protected]>:
Quoted 29 lines · Bartosz Golaszewski
Quoted 18 lines
Add the nodes for the MSTPRI configuration and DDR2/mDDR memory controller drivers to
da850.dtsi.---
v1 -> v2:
- moved the priority controller node above the cfgchip node
- renamed added nodes to better reflect their purposearch/arm/boot/dts/da850.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+)arch/arm/boot/dts/da850.dtsi +0
-0arch/arm/boot/dts/da850.dtsi line 215
Quoted 6 lines
arch/arm/boot/dts/da850.dtsi +3
-0@@ -210,6 +210,10 @@ }; }; + prictrl: priority-controller@14110 { + compatible = "ti,da850-mstpri"; + reg = <0x14110 0x0c>;I think we should add status = "disabled"; here and let boards opt in.
Quoted 19 lines
arch/arm/boot/dts/da850.dtsi line 460
Quoted 12 lines
arch/arm/boot/dts/da850.dtsi +1
-0+ }; cfgchip: chip-controller@1417c { compatible = "ti,da830-cfgchip", "syscon", "simple-mfd";reg = <0x1417c 0x14>;arch/arm/boot/dts/da850.dtsi +3
-0@@ -451,4 +455,8 @@ 1 0 0x68000000 0x00008000>; status = "disabled"; }; + memctrl: memory-controller@b0000000 { + compatible = "ti,da850-ddr-controller"; + reg = <0xb0000000 0xe8>;same here. status = "disabled";
Quoted 3 lines
arch/arm/boot/dts/da850.dtsi +1
-0+ }; };
Quoted 5 lines
Hi David,
I did that initially[1][2] and it was rejected by Kevin[3] and Laurent[4].
FYI this patch has already been queued by Sekhar.
Thanks. I did not see those threads.
FYI to maintainers, having these enabled by default causes error messages in the kernel log for other boards that are not supported by the drivers. Since there is only one board that is supported and soon to be 2 that are not, I would rather have this disabled by default to avoid the error messages.
Quoted 9 lines
Best regards,
Bartosz Golaszewski[1] https://www.spinics.net/lists/arm-kernel/msg539638.html
[2] http://www.spinics.net/lists/devicetree/msg148575.html
[3] http://www.spinics.net/lists/devicetree/msg148667.html
[4] http://www.spinics.net/lists/devicetree/msg148655.html
--
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
Quoted 55 lines · David Lechner
Quoted 54 lines · Bartosz Golaszewski
2016-11-22 23:23 GMT+01:00 David Lechner <[email protected]>:
Quoted 29 lines · Bartosz Golaszewski
Quoted 18 lines
Add the nodes for the MSTPRI configuration and DDR2/mDDR memory controller drivers to
da850.dtsi.Signed-off-by Bartosz Golaszewski <[email protected]>---
v1 -> v2:
- moved the priority controller node above the cfgchip node
- renamed added nodes to better reflect their purposearch/arm/boot/dts/da850.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+)arch/arm/boot/dts/da850.dtsi +0
-0arch/arm/boot/dts/da850.dtsi line 215
Quoted 6 lines
arch/arm/boot/dts/da850.dtsi +3
-0@@ -210,6 +210,10 @@ }; }; + prictrl: priority-controller at 14110 { + compatible = "ti,da850-mstpri"; + reg = <0x14110 0x0c>;I think we should add status = "disabled"; here and let boards opt in.
Quoted 19 lines
arch/arm/boot/dts/da850.dtsi line 460
Quoted 12 lines
arch/arm/boot/dts/da850.dtsi +1
-0+ }; cfgchip: chip-controller at 1417c { compatible = "ti,da830-cfgchip", "syscon", "simple-mfd";reg = <0x1417c 0x14>;arch/arm/boot/dts/da850.dtsi +3
-0@@ -451,4 +455,8 @@ 1 0 0x68000000 0x00008000>; status = "disabled"; }; + memctrl: memory-controller at b0000000 { + compatible = "ti,da850-ddr-controller"; + reg = <0xb0000000 0xe8>;same here. status = "disabled";
Quoted 3 lines
arch/arm/boot/dts/da850.dtsi +1
-0+ }; };Hi David,
I did that initially[1][2] and it was rejected by Kevin[3] and Laurent[4].
Quoted 7 lines
Quoted 1 line
FYI this patch has already been queued by Sekhar.
Thanks. I did not see those threads.
FYI to maintainers, having these enabled by default causes error messages in the kernel log for other boards that are not supported by the drivers.
Then the driver is too noisy and should be cleaned up.
Quoted 3 lines
Since there is only one board that is supported and soon to be 2 that are not, I would rather have this disabled by default to avoid the error messages.
IMO, what exactly are the error messages? Sounds like the driver is being too verbose, and calling things errors that are not really errors.
Kevin
Quoted 65 lines · Kevin Hilman
Quoted 55 lines · David Lechner
Quoted 54 lines · Bartosz Golaszewski
2016-11-22 23:23 GMT+01:00 David Lechner <david-nq/r/kbU++upp/[email protected]>:
Quoted 29 lines · Bartosz Golaszewski
Quoted 18 lines
Add the nodes for the MSTPRI configuration and DDR2/mDDR memory controller drivers to
da850.dtsi.---
v1 -> v2:
- moved the priority controller node above the cfgchip node
- renamed added nodes to better reflect their purposearch/arm/boot/dts/da850.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+)arch/arm/boot/dts/da850.dtsi +0
-0arch/arm/boot/dts/da850.dtsi line 215
Quoted 6 lines
arch/arm/boot/dts/da850.dtsi +3
-0@@ -210,6 +210,10 @@ }; }; + prictrl: priority-controller@14110 { + compatible = "ti,da850-mstpri"; + reg = <0x14110 0x0c>;I think we should add status = "disabled"; here and let boards opt in.
Quoted 19 lines
arch/arm/boot/dts/da850.dtsi line 460
Quoted 12 lines
arch/arm/boot/dts/da850.dtsi +1
-0+ }; cfgchip: chip-controller@1417c { compatible = "ti,da830-cfgchip", "syscon", "simple-mfd";reg = <0x1417c 0x14>;arch/arm/boot/dts/da850.dtsi +3
-0@@ -451,4 +455,8 @@ 1 0 0x68000000 0x00008000>; status = "disabled"; }; + memctrl: memory-controller@b0000000 { + compatible = "ti,da850-ddr-controller"; + reg = <0xb0000000 0xe8>;same here. status = "disabled";
Quoted 3 lines
arch/arm/boot/dts/da850.dtsi +1
-0+ }; };Hi David,
I did that initially[1][2] and it was rejected by Kevin[3] and Laurent[4].
Quoted 7 lines
Quoted 1 line
FYI this patch has already been queued by Sekhar.
Thanks. I did not see those threads.
FYI to maintainers, having these enabled by default causes error messages in the kernel log for other boards that are not supported by the drivers.
Quoted 8 lines
Then the driver is too noisy and should be cleaned up.
Quoted 3 lines
Since there is only one board that is supported and soon to be 2 that are not, I would rather have this disabled by default to avoid the error messages.
IMO, what exactly are the error messages? Sounds like the driver is being too verbose, and calling things errors that are not really errors.
It is just one line per driver.
dev_err(dev, "no master priorities defined for this board\n");
and
dev_err(dev, "no settings defined for this board\n");
Since "ti,da850-lcdk" is the only board supported in these drivers, all other boards will see these error messages.
Also, these modules will be loaded and taking up memory on boards that don't use them. This not really a big deal and they can be explicitly disabled, so maybe it was not worth mentioning.
Quoted 3 lines
Kevin
--
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
Quoted 81 lines · David Lechner
Quoted 67 lines · Kevin Hilman
Quoted 57 lines · David Lechner
Quoted 56 lines · Bartosz Golaszewski
2016-11-22 23:23 GMT+01:00 David Lechner <david-nq/r/kbU++upp/[email protected]>:
Quoted 30 lines · Bartosz Golaszewski
Quoted 19 lines
Add the nodes for the MSTPRI configuration and DDR2/mDDR memory controller drivers to
da850.dtsi.---
v1 -> v2:
- moved the priority controller node above the cfgchip node
- renamed added nodes to better reflect their purposearch/arm/boot/dts/da850.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+)arch/arm/boot/dts/da850.dtsi +0
-0arch/arm/boot/dts/da850.dtsi line 215
Quoted 6 lines
arch/arm/boot/dts/da850.dtsi +3
-0@@ -210,6 +210,10 @@ }; }; + prictrl: priority-controller@14110 { + compatible = "ti,da850-mstpri"; + reg = <0x14110 0x0c>;I think we should add status = "disabled"; here and let boards opt in.
Quoted 19 lines
arch/arm/boot/dts/da850.dtsi line 460
Quoted 12 lines
arch/arm/boot/dts/da850.dtsi +1
-0+ }; cfgchip: chip-controller@1417c { compatible = "ti,da830-cfgchip", "syscon", "simple-mfd";reg = <0x1417c 0x14>;arch/arm/boot/dts/da850.dtsi +3
-0@@ -451,4 +455,8 @@ 1 0 0x68000000 0x00008000>; status = "disabled"; }; + memctrl: memory-controller@b0000000 { + compatible = "ti,da850-ddr-controller"; + reg = <0xb0000000 0xe8>;same here. status = "disabled";
Quoted 3 lines
arch/arm/boot/dts/da850.dtsi +1
-0+ }; };Hi David,
I did that initially[1][2] and it was rejected by Kevin[3] and Laurent[4].
Quoted 7 lines
Quoted 1 line
FYI this patch has already been queued by Sekhar.
Thanks. I did not see those threads.
FYI to maintainers, having these enabled by default causes error messages in the kernel log for other boards that are not supported by the drivers.
Quoted 8 lines
Then the driver is too noisy and should be cleaned up.
Quoted 3 lines
Since there is only one board that is supported and soon to be 2 that are not, I would rather have this disabled by default to avoid the error messages.
IMO, what exactly are the error messages? Sounds like the driver is being too verbose, and calling things errors that are not really errors.
It is just one line per driver.
dev_err(dev, "no master priorities defined for this board\n");
Quoted 7 lines
and
dev_err(dev, "no settings defined for this board\n");Since "ti,da850-lcdk" is the only board supported in these drivers, all other boards will see these error messages.
Thats pretty bad. Sorry about that. The original justification for keeping them enabled all the time was that they are in-SoC modules with no external dependencies (like IO lines or voltage rails) so they can be enabled on all boards that use DA850. While that remains true, the configuration itself is board specific.
I think the error messages are still useful, so instead of silencing them, I think we should go back to keeping these nodes disabled by default and enabling only on boards which have support for it in the driver.
Thanks,
Sekhar
--
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
2016-11-24 6:03 GMT+01:00 Sekhar Nori <[email protected]>:
Quoted 96 lines · David Lechner
Quoted 81 lines · Kevin Hilman
Quoted 67 lines
Quoted 57 lines · David Lechner
Quoted 56 lines · Bartosz Golaszewski
2016-11-22 23:23 GMT+01:00 David Lechner <david-nq/r/kbU++upp/[email protected]>:
Quoted 30 lines · Bartosz Golaszewski
Quoted 19 lines
Add the nodes for the MSTPRI configuration and DDR2/mDDR memory controller drivers to
da850.dtsi.---
v1 -> v2:
- moved the priority controller node above the cfgchip node
- renamed added nodes to better reflect their purposearch/arm/boot/dts/da850.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+)arch/arm/boot/dts/da850.dtsi +0
-0arch/arm/boot/dts/da850.dtsi line 215
Quoted 6 lines
arch/arm/boot/dts/da850.dtsi +3
-0@@ -210,6 +210,10 @@ }; }; + prictrl: priority-controller@14110 { + compatible = "ti,da850-mstpri"; + reg = <0x14110 0x0c>;I think we should add status = "disabled"; here and let boards opt in.
Quoted 19 lines
arch/arm/boot/dts/da850.dtsi line 460
Quoted 12 lines
arch/arm/boot/dts/da850.dtsi +1
-0+ }; cfgchip: chip-controller@1417c { compatible = "ti,da830-cfgchip", "syscon", "simple-mfd";reg = <0x1417c 0x14>;arch/arm/boot/dts/da850.dtsi +3
-0@@ -451,4 +455,8 @@ 1 0 0x68000000 0x00008000>; status = "disabled"; }; + memctrl: memory-controller@b0000000 { + compatible = "ti,da850-ddr-controller"; + reg = <0xb0000000 0xe8>;same here. status = "disabled";
Quoted 3 lines
arch/arm/boot/dts/da850.dtsi +1
-0+ }; };Hi David,
I did that initially[1][2] and it was rejected by Kevin[3] and Laurent[4].
Quoted 7 lines
Quoted 1 line
FYI this patch has already been queued by Sekhar.
Thanks. I did not see those threads.
FYI to maintainers, having these enabled by default causes error messages in the kernel log for other boards that are not supported by the drivers.
Quoted 8 lines
Then the driver is too noisy and should be cleaned up.
Quoted 3 lines
Since there is only one board that is supported and soon to be 2 that are not, I would rather have this disabled by default to avoid the error messages.
IMO, what exactly are the error messages? Sounds like the driver is being too verbose, and calling things errors that are not really errors.
It is just one line per driver.
dev_err(dev, "no master priorities defined for this board\n");Quoted 7 lines
and
dev_err(dev, "no settings defined for this board\n");Since "ti,da850-lcdk" is the only board supported in these drivers, all other boards will see these error messages.
Thats pretty bad. Sorry about that. The original justification for keeping them enabled all the time was that they are in-SoC modules with no external dependencies (like IO lines or voltage rails) so they can be enabled on all boards that use DA850. While that remains true, the configuration itself is board specific.
Quoted 6 lines
I think the error messages are still useful, so instead of silencing them, I think we should go back to keeping these nodes disabled by default and enabling only on boards which have support for it in the driver.
Thanks,
Sekhar
I'll send a patch.
Thanks,
Bartosz
--
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
Quoted 96 lines · Sekhar Nori
Quoted 81 lines · David Lechner
Quoted 67 lines · Kevin Hilman
Quoted 57 lines · David Lechner
Quoted 56 lines · Bartosz Golaszewski
2016-11-22 23:23 GMT+01:00 David Lechner <[email protected]>:
Quoted 30 lines · Bartosz Golaszewski
Quoted 19 lines
Add the nodes for the MSTPRI configuration and DDR2/mDDR memory controller drivers to
da850.dtsi.Signed-off-by Bartosz Golaszewski <[email protected]>---
v1 -> v2:
- moved the priority controller node above the cfgchip node
- renamed added nodes to better reflect their purposearch/arm/boot/dts/da850.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+)arch/arm/boot/dts/da850.dtsi +0
-0arch/arm/boot/dts/da850.dtsi line 215
Quoted 6 lines
arch/arm/boot/dts/da850.dtsi +3
-0@@ -210,6 +210,10 @@ }; }; + prictrl: priority-controller at 14110 { + compatible = "ti,da850-mstpri"; + reg = <0x14110 0x0c>;I think we should add status = "disabled"; here and let boards opt in.
Quoted 19 lines
arch/arm/boot/dts/da850.dtsi line 460
Quoted 12 lines
arch/arm/boot/dts/da850.dtsi +1
-0+ }; cfgchip: chip-controller at 1417c { compatible = "ti,da830-cfgchip", "syscon", "simple-mfd";reg = <0x1417c 0x14>;arch/arm/boot/dts/da850.dtsi +3
-0@@ -451,4 +455,8 @@ 1 0 0x68000000 0x00008000>; status = "disabled"; }; + memctrl: memory-controller at b0000000 { + compatible = "ti,da850-ddr-controller"; + reg = <0xb0000000 0xe8>;same here. status = "disabled";
Quoted 3 lines
arch/arm/boot/dts/da850.dtsi +1
-0+ }; };Hi David,
I did that initially[1][2] and it was rejected by Kevin[3] and Laurent[4].
Quoted 7 lines
Quoted 1 line
FYI this patch has already been queued by Sekhar.
Thanks. I did not see those threads.
FYI to maintainers, having these enabled by default causes error messages in the kernel log for other boards that are not supported by the drivers.
Quoted 8 lines
Then the driver is too noisy and should be cleaned up.
Quoted 3 lines
Since there is only one board that is supported and soon to be 2 that are not, I would rather have this disabled by default to avoid the error messages.
IMO, what exactly are the error messages? Sounds like the driver is being too verbose, and calling things errors that are not really errors.
It is just one line per driver.
dev_err(dev, "no master priorities defined for this board\n");Quoted 7 lines
and
dev_err(dev, "no settings defined for this board\n");Since "ti,da850-lcdk" is the only board supported in these drivers, all other boards will see these error messages.
Thats pretty bad. Sorry about that. The original justification for keeping them enabled all the time was that they are in-SoC modules with no external dependencies (like IO lines or voltage rails) so they can be enabled on all boards that use DA850. While that remains true, the configuration itself is board specific.
Quoted 3 lines
I think the error messages are still useful, so instead of silencing them, I think we should go back to keeping these nodes disabled by default and enabling only on boards which have support for it in the driver.
I don't have a strong preference for the enabled/disabled by default, but I think the error messages are not error messages. It seems perfectly reasonable for boards to accept the reset (or bootloader) configuration of these registers, and not consider that an error.
Kevin