[linux-sunxi] [PATCH] arm64: dts: allwinner: a64: Disable SPDIF by default

2020-04-21 Thread Samuel Holland
As of v5.7-rc2, Linux now prints the following message at boot: [ 33.848525] platform sound_spdif: deferred probe pending This is because &sound_spdif is waiting on its DAI link component &spdif to probe, but &spdif is disabled in the DTS. Disable the audio card as well to match. Signed-off-

[linux-sunxi] [PATCH v2 1/2] media: cedrus: Program output format during each run

2020-04-21 Thread Samuel Holland
Previously, the output format was programmed as part of the ioctl() handler. However, this has two problems: 1) If there are multiple active streams with different output formats, the hardware will use whichever format was set last for both streams. Similary, an ioctl() done in an inac

[linux-sunxi] [PATCH v2 2/2] media: cedrus: Implement runtime PM

2020-04-21 Thread Samuel Holland
This allows the VE clocks and PLL_VE to be disabled most of the time. A runtime PM reference is held while streaming. Originally-by: Jernej Škrabec Signed-off-by: Samuel Holland --- v2: moved PM reference to cedrus_{start,stop}_streaming, based on an earlier patch by Jernej Skrabec. Removes

Re: [linux-sunxi] [RFC PATCH 4/4] pwm: sun4i: Delay after writing the period

2020-04-21 Thread Samuel Holland
Hello Pascal, On 3/17/20 10:59 AM, Pascal Roeleven wrote: > When disabling, ensure the period write is complete before continuing. > This fixes an issue on some devices when the write isn't complete before > the panel is turned off but the clock gate is still on. > > Signed-off-by: Pascal Roeleve

[linux-sunxi] arm64/sunxi: A64-Olinuxino - No USB

2020-04-21 Thread Philip Rinn
Hi list, USB is not working on my Olimex A64-Olinuxino-1Ge4GW Rev. D. It seems, the regulators are not correctly set up in the dt: I get a lot of sun4i-usb-phy 1c19400.phy: Couldn't get regulator usb0_vbus... Deferring probe Attaching a USB key results in: [5.158016] usb 4-1: new low-speed

Re: [linux-sunxi] [PATCH] media: cedrus: Implement runtime PM

2020-04-21 Thread Paul Kocialkowski
Hi Ezequiel, On Tue 21 Apr 20, 00:51, Ezequiel Garcia wrote: > Hi Jernej, Paul: > > On Mon, 20 Apr 2020 at 13:41, Jernej Škrabec wrote: > > > > Dne ponedeljek, 20. april 2020 ob 17:10:10 CEST je Paul Kocialkowski > > napisal(a): > > > Hi, > > > > > > On Sun 19 Apr 20, 15:28, Samuel Holland wrote

Re: [linux-sunxi] [PATCH] media: cedrus: Implement runtime PM

2020-04-21 Thread Paul Kocialkowski
Hi, On Mon 20 Apr 20, 20:09, Jernej Škrabec wrote: > Hi! > > Dne ponedeljek, 20. april 2020 ob 19:56:51 CEST je Paul Kocialkowski > napisal(a): > > Hi Jernej, > > > > On Mon 20 Apr 20, 18:41, Jernej Škrabec wrote: > > > Dne ponedeljek, 20. april 2020 ob 17:10:10 CEST je Paul Kocialkowski > > >