lkml.org 
[lkml]   [2019]   [May]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/4] 32-bit Meson: audio clock support
Date
The audio clocks on the 32-bit Meson8, Meson8b and Meson8m2 are
(probably) identical to the ones on GXBB, GXL and GXM.

The first piece of evidence is that Amlogic's vendor kernel is using
the same basic driver (just slightly modified) for the 32-bit SoCs [0]
and 64-bit SoCs [1].

Then there's buildroot-openlinux-A113-201901 which ships
kernel/aml-4.9/drivers/amlogic/clk/m8b/clk_misc.c. It contains the same
registers and bits (just slightly different naming) than the mainline
GXBB/GXL/GXM clock driver.

There is no working mainline ALSA driver for this yet so I am not 100%
sure that everything is correct. However, due to the evidence listed
above I'm sure that the basics are correct so this is a good starting
point.


[0] https://github.com/endlessm/linux-meson/tree/d6e13c220931110fe676ede6da69fc61a7cb04b6/sound/soc/aml/m8
[1] https://github.com/khadas/linux/tree/1bd6972cd0093725c0b1dc87f6546648bbb22452/sound/soc/aml/m8


Martin Blumenstingl (4):
dt-bindings: clock: meson8b: add the audio clocks
clk: meson: meson8b: add the cts_amclk clocks
clk: meson: meson8b: add the cts_mclk_i958 clocks
clk: meson: meson8b: add the cts_i958 clock

drivers/clk/meson/meson8b.c | 154 +++++++++++++++++++++++
drivers/clk/meson/meson8b.h | 8 +-
include/dt-bindings/clock/meson8b-clkc.h | 3 +
3 files changed, 164 insertions(+), 1 deletion(-)

--
2.21.0

\
 
 \ /
  Last update: 2019-05-20 22:04    [W:0.042 / U:1.940 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site