]> www.infradead.org Git - users/jedix/linux-maple.git/commit
cpufreq: ti-cpufreq: Allow backward compatibility for efuse syscon
authorDhruva Gole <d-gole@ti.com>
Mon, 30 Sep 2024 09:32:09 +0000 (15:02 +0530)
committerViresh Kumar <viresh.kumar@linaro.org>
Thu, 10 Oct 2024 07:24:37 +0000 (12:54 +0530)
commit1724ae88efcbcd0daeb203ffeb4a2c0e59f2ddf7
treec926c4edc690d76cccd7185fdd74475ee1db19d4
parentea1829d4d413bc38774703acfc266472f7bc0bb5
cpufreq: ti-cpufreq: Allow backward compatibility for efuse syscon

The AM625 syscon for efuse was being taken earlier from the wkup_conf node
where the entire wkup_conf was marked as "syscon". This is wrong and will
be fixed in the devicetree. However, whenever that does happen will end up
breaking this driver for that device because of the change in efuse offset.

Hence, to avoid breaking any sort of backward compatibility of devicetrees
use a quirk to distinguish and accordingly use 0x0 offset for the new
syscon node.

Suggested-by: Nishanth Menon <nm@ti.com>
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