PD#SWPL-940
Problem:
S805Y only max support freq is 666M.
if dts was wrong, kernel panic.
Solution:
limit the freq to 666M
Verify:
s805y_p215
Change-Id: Ie893c92120d239402b9933b486c520d6c54ace4a
Signed-off-by: Jiyu Yang <jiyu.yang@amlogic.com>
if (ret) {
dev_notice(&pdev->dev, "read clk_freq failed\n");
}
-#if 0
-#ifdef MESON_CPU_VERSION_OPS
- if (is_meson_gxbbm_cpu()) {
+
+ if (is_meson_gxl_package_805Y()) {
if (dvfs_tbl->clk_freq >= GXBBM_MAX_GPU_FREQ)
continue;
}
-#endif
-#endif
ret = of_property_read_string(gpu_clk_dn,"clk_parent",
&dvfs_tbl->clk_parent);
if (ret) {