]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
ARM: dts: at91: sama5d3: fix maximum peripheral clock rates
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Fri, 10 Jan 2020 17:20:06 +0000 (18:20 +0100)
committerKhalid Elmously <khalid.elmously@canonical.com>
Fri, 13 Mar 2020 04:31:00 +0000 (00:31 -0400)
commitcb75c35cbc39c175b8831e5bde1ddd0d2538e19e
tree81cb5d004811db4d5570fad0f9a706692f96f487
parent542f0f8df67790ace8869b50f49074b7376dd3f7
ARM: dts: at91: sama5d3: fix maximum peripheral clock rates

BugLink: https://bugs.launchpad.net/bugs/1866678
commit ee0aa926ddb0bd8ba59e33e3803b3b5804e3f5da upstream.

Currently the maximum rate for peripheral clock is calculated based on a
typical 133MHz MCK. The maximum frequency is defined in the datasheet as a
ratio to MCK. Some sama5d3 platforms are using a 166MHz MCK. Update the
device trees to match the maximum rate based on 166MHz.

Reported-by: Karl Rudbæk Olsen <karl@micro-technic.com>
Fixes: d2e8190b7916 ("ARM: at91/dt: define sama5d3 clocks")
Link: https://lore.kernel.org/r/20200110172007.1253659-1-alexandre.belloni@bootlin.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
arch/arm/boot/dts/sama5d3.dtsi
arch/arm/boot/dts/sama5d3_can.dtsi
arch/arm/boot/dts/sama5d3_uart.dtsi