From: Dhruva Gole Date: Mon, 30 Sep 2024 09:32:10 +0000 (+0530) Subject: cpufreq: ti-cpufreq: Remove revision offsets in AM62 family X-Git-Tag: v6.13-rc1~107^2~1^2~15 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=41baf662a0c2cfab90d968c122f76aaeda433027;p=thirdparty%2Flinux.git cpufreq: ti-cpufreq: Remove revision offsets in AM62 family 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 Reviewed-by: Nishanth Menon Signed-off-by: Viresh Kumar --- diff --git a/drivers/cpufreq/ti-cpufreq.c b/drivers/cpufreq/ti-cpufreq.c index 7014cebb41e34..5a5147277cd0a 100644 --- a/drivers/cpufreq/ti-cpufreq.c +++ b/drivers/cpufreq/ti-cpufreq.c @@ -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, };