Commit fc813d05 authored by Robert Hancock's avatar Robert Hancock Committed by Greg Kroah-Hartman
Browse files

clk: si5341: Allow different output VDD_SEL values



[ Upstream commit b7bbf6ec ]

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: default avatarRobert Hancock <robert.hancock@calian.com>
Link: https://lore.kernel.org/r/20210325192643.2190069-7-robert.hancock@calian.com


Signed-off-by: default avatarStephen Boyd <sboyd@kernel.org>
Stable-dep-of: 2560114c ("clk: si5341: return error if one synth clock registration fails")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent f64fcd3a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment