]> git.sur5r.net Git - u-boot/commit
clk: at91: add PLLADIV driver
authorWenyou Yang <wenyou.yang@microchip.com>
Fri, 9 Feb 2018 03:34:51 +0000 (11:34 +0800)
committerTom Rini <trini@konsulko.com>
Fri, 16 Mar 2018 11:30:04 +0000 (07:30 -0400)
commitfed0509c92e0fe29d0ddc9c743719d22c95b7596
treeefe417a3aa1f19076069eb4138e31ffa8731a66b
parentcb0cb1b0cf20687cf980fbd64c56224f06d566aa
clk: at91: add PLLADIV driver

As said in the SAMA5D2 datasheet, the PLLA clock must be divided
by 2 by writing the PLLADIV2 bit in PMC_MCKR, if the ratio between
PCK and MCK is 3 (MDIV = 3). This is the purpose of the driver.

Signed-off-by: Wenyou Yang <wenyou.yang@microchip.com>
drivers/clk/at91/Makefile
drivers/clk/at91/clk-plladiv.c [new file with mode: 0644]