arm64: dts: ti: k3-j721e-mcu-wakeup: Modified fss compatible to syscon and simple-mfd
Subsystems (2)
PATCH 1/1 arm64: dts: ti: k3-j721e-mcu-wakeup: Modified fss compatible to syscon and simple-mfd
The FSS node also contains the Hyperflash controller. Support will be added in future. Change the compatible to syscon to accommodate that.
--- arch/arm64/boot/dts/ti/k3-j721e-mcu-wakeup.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm64/boot/dts/ti/k3-j721e-mcu-wakeup.dtsi +2 -2
@@ -169,8 +169,8 @@ power-domains = <&k3_pds 197 TI_SCI_PD_SHARED>; }; - fss: fss@47000000 { - compatible = "simple-bus"; + fss: syscon@47000000 { + compatible = "syscon","simple-mfd"; reg = <0x0 0x47000000 0x0 0x100>; #address-cells = <2>; #size-cells = <2>;
Signature · 1 line
2.20.1
Quoted 14 lines · Bhavya Kapoor
The FSS node also contains the Hyperflash controller. Support will be added in future. Change the compatible to syscon to accommodate that.
Signed-off-by Bhavya Kapoor <[email protected]>--- arch/arm64/boot/dts/ti/k3-j721e-mcu-wakeup.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)arch/arm64/boot/dts/ti/k3-j721e-mcu-wakeup.dtsi +0
-0
arch/arm64/boot/dts/ti/k3-j721e-mcu-wakeup.dtsi line 173
Quoted 7 lines
arch/arm64/boot/dts/ti/k3-j721e-mcu-wakeup.dtsi +2
-2@@ -169,8 +169,8 @@ power-domains = <&k3_pds 197 TI_SCI_PD_SHARED>; }; - fss: fss@47000000 { - compatible = "simple-bus"; + fss: syscon@47000000 { + compatible = "syscon","simple-mfd";
1. Missing space after ,.
2. How does it work now? You expose syscon on this device node with 0x47000000 and the same time have a child device on same address range. This looks racy and inconsistent.
3. This stops looking like simple-bus or simple-mfd:
https://lore.kernel.org/linux-devicetree/[email protected]/
4. syscon and simple-mfd are not allowed on their own
https://lore.kernel.org/all/[email protected]/
Best regards,
Krzysztof