]> 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)
commita2dc285613cc5da29090129a0152a101a9adbeb5
tree6b42fc51e368ecca73c5550d3bd74a6defdd0e2f
parentc97965ee365759130893123d3f9bd3e83e380b8c
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