OSDN Git Service

cpufreq: armada-8k: add ap807 support
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Fri, 16 Jun 2023 11:41:30 +0000 (12:41 +0100)
committerViresh Kumar <viresh.kumar@linaro.org>
Mon, 19 Jun 2023 04:20:31 +0000 (09:50 +0530)
commit8eec6e740b564ec5e1da59ab7070b89aa23c9973
treed6282179462d5ce33c7b0b7f0129a29c696aea44
parent3b062a086984d35a3c6d3a1c7841d0aa73aa76af
cpufreq: armada-8k: add ap807 support

Add support for the Armada AP807 die to armada-8k. This uses a
different compatible for the CPU clock which needs to be added to
the cpufreq driver.

This commit takes a different approach to the WindRiver patch
"cpufreq: armada: enable ap807-cpu-clk" in that rather than calling
of_find_compatible_node() for each compatible, we use a table of
IDs instead.

Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
drivers/cpufreq/armada-8k-cpufreq.c