]> 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)
commit1637728906fe1631d21145878cbc116a3dab46c8
treee53b6f726cd07e8dc0d2ccdf868deb6f8c9613d2
parent238934141850537947626d85845e4d86121ed4a7
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