arm64: dts: ti: k3-j7200: Make MAIN domain system control bus a simple-bus
Subsystems (2)
PATCH 2/2 arm64: dts: ti: k3-j721s2: Make MAIN domain system control bus a simple-bus
In reply to Andrew DavisThis node describes a memory address range containing several sub-regions with control registers for various IP in the MAIN domain of this SoC. It was described as a "ti,j721e-system-controller" but this is a J721S2 SoC with is not compatible with the system controller region found in J721e.
No project consuming this DT has been found that makes use of the syscon compatible for this region, to prevent any from using this node like a generic syscon region in the future, make this a normal simple-bus as it should have been from the start.
--- arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)
arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi +2 -3
@@ -37,9 +37,8 @@ l3cache-sram@200000 { }; }; - scm_conf: syscon@104000 { - compatible = "ti,j721e-system-controller", "syscon", "simple-mfd"; - reg = <0x00 0x00104000 0x00 0x18000>; + scm_conf: bus@104000 { + compatible = "simple-bus"; #address-cells = <1>; #size-cells = <1>; ranges = <0x00 0x00 0x00104000 0x18000>;
Signature · 1 line
2.39.2
PATCH 1/2 arm64: dts: ti: k3-j7200: Make MAIN domain system control bus a simple-bus
This node describes a memory address range containing several sub-regions with control registers for various IP in the MAIN domain of this SoC. It was described as a "ti,j721e-system-controller" but this is a J7200 SoC with is not compatible with the system controller region found in J721e.
No project consuming this DT has been found that makes use of the syscon compatible for this region, to prevent any from using this node like a generic syscon region in the future, make this a normal simple-bus as it should have been from the start.
--- arch/arm64/boot/dts/ti/k3-j7200-main.dtsi | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)
arch/arm64/boot/dts/ti/k3-j7200-main.dtsi +2 -3
@@ -25,9 +25,8 @@ atf-sram@0 { }; }; - scm_conf: scm-conf@100000 { - compatible = "ti,j721e-system-controller", "syscon", "simple-mfd"; - reg = <0x00 0x00100000 0x00 0x1c000>; + scm_conf: bus@100000 { + compatible = "simple-bus"; #address-cells = <1>; #size-cells = <1>; ranges = <0x00 0x00 0x00100000 0x1c000>;
Signature · 1 line
2.39.2
Quoted 9 lines · Andrew Davis
This node describes a memory address range containing several sub-regions with control registers for various IP in the MAIN domain of this SoC. It was described as a "ti,j721e-system-controller" but this is a J7200 SoC with is not compatible with the system controller region found in J721e.
No project consuming this DT has been found that makes use of the syscon compatible for this region, to prevent any from using this node like a generic syscon region in the future, make this a normal simple-bus as it should have been from the start.
So that's v2. You should mark the patch correctly and provide the changelog, even if you do not keep original authorship.
Best regards,
Krzysztof
Hi Andrew Davis,
Quoted 1 line · Andrew Davis
arm64: dts: ti: k3-j7200: Make MAIN domain system control bus a simple-bus
I have applied the following to branch ti-k3-dts-next on [1]. Thank you!
[1/2] arm64: dts: ti: k3-j7200: Make MAIN domain system control bus a simple-bus
commit: 830e0b0e15ee3d676539346b019f97f9bfae16b5
[2/2] arm64: dts: ti: k3-j721s2: Make MAIN domain system control bus a simple-bus
commit: af704cad18c0e973c758f41c9337411168de3681All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent up the chain during the next merge window (or sooner if it is a relevant bug fix), however if problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying to this mail.
[1] https://git.kernel.org/pub/scm/linux/kernel/git/ti/linux.git
--
Vignesh