[linux-sunxi] Query about Lemaker LCD 3.5 patch

2020-04-05 Thread 'destroyedlolo' via linux-sunxi
Hello, I'm trying to upgrade my BananaPI to latest 5.x kernel. Unfortunately, it doesn't support 3.5 LCD display as per it's DTS. A found a patch from Paul Kocialkowski : https://lkml.org/lkml/2018/11/7/980 But despite responses saying patches have been committed, as said the DTS doesn't

[linux-sunxi] [PATCH v2 7/7] arm64: dts: allwinner: h6: Enable CPU and GPU opp tables for Orange Pi boards

2020-04-05 Thread Clément Péron
Enable CPU and GPU opp tables for Orange Pi boards. This needs to change the CPU regulator max voltage to fit the OPP table. Also add the ramp-delay information to avoid any out of spec running as the regulator is slower at reaching the voltage requested compare to the PLL reaching the

[linux-sunxi] [PATCH v2 0/7] Add support for Allwinner H6 DVFS

2020-04-05 Thread Clément Péron
Hi Sunxi maintainers and members, Now that required drivers are merged we can contibute on DVFS support for Allwinner H6. This serie is based on Yangtao Li serie[0] and Ondřej Jirman work[1]. Most of the OPP tables are taken from original vendor kernel[2]. Plus there is a new CPU frequencies at

[linux-sunxi] [PATCH v2 5/7] arm64: configs: Enable sun50i cpufreq nvmem

2020-04-05 Thread Clément Péron
Allwinner H6 needs this driver to be able to get the correct speed_bin required for DVFS. Enable this option in 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

[linux-sunxi] [PATCH v2 4/7] arm64: dts: allwinner: h6: Add GPU Operating Performance Points table

2020-04-05 Thread Clément Péron
Add an Operating Performance Points table for the GPU to enable Dynamic Voltage & Frequency Scaling on the H6. Signed-off-by: Clément Péron --- .../boot/dts/allwinner/sun50i-h6-gpu-opp.dtsi | 74 +++ 1 file changed, 74 insertions(+) create mode 100644

[linux-sunxi] [PATCH v2 6/7] arm64: dts: allwinner: h6: Enable CPU and GPU opp tables for Beelink GS1

2020-04-05 Thread Clément Péron
Enable CPU and GPU opp tables for Beelink GS1. This needs to change the CPU regulator max voltage to fit the OPP table. Also add the ramp-delay information to avoid any out of spec running as the regulator is slower at reaching the voltage requested compare to the PLL reaching the frequency.

[linux-sunxi] [PATCH v2 2/7] arm64: dts: allwinner: h6: Add thermal trip points/cooling map

2020-04-05 Thread Clément Péron
From: Ondrej Jirman This enables passive cooling by down-regulating CPU voltage and frequency. Signed-off-by: Ondrej Jirman Signed-off-by: Clément Péron --- arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi | 24 1 file changed, 24 insertions(+) diff --git

[linux-sunxi] [PATCH v2 3/7] arm64: dts: allwinner: h6: Add CPU Operating Performance Points table

2020-04-05 Thread Clément Péron
From: Ondrej Jirman Add an Operating Performance Points table for the CPU cores to enable Dynamic Voltage & Frequency Scaling on the H6. Signed-off-by: Ondrej Jirman Signed-off-by: Clément Péron --- .../boot/dts/allwinner/sun50i-h6-cpu-opp.dtsi | 121 ++

[linux-sunxi] [PATCH v2 1/7] arm64: dts: allwinner: h6: Add clock to CPU cores

2020-04-05 Thread Clément Péron
From: Yangtao Li The ARM CPU cores are fed by the CPU clock from the CCU. Add a reference to the clock for each CPU core, along with the clock transition latency. Signed-off-by: Yangtao Li Signed-off-by: Clément Péron --- arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi | 8 1 file

[linux-sunxi] Re: [PATCH 0/7] Add support for Allwinner H6 DVFS

2020-04-05 Thread Clément Péron
Hi, On Sun, 5 Apr 2020 at 12:49, Clément Péron wrote: > > Hi Sunxi maintainers and members, > > Now that required drivers are merged we can contibute on DVFS support for > Allwinner H6. > > This serie is based on Yangtao Li serie[0] and Megous works[1]. > > Most of the OPP tables are taken from

Re: [linux-sunxi] [PATCH 0/7] Add support for Allwinner H6 DVFS

2020-04-05 Thread Clément Péron
Hi, On Sun, 5 Apr 2020 at 16:54, Ondřej Jirman wrote: > > Hi, > > On Sun, Apr 05, 2020 at 04:33:37PM +0200, Clément Péron wrote: > > Hi Ondřej, > > [ ... ] > > > Good point, this information should be added for both CPU and GPU regulator. > > This could be nice to confirm this point with a

Re: [linux-sunxi] [PATCH 0/7] Add support for Allwinner H6 DVFS

2020-04-05 Thread Ondřej Jirman
Hi, On Sun, Apr 05, 2020 at 04:33:37PM +0200, Clément Péron wrote: > Hi Ondřej, [ ... ] > Good point, this information should be added for both CPU and GPU regulator. > This could be nice to confirm this point with a scope. > > Also I remark that Allwinner user higher temperature than what we

Re: [linux-sunxi] [PATCH 3/7] arm64: dts: allwinner: h6: set thermal polling time

2020-04-05 Thread Clément Péron
Hi Ondřej, On Sun, 5 Apr 2020 at 13:24, Ondřej Jirman wrote: > > Hello, > > On Sun, Apr 05, 2020 at 12:49:09PM +0200, Clément Péron wrote: > > Add reasonable thermal polling time for Allwinner H6. > > > > Signed-off-by: Clément Péron > > --- > > arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi | 8

Re: [linux-sunxi] [PATCH 0/7] Add support for Allwinner H6 DVFS

2020-04-05 Thread Clément Péron
Hi Ondřej, On Sun, 5 Apr 2020 at 13:51, Ondřej Jirman wrote: > > Hello Clément, > > On Sun, Apr 05, 2020 at 12:49:06PM +0200, Clément Péron wrote: > > Hi Sunxi maintainers and members, > > > > Now that required drivers are merged we can contibute on DVFS support for > > Allwinner H6. > > > >

Re: [linux-sunxi] [PATCH 0/7] Add support for Allwinner H6 DVFS

2020-04-05 Thread Ondřej Jirman
Hello Clément, On Sun, Apr 05, 2020 at 12:49:06PM +0200, Clément Péron wrote: > Hi Sunxi maintainers and members, > > Now that required drivers are merged we can contibute on DVFS support for > Allwinner H6. > > This serie is based on Yangtao Li serie[0] and Megous works[1]. > > Most of the

Re: [linux-sunxi] [PATCH 7/7] arm64: dts: allwinner: h6: Enable CPU and GPU opp tables for Beelink GS1

2020-04-05 Thread Ondřej Jirman
Hello, On Sun, Apr 05, 2020 at 12:49:13PM +0200, Clément Péron wrote: > Enable CPU and GPU opp tables for Beelink GS1. > > This needs also to change the CPU regulator min/max voltage to fit > the OPP table. > > Signed-off-by: Clément Péron > --- >

Re: [linux-sunxi] [PATCH 3/7] arm64: dts: allwinner: h6: set thermal polling time

2020-04-05 Thread Ondřej Jirman
Hello, On Sun, Apr 05, 2020 at 12:49:09PM +0200, Clément Péron wrote: > Add reasonable thermal polling time for Allwinner H6. > > Signed-off-by: Clément Péron > --- > arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi | 8 > 1 file changed, 4 insertions(+), 4 deletions(-) > > diff --git

[linux-sunxi] [PATCH 7/7] arm64: dts: allwinner: h6: Enable CPU and GPU opp tables for Beelink GS1

2020-04-05 Thread Clément Péron
Enable CPU and GPU opp tables for Beelink GS1. This needs also to change the CPU regulator min/max voltage to fit the OPP table. Signed-off-by: Clément Péron --- .../arm64/boot/dts/allwinner/sun50i-h6-beelink-gs1.dts | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git

[linux-sunxi] [PATCH 3/7] arm64: dts: allwinner: h6: set thermal polling time

2020-04-05 Thread Clément Péron
Add reasonable thermal polling time for Allwinner H6. Signed-off-by: Clément Péron --- arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi

[linux-sunxi] [PATCH 1/7] arm64: dts: allwinner: h6: Add clock to CPU cores

2020-04-05 Thread Clément Péron
From: Yangtao Li The ARM CPU cores are fed by the CPU clock from the CCU. Add a reference to the clock for each CPU core, along with the clock transition latency. Signed-off-by: Yangtao Li Signed-off-by: Clément Péron --- arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi | 8 1 file

[linux-sunxi] [PATCH 6/7] arm64: configs: Enable sun50i cpufreq nvmem

2020-04-05 Thread Clément Péron
Allwinner H6 needs this driver to be able to get the correct speed_bin required for DVFS. Enable this option in 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

[linux-sunxi] [PATCH 2/7] arm64: dts: allwinner: h6: Add thermal trip points/cooling map

2020-04-05 Thread Clément Péron
From: Ondrej Jirman This enables passive cooling by down-regulating CPU voltage and frequency. Signed-off-by: Ondrej Jirman Signed-off-by: Clément Péron --- arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi | 24 1 file changed, 24 insertions(+) diff --git

[linux-sunxi] [PATCH 4/7] arm64: dts: allwinner: h6: Add CPU Operating Performance Points table

2020-04-05 Thread Clément Péron
From: Ondrej Jirman Add an Operating Performance Points table for the CPU cores to enable Dynamic Voltage & Frequency Scaling on the H6. Signed-off-by: Ondrej Jirman Signed-off-by: Clément Péron --- .../boot/dts/allwinner/sun50i-h6-cpu-opp.dtsi | 103 ++

[linux-sunxi] [PATCH 0/7] Add support for Allwinner H6 DVFS

2020-04-05 Thread Clément Péron
Hi Sunxi maintainers and members, Now that required drivers are merged we can contibute on DVFS support for Allwinner H6. This serie is based on Yangtao Li serie[0] and Megous works[1]. Most of the OPP tables are taken from original vendor kernel[2]. Plus there is a new CPU frequency @1.8GHz.

[linux-sunxi] [PATCH 5/7] arm64: dts: allwinner: h6: Add GPU Operating Performance Points table

2020-04-05 Thread Clément Péron
Add an Operating Performance Points table for the GPU to enable Dynamic Voltage & Frequency Scaling on the H6. Signed-off-by: Clément Péron --- .../boot/dts/allwinner/sun50i-h6-gpu-opp.dtsi | 74 +++ 1 file changed, 74 insertions(+) create mode 100644