From: Paul Handrigan <paulha@opensource.cirrus.com>
To: <linux-clk@vger.kernel.org>, <sboyd@kernel.org>,
<mturquette@baylibre.com>, <devicetree@vger.kernel.org>,
<krzk+dt@kernel.org>, <robh@kernel.org>, <conor+dt@kernel.org>
Cc: <patches@opensource.cirrus.com>,
Paul Handrigan <paulha@opensource.cirrus.com>
Subject: [PATCH v4 0/2] Cirrus Logic CS2600 clock device
Date: Tue, 31 Dec 2024 14:17:40 -0600 [thread overview]
Message-ID: <20241231201742.3955733-1-paulha@opensource.cirrus.com> (raw)
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
next reply other threads:[~2024-12-31 20:17 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-31 20:17 Paul Handrigan [this message]
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
-- strict thread matches above, loose matches on Subject: below --
2024-12-30 22:12 [PATCH v4 0/2] Cirrus Logic CS2600 clock device Paul Handrigan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20241231201742.3955733-1-paulha@opensource.cirrus.com \
--to=paulha@opensource.cirrus.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-clk@vger.kernel.org \
--cc=mturquette@baylibre.com \
--cc=patches@opensource.cirrus.com \
--cc=robh@kernel.org \
--cc=sboyd@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox