ODROID-N2/N2-PLUS: Default freq setting and cpu max_freq limit setting.
authorfemto <ckkim@hardkernel.com>
Wed, 18 Dec 2019 05:16:51 +0000 (14:16 +0900)
committerDongjin Kim <tobetter@gmail.com>
Fri, 10 Jul 2020 04:47:21 +0000 (13:47 +0900)
commit6549f63b01e31845af54e3325120ec0352d5bd57
treebcd47324ea124763f95489dcd75189c3ce426436
parent45581414165d5950984545586f8f2636b65ffe40
ODROID-N2/N2-PLUS: Default freq setting and cpu max_freq limit setting.

board_is_odroidn2 (): Both N2 and N2plus return 'true'

if (is_meson_g12b_cpu() && is_meson_rev_a()) // ODROID-N2
else                                         // ODROID-N2Plus

N2_A53_DEFAULT 1896000 /* N2 Core A53 */
N2_A73_DEFAULT 1800000 /* N2 Core A73 */

N2PLUS_A53_DEFAULT 1908000 /* N2 Plus Core A53 */
N2PLUS_A73_DEFAULT 2208000 /* N2 Plus Core A73 */

Signed-off-by: femto <ckkim@hardkernel.com>
Change-Id: I32fa6b37f54560e9071cf650c74f972b36fc4af2
arch/arm64/kernel/setup.c
drivers/amlogic/cpufreq/meson-cpufreq.c