Skip to contentSkip to conversation

ti: k3-am62{a,p}x-sk: add opp frequencies

PATCH Superseded Dhruva Gole 3 participants 11 messages Sep 19, 2024 – Oct 1, 2024

Subsystems (3)

v4 of 8 Superseded Latest is v8 →

lore
Share & tools
lore
#0 lore raw

v4 cover ti: k3-am62{a,p}x-sk: add opp frequencies

Hello everyone

This series adds in the OPPs for the Cortex-A53s on the AM62Ax and AM62Px SoC families along with the defining the WKUP_MMR0_WKUP0_CTRL_MMR0_JTAG_USER_ID which we can use to properly limit the OPPs available for that variant.

Moreover, it also adds a driver cleanup where we can finally get rid of the rev_offsets and zero the efuse_offsets as they are now taken from socinfo and DT efuse node register respectively. This series has been tested on all devices that it affects and has been confirmed to cause no known regressions.

Test logs:
https://gist.github.com/DhruvaG2000/63f5e28636d52787488f776e5bf39498

**NOTE:** Special attention needed on the driver patch 6/6. I have left a note for the maintainers there on how they would prefer to send it.

Changelog:
---

Changes in v4:
- Add 2 more patches to this series:
- Driver cleanup as described above.
- AM625 DT fixups
- Link to v3: https://lore.kernel.org/all/[email protected]/

Changes in v3:
- Miscellaneous spelling fixes in commit body
- Link to v2: https://lore.kernel.org/r/[email protected]

Changes in v2:
- Expanded on commit descriptions
- Split board file and SoC fdt changes into different patches
- Link to v1: https://lore.kernel.org/r/[email protected]

---

Bryan Brattlof (4):
arm64: dts: ti: k3-am62a: add opp frequencies
arm64: dts: ti: k3-am62a7-sk: add 1.4ghz opp entry
arm64: dts: ti: k3-am62p: add opp frequencies
arm64: dts: ti: k3-am62p5-sk: add 1.4ghz opp entry

Dhruva Gole (2):
arm64: dts: ti: k3-am62: use opp_efuse_table for opp-table syscon
cpufreq: ti-cpufreq: Update efuse/rev offsets in AM62 family

 arch/arm64/boot/dts/ti/k3-am62-wakeup.dtsi    |  7 ++-
 arch/arm64/boot/dts/ti/k3-am625.dtsi          |  2 +-
 arch/arm64/boot/dts/ti/k3-am62a-wakeup.dtsi   |  5 ++
 arch/arm64/boot/dts/ti/k3-am62a7-sk.dts       |  9 ++++
 arch/arm64/boot/dts/ti/k3-am62a7.dtsi         | 51 +++++++++++++++++++
 .../dts/ti/k3-am62p-j722s-common-wakeup.dtsi  |  5 ++
 arch/arm64/boot/dts/ti/k3-am62p5-sk.dts       |  9 ++++
 arch/arm64/boot/dts/ti/k3-am62p5.dtsi         | 47 +++++++++++++++++
 drivers/cpufreq/ti-cpufreq.c                  |  5 +-
 9 files changed, 134 insertions(+), 6 deletions(-)

base-commit: 55bcd2e0d04c1171d382badef1def1fd04ef66c5

Signature · 1 line
2.34.1
#1 lore raw

PATCH v4 1/6 arm64: dts: ti: k3-am62a: add opp frequencies

From: Bryan Brattlof <[email protected]>

One power management technique available to the Cortex-A53s is their ability to dynamically scale their frequency across the device's Operating Performance Points (OPP)

The OPPs available for the Cortex-A53s on the AM62Ax can vary based on the silicon variant used. The SoC variant is encoded into the WKUP_MMR0_WKUP0_CTRL_MMR0_JTAG_USER_ID register which is used to limit to only OPP entries the variant supports. A table of all these variants can be found in it's data sheet[0] for the AM62Ax family.

Add the OPP table into the SoC's fdti file along with the syscon node to describe the WKUP_MMR0_WKUP0_CTRL_MMR0_JTAG_USER_ID register to detect the SoC variant.

