Skip to content

Add audio clocks support for ZTE ZX296718

Shawn Guo linux-arm-kernel linux-clk 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest3 patches 0 repliesNew

Changes in v2 from the cover letter

- Add a patch to clean up existing driver code.
- Clean up unused divider configuration lookup table.
- Use uintptr_t instead of u64 to cast 'reg_base' for summation.
- Instead of panic, give an error message and return error code when of_clk_add_hw_provider() call fails.
- Drop unnecessary ulong type cast.
- Use pr_debug instead of pr_info to avoid noisy messages

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3clk: zx296718: do not panic on failuredrivers/clk/zte/clk-zx296718.c+18 -91 reply
2/3dt-bindings: zx296718-clk: add compatible for audio clock controllerDocumentation/devicetree/bindings/clock/zx296718-clk.txt+3 -01 reply
3/3clk: zte: add audio clocks for zx296718drivers/clk/zte/clk-zx296718.c drivers/clk/zte/clk.c drivers/clk/zte/clk.h+275 -01 reply

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchRob Herring
1/3
2/3A-b
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/3] Add audio clocks support for ZTE ZX296718

From: Shawn Guo <[email protected]>

It adds missing audio related clocks for ZTE SoC ZX296718. With these clocks added, we can get HDMI audio work through SPDIF interface.

Changes for v2:
- Add a patch to clean up existing driver code.
- Clean up unused divider configuration lookup table.
- Use uintptr_t instead of u64 to cast 'reg_base' for summation.
- Instead of panic, give an error message and return error code when of_clk_add_hw_provider() call fails.
- Drop unnecessary ulong type cast.
- Use pr_debug instead of pr_info to avoid noisy messages

Jun Nie (1):
clk: zte: add audio clocks for zx296718

Shawn Guo (2):
clk: zx296718: do not panic on failure
dt-bindings: zx296718-clk: add compatible for audio clock controller

 .../devicetree/bindings/clock/zx296718-clk.txt     |   3 +
 drivers/clk/zte/clk-zx296718.c                     | 154 +++++++++++++++++++--
 drivers/clk/zte/clk.c                              | 127 +++++++++++++++++
 drivers/clk/zte/clk.h                              |  21 +++
 4 files changed, 296 insertions(+), 9 deletions(-)
Signature · 1 line
1.9.1