]> git.baikalelectronics.ru Git - kernel.git/commit
clk: meson: add sclk-ws driver
authorJerome Brunet <jbrunet@baylibre.com>
Wed, 29 Jul 2020 15:43:57 +0000 (17:43 +0200)
committerJerome Brunet <jbrunet@baylibre.com>
Mon, 17 Aug 2020 13:58:02 +0000 (15:58 +0200)
commit12cf09e41874ac0cc19b30f777dd008e097833a9
treea5d91a61977290d5d6c78946c7d0b45a29b88994
parente5f0bf958198ed018c9fdf06e8d307ced9af9c95
clk: meson: add sclk-ws driver

This is yet another simple but odd driver for the audio block of the g12a
and sm1 SoC families.

For TDMOUT's sclk to be properly inverted, bit 29 of
AUDIO_CLK_TDMOUT_x_CTRL should be the inverse of bit 28.
IOW bit28 == !bit29 at all times

This setting is automatically applied on axg and the manual setting was
added on g12a.

Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Link: https://lore.kernel.org/r/20200729154359.1983085-2-jbrunet@baylibre.com
drivers/clk/meson/clk-phase.c
drivers/clk/meson/clk-phase.h