]> 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)
commit319d376d7ba2dc786935733b1562c4ff9409c3ca
treea5d91a61977290d5d6c78946c7d0b45a29b88994
parentdd44bddf04c5fd83529b139fbfac0a5372c1a87d
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