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

clk: si5341: Add sysfs properties to allow checking/resetting device faults



[ Upstream commit 9b13ff43 ]

Add sysfs property files to allow viewing the current and latched states of
the input present and PLL lock bits, and allow resetting the latched fault
state. This allows manual checks or automated userspace polling for faults
occurring after initialization.

Signed-off-by: default avatarRobert Hancock <robert.hancock@calian.com>
Link: https://lore.kernel.org/r/20210325192643.2190069-10-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 fc813d05
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment