Re: [linux-sunxi] Re: [PATCH v3 10/12] arm64: dts: allwinner: h6: Add IR receiver node

2019-06-03 Thread Clément Péron
Hi Ondrej, On Fri, 31 May 2019 at 14:46, Ondřej Jirman wrote: > > Hello Clément, > > On Fri, May 31, 2019 at 12:25:32AM +0200, Clément Péron wrote: > > Hi Ondrej, > > > > On Thu, 30 May 2019 at 16:55, Ondřej Jirman wrote: > > > > > > Hello Clément, > > > > > > On Tue, May 28, 2019 at 06:14:38PM

Re: AW: Re: [linux-sunxi] Re: Bringing LVDS on A64 (VDP7) to work

2019-06-03 Thread Jernej Škrabec
Dne ponedeljek, 03. junij 2019 ob 21:09:48 CEST je Kamps, John-Eric napisal(a): > >Do you have a setup that works with the BSP? Usually in cases like this I > >would dump the >registers of the whole display engine and the TCON, and > >compare them to see what's going on. > Not yet tested, because

AW: Re: [linux-sunxi] Re: Bringing LVDS on A64 (VDP7) to work

2019-06-03 Thread Kamps, John-Eric
>Do you have a setup that works with the BSP? Usually in cases like this I >would dump the >registers of the whole display engine and the TCON, and >compare them to see what's going on. Not yet tested, because the new uboot can't load the original BSP Kernel. And I was thinking that it will be

Re: [linux-sunxi] [PATCH v6 0/6] Add support for Orange Pi 3

2019-06-03 Thread Maxime Ripard
On Fri, May 31, 2019 at 02:52:46PM +0200, Ondřej Jirman wrote: > Hello, > > On Mon, May 27, 2019 at 06:22:31PM +0200, megous via linux-sunxi wrote: > > From: Ondrej Jirman > > > > This series implements support for Xunlong Orange Pi 3 board. > > > > Unfortunately, this board needs some small

Re: [linux-sunxi] Re: Bringing LVDS on A64 (VDP7) to work

2019-06-03 Thread Maxime Ripard
On Wed, May 29, 2019 at 07:50:41AM +, Kamps, John-Eric wrote: > Hi. > > I checked a lot the last days and compared the register data with > the datasheets. I compared also to the A83T datasheet which has > these tablet LVDS display and the tcon should also work like A64. I > compared the bsp

[linux-sunxi] [PATCH v4 6/9] ASoC: sun4i-i2s: Add multi-lane functionality

2019-06-03 Thread codekipper
From: Marcus Cooper The i2s block supports multi-lane i2s output however this functionality is only possible in earlier SoCs where the pins are exposed and for the i2s block used for HDMI audio on the later SoCs. To enable this functionality, an optional property has been added to the bindings.

[linux-sunxi] [PATCH v4 1/9] ASoC: sun4i-i2s: Fix sun8i tx channel offset mask

2019-06-03 Thread codekipper
From: Marcus Cooper Although not causing any noticeable issues, the mask for the channel offset is covering too many bits. Signed-off-by: Marcus Cooper --- sound/soc/sunxi/sun4i-i2s.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/sunxi/sun4i-i2s.c

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

2019-06-03 Thread codekipper
From: Marcus Cooper On the newer SoCs this is set by default to transfer a 0 after each sample in each slot. However the platform that this driver was developed on had the default setting where it padded the audio gain with zeros. This isn't a problem whilst we have only support for 16bit audio

[linux-sunxi] [PATCH v4 9/9] ASoC: sun4i-i2s: Adjust regmap settings

2019-06-03 Thread codekipper
From: Marcus Cooper Bypass the regmap cache when flushing the i2s FIFOs and modify the tables to reflect this. Signed-off-by: Marcus Cooper --- sound/soc/sunxi/sun4i-i2s.c | 29 + 1 file changed, 9 insertions(+), 20 deletions(-) diff --git

[linux-sunxi] [PATCH v4 8/9] ASoc: sun4i-i2s: Add 20, 24 and 32 bit support

2019-06-03 Thread codekipper
From: Marcus Cooper Extend the functionality of the driver to include support of 20 and 24 bits per sample for the earlier SoCs. Newer SoCs can also handle 32bit samples. Signed-off-by: Marcus Cooper --- sound/soc/sunxi/sun4i-i2s.c | 34 +++--- 1 file changed, 31

[linux-sunxi] [PATCH v4 4/9] ASoC: sun4i-i2s: Reduce quirks for sun8i-h3

2019-06-03 Thread codekipper
From: Marcus Cooper We have a number of flags used to identify the functionality of the IP block found on the sun8i-h3 and later devices. As it is only neccessary to identify this new block then replace these flags with just one. Signed-off-by: Marcus Cooper --- sound/soc/sunxi/sun4i-i2s.c |

[linux-sunxi] [PATCH v4 7/9] ASoC: sun4i-i2s: Add multichannel functionality

2019-06-03 Thread codekipper
From: Marcus Cooper The i2s block can be used to pass PCM data over multiple channels and is sometimes used for the audio side of an HDMI connection. Signed-off-by: Marcus Cooper --- sound/soc/sunxi/sun4i-i2s.c | 121 +++- 1 file changed, 64 insertions(+), 57

[linux-sunxi] [PATCH v4 5/9] ASoC: sun4i-i2s: Add set_tdm_slot functionality

2019-06-03 Thread codekipper
From: Marcus Cooper Some codecs require a different amount of a bit clocks per frame than what is calculated by the sample width. Use the tdm slot bindings to provide this mechanism. Signed-off-by: Marcus Cooper --- sound/soc/sunxi/sun4i-i2s.c | 22 -- 1 file changed, 20

[linux-sunxi] [PATCH v4 2/9] ASoC: sun4i-i2s: Add offset to RX channel select

2019-06-03 Thread codekipper
From: Marcus Cooper Whilst testing the capture functionality of the i2s on the newer SoCs it was noticed that the recording was somewhat distorted. This was due to the offset not being set correctly on the receiver side. Signed-off-by: Marcus Cooper --- sound/soc/sunxi/sun4i-i2s.c | 4 1

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

2019-06-03 Thread codekipper
From: Marcus Cooper Hi All, here is a patch series to add some improvements to the sun4i-i2s driver found whilst getting slave clocking and hdmi audio working on the newer SoCs. As the LibreELEC project is progressing extremely well then there has been some activity getting surround sound

[linux-sunxi] Re: OV5640 1080@30FPS on CSI

2019-06-03 Thread Milos Ladni
Hi, thank you for your update status. Finally, I also got 720P at ~25 fps. So, if someone needs info, OV5640 works with A20 at ~25 fps, the output resolution is 1280x720 (input resolution 2560x1440 and pixel binning are turned on, so sensor give to me half of the input). The CPU load is ~5%

[linux-sunxi] Re: [PATCH v10 09/11] drm/sun4i: sun6i_mipi_dsi: Add VCC-DSI regulator support

2019-06-03 Thread Maxime Ripard
On Mon, May 20, 2019 at 02:33:16PM +0530, Jagan Teki wrote: > Allwinner MIPI DSI controllers are supplied with SoC > DSI power rails via VCC-DSI pin. > > Add support for this supply pin by adding voltage > regulator handling code to MIPI DSI driver. > > Tested-by: Merlijn Wajer > Signed-off-by: