]> git.baikalelectronics.ru Git - kernel.git/commit
clk: si5341: Allow different output VDD_SEL values
authorRobert Hancock <robert.hancock@calian.com>
Thu, 25 Mar 2021 19:26:40 +0000 (13:26 -0600)
committerStephen Boyd <sboyd@kernel.org>
Mon, 28 Jun 2021 02:58:14 +0000 (19:58 -0700)
commit99dd592b9bc5a2227c9b4dd73236959a2369e750
tree174001b4779c82755e42665915ab81e73dc82b6a
parent52639263cc8ed3e35704ffa6a3968521e022ed31
clk: si5341: Allow different output VDD_SEL values

The driver was not previously programming the VDD_SEL values for each
output to indicate what external VDDO voltage was used for each. Add
ability to specify a regulator supplying the VDDO pin for each output of
the device. The voltage of the regulator is used to automatically set the
VDD_SEL value appropriately. If no regulator is specified and the chip is
being reconfigured, assume 2.5V which appears to be the chip default.

Signed-off-by: Robert Hancock <robert.hancock@calian.com>
Link: https://lore.kernel.org/r/20210325192643.2190069-7-robert.hancock@calian.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/clk-si5341.c