Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

arm64: dts: ti: k3-am62: use opp_efuse_table for opp-table syscon

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>

authored by

Dhruva Gole and committed by
Vignesh Raghavendra
767b6a0d 50f5ad2c

+8 -3
+7 -2
arch/arm64/boot/dts/ti/k3-am62-wakeup.dtsi
··· 8 8 #include <dt-bindings/bus/ti-sysc.h> 9 9 10 10 &cbass_wakeup { 11 - wkup_conf: syscon@43000000 { 11 + wkup_conf: bus@43000000 { 12 12 bootph-all; 13 - compatible = "syscon", "simple-mfd"; 13 + compatible = "simple-bus"; 14 14 reg = <0x00 0x43000000 0x00 0x20000>; 15 15 #address-cells = <1>; 16 16 #size-cells = <1>; ··· 20 20 bootph-all; 21 21 compatible = "ti,am654-chipid"; 22 22 reg = <0x14 0x4>; 23 + }; 24 + 25 + opp_efuse_table: syscon@18 { 26 + compatible = "ti,am62-opp-efuse-table", "syscon"; 27 + reg = <0x18 0x4>; 23 28 }; 24 29 25 30 cpsw_mac_syscon: ethernet-mac-syscon@200 {
+1 -1
arch/arm64/boot/dts/ti/k3-am625.dtsi
··· 108 108 a53_opp_table: opp-table { 109 109 compatible = "operating-points-v2-ti-cpu"; 110 110 opp-shared; 111 - syscon = <&wkup_conf>; 111 + syscon = <&opp_efuse_table>; 112 112 113 113 opp-200000000 { 114 114 opp-hz = /bits/ 64 <200000000>;