]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
clk: mmp2: Fix the order of timer mux parents
authorLubomir Rintel <lkundrak@v3.sk>
Wed, 18 Dec 2019 19:04:54 +0000 (20:04 +0100)
committerOlof Johansson <olof@lixom.net>
Mon, 6 Jan 2020 17:19:07 +0000 (09:19 -0800)
commit8bea5ac0fbc5b2103f8779ddff216122e3c2e1ad
treefa4a74132c0336e62607cc432695b86f06765e78
parent0bd0f30bbf060891f58866a46083a9931f71787c
clk: mmp2: Fix the order of timer mux parents

Determined empirically, no documentation is available.

The OLPC XO-1.75 laptop used parent 1, that one being VCTCXO/4 (65MHz), but
thought it's a VCTCXO/2 (130MHz). The mmp2 timer driver, not knowing
what is going on, ended up just dividing the rate as of
commit f36797ee4380 ("ARM: mmp/mmp2: dt: enable the clock")'

Link: https://lore.kernel.org/r/20191218190454.420358-3-lkundrak@v3.sk
Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
Acked-by: Stephen Boyd <sboyd@kernel.org>
Signed-off-by: Olof Johansson <olof@lixom.net>
drivers/clk/mmp/clk-of-mmp2.c