]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: ti: k3-am62: use opp_efuse_table for opp-table syscon
authorDhruva Gole <d-gole@ti.com>
Mon, 4 Nov 2024 06:37:08 +0000 (12:07 +0530)
committerVignesh Raghavendra <vigneshr@ti.com>
Mon, 4 Nov 2024 13:26:35 +0000 (18:56 +0530)
Add another entry in the wkup_conf for the syscon node, and then use
that for the syscon in opp-table.

Marking entire wkup_conf as "syscon", "simple-mfd" is wrong and needs to
be addressed similar to how other child-nodes in wkup_conf are implemented
in the same file.

Signed-off-by: Dhruva Gole <d-gole@ti.com>
Link: https://lore.kernel.org/r/20241104063707.3604302-1-d-gole@ti.com
Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
arch/arm64/boot/dts/ti/k3-am62-wakeup.dtsi
arch/arm64/boot/dts/ti/k3-am625.dtsi

index e0afafd532a5c63f29ca0dabc541ffa22dde609b..9b8a1f85aa15cab3453cc9bce619e3441b3f8926 100644 (file)
@@ -8,9 +8,9 @@
 #include <dt-bindings/bus/ti-sysc.h>
 
 &cbass_wakeup {
-       wkup_conf: syscon@43000000 {
+       wkup_conf: bus@43000000 {
                bootph-all;
-               compatible = "syscon", "simple-mfd";
+               compatible = "simple-bus";
                reg = <0x00 0x43000000 0x00 0x20000>;
                #address-cells = <1>;
                #size-cells = <1>;
                        reg = <0x14 0x4>;
                };
 
+               opp_efuse_table: syscon@18 {
+                       compatible = "ti,am62-opp-efuse-table", "syscon";
+                       reg = <0x18 0x4>;
+               };
+
                cpsw_mac_syscon: ethernet-mac-syscon@200 {
                        compatible = "ti,am62p-cpsw-mac-efuse", "syscon";
                        reg = <0x200 0x8>;
index c3d1db47dc9f351d217721c0b9e46a0c68995838..c249883a8a8d846aa21092c4c341fd443cfcec15 100644 (file)
        a53_opp_table: opp-table {
                compatible = "operating-points-v2-ti-cpu";
                opp-shared;
-               syscon = <&wkup_conf>;
+               syscon = <&opp_efuse_table>;
 
                opp-200000000 {
                        opp-hz = /bits/ 64 <200000000>;