Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

cpufreq: ti-cpufreq: Support additional am43xx platforms

Rather than letting the ti-cpufreq driver match against 'ti,am4372'
machine compatible during probe let's match against 'ti,am43' so that we
can support both 'ti,am4372' and 'ti,am438x' platforms which both match
to this compatible.

Signed-off-by: Dave Gerlach <d-gerlach@ti.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>

authored by

Dave Gerlach and committed by
Rafael J. Wysocki
039cc1c1 ff76898c

+1 -1
+1 -1
drivers/cpufreq/ti-cpufreq.c
··· 190 190 191 191 static const struct of_device_id ti_cpufreq_of_match[] = { 192 192 { .compatible = "ti,am33xx", .data = &am3x_soc_data, }, 193 - { .compatible = "ti,am4372", .data = &am4x_soc_data, }, 193 + { .compatible = "ti,am43", .data = &am4x_soc_data, }, 194 194 { .compatible = "ti,dra7", .data = &dra7_soc_data }, 195 195 {}, 196 196 };