]> git.proxmox.com Git - mirror_ubuntu-focal-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)
committerPaolo Pisati <paolo.pisati@canonical.com>
Thu, 6 Feb 2020 16:32:37 +0000 (16:32 +0000)
commit9eb087e299e9271d81dd09a02e450f2da22ed882
treef03a2ad87989f577d11f3edd9ed24964174dd495
parent753bb1ab43a9325f44e284f39b5dc1b4435b23ee
clk: mmp2: Fix the order of timer mux parents

BugLink: https://bugs.launchpad.net/bugs/1862203
[ Upstream commit 8bea5ac0fbc5b2103f8779ddff216122e3c2e1ad ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
drivers/clk/mmp/clk-of-mmp2.c