| From: |
| Martin Povišer <povik+lin-AT-protonmail.com> |
| To: |
| mturquette-AT-baylibre.com, sboyd-AT-kernel.org, robh+dt-AT-kernel.org |
| Subject: |
| [PATCH v3 0/3] Support for Apple SoCs' NCO blocks |
| Date: |
| Fri, 21 Jan 2022 17:55:27 +0000 |
| Message-ID: |
| <20220121175441.9944-1-povik+lin@protonmail.com> |
| Cc: |
| marcan-AT-marcan.st, sven-AT-svenpeter.dev, alyssa-AT-rosenzweig.io, linux-clk-AT-vger.kernel.org, devicetree-AT-vger.kernel.org, linux-kernel-AT-vger.kernel.org, kettenis-AT-openbsd.org, Martin Povišer <povik+lin-AT-protonmail.com> |
| Archive-link: |
| Article |
Hi,
I am sending v3 of common clock driver for NCO blocks on recent Apple SoCs.
Changes since v2:
- move all under applnco_ prefix
- move away from signed types in register value calculations
- other minor things from Stephen's review
Changes since v1:
- drop apple,nchannels property from the binding, rely on size of the register
range instead to gauge the number of channels
- add a lock to guard set_rate from racing with clock disable/enable
- add short "theory of operation" comment
- incorporate minor changes from Rob's, Sven's and Stephen's review (thanks!)
Martin
v1: https://lore.kernel.org/linux-clk/20211214120213.15649-1-...
v2: https://lore.kernel.org/linux-clk/20220118191839.64086-1-...
Martin Povišer (3):
dt-bindings: clock: Add Apple NCO
clk: clk-apple-nco: Add driver for Apple NCO
MAINTAINERS: Add clk-apple-nco under ARM/APPLE MACHINE
.../devicetree/bindings/clock/apple,nco.yaml | 62 ++++
MAINTAINERS | 2 +
drivers/clk/Kconfig | 9 +
drivers/clk/Makefile | 1 +
drivers/clk/clk-apple-nco.c | 333 ++++++++++++++++++
5 files changed, 407 insertions(+)
create mode 100644 Documentation/devicetree/bindings/clock/apple,nco.yaml
create mode 100644 drivers/clk/clk-apple-nco.c
--
2.33.0