]> git.baikalelectronics.ru Git - kernel.git/commit
clk: vc5: Enable addition output configurations of the Versaclock
authorAdam Ford <aford173@gmail.com>
Wed, 3 Jun 2020 15:43:29 +0000 (10:43 -0500)
committerStephen Boyd <sboyd@kernel.org>
Tue, 23 Jun 2020 02:04:58 +0000 (19:04 -0700)
commit3bf579674fef1985498f06f8eebd9a294d926272
treee53b6f726cd07e8dc0d2ccdf868deb6f8c9613d2
parent9d58248137b7ac6f2339f34b5d9819b3c1ffe4ec
clk: vc5: Enable addition output configurations of the Versaclock

The existing driver is expecting the Versaclock to be pre-programmed,
and only sets the output frequency.  Unfortunately, not all devices
are pre-programmed, and the Versaclock chip has more options beyond
just the frequency.

This patch enables the following additional features:

   - Programmable voltage: 1.8V, 2.5V, or 3.3V​
   - Slew Percentage of normal: 85%, 90%, or 100%
   - Output Type: LVPECL, CMOS, HCSL, or LVDS

Signed-off-by: Adam Ford <aford173@gmail.com>
Link: https://lore.kernel.org/r/20200603154329.31579-3-aford173@gmail.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/clk-versaclock5.c