public inbox for linux-clk@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4 0/2] Cirrus Logic CS2600 clock device
@ 2024-12-31 20:17 Paul Handrigan
  2024-12-31 20:17 ` [PATCH v5 1/2] dt-bindings: clock: cs2600: Add support for the CS2600 Paul Handrigan
  2024-12-31 20:17 ` [PATCH v5 2/2] clk: cs2600: Add Fractional-N clock driver Paul Handrigan
  0 siblings, 2 replies; 4+ messages in thread
From: Paul Handrigan @ 2024-12-31 20:17 UTC (permalink / raw)
  To: linux-clk, sboyd, mturquette, devicetree, krzk+dt, robh, conor+dt
  Cc: patches, Paul Handrigan

This patch set provides Common Clock Framework support for the latest
Cirrus Logic clocking device, the CS2600.

This device has two input clocks and three output clocks.  One of the
input clocks, the REFCLK, can be a constant reference clock input, a
crystal reference input, or not available and use the internal clock.
The second input is the CLK_IN digital clock input.

The three clock outputs are CLK_OUT, BCLK_OUT, and FSYNC_OUT.

v2 changes:
- Remove | from after "discription" in DT binding.
- Remove discription from "clocks" in DT binding.
- Change ref_clk to xti
- Clarify auxiliary clock pin
- Change DT example to not have "reg" for the bus
- Change DT example to change i2c@0 to i2c
- Remove "OUTPUT" from the clock ouputs in the dt binding include file.
- Remove AUX_OUT defines
- Use do_div when dividing u64 by a u32
- Include the dt bindings include file
- Use the includes from the dt bindings include file aux output.
- Move of_device_id and i2c_device_id tables next to i2c_driver struct.


v3 changes:
- Changed clock-names in device tree to an emum since the both clocks
  are not always required.
- Changed cirrus,aux-output-source to a string input.
- Added cirrus,clock-mode as a string input.
- Fixed ordering in DT example.
- Removed dt-bindings .h file.
- Add in_range to allow for acceptable ranges for clock rates.

v4 changes:
- Change DT discription to add more detial.
- Move reg property to keep consistant with the required list.
- Add enum to string DT inputs and change the input values to lower case.
- Change unevauatedProperties to additionalProperties
- Reove black line.

v5 changes:
- Change dt-binding to dt-bindings in commit message
- Add minItems to clocks
- Remove unneeded comments for the cirrus,aux-output-source enums

Paul Handrigan (2):
  dt-binding: clock: cs2600: Add support for the CS2600
  clk: cs2600: Add Fractional-N clock driver

 .../bindings/clock/cirrus,cs2600.yaml         |   89 ++
 drivers/clk/Kconfig                           |    9 +
 drivers/clk/Makefile                          |    2 +
 drivers/clk/clk-cs2600.c                      | 1177 +++++++++++++++++
 drivers/clk/clk-cs2600.h                      |  173 +++
 5 files changed, 1450 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/clock/cirrus,cs2600.yaml
 create mode 100644 drivers/clk/clk-cs2600.c
 create mode 100644 drivers/clk/clk-cs2600.h

-- 
2.34.1


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

end of thread, other threads:[~2025-01-13 18:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-31 20:17 [PATCH v4 0/2] Cirrus Logic CS2600 clock device Paul Handrigan
2024-12-31 20:17 ` [PATCH v5 1/2] dt-bindings: clock: cs2600: Add support for the CS2600 Paul Handrigan
2025-01-13 18:46   ` Conor Dooley
2024-12-31 20:17 ` [PATCH v5 2/2] clk: cs2600: Add Fractional-N clock driver Paul Handrigan

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