[0] https://www.ti.com/lit/ds/symlink/am62a3.pdf

---

Link to comment on previous rev:
https://lore.kernel.org/all/20240828131601.6sxvnwpcsb36tz4m@eloquent/

Nishanth, this series has been tested to work on all platforms [1]. I hope that with the revision picking from socinfo and the efuse_offsets being picked from DT (as they should) there are no longer any major outstanding concerns on this series?

[1] https://gist.github.com/DhruvaG2000/63f5e28636d52787488f776e5bf39498

---
 arch/arm64/boot/dts/ti/k3-am62a-wakeup.dtsi |  5 ++
 arch/arm64/boot/dts/ti/k3-am62a7.dtsi       | 51 +++++++++++++++++++++
 2 files changed, 56 insertions(+)
arch/arm64/boot/dts/ti/k3-am62a-wakeup.dtsi +5 -0
index f5ac101a04df..0b1dd5390cd3 100644
@@ -17,6 +17,11 @@ chipid: chipid@14 {
 			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>;
arch/arm64/boot/dts/ti/k3-am62a7.dtsi +51 -0

75 lines not on this page · raw message

Signature · 1 line
2.34.1
#2 lore raw

PATCH v4 2/6 arm64: dts: ti: k3-am62a7-sk: add 1.4ghz opp entry

In reply to Dhruva Gole

From: Bryan Brattlof <[email protected]>

The AM62Ax reference board is capable of supplying 0v85 to the VDD_CORE which allows the Cortex-A53s to operate at 1.4GHz according to chapter 7.5 of the SoC's data sheet[0]. Append the 1.4Ghz entry to the OPP table to enable this OPP

[0] https://www.ti.com/lit/ds/symlink/am62a3.pdf

---
 arch/arm64/boot/dts/ti/k3-am62a7-sk.dts | 9 +++++++++
 1 file changed, 9 insertions(+)
arch/arm64/boot/dts/ti/k3-am62a7-sk.dts +9 -0
index 67faf46d7a35..a6f0d87a50d8 100644
@@ -68,6 +68,15 @@ wkup_r5fss0_core0_memory_region: r5f-dma-memory@9c900000 {
 		};
 	};
 
+	opp-table {
+		/* Requires VDD_CORE at 0v85 */
+		opp-1400000000 {
+			opp-hz = /bits/ 64 <1400000000>;
+			opp-supported-hw = <0x01 0x0004>;
+			clock-latency-ns = <6000000>;
+		};
+	};
+
 	vmain_pd: regulator-0 {
 		/* TPS25750 PD CONTROLLER OUTPUT */
 		compatible = "regulator-fixed";
Signature · 1 line
2.34.1
#4 lore raw

PATCH v4 4/6 arm64: dts: ti: k3-am62p5-sk: add 1.4ghz opp entry

In reply to Dhruva Gole

From: Bryan Brattlof <[email protected]>

The AM62Px reference board is capable of supplying 0v85 to the VDD_CORE which allows the Cortex-A53s to operate at 1.4GHz according to chapter 6.6 of the SoC's data sheet[0] . Append the 1.4Ghz entry to the OPP table to enable this frequency

[0] https://www.ti.com/lit/ds/symlink/am62p-q1.pdf

---
 arch/arm64/boot/dts/ti/k3-am62p5-sk.dts | 9 +++++++++
 1 file changed, 9 insertions(+)
arch/arm64/boot/dts/ti/k3-am62p5-sk.dts +9 -0
index 3efa12bb7254..7f3dc39e12bc 100644
@@ -128,6 +128,15 @@ led-0 {
 		};
 	};
 
+	opp-table {
+		/* Requires VDD_CORE at 0v85 */
+		opp-1400000000 {
+			opp-hz = /bits/ 64 <1400000000>;
+			opp-supported-hw = <0x01 0x0004>;
+			clock-latency-ns = <6000000>;
+		};
+	};
+
 	tlv320_mclk: clk-0 {
 		#clock-cells = <0>;
 		compatible = "fixed-clock";
Signature · 1 line
2.34.1
#5 lore raw

PATCH v4 5/6 arm64: dts: ti: k3-am62: use opp_efuse_table for opp-table syscon

In reply to Dhruva Gole

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.

---

**DEPENDS ON:** PATCH 6/6: cpufreq: ti-cpufreq: Update the efuse/rev offsets

Link to v1: https://lore.kernel.org/all/[email protected]/
No changes, just combined it as part of Bryan's AM62A and AM62P series and sending it all together.

---
 arch/arm64/boot/dts/ti/k3-am62-wakeup.dtsi | 7 ++++++-
 arch/arm64/boot/dts/ti/k3-am625.dtsi       | 2 +-
 2 files changed, 7 insertions(+), 2 deletions(-)
arch/arm64/boot/dts/ti/k3-am62-wakeup.dtsi +6 -1
index e0afafd532a5..b2b65e31c7cf 100644
@@ -10,7 +10,7 @@
 &cbass_wakeup {
 	wkup_conf: syscon@43000000 {
 		bootph-all;
-		compatible = "syscon", "simple-mfd";
+		compatible = "simple-bus";
 		reg = <0x00 0x43000000 0x00 0x20000>;
 		#address-cells = <1>;
 		#size-cells = <1>;
@@ -22,6 +22,11 @@ chipid: chipid@14 {
 			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>;
arch/arm64/boot/dts/ti/k3-am625.dtsi +1 -1
index c3d1db47dc9f..c249883a8a8d 100644
@@ -108,7 +108,7 @@ cpu3: cpu@3 {
 	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>;
Signature · 1 line
2.34.1
#3 lore raw

PATCH v4 3/6 arm64: dts: ti: k3-am62p: add opp frequencies

In reply to Dhruva Gole

From: Bryan Brattlof <[email protected]>

One power management technique available to the Cortex-A53s is their ability to dynamically scale their frequency across the device's Operating Performance Points (OPP)

The OPPs available for the Cortex-A53s on the AM62Px can vary based on the silicon variant used. The SoC variant is encoded into the WKUP_MMR0_WKUP0_CTRL_MMR0_JTAG_USER_ID register which is used to limit the OPP entries the SoC supports. A table of all these variants can be found in its data sheet[0] for the AM62Px processor family.

Add the OPP table into the SoC's fdti file along with the syscon node to describe the WKUP_MMR0_WKUP0_CTRL_MMR0_JTAG_USER_ID register to detect the SoC variant.

[0] https://www.ti.com/lit/ds/symlink/am62p-q1.pdf

---
 .../dts/ti/k3-am62p-j722s-common-wakeup.dtsi  |  5 ++
 arch/arm64/boot/dts/ti/k3-am62p5.dtsi         | 47 +++++++++++++++++++
 2 files changed, 52 insertions(+)
arch/arm64/boot/dts/ti/k3-am62p-j722s-common-wakeup.dtsi +5 -0
index 315d0092e736..6f32135f00a5 100644
@@ -20,6 +20,11 @@ chipid: chipid@14 {
 			bootph-all;
 		};
 
+		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>;
arch/arm64/boot/dts/ti/k3-am62p5.dtsi +47 -0

75 lines not on this page · raw message

Signature · 1 line
2.34.1
#8 lore raw

PATCH v4 6/6 cpufreq: ti-cpufreq: Update efuse/rev offsets in AM62 family

In reply to Dhruva Gole

With the Silicon revision being taken directly from socinfo, there's no longer any need for reading any SOC register for revision from this driver. Hence, we do not require any rev_offset for AM62 family of devices. The efuse offset should be 0x0 for AM625 as well, as the syscon register being used from DT refers to the efuse_offset directly.

---

Viresh, Nishanth, Vignesh,

This driver fix is better to go with PATCH 5/6.

Subject: [PATCH V4 5/6] arm64: dts: ti: k3-am62: use opp_efuse_table for
opp-table syscon

That patch fixes the efuse offset in the AM625 DT.
Without it, the driver will read from an incorrect efuse offset, and end up breaking things in -next till all the DT changes make it in. Hence, it would be preferrable if this entire series goes via a single maintainer's tree.
Viresh, perhaps if you can ack this single patch, then Vignesh/Nishanth could take it up if there are no objections?

I am sorry that this break compatibility with older AM625 devicetree. However, the old devicetree was marking the entire wkup_conf as "syscon", "simple-mfd" which was wrong and needed to be fixed.

This series finally tries to bring order to DT and the driver.

However, if there is still any way to maintain the backward compatibility, then I am open to suggestions. Please try
and understand here that the ask for backward compatibility here is to ask the driver to support a case where the register offset itself was to be picked from a different node. I am not sure there's any clean way to do this.

---
 drivers/cpufreq/ti-cpufreq.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
drivers/cpufreq/ti-cpufreq.c +1 -4
index ba621ce1cdda..870ab0b376c1 100644
@@ -313,10 +313,9 @@ static const struct soc_device_attribute k3_cpufreq_soc[] = {
 
 static struct ti_cpufreq_soc_data am625_soc_data = {
 	.efuse_xlate = am625_efuse_xlate,
-	.efuse_offset = 0x0018,
+	.efuse_offset = 0x0,
 	.efuse_mask = 0x07c0,
 	.efuse_shift = 0x6,
-	.rev_offset = 0x0014,
 	.multi_regulator = false,
 };
 
@@ -325,7 +324,6 @@ static struct ti_cpufreq_soc_data am62a7_soc_data = {
 	.efuse_offset = 0x0,
 	.efuse_mask = 0x07c0,
 	.efuse_shift = 0x6,
-	.rev_offset = 0x0014,
 	.multi_regulator = false,
 };
 
@@ -334,7 +332,6 @@ static struct ti_cpufreq_soc_data am62p5_soc_data = {
 	.efuse_offset = 0x0,
 	.efuse_mask = 0x07c0,
 	.efuse_shift = 0x6,
-	.rev_offset = 0x0014,
 	.multi_regulator = false,
 };
 
Signature · 1 line
2.34.1
#6 lore raw

Re: [PATCH V4 5/6] arm64: dts: ti: k3-am62: use opp_efuse_table for opp-table syscon

In reply to Dhruva Gole
Quoted 26 lines · Dhruva Gole

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.

---

**DEPENDS ON:** PATCH 6/6: cpufreq: ti-cpufreq: Update the efuse/rev offsets

Link to v1: https://lore.kernel.org/all/[email protected]/
No changes, just combined it as part of Bryan's AM62A and AM62P series and sending it all together.

---
  arch/arm64/boot/dts/ti/k3-am62-wakeup.dtsi | 7 ++++++-
  arch/arm64/boot/dts/ti/k3-am625.dtsi       | 2 +-
  2 files changed, 7 insertions(+), 2 deletions(-)
arch/arm64/boot/dts/ti/k3-am62-wakeup.dtsi +0 -0
index e0afafd532a5..b2b65e31c7cf 100644

arch/arm64/boot/dts/ti/k3-am62-wakeup.dtsi line 13

Quoted 5 lines
arch/arm64/boot/dts/ti/k3-am62-wakeup.dtsi +1 -1
@@ -10,7 +10,7 @@
  &cbass_wakeup {
  	wkup_conf: syscon@43000000 {
  		bootph-all;
-		compatible = "syscon", "simple-mfd";
+		compatible = "simple-bus";

This can be done in a separate patch after this one. You'll also want to change the syscon@43000000 to bus@43000000, and drop the "reg = <>;" line at the same time.

Andrew

Quoted 28 lines
arch/arm64/boot/dts/ti/k3-am62-wakeup.dtsi +5 -0
  		reg = <0x00 0x43000000 0x00 0x20000>;
  		#address-cells = <1>;
  		#size-cells = <1>;
@@ -22,6 +22,11 @@ chipid: chipid@14 {
  			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>;
arch/arm64/boot/dts/ti/k3-am625.dtsi +1 -1
index c3d1db47dc9f..c249883a8a8d 100644
@@ -108,7 +108,7 @@ cpu3: cpu@3 {
  	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>;
#7 lore raw

Re: [PATCH V4 5/6] arm64: dts: ti: k3-am62: use opp_efuse_table for opp-table syscon

Quoted 37 lines · Andrew Davis
Quoted 26 lines · Dhruva Gole

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.

---

**DEPENDS ON:** PATCH 6/6: cpufreq: ti-cpufreq: Update the efuse/rev offsets

Link to v1: https://lore.kernel.org/all/[email protected]/
No changes, just combined it as part of Bryan's AM62A and AM62P series and sending it all together.

---
  arch/arm64/boot/dts/ti/k3-am62-wakeup.dtsi | 7 ++++++-
  arch/arm64/boot/dts/ti/k3-am625.dtsi       | 2 +-
  2 files changed, 7 insertions(+), 2 deletions(-)
arch/arm64/boot/dts/ti/k3-am62-wakeup.dtsi +0 -0
index e0afafd532a5..b2b65e31c7cf 100644

arch/arm64/boot/dts/ti/k3-am62-wakeup.dtsi line 13

Quoted 5 lines
arch/arm64/boot/dts/ti/k3-am62-wakeup.dtsi +1 -1
@@ -10,7 +10,7 @@
  &cbass_wakeup {
  	wkup_conf: syscon@43000000 {
  		bootph-all;
-		compatible = "syscon", "simple-mfd";
+		compatible = "simple-bus";

This can be done in a separate patch after this one. You'll also want to change the syscon@43000000 to bus@43000000, and drop the "reg = <>;" line at the same time.

Quoted 2 lines

Andrew

Sure Andrew, thanks for pointing this out. I will do this in a separate patch.

Signature · 3 lines
Best regards,
Dhruva Gole
Texas Instruments Incorporated
maintainer Acked-by on v4 6/6
#9 lore raw

Re: [PATCH V4 6/6] cpufreq: ti-cpufreq: Update efuse/rev offsets in AM62 family

In reply to Dhruva Gole
Quoted 66 lines · Dhruva Gole

With the Silicon revision being taken directly from socinfo, there's no longer any need for reading any SOC register for revision from this driver. Hence, we do not require any rev_offset for AM62 family of devices. The efuse offset should be 0x0 for AM625 as well, as the syscon register being used from DT refers to the efuse_offset directly.

---

Viresh, Nishanth, Vignesh,

This driver fix is better to go with PATCH 5/6.

Subject: [PATCH V4 5/6] arm64: dts: ti: k3-am62: use opp_efuse_table for
opp-table syscon

That patch fixes the efuse offset in the AM625 DT.
Without it, the driver will read from an incorrect efuse offset, and end up breaking things in -next till all the DT changes make it in. Hence, it would be preferrable if this entire series goes via a single maintainer's tree.
Viresh, perhaps if you can ack this single patch, then Vignesh/Nishanth could take it up if there are no objections?

I am sorry that this break compatibility with older AM625 devicetree. However, the old devicetree was marking the entire wkup_conf as "syscon", "simple-mfd" which was wrong and needed to be fixed.

This series finally tries to bring order to DT and the driver.

However, if there is still any way to maintain the backward compatibility, then I am open to suggestions. Please try
and understand here that the ask for backward compatibility here is to ask the driver to support a case where the register offset itself was to be picked from a different node. I am not sure there's any clean way to do this.

---
 drivers/cpufreq/ti-cpufreq.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
drivers/cpufreq/ti-cpufreq.c +1 -3
index ba621ce1cdda..870ab0b376c1 100644
@@ -313,10 +313,9 @@ static const struct soc_device_attribute k3_cpufreq_soc[] = {
 
 static struct ti_cpufreq_soc_data am625_soc_data = {
 	.efuse_xlate = am625_efuse_xlate,
-	.efuse_offset = 0x0018,
+	.efuse_offset = 0x0,
 	.efuse_mask = 0x07c0,
 	.efuse_shift = 0x6,
-	.rev_offset = 0x0014,
 	.multi_regulator = false,
 };
 
@@ -325,7 +324,6 @@ static struct ti_cpufreq_soc_data am62a7_soc_data = {
 	.efuse_offset = 0x0,
 	.efuse_mask = 0x07c0,
 	.efuse_shift = 0x6,
-	.rev_offset = 0x0014,
 	.multi_regulator = false,
 };
 

drivers/cpufreq/ti-cpufreq.c static struct ti_cpufreq_soc_data am62p5_soc_data = { · line 336

Quoted 6 lines
drivers/cpufreq/ti-cpufreq.c +0 -1
@@ -334,7 +332,6 @@ static struct ti_cpufreq_soc_data am62p5_soc_data = {
 	.efuse_offset = 0x0,
 	.efuse_mask = 0x07c0,
 	.efuse_shift = 0x6,
-	.rev_offset = 0x0014,
 	.multi_regulator = false,
 };
Signature · 1 line
viresh
#10 lore raw

Re: [PATCH V4 6/6] cpufreq: ti-cpufreq: Update efuse/rev offsets in AM62 family

Quoted 66 lines · Viresh Kumar
Quoted 65 lines · Dhruva Gole

With the Silicon revision being taken directly from socinfo, there's no longer any need for reading any SOC register for revision from this driver. Hence, we do not require any rev_offset for AM62 family of devices. The efuse offset should be 0x0 for AM625 as well, as the syscon register being used from DT refers to the efuse_offset directly.

---

Viresh, Nishanth, Vignesh,

This driver fix is better to go with PATCH 5/6.

Subject: [PATCH V4 5/6] arm64: dts: ti: k3-am62: use opp_efuse_table for
opp-table syscon

That patch fixes the efuse offset in the AM625 DT.
Without it, the driver will read from an incorrect efuse offset, and end up breaking things in -next till all the DT changes make it in. Hence, it would be preferrable if this entire series goes via a single maintainer's tree.
Viresh, perhaps if you can ack this single patch, then Vignesh/Nishanth could take it up if there are no objections?

I am sorry that this break compatibility with older AM625 devicetree. However, the old devicetree was marking the entire wkup_conf as "syscon", "simple-mfd" which was wrong and needed to be fixed.

This series finally tries to bring order to DT and the driver.

However, if there is still any way to maintain the backward compatibility, then I am open to suggestions. Please try
and understand here that the ask for backward compatibility here is to ask the driver to support a case where the register offset itself was to be picked from a different node. I am not sure there's any clean way to do this.

---
 drivers/cpufreq/ti-cpufreq.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
drivers/cpufreq/ti-cpufreq.c +1 -3
index ba621ce1cdda..870ab0b376c1 100644
@@ -313,10 +313,9 @@ static const struct soc_device_attribute k3_cpufreq_soc[] = {
 
 static struct ti_cpufreq_soc_data am625_soc_data = {
 	.efuse_xlate = am625_efuse_xlate,
-	.efuse_offset = 0x0018,
+	.efuse_offset = 0x0,
 	.efuse_mask = 0x07c0,
 	.efuse_shift = 0x6,
-	.rev_offset = 0x0014,
 	.multi_regulator = false,
 };
 
@@ -325,7 +324,6 @@ static struct ti_cpufreq_soc_data am62a7_soc_data = {
 	.efuse_offset = 0x0,
 	.efuse_mask = 0x07c0,
 	.efuse_shift = 0x6,
-	.rev_offset = 0x0014,
 	.multi_regulator = false,
 };
 
Quoted 9 lines

drivers/cpufreq/ti-cpufreq.c static struct ti_cpufreq_soc_data am62p5_soc_data = { · line 336

Quoted 7 lines
drivers/cpufreq/ti-cpufreq.c +0 -1
@@ -334,7 +332,6 @@ static struct ti_cpufreq_soc_data am62p5_soc_data = {
 	.efuse_offset = 0x0,
 	.efuse_mask = 0x07c0,
 	.efuse_shift = 0x6,
-	.rev_offset = 0x0014,
 	.multi_regulator = false,
 };

Really sorry for any confusion here, but this series has been overall split up and posted afresh here:
https://lore.kernel.org/all/[email protected]/

This was done to avoid breaking any backward compatibility issues with older DTs in a clean way.

Signature · 3 lines
Best regards,
Dhruva Gole
Texas Instruments Incorporated