]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
cpufreq: ti-cpufreq: Remove revision offsets in AM62 family
authorDhruva Gole <d-gole@ti.com>
Mon, 30 Sep 2024 09:32:10 +0000 (15:02 +0530)
committerViresh Kumar <viresh.kumar@linaro.org>
Thu, 10 Oct 2024 07:24:42 +0000 (12:54 +0530)
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.

Signed-off-by: Dhruva Gole <d-gole@ti.com>
Reviewed-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
drivers/cpufreq/ti-cpufreq.c

index 7014cebb41e3490cadd14834e0c3e057419f2abb..5a5147277cd0ab03031926cd62f6ba61aea78512 100644 (file)
@@ -318,7 +318,6 @@ static struct ti_cpufreq_soc_data am625_soc_data = {
        .efuse_offset = 0x0018,
        .efuse_mask = 0x07c0,
        .efuse_shift = 0x6,
-       .rev_offset = 0x0014,
        .multi_regulator = false,
        .quirks = TI_QUIRK_SYSCON_IS_SINGLE_REG,
 };
@@ -328,7 +327,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,
 };
 
@@ -337,7 +335,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,
 };