Re: [linux-sunxi] [PATCH v6 1/3] ASoC: sun4i-i2s: incorrect regmap for A83T

2019-08-26 Thread Code Kipper
On Tue, 27 Aug 2019 at 06:13, Chen-Yu Tsai wrote: > > On Tue, Aug 27, 2019 at 2:07 AM wrote: > > > > From: Marcus Cooper > > > > The regmap configuration is set up for the legacy block on the > > A83T whereas it uses the new block with a larger register map. > > Looking at the code Allwinner pre

Re: [linux-sunxi] [PATCH v6 1/3] ASoC: sun4i-i2s: incorrect regmap for A83T

2019-08-26 Thread Chen-Yu Tsai
On Tue, Aug 27, 2019 at 2:07 AM wrote: > > From: Marcus Cooper > > The regmap configuration is set up for the legacy block on the > A83T whereas it uses the new block with a larger register map. Looking at the code Allwinner previously released [1], that doesn't seem to be the case. Keep in mind

[linux-sunxi] [PATCH v6 3/3] ASoC: sun4i-i2s: Adjust LRCLK width

2019-08-26 Thread codekipper
From: Marcus Cooper Some codecs such as i2s based HDMI audio and the Pine64 DAC require a different amount of bit clocks per frame than what is calculated by the sample width. Use the values obtained by the tdm slot bindings to adjust the LRCLK width accordingly. Signed-off-by: Marcus Cooper --

[linux-sunxi] [PATCH v6 2/3] ASoC: sun4i-i2s: Add regmap field to sign extend sample

2019-08-26 Thread codekipper
From: Marcus Cooper On the newer SoCs such as the H3 and A64 this is set by default to transfer a 0 after each sample in each slot. However the A10 and A20 SoCs that this driver was developed on had a default setting where it padded the audio gain with zeros. This isn't a problem whilst we have

[linux-sunxi] [PATCH v6 1/3] ASoC: sun4i-i2s: incorrect regmap for A83T

2019-08-26 Thread codekipper
From: Marcus Cooper The regmap configuration is set up for the legacy block on the A83T whereas it uses the new block with a larger register map. Fixes: 21faaea1343f ("ASoC: sun4i-i2s: Add support for A83T") Signed-off-by: Marcus Cooper --- sound/soc/sunxi/sun4i-i2s.c | 2 +- 1 file changed, 1

[linux-sunxi] [PATCH v6 0/3] ASoC: sun4i-i2s: Updates to the driver

2019-08-26 Thread codekipper
From: Marcus Cooper Hi All, here is a patch series to add some improvements to the sun4i-i2s driver which is enough to get HDMI audio working on the A83T, A64, H3 and H5 platforms. I've dropped a lot of the functionality that was presented earlier in favour of getting initial HDMI audio deliver