]> git.baikalelectronics.ru Git - kernel.git/commit
clk: si5341: Add sysfs properties to allow checking/resetting device faults
authorRobert Hancock <robert.hancock@calian.com>
Thu, 25 Mar 2021 19:26:43 +0000 (13:26 -0600)
committerStephen Boyd <sboyd@kernel.org>
Mon, 28 Jun 2021 02:58:15 +0000 (19:58 -0700)
commit38a7a16d8a94aa75c02d8a9571fd57286acb4cdc
tree6b42fc51e368ecca73c5550d3bd74a6defdd0e2f
parent5af639133c353e98c48f8b2e792a5a60f6be93b4
clk: si5341: Add sysfs properties to allow checking/resetting device faults

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