[linux-sunxi] [PATCH v2 18/20] ARM: dts: sun8i-h3: Enable HDMI audio on Orange Pi PC/One

2020-09-03 Thread Clément Péron
From: Ondrej Jirman The board has HDMI output, enable audio on it. Signed-off-by: Ondrej Jirman Signed-off-by: Clément Péron --- arch/arm/boot/dts/sun8i-h3-orangepi-one.dts | 8 arch/arm/boot/dts/sun8i-h3-orangepi-pc.dts | 8 2 files changed, 16 insertions(+) diff --git a

[linux-sunxi] Re: [PATCH v2 02/20] ASoC: sun4i-i2s: Add support for H6 I2S

2020-09-05 Thread Clément Péron
Hi Samuel, On Fri, 4 Sep 2020 at 05:16, Samuel Holland wrote: > > Clément, > > On 9/3/20 3:30 PM, Clément Péron wrote: > > From: Jernej Skrabec > > > > H6 I2S is very similar to that in H3, except it supports up to 16 > > channels. > > > >

Re: [linux-sunxi] Allwinner A10 based Miracast DLNA HDMI Dongle

2020-09-15 Thread Clément Péron
Hi Adrian, Le mar. 15 sept. 2020 à 13:06, Adrian N a écrit : > > Gediz, all credit should go to you! I couldn't have done anything without > your tips. > > I think I would be able to re-create a small image from scratch, with the > bare necessities, an ip stack, wifi, busybox, telnet or ssh. >

[linux-sunxi] [PATCH v3 18/19] arm64: dts: sun50i-h6-orangepi-3: Enable HDMI audio

2020-09-20 Thread Clément Péron
From: Ondrej Jirman The board has HDMI output, enable audio on it. Signed-off-by: Ondrej Jirman Signed-off-by: Clément Péron --- arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi-3.dts | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi

[linux-sunxi] [PATCH v3 11/19] arm64: dts: allwinner: a64: Add DAI node for HDMI

2020-09-20 Thread Clément Péron
From: Marcus Cooper Add the new DAI block for I2S2 which is used for HDMI audio. Signed-off-by: Marcus Cooper Signed-off-by: Clément Péron --- arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 14 ++ 1 file changed, 14 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner

[linux-sunxi] [PATCH v3 08/19] arm64: dts: allwinner: h6: Enable HDMI sound for Beelink GS1

2020-09-20 Thread Clément Péron
Now that HDMI sound node is available in the SoC dtsi. Enable it for this board. Signed-off-by: Clément Péron --- arch/arm64/boot/dts/allwinner/sun50i-h6-beelink-gs1.dts | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6-beelink-gs1.dts b/arch

[linux-sunxi] [PATCH v3 03/19] dt-bindings: ASoC: sun4i-i2s: Add H6 compatible

2020-09-20 Thread Clément Péron
From: Jernej Skrabec H6 I2S is very similar to H3, except that it supports up to 16 channels and thus few registers have fields on different position. Signed-off-by: Jernej Skrabec Signed-off-by: Marcus Cooper Signed-off-by: Clément Péron Acked-by: Maxime Ripard Acked-by: Rob Herring

[linux-sunxi] [PATCH v3 15/19] arm64: dts: allwinner: a64: Add HDMI audio to Pine64

2020-09-20 Thread Clément Péron
From: Marcus Cooper Enable HDMI audio on Pine64. Signed-off-by: Marcus Cooper Signed-off-by: Clément Péron --- arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts b/arch/arm64

[linux-sunxi] [PATCH v3 06/19] ASoC: sun4i-i2s: Fix sun8i volatile regs

2020-09-20 Thread Clément Péron
The FIFO TX reg is volatile and sun8i i2s register mapping is different from sun4i. Even if in this case it's doesn't create an issue, Avoid setting some regs that are undefined in sun8i. Signed-off-by: Clément Péron Acked-by: Maxime Ripard --- sound/soc/sunxi/sun4i-

[linux-sunxi] [PATCH v3 17/19] ARM: dts: sun8i-h3: Enable HDMI audio on Orange Pi PC/One

2020-09-20 Thread Clément Péron
From: Ondrej Jirman The board has HDMI output, enable audio on it. Signed-off-by: Ondrej Jirman Signed-off-by: Clément Péron --- arch/arm/boot/dts/sun8i-h3-orangepi-one.dts | 8 arch/arm/boot/dts/sun8i-h3-orangepi-pc.dts | 8 2 files changed, 16 insertions(+) diff --git a

[linux-sunxi] [PATCH v3 10/19] arm: dts: sunxi: h3/h5: Add HDMI audio

2020-09-20 Thread Clément Péron
From: Marcus Cooper Add a simple-soundcard to link audio between HDMI and I2S. Signed-off-by: Jernej Skrabec Signed-off-by: Marcus Cooper Signed-off-by: Clément Péron --- arch/arm/boot/dts/sunxi-h3-h5.dtsi | 20 1 file changed, 20 insertions(+) diff --git a/arch/arm

[linux-sunxi] [PATCH v3 05/19] ASoc: sun4i-i2s: Add 20 and 24 bit support

2020-09-20 Thread Clément Péron
From: Marcus Cooper Extend the functionality of the driver to include support of 20 and 24 bits per sample. Signed-off-by: Marcus Cooper Signed-off-by: Clément Péron Acked-by: Maxime Ripard --- sound/soc/sunxi/sun4i-i2s.c | 11 +-- 1 file changed, 9 insertions(+), 2 deletions

[linux-sunxi] [PATCH v3 04/19] ASoC: sun4i-i2s: Set sign extend sample

2020-09-20 Thread Clément Péron
keep consistency and avoid relying on default. Signed-off-by: Marcus Cooper Signed-off-by: Clément Péron --- sound/soc/sunxi/sun4i-i2s.c | 17 + 1 file changed, 17 insertions(+) diff --git a/sound/soc/sunxi/sun4i-i2s.c b/sound/soc/sunxi/sun4i-i2s.c index 246d4a45edae..57a68222f99a 1

[linux-sunxi] [PATCH v3 09/19] arm: dts: sunxi: h3/h5: Add DAI node for HDMI

2020-09-20 Thread Clément Péron
From: Marcus Cooper Add the new DAI block for I2S2 which is used for HDMI audio. Signed-off-by: Marcus Cooper Signed-off-by: Clément Péron --- arch/arm/boot/dts/sunxi-h3-h5.dtsi | 13 + 1 file changed, 13 insertions(+) diff --git a/arch/arm/boot/dts/sunxi-h3-h5.dtsi b/arch/arm

[linux-sunxi] [PATCH v3 14/19] arm: sun8i: h3: Add HDMI audio to Beelink X2

2020-09-20 Thread Clément Péron
From: Marcus Cooper Enable HDMI audio on the Beelink X2. Signed-off-by: Marcus Cooper Signed-off-by: Clément Péron --- arch/arm/boot/dts/sun8i-h3-beelink-x2.dts | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-h3-beelink-x2.dts b/arch/arm/boot/dts/sun8i-h3

[linux-sunxi] [PATCH v3 16/19] arm64: dts: allwinner: Enable HDMI audio on Orange Pi PC 2

2020-09-20 Thread Clément Péron
From: Ondrej Jirman The board has HDMI output, enable audio on it. Signed-off-by: Ondrej Jirman Signed-off-by: Clément Péron --- arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-pc2.dts | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h5

[linux-sunxi] [PATCH v3 12/19] arm64: dts: allwinner: a64: Add HDMI audio

2020-09-20 Thread Clément Péron
From: Marcus Cooper Add a simple-soundcard to link audio between HDMI and I2S. Signed-off-by: Jernej Skrabec Signed-off-by: Marcus Cooper Signed-off-by: Clément Péron --- arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 20 +++ 1 file changed, 20 insertions(+) diff --git a

[linux-sunxi] [PATCH v3 19/19] arm64: defconfig: Enable Allwinner i2s driver

2020-09-20 Thread Clément Péron
Enable Allwinner I2S driver for arm64 defconfig. Signed-off-by: Clément Péron --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 63003ec116ee..9a3c3bbe60e4 100644 --- a/arch/arm64/configs

[linux-sunxi] [PATCH v3 13/19] arm: sun8i: h3: Add HDMI audio to Orange Pi 2

2020-09-20 Thread Clément Péron
From: Marcus Cooper Enable HDMI audio on the Orange Pi 2. Signed-off-by: Marcus Cooper Signed-off-by: Clément Péron --- arch/arm/boot/dts/sun8i-h3-orangepi-2.dts | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-h3-orangepi-2.dts b/arch/arm/boot/dts/sun8i

[linux-sunxi] [PATCH v3 02/19] ASoC: sun4i-i2s: Change set_chan_cfg params

2020-09-20 Thread Clément Péron
uel Holland Signed-off-by: Clément Péron --- sound/soc/sunxi/sun4i-i2s.c | 35 +-- 1 file changed, 13 insertions(+), 22 deletions(-) diff --git a/sound/soc/sunxi/sun4i-i2s.c b/sound/soc/sunxi/sun4i-i2s.c index 348057464bed..246d4a45edae 100644 --- a/sound/soc/su

[linux-sunxi] [PATCH v3 07/19] arm64: dts: allwinner: h6: Add HDMI audio node

2020-09-20 Thread Clément Péron
From: Jernej Skrabec Add a simple-soundcard to link audio between HDMI and I2S. Signed-off-by: Jernej Skrabec Signed-off-by: Marcus Cooper Signed-off-by: Clément Péron --- arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi | 33 1 file changed, 33 insertions(+) diff --git a

[linux-sunxi] [PATCH v3 00/19] Add Allwinner H3/H5/H6/A64 HDMI audio

2020-09-20 Thread Clément Péron
v1: - rebase on next-20200828 - add revert LRCK polarity - remove all simple-audio-card,frame-inversion in dts - add Ondrej patches for Orange Pi board - Add arm64 defconfig patch Clément Péron (4): ASoC: sun4i-i2s: Change set_chan_cfg params ASoC: sun4i-i2s: Fix sun8i volatile regs arm64: dts

[linux-sunxi] [PATCH v3 01/19] ASoC: sun4i-i2s: Add support for H6 I2S

2020-09-20 Thread Clément Péron
From: Jernej Skrabec H6 I2S is very similar to that in H3, except it supports up to 16 channels. Signed-off-by: Jernej Skrabec Signed-off-by: Marcus Cooper Signed-off-by: Clément Péron --- sound/soc/sunxi/sun4i-i2s.c | 218 1 file changed, 218 insertions

[linux-sunxi] Re: [PATCH v3 01/19] ASoC: sun4i-i2s: Add support for H6 I2S

2020-09-20 Thread Clément Péron
Hi Samuel, On Sun, 20 Sep 2020 at 20:39, Samuel Holland wrote: > > On 9/20/20 1:07 PM, Clément Péron wrote: > > From: Jernej Skrabec > > > > H6 I2S is very similar to that in H3, except it supports up to 16 > > channels. > > > > Signed-off-by: Jernej

[linux-sunxi] Re: [PATCH v3 06/19] ASoC: sun4i-i2s: Fix sun8i volatile regs

2020-09-20 Thread Clément Péron
Hi Samuel, On Sun, 20 Sep 2020 at 20:52, Samuel Holland wrote: > > On 9/20/20 1:07 PM, Clément Péron wrote: > > The FIFO TX reg is volatile and sun8i i2s register > > mapping is different from sun4i. > > > > Even if in this case it's doesn't create an iss

[linux-sunxi] Re: [PATCH v3 05/19] ASoc: sun4i-i2s: Add 20 and 24 bit support

2020-09-20 Thread Clément Péron
Hi Samuel, On Sun, 20 Sep 2020 at 20:45, Samuel Holland wrote: > > On 9/20/20 1:07 PM, Clément Péron wrote: > > From: Marcus Cooper > > > > Extend the functionality of the driver to include support of 20 and > > 24 bits per sample. > > > > Signe

[linux-sunxi] [PATCH v4 01/22] ASoC: sun4i-i2s: Add support for H6 I2S

2020-09-21 Thread Clément Péron
From: Jernej Skrabec H6 I2S is very similar to that in H3, except it supports up to 16 channels. Signed-off-by: Jernej Skrabec Signed-off-by: Marcus Cooper Signed-off-by: Clément Péron --- sound/soc/sunxi/sun4i-i2s.c | 224 1 file changed, 224 insertions

[linux-sunxi] [PATCH v4 04/22] dt-bindings: ASoC: sun4i-i2s: Add H6 compatible

2020-09-21 Thread Clément Péron
From: Jernej Skrabec H6 I2S is very similar to H3, except that it supports up to 16 channels and thus few registers have fields on different position. Signed-off-by: Jernej Skrabec Signed-off-by: Marcus Cooper Signed-off-by: Clément Péron Acked-by: Maxime Ripard Acked-by: Rob Herring

[linux-sunxi] [PATCH v4 03/22] ASoC: sun4i-i2s: Change get_sr() and get_wss() to be more explicit

2020-09-21 Thread Clément Péron
We are actually using a complex formula to just return a bunch of simple values. Also this formula is wrong for sun4i. Replace this with a simpler switch case. Also drop the i2s params not used. Signed-off-by: Clément Péron --- sound/soc/sunxi/sun4i-i2s.c | 69

[linux-sunxi] [PATCH v4 00/22] Add Allwinner H3/H5/H6/A64 HDMI audio

2020-09-21 Thread Clément Péron
udio-card,frame-inversion in dts - add Ondrej patches for Orange Pi board - Add arm64 defconfig patch Clément Péron (6): ASoC: sun4i-i2s: Change set_chan_cfg() params ASoC: sun4i-i2s: Change get_sr() and get_wss() to be more explicit ASoC: sun4i-i2s: Fix sun8i volatile regs arm64: dts: allwin

[linux-sunxi] [PATCH v4 20/22] arm64: dts: sun50i-h6-orangepi-3: Enable HDMI audio

2020-09-21 Thread Clément Péron
From: Ondrej Jirman The board has HDMI output, enable audio on it. Signed-off-by: Ondrej Jirman Signed-off-by: Clément Péron --- arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi-3.dts | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi

[linux-sunxi] [PATCH v4 06/22] ASoc: sun4i-i2s: Add 20 and 24 bit support

2020-09-21 Thread Clément Péron
From: Marcus Cooper Extend the functionality of the driver to include support of 20 and 24 bits per sample. Signed-off-by: Marcus Cooper Signed-off-by: Clément Péron Acked-by: Maxime Ripard --- sound/soc/sunxi/sun4i-i2s.c | 11 +-- 1 file changed, 9 insertions(+), 2 deletions

[linux-sunxi] [PATCH v4 08/22] ASoC: sun4i-i2s: Fix setting of FIFO modes

2020-09-21 Thread Clément Péron
-by: Clément Péron --- sound/soc/sunxi/sun4i-i2s.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/sound/soc/sunxi/sun4i-i2s.c b/sound/soc/sunxi/sun4i-i2s.c index 3f9110d70941..9cd6cd1cd284 100644 --- a/sound/soc/sunxi/sun4i-i2s.c +++ b/sound/soc/sunxi/sun4i-i2s.c

[linux-sunxi] [PATCH v4 02/22] ASoC: sun4i-i2s: Change set_chan_cfg() params

2020-09-21 Thread Clément Péron
uel Holland Signed-off-by: Clément Péron --- sound/soc/sunxi/sun4i-i2s.c | 36 ++-- 1 file changed, 14 insertions(+), 22 deletions(-) diff --git a/sound/soc/sunxi/sun4i-i2s.c b/sound/soc/sunxi/sun4i-i2s.c index 2baf6c276280..0633b9fba3d7 100644 --- a/sound/soc/su

[linux-sunxi] [PATCH v4 17/22] arm64: dts: allwinner: a64: Add HDMI audio to Pine64

2020-09-21 Thread Clément Péron
From: Marcus Cooper Enable HDMI audio on Pine64. Signed-off-by: Marcus Cooper Signed-off-by: Clément Péron --- arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts b/arch/arm64

[linux-sunxi] [PATCH v4 12/22] arm: dts: sunxi: h3/h5: Add HDMI audio

2020-09-21 Thread Clément Péron
From: Marcus Cooper Add a simple-soundcard to link audio between HDMI and I2S. Signed-off-by: Jernej Skrabec Signed-off-by: Marcus Cooper Signed-off-by: Clément Péron --- arch/arm/boot/dts/sunxi-h3-h5.dtsi | 20 1 file changed, 20 insertions(+) diff --git a/arch/arm

[linux-sunxi] [PATCH v4 09/22] arm64: dts: allwinner: h6: Add HDMI audio node

2020-09-21 Thread Clément Péron
From: Jernej Skrabec Add a simple-soundcard to link audio between HDMI and I2S. Signed-off-by: Jernej Skrabec Signed-off-by: Marcus Cooper Signed-off-by: Clément Péron --- arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi | 33 1 file changed, 33 insertions(+) diff --git a

[linux-sunxi] [PATCH v4 05/22] ASoC: sun4i-i2s: Set sign extend sample

2020-09-21 Thread Clément Péron
keep consistency and avoid relying on default. Signed-off-by: Marcus Cooper Signed-off-by: Clément Péron --- sound/soc/sunxi/sun4i-i2s.c | 17 + 1 file changed, 17 insertions(+) diff --git a/sound/soc/sunxi/sun4i-i2s.c b/sound/soc/sunxi/sun4i-i2s.c index 11bbcbe24d6b..b31454eee43c 1

[linux-sunxi] [PATCH v4 07/22] ASoC: sun4i-i2s: Fix sun8i volatile regs

2020-09-21 Thread Clément Péron
The FIFO TX reg is volatile and sun8i i2s register mapping is different from sun4i. Even if in this case it's doesn't create an issue, Avoid setting some regs that are undefined in sun8i. Signed-off-by: Clément Péron Acked-by: Maxime Ripard --- sound/soc/sunxi/sun4i-

[linux-sunxi] [PATCH v4 14/22] arm64: dts: allwinner: a64: Add HDMI audio

2020-09-21 Thread Clément Péron
From: Marcus Cooper Add a simple-soundcard to link audio between HDMI and I2S. Signed-off-by: Jernej Skrabec Signed-off-by: Marcus Cooper Signed-off-by: Clément Péron --- arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 20 +++ 1 file changed, 20 insertions(+) diff --git a

[linux-sunxi] [PATCH v4 11/22] arm: dts: sunxi: h3/h5: Add DAI node for HDMI

2020-09-21 Thread Clément Péron
From: Marcus Cooper Add the new DAI block for I2S2 which is used for HDMI audio. Signed-off-by: Marcus Cooper Signed-off-by: Clément Péron --- arch/arm/boot/dts/sunxi-h3-h5.dtsi | 13 + 1 file changed, 13 insertions(+) diff --git a/arch/arm/boot/dts/sunxi-h3-h5.dtsi b/arch/arm

[linux-sunxi] [PATCH v4 21/22] arm64: defconfig: Enable Allwinner i2s driver

2020-09-21 Thread Clément Péron
Enable Allwinner I2S driver for arm64 defconfig. Signed-off-by: Clément Péron --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 63003ec116ee..9a3c3bbe60e4 100644 --- a/arch/arm64/configs

[linux-sunxi] [PATCH v4 15/22] arm: sun8i: h3: Add HDMI audio to Orange Pi 2

2020-09-21 Thread Clément Péron
From: Marcus Cooper Enable HDMI audio on the Orange Pi 2. Signed-off-by: Marcus Cooper Signed-off-by: Clément Péron --- arch/arm/boot/dts/sun8i-h3-orangepi-2.dts | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-h3-orangepi-2.dts b/arch/arm/boot/dts/sun8i

[linux-sunxi] [PATCH v4 18/22] arm64: dts: allwinner: Enable HDMI audio on Orange Pi PC 2

2020-09-21 Thread Clément Péron
From: Ondrej Jirman The board has HDMI output, enable audio on it. Signed-off-by: Ondrej Jirman Signed-off-by: Clément Péron --- arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-pc2.dts | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h5

[linux-sunxi] [PATCH v4 19/22] ARM: dts: sun8i-h3: Enable HDMI audio on Orange Pi PC/One

2020-09-21 Thread Clément Péron
From: Ondrej Jirman The board has HDMI output, enable audio on it. Signed-off-by: Ondrej Jirman Signed-off-by: Clément Péron --- arch/arm/boot/dts/sun8i-h3-orangepi-one.dts | 8 arch/arm/boot/dts/sun8i-h3-orangepi-pc.dts | 8 2 files changed, 16 insertions(+) diff --git a

[linux-sunxi] [PATCH v4 16/22] arm: sun8i: h3: Add HDMI audio to Beelink X2

2020-09-21 Thread Clément Péron
From: Marcus Cooper Enable HDMI audio on the Beelink X2. Signed-off-by: Marcus Cooper Signed-off-by: Clément Péron --- arch/arm/boot/dts/sun8i-h3-beelink-x2.dts | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-h3-beelink-x2.dts b/arch/arm/boot/dts/sun8i-h3

[linux-sunxi] [PATCH v4 10/22] arm64: dts: allwinner: h6: Enable HDMI sound for Beelink GS1

2020-09-21 Thread Clément Péron
Now that HDMI sound node is available in the SoC dtsi. Enable it for this board. Signed-off-by: Clément Péron --- arch/arm64/boot/dts/allwinner/sun50i-h6-beelink-gs1.dts | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6-beelink-gs1.dts b/arch

[linux-sunxi] [PATCH v4 22/22] ASoC: sun4i-i2s: fix coding-style for callback definition

2020-09-21 Thread Clément Péron
Checkpatch script produces warning: WARNING: function definition argument 'const struct sun4i_i2s *' should also have an identifier name. Let's fix this by adding identifier name to get_bclk_parent_rate() and set_fmt() callback definition. Signed-off-by: Clément Péron --- sound/

[linux-sunxi] [PATCH v4 13/22] arm64: dts: allwinner: a64: Add DAI node for HDMI

2020-09-21 Thread Clément Péron
From: Marcus Cooper Add the new DAI block for I2S2 which is used for HDMI audio. Signed-off-by: Marcus Cooper Signed-off-by: Clément Péron --- arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 14 ++ 1 file changed, 14 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner

[linux-sunxi] Re: [PATCH v4 02/22] ASoC: sun4i-i2s: Change set_chan_cfg() params

2020-09-21 Thread Clément Péron
Hi Maxime, On Mon, 21 Sep 2020 at 14:29, Maxime Ripard wrote: > > On Mon, Sep 21, 2020 at 12:27:11PM +0200, Clément Péron wrote: > > As slots and slot_width can be overwritter in case set_tdm() is > > called. Avoid to have this logic in set_chan_cfg(). > > > > Inste

[linux-sunxi] Re: [PATCH v4 03/22] ASoC: sun4i-i2s: Change get_sr() and get_wss() to be more explicit

2020-09-21 Thread Clément Péron
Hi Maxime, On Mon, 21 Sep 2020 at 15:55, Maxime Ripard wrote: > > On Mon, Sep 21, 2020 at 12:27:12PM +0200, Clément Péron wrote: > > We are actually using a complex formula to just return a bunch of > > simple values. Also this formula is wrong for sun4i. > > Just like

[linux-sunxi] Re: [PATCH v4 09/22] arm64: dts: allwinner: h6: Add HDMI audio node

2020-09-21 Thread Clément Péron
Hi Maxime, On Mon, 21 Sep 2020 at 15:59, Maxime Ripard wrote: > > On Mon, Sep 21, 2020 at 12:27:18PM +0200, Clément Péron wrote: > > From: Jernej Skrabec > > > > Add a simple-soundcard to link audio between HDMI and I2S. > > > > Signed-off-by: Jernej Skrab

[linux-sunxi] [PATCH v5 06/20] ASoc: sun4i-i2s: Add 20 and 24 bit support

2020-09-27 Thread Clément Péron
From: Marcus Cooper Extend the functionality of the driver to include support of 20 and 24 bits per sample. Signed-off-by: Marcus Cooper Signed-off-by: Clément Péron Acked-by: Maxime Ripard --- sound/soc/sunxi/sun4i-i2s.c | 11 +-- 1 file changed, 9 insertions(+), 2 deletions

[linux-sunxi] [PATCH v5 17/20] ARM: dts: sun8i-h3: Enable HDMI audio on Orange Pi PC/One

2020-09-27 Thread Clément Péron
From: Ondrej Jirman The board has HDMI output, enable audio on it. Signed-off-by: Ondrej Jirman Signed-off-by: Clément Péron --- arch/arm/boot/dts/sun8i-h3-orangepi-one.dts | 8 arch/arm/boot/dts/sun8i-h3-orangepi-pc.dts | 8 2 files changed, 16 insertions(+) diff --git a

[linux-sunxi] [PATCH v5 18/20] arm64: dts: sun50i-h6-orangepi-3: Enable HDMI audio

2020-09-27 Thread Clément Péron
From: Ondrej Jirman The board has HDMI output, enable audio on it. Signed-off-by: Ondrej Jirman Signed-off-by: Clément Péron --- arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi-3.dts | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi

[linux-sunxi] [PATCH v5 00/20] Add Allwinner H3/H5/H6/A64 HDMI audio

2020-09-27 Thread Clément Péron
,frame-inversion in dts - Add patch for changing set_chan_cfg params Change since v1: - rebase on next-20200828 - add revert LRCK polarity - remove all simple-audio-card,frame-inversion in dts - add Ondrej patches for Orange Pi board - Add arm64 defconfig patch Clément Péron (6): ASoC: sun4i-i2s

[linux-sunxi] [PATCH v5 16/20] arm64: dts: allwinner: Enable HDMI audio on Orange Pi PC 2

2020-09-27 Thread Clément Péron
From: Ondrej Jirman The board has HDMI output, enable audio on it. Signed-off-by: Ondrej Jirman Signed-off-by: Clément Péron --- arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-pc2.dts | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h5

[linux-sunxi] [PATCH v5 04/20] dt-bindings: ASoC: sun4i-i2s: Add H6 compatible

2020-09-27 Thread Clément Péron
From: Jernej Skrabec H6 I2S is very similar to H3, except that it supports up to 16 channels and thus few registers have fields on different position. Signed-off-by: Jernej Skrabec Signed-off-by: Marcus Cooper Signed-off-by: Clément Péron Acked-by: Maxime Ripard Acked-by: Rob Herring

[linux-sunxi] [PATCH v5 11/20] arm: dts: sunxi: h3/h5: Add DAI node and soundcard for HDMI

2020-09-27 Thread Clément Péron
-soundcard to do that. Signed-off-by: Jernej Skrabec Signed-off-by: Marcus Cooper Signed-off-by: Clément Péron --- arch/arm/boot/dts/sunxi-h3-h5.dtsi | 33 ++ 1 file changed, 33 insertions(+) diff --git a/arch/arm/boot/dts/sunxi-h3-h5.dtsi b/arch/arm/boot/dts/sunxi-h3-h5

[linux-sunxi] [PATCH v5 08/20] ASoC: sun4i-i2s: Fix setting of FIFO modes

2020-09-27 Thread Clément Péron
-by: Clément Péron --- sound/soc/sunxi/sun4i-i2s.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/sound/soc/sunxi/sun4i-i2s.c b/sound/soc/sunxi/sun4i-i2s.c index 3f9110d70941..9cd6cd1cd284 100644 --- a/sound/soc/sunxi/sun4i-i2s.c +++ b/sound/soc/sunxi/sun4i-i2s.c

[linux-sunxi] [PATCH v5 07/20] ASoC: sun4i-i2s: Fix sun8i volatile regs

2020-09-27 Thread Clément Péron
The FIFO TX reg is volatile and sun8i i2s register mapping is different from sun4i. Even if in this case it's doesn't create an issue, Avoid setting some regs that are undefined in sun8i. Signed-off-by: Clément Péron Acked-by: Maxime Ripard --- sound/soc/sunxi/sun4i-

[linux-sunxi] [PATCH v5 15/20] arm64: dts: allwinner: a64: Add HDMI audio to Pine64

2020-09-27 Thread Clément Péron
From: Marcus Cooper Enable HDMI audio on Pine64. Signed-off-by: Marcus Cooper Signed-off-by: Clément Péron --- arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts b/arch/arm64

[linux-sunxi] [PATCH v5 12/20] arm64: dts: allwinner: a64: Add DAI node and soundcard for HDMI

2020-09-27 Thread Clément Péron
-soundcard to do that. Signed-off-by: Jernej Skrabec Signed-off-by: Marcus Cooper Signed-off-by: Clément Péron --- arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 34 +++ 1 file changed, 34 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi b/arch/arm64/boot/dts

[linux-sunxi] [PATCH v5 13/20] arm: sun8i: h3: Add HDMI audio to Orange Pi 2

2020-09-27 Thread Clément Péron
From: Marcus Cooper Enable HDMI audio on the Orange Pi 2. Signed-off-by: Marcus Cooper Signed-off-by: Clément Péron --- arch/arm/boot/dts/sun8i-h3-orangepi-2.dts | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-h3-orangepi-2.dts b/arch/arm/boot/dts/sun8i

[linux-sunxi] [PATCH v5 02/20] ASoC: sun4i-i2s: Change set_chan_cfg() params

2020-09-27 Thread Clément Péron
the lrck_period computation. Suggested-by: Samuel Holland Signed-off-by: Clément Péron --- sound/soc/sunxi/sun4i-i2s.c | 36 ++-- 1 file changed, 14 insertions(+), 22 deletions(-) diff --git a/sound/soc/sunxi/sun4i-i2s.c b/sound/soc/sunxi/sun4i-i2s.c index 2baf6c276

[linux-sunxi] [PATCH v5 03/20] ASoC: sun4i-i2s: Change get_sr() and get_wss() to be more explicit

2020-09-27 Thread Clément Péron
an error code could be out of range for an s8 and there is no optim to return a s8 here. Signed-off-by: Clément Péron --- sound/soc/sunxi/sun4i-i2s.c | 69 +++-- 1 file changed, 44 insertions(+), 25 deletions(-) diff --git a/sound/soc/sunxi/sun4i-i2s.c b/sound/soc

[linux-sunxi] [PATCH v5 09/20] arm64: dts: allwinner: h6: Add DAI node and soundcard for HDMI

2020-09-27 Thread Clément Péron
-off-by: Jernej Skrabec Signed-off-by: Marcus Cooper Signed-off-by: Clément Péron --- arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi | 33 1 file changed, 33 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi

[linux-sunxi] [PATCH v5 01/20] ASoC: sun4i-i2s: Add support for H6 I2S

2020-09-27 Thread Clément Péron
From: Jernej Skrabec H6 I2S is very similar to that in H3, except it supports up to 16 channels. Signed-off-by: Jernej Skrabec Signed-off-by: Marcus Cooper Signed-off-by: Clément Péron --- sound/soc/sunxi/sun4i-i2s.c | 224 1 file changed, 224 insertions

[linux-sunxi] [PATCH v5 19/20] arm64: defconfig: Enable Allwinner i2s driver

2020-09-27 Thread Clément Péron
Enable Allwinner I2S driver for arm64 defconfig. Signed-off-by: Clément Péron --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 63003ec116ee..9a3c3bbe60e4 100644 --- a/arch/arm64/configs

[linux-sunxi] [PATCH v5 10/20] arm64: dts: allwinner: h6: Enable HDMI sound for Beelink GS1

2020-09-27 Thread Clément Péron
Now that HDMI sound node is available in the SoC dtsi. Enable it for this board. Signed-off-by: Clément Péron --- arch/arm64/boot/dts/allwinner/sun50i-h6-beelink-gs1.dts | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6-beelink-gs1.dts b/arch

[linux-sunxi] [PATCH v5 05/20] ASoC: sun4i-i2s: Set sign extend sample

2020-09-27 Thread Clément Péron
keep consistency and avoid relying on default. Signed-off-by: Marcus Cooper Signed-off-by: Clément Péron --- sound/soc/sunxi/sun4i-i2s.c | 17 + 1 file changed, 17 insertions(+) diff --git a/sound/soc/sunxi/sun4i-i2s.c b/sound/soc/sunxi/sun4i-i2s.c index 11bbcbe24d6b..b31454eee43c 1

[linux-sunxi] [PATCH v5 14/20] arm: sun8i: h3: Add HDMI audio to Beelink X2

2020-09-27 Thread Clément Péron
From: Marcus Cooper Enable HDMI audio on the Beelink X2. Signed-off-by: Marcus Cooper Signed-off-by: Clément Péron --- arch/arm/boot/dts/sun8i-h3-beelink-x2.dts | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-h3-beelink-x2.dts b/arch/arm/boot/dts/sun8i-h3

[linux-sunxi] [PATCH v5 20/20] ASoC: sun4i-i2s: fix coding-style for callback definition

2020-09-27 Thread Clément Péron
Checkpatch script produces warning: WARNING: function definition argument 'const struct sun4i_i2s *' should also have an identifier name. Let's fix this by adding identifier name to get_bclk_parent_rate() and set_fmt() callback definition. Signed-off-by: Clément Péron --- sound/

[linux-sunxi] Re: [PATCH v4 09/22] arm64: dts: allwinner: h6: Add HDMI audio node

2020-09-28 Thread Clément Péron
Hi Maxime, On Mon, 28 Sep 2020 at 10:43, Maxime Ripard wrote: > > On Mon, Sep 21, 2020 at 08:37:09PM +0200, Jernej Škrabec wrote: > > Dne ponedeljek, 21. september 2020 ob 19:23:49 CEST je Clément Péron > > napisal(a): > > > Hi Maxime, > > > > > >

Re: [linux-sunxi] [PATCH v5 01/20] ASoC: sun4i-i2s: Add support for H6 I2S

2020-09-28 Thread Clément Péron
Hi Chen-Yu, On Mon, 28 Sep 2020 at 06:40, Chen-Yu Tsai wrote: > > On Mon, Sep 28, 2020 at 3:29 AM Clément Péron wrote: > > > > From: Jernej Skrabec > > > > H6 I2S is very similar to that in H3, except it supports up to 16 > > channels. > > > >

Re: [linux-sunxi] [PATCH v5 02/20] ASoC: sun4i-i2s: Change set_chan_cfg() params

2020-09-28 Thread Clément Péron
Hi Chen-Yu, On Mon, 28 Sep 2020 at 07:00, Chen-Yu Tsai wrote: > > On Mon, Sep 28, 2020 at 3:29 AM Clément Péron wrote: > > > > As slots and slot_width can be overwritter in case set_tdm() is > > called. Avoid to have this logic in set_chan_cfg(). > > It doesn&#x

Re: [linux-sunxi] [PATCH v5 09/20] arm64: dts: allwinner: h6: Add DAI node and soundcard for HDMI

2020-10-02 Thread Clément Péron
Hi Chen-Yu, On Mon, 28 Sep 2020 at 07:42, Chen-Yu Tsai wrote: > > On Mon, Sep 28, 2020 at 1:32 PM Chen-Yu Tsai wrote: > > > > On Mon, Sep 28, 2020 at 3:29 AM Clément Péron wrote: > > > > > > From: Jernej Skrabec > > > > > > Add t

Re: [linux-sunxi] [PATCH v5 09/20] arm64: dts: allwinner: h6: Add DAI node and soundcard for HDMI

2020-10-03 Thread Clément Péron
Hi, On Fri, 2 Oct 2020 at 18:24, Maxime Ripard wrote: > > On Fri, Oct 02, 2020 at 06:01:21PM +0200, Clément Péron wrote: > > Hi Chen-Yu, > > > > On Mon, 28 Sep 2020 at 07:42, Chen-Yu Tsai wrote: > > > > > > On Mon, Sep 28, 2020 at 1:32 PM Chen-Yu T

Re: [linux-sunxi] Re: [PATCH 0/7] Pine64 PineCube support

2020-10-03 Thread Clément Péron
Hi, I was running dtbs_check and found this series introduced new warnings. DTC arch/arm/boot/dts/sun8i-s3-pinecube.dtb DTC arch/arm/boot/dts/sun8i-s3-pinecube.dt.yaml CHECK arch/arm/boot/dts/sun8i-s3-pinecube.dt.yaml /arch/arm/boot/dts/sun8i-s3-pinecube.dt.yaml: system-control@1c

Re: [linux-sunxi] Re: [PATCH 0/7] Pine64 PineCube support

2020-10-03 Thread Clément Péron
> On Fri, 25 Sep 2020 at 17:12, Maxime Ripard wrote: > > > > Hi, > > > > On Wed, Sep 23, 2020 at 08:57:02AM +0800, Icenowy Zheng wrote: > > > Pine64 PineCube is an IP camera based on Allwinner S3 chip. > > > > > > This patchset tries to add support for it. > > > > > > In order to make sure the sys

Re: [linux-sunxi] Re: [PATCH 0/7] Pine64 PineCube support

2020-10-03 Thread Clément Péron
Hi Icenowy, On Sat, 3 Oct 2020 at 12:39, Icenowy Zheng wrote: > > > > 于 2020年10月3日 GMT+08:00 下午6:28:03, "Clément Péron" 写到: > >Hi, > > > >I was running dtbs_check and found this series introduced new warnings. > > > > DTC arch/arm/boot/

[linux-sunxi] [PATCH v6 01/14] ASoC: sun4i-i2s: Add support for H6 I2S

2020-10-03 Thread Clément Péron
From: Jernej Skrabec H6 I2S is very similar to that in H3, except it supports up to 16 channels. Signed-off-by: Jernej Skrabec Signed-off-by: Marcus Cooper Reviewed-by: Chen-Yu Tsai Signed-off-by: Clément Péron --- sound/soc/sunxi/sun4i-i2s.c | 226 1

[linux-sunxi] [PATCH v6 00/14] Add Allwinner H3/H5/H6/A64 HDMI audio

2020-10-03 Thread Clément Péron
params Change since v1: - rebase on next-20200828 - add revert LRCK polarity - remove all simple-audio-card,frame-inversion in dts - add Ondrej patches for Orange Pi board - Add arm64 defconfig patch *** BLURB HERE *** Clément Péron (6): ASoC: sun4i-i2s: Change set_chan_cfg() params ASoC

[linux-sunxi] [PATCH v6 14/14] arm: dts: sunxi: h3/h5: Add I2S2 node

2020-10-03 Thread Clément Péron
From: Marcus Cooper Add H3/H5 I2S2 node connected to the HDMI interface. Signed-off-by: Jernej Skrabec Signed-off-by: Marcus Cooper Acked-by: Chen-Yu Tsai Signed-off-by: Clément Péron --- arch/arm/boot/dts/sunxi-h3-h5.dtsi | 13 + 1 file changed, 13 insertions(+) diff --git a

[linux-sunxi] [PATCH v6 12/14] arm64: defconfig: Enable Allwinner i2s driver

2020-10-03 Thread Clément Péron
Enable Allwinner I2S driver for arm64 defconfig. Signed-off-by: Clément Péron --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 63003ec116ee..9a3c3bbe60e4 100644 --- a/arch/arm64/configs

[linux-sunxi] [PATCH v6 04/14] ASoC: sun4i-i2s: Set sign extend sample

2020-10-03 Thread Clément Péron
keep consistency and avoid relying on default. Signed-off-by: Marcus Cooper Reviewed-by: Chen-Yu Tsai Signed-off-by: Clément Péron --- sound/soc/sunxi/sun4i-i2s.c | 17 + 1 file changed, 17 insertions(+) diff --git a/sound/soc/sunxi/sun4i-i2s.c b/sound/soc/sunxi/sun4i-i2s.c

[linux-sunxi] [PATCH v6 05/14] ASoc: sun4i-i2s: Add 20 and 24 bit support

2020-10-03 Thread Clément Péron
From: Marcus Cooper Extend the functionality of the driver to include support of 20 and 24 bits per sample. Signed-off-by: Marcus Cooper Acked-by: Maxime Ripard Reviewed-by: Chen-Yu Tsai Signed-off-by: Clément Péron --- sound/soc/sunxi/sun4i-i2s.c | 11 +-- 1 file changed, 9

[linux-sunxi] [PATCH v6 13/14] dt-bindings: sound: sun4i-i2s: Document H3 with missing RX channel possibility

2020-10-03 Thread Clément Péron
Like A83T the Allwinner H3 doesn't have the DMA reception available for some audio interfaces. As it's already documented for A83T convert this to an enum and add the H3 interface. Signed-off-by: Clément Péron --- .../devicetree/bindings/sound/allwinner,sun4i-a10-i2s.yaml| 4 ++

[linux-sunxi] [PATCH v6 10/14] arm64: dts: allwinner: h6: Add I2S1 node

2020-10-03 Thread Clément Péron
From: Jernej Skrabec Add Allwinner H6 I2S1 node connected to HDMI interface. Signed-off-by: Jernej Skrabec Signed-off-by: Marcus Cooper Acked-by: Chen-Yu Tsai Signed-off-by: Clément Péron --- arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi | 13 + 1 file changed, 13 insertions

[linux-sunxi] [PATCH v6 03/14] ASoC: sun4i-i2s: Change get_sr() and get_wss() to be more explicit

2020-10-03 Thread Clément Péron
an error code could be out of range for an s8 and there is no optim to return a s8 here. Fixes: 619c15f7fac9 ("ASoC: sun4i-i2s: Change SR and WSS computation") Reviewed-by: Chen-Yu Tsai Signed-off-by: Clément Péron --- sound/soc/sunxi/sun4i-i2s.c | 69 +++---

[linux-sunxi] [PATCH v6 06/14] ASoC: sun4i-i2s: Fix sun8i volatile regs

2020-10-03 Thread Clément Péron
The FIFO TX reg is volatile and sun8i i2s register mapping is different from sun4i. Even if in this case it's doesn't create an issue, Avoid setting some regs that are undefined in sun8i. Acked-by: Maxime Ripard Reviewed-by: Chen-Yu Tsai Signed-off-by: Clément Péron --- sound/soc/s

[linux-sunxi] [PATCH v6 02/14] ASoC: sun4i-i2s: Change set_chan_cfg() params

2020-10-03 Thread Clément Péron
params to set_chan_cfg(). This will also avoid a bug when we will enable 20/24bits support, i2s->slot_width is not actually used in the lrck_period computation. Suggested-by: Samuel Holland Signed-off-by: Clément Péron --- sound/soc/sunxi/sun4i-i2s.c |

[linux-sunxi] [PATCH v6 08/14] ASoC: sun4i-i2s: fix coding-style for callback definition

2020-10-03 Thread Clément Péron
Checkpatch script produces warning: WARNING: function definition argument 'const struct sun4i_i2s *' should also have an identifier name. Let's fix this by adding identifier name to get_bclk_parent_rate() and set_fmt() callback definition. Signed-off-by: Clément Péron --- sound/

[linux-sunxi] [PATCH v6 09/14] dt-bindings: ASoC: sun4i-i2s: Add H6 compatible

2020-10-03 Thread Clément Péron
-by: Clément Péron --- .../devicetree/bindings/sound/allwinner,sun4i-a10-i2s.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/sound/allwinner,sun4i-a10-i2s.yaml b/Documentation/devicetree/bindings/sound/allwinner,sun4i-a10-i2s.yaml index

[linux-sunxi] [PATCH v6 07/14] ASoC: sun4i-i2s: Fix setting of FIFO modes

2020-10-03 Thread Clément Péron
: Chen-Yu Tsai Signed-off-by: Clément Péron --- sound/soc/sunxi/sun4i-i2s.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/sound/soc/sunxi/sun4i-i2s.c b/sound/soc/sunxi/sun4i-i2s.c index 92671eb94db9..fef68146d648 100644 --- a/sound/soc/sunxi/sun4i-i2s.c +++ b

[linux-sunxi] [PATCH v6 11/14] arm64: dts: allwinner: a64: Add I2S2 node

2020-10-03 Thread Clément Péron
From: Marcus Cooper Add the I2S2 node connected to the HDMI interface. Signed-off-by: Jernej Skrabec Signed-off-by: Marcus Cooper Acked-by: Chen-Yu Tsai Signed-off-by: Clément Péron --- arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 14 ++ 1 file changed, 14 insertions

[linux-sunxi] Re: [PATCH v6 02/14] ASoC: sun4i-i2s: Change set_chan_cfg() params

2020-10-05 Thread Clément Péron
Hi Maxime, On Mon, 5 Oct 2020 at 14:13, Maxime Ripard wrote: > > On Sat, Oct 03, 2020 at 04:19:38PM +0200, Clément Péron wrote: > > As slots and slot_width can be set manually using set_tdm(). > > These values are then kept in sun4i_i2s struct. > > So we need to check if

[linux-sunxi] Re: [PATCH v6 03/14] ASoC: sun4i-i2s: Change get_sr() and get_wss() to be more explicit

2020-10-05 Thread Clément Péron
Hi Maxime, On Mon, 5 Oct 2020 at 14:14, Maxime Ripard wrote: > > On Sat, Oct 03, 2020 at 04:19:39PM +0200, Clément Péron wrote: > > We are actually using a complex formula to just return a bunch of > > simple values. Also this formula is wrong for sun4i when calling > >

[linux-sunxi] Re: devfreq and panfrost on Allwinner H6

2020-10-07 Thread Clément Péron
Hi Tomeu, On Wed, 7 Oct 2020 at 10:58, Tomeu Vizoso wrote: > > Hi Clément, > > Have just noticed that my Pine H64 board hangs when I try to set the > performance governor for the GPU devfreq. > > Is this a known bug? Yes it is. I try to summarize everything in this message: https://lkml.org/lkml

[linux-sunxi] Re: [PATCH v2] arm64: dts: allwinner: h6: add eMMC voltage property for Beelink GS1

2020-10-08 Thread Clément Péron
Hi Maxime, Adding linux-sunxi and Jernej Skrabec to this discussion. On Thu, 8 Oct 2020 at 17:10, Maxime Ripard wrote: > > Hi Clément, > > On Mon, Oct 05, 2020 at 08:47:19PM +0200, Clément Péron wrote: > > On Mon, 5 Oct 2020 at 11:21, Maxime Ripard wrote: > > > >

<    1   2   3   4   5   6   >