Skip to content

clk: meson: axg-audio: fix tdmout sclk inverter

Jerome Brunet linux-amlogic linux-clk linux-devicetree lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3clk: meson: add sclk-ws driverdrivers/clk/meson/clk-phase.c drivers/clk/meson/clk-phase.h+62 -00 replies
2/3clk: meson: axg-audio: separate axg and g12a regmap tablesdrivers/clk/meson/axg-audio.c+127 -80 replies
3/3clk: meson: axg-audio: fix g12a tdmout sclk inverterdrivers/clk/meson/axg-audio.c+60 -250 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] clk: meson: axg-audio: fix tdmout sclk inverter

The patchset fixes a problem with TDMOUT sclk inverter found on the g12a and following SoCs.

On the the axg, a single bit was enough to drive the inverter. On the g12a a bit was added to, somehow, change how the clock is sampled. For the inverter to behave as intended, the new bit should be the inverse of the inverter bit at all time.

Quite a lot of lines for a single bit ...

Jerome Brunet (3):
clk: meson: add sclk-ws driver
clk: meson: axg-audio: separate axg and g12a regmap tables
clk: meson: axg-audio: fix g12a tdmout sclk inverter

 drivers/clk/meson/axg-audio.c | 214 +++++++++++++++++++++++++++++-----
 drivers/clk/meson/clk-phase.c |  56 +++++++++
 drivers/clk/meson/clk-phase.h |   6 +
 3 files changed, 246 insertions(+), 30 deletions(-)
Signature · 1 line
2.25.4