public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/9] clk: clocking-wizard: add user clock monitor support
@ 2024-08-03 10:57 Harry Austen
  2024-08-03 10:57 ` [PATCH v2 1/9] clk: clocking-wizard: simplify probe/remove with devres helpers Harry Austen
                   ` (9 more replies)
  0 siblings, 10 replies; 19+ messages in thread
From: Harry Austen @ 2024-08-03 10:57 UTC (permalink / raw)
  To: Michael Turquette, Stephen Boyd, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Michal Simek, Greg Kroah-Hartman
  Cc: Shubhrajyoti Datta, Dave Ertman, Ira Weiny, linux-clk, devicetree,
	linux-kernel, linux-arm-kernel, Harry Austen

Improve utilised clk/notifier APIs, making use of device managed versions
of functions, make dynamic reconfiguration support optional (because it is
in hardware) and add support for the clock monitor functionailty added in
version 6.0 of the Xilinx clocking wizard IP core, through use of the
auxiliary bus and UIO frameworks.

The combined addition of all of these patches allows, for example, to use
the clocking wizard solely for its user clock monitoring logic, keeping
dynamic reconfiguration support disabled.

This is currently untested on hardware, so any help testing this would be
much appreciated!

v1 -> v2:
- Split and improve clk_hw+devres transition patch (2+3)
- Fix/improve DT binding patches (5+8)
- Utilise auxiliary bus in monitor support patch (6)
- Add dedicated UIO driver for monitor support (7)

Harry Austen (9):
  clk: clocking-wizard: simplify probe/remove with devres helpers
  clk: clocking-wizard: use newer clk_hw API
  clk: clocking-wizard: use devres versions of clk_hw API
  clk: clocking-wizard: move clock registration to separate function
  dt-bindings: clock: xilinx: add description of user monitor interrupt
  clk: clocking-wizard: add user clock monitor support
  uio: add Xilinx user clock monitor support
  dt-bindings: clock: xilinx: describe whether dynamic reconfig is
    enabled
  clk: clocking-wizard: move dynamic reconfig setup behind flag

 .../bindings/clock/xlnx,clocking-wizard.yaml  |  32 +-
 drivers/clk/xilinx/Kconfig                    |   1 +
 drivers/clk/xilinx/clk-xlnx-clock-wizard.c    | 335 +++++++++---------
 drivers/uio/Kconfig                           |   8 +
 drivers/uio/Makefile                          |   1 +
 drivers/uio/uio_xlnx_clk_mon.c                |  71 ++++
 6 files changed, 285 insertions(+), 163 deletions(-)
 create mode 100644 drivers/uio/uio_xlnx_clk_mon.c

-- 
2.46.0



^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2024-08-20 18:30 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-03 10:57 [PATCH v2 0/9] clk: clocking-wizard: add user clock monitor support Harry Austen
2024-08-03 10:57 ` [PATCH v2 1/9] clk: clocking-wizard: simplify probe/remove with devres helpers Harry Austen
2024-08-03 10:57 ` [PATCH v2 2/9] clk: clocking-wizard: use newer clk_hw API Harry Austen
2024-08-04 12:27   ` Harry Austen
2024-08-03 10:58 ` [PATCH v2 3/9] clk: clocking-wizard: use devres versions of " Harry Austen
2024-08-03 10:58 ` [PATCH v2 4/9] clk: clocking-wizard: move clock registration to separate function Harry Austen
2024-08-03 10:58 ` [PATCH v2 5/9] dt-bindings: clock: xilinx: add description of user monitor interrupt Harry Austen
2024-08-04  9:04   ` Krzysztof Kozlowski
2024-08-04 12:30     ` Harry Austen
2024-08-03 10:58 ` [PATCH v2 6/9] clk: clocking-wizard: add user clock monitor support Harry Austen
2024-08-19 12:39   ` Datta, Shubhrajyoti
2024-08-20 18:30     ` Harry Austen
2024-08-03 10:58 ` [PATCH v2 7/9] uio: add Xilinx " Harry Austen
2024-08-03 10:58 ` [PATCH v2 8/9] dt-bindings: clock: xilinx: describe whether dynamic reconfig is enabled Harry Austen
2024-08-04  9:04   ` Krzysztof Kozlowski
2024-08-03 10:58 ` [PATCH v2 9/9] clk: clocking-wizard: move dynamic reconfig setup behind flag Harry Austen
2024-08-04  9:01 ` [PATCH v2 0/9] clk: clocking-wizard: add user clock monitor support Krzysztof Kozlowski
2024-08-04 12:28   ` Harry Austen
2024-08-04 13:58     ` Krzysztof Kozlowski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox