[linux-sunxi] [PATCH v3 5/8] arm64: dts: allwinner: Add mali GPU supply for Pine H64

2019-04-17 Thread Clément Péron
Enable and add supply to the Mali GPU node on the Pine H64 board. Signed-off-by: Clément Péron --- arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64.dts | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64.dts b/arch/arm64/boot/dts/allwinner

[linux-sunxi] [PATCH v3 4/8] arm64: dts: allwinner: Add ARM Mali GPU node for H6

2019-04-17 Thread Clément Péron
Add the mali gpu node to the H6 device-tree. Signed-off-by: Clément Péron --- arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi | 14 ++ 1 file changed, 14 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi index

[linux-sunxi] [PATCH v3 8/8] arm64: dts: allwinner: Add mali GPU supply for OrangePi 3

2019-04-17 Thread Clément Péron
Enable and add supply to the Mali GPU node on the Orange Pi 3 board. Signed-off-by: Clément Péron --- arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi-3.dts | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi-3.dts b/arch/arm64/boot/dts

[linux-sunxi] [PATCH v3 6/8] arm64: dts: allwinner: Add mali GPU supply for Beelink GS1

2019-04-17 Thread Clément Péron
Enable and add supply to the Mali GPU node on the Beelink GS1 board. Signed-off-by: Clément Péron --- arch/arm64/boot/dts/allwinner/sun50i-h6-beelink-gs1.dts | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6-beelink-gs1.dts b/arch/arm64/boot/dts

[linux-sunxi] [PATCH v3 1/8] dt-bindings: gpu: mali-midgard: Add resets property

2019-04-17 Thread Clément Péron
From: Neil Armstrong The Amlogic ARM Mali Midgard requires reset controls to power on and software reset the GPU, adds these as optional in the bindings. Signed-off-by: Neil Armstrong Reviewed-by: Rob Herring Signed-off-by: Kevin Hilman --- .../devicetree/bindings/gpu/arm,mali-midgard.txt

[linux-sunxi] [PATCH v3 3/8] dt-bindings: gpu: mali-midgard: Add h6 mali gpu compatible

2019-04-17 Thread Clément Péron
This add the H6 mali compatible in the dt-bindings to later support specific implementation. Signed-off-by: Clément Péron --- .../devicetree/bindings/gpu/arm,mali-midgard.txt | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings

[linux-sunxi] Re: [PATCH 1/4] dt-bindings: sound: sun4i-spdif: Add Allwinner H6 compatible

2019-04-16 Thread Clément Péron
Hi, On Tue, 16 Apr 2019 at 09:34, Maxime Ripard wrote: > > On Mon, Apr 15, 2019 at 06:30:10PM +0200, Clément Péron wrote: > > > > I didn't change the driver and the SPDIF is working what's irrelevant > > > > in declaring the driver as compatible ? > &

[linux-sunxi] Re: [PATCH 1/4] dt-bindings: sound: sun4i-spdif: Add Allwinner H6 compatible

2019-04-15 Thread Clément Péron
Hi, On Mon, 15 Apr 2019 at 16:51, Maxime Ripard wrote: > > On Mon, Apr 15, 2019 at 10:30:38AM +0200, Clément Péron wrote: > > On Mon, 15 Apr 2019 at 10:18, Maxime Ripard > > wrote: > > > > > > On Mon, Apr 15, 2019 at 10:09:11AM +0200, Clément Péron wrote: &g

[linux-sunxi] Re: [PATCH 1/4] dt-bindings: sound: sun4i-spdif: Add Allwinner H6 compatible

2019-04-15 Thread Clément Péron
On Mon, 15 Apr 2019 at 10:18, Maxime Ripard wrote: > > On Mon, Apr 15, 2019 at 10:09:11AM +0200, Clément Péron wrote: > > Hi, > > > > On Mon, 15 Apr 2019 at 10:04, Maxime Ripard > > wrote: > > > > > > Hi, > > > > >

[linux-sunxi] Re: [PATCH 1/4] dt-bindings: sound: sun4i-spdif: Add Allwinner H6 compatible

2019-04-15 Thread Clément Péron
On Mon, 15 Apr 2019 at 10:09, Clément Péron wrote: > > Hi, > > On Mon, 15 Apr 2019 at 10:04, Maxime Ripard wrote: > > > > Hi, > > > > On Thu, Apr 11, 2019 at 11:44:19PM +0200, Clément Péron wrote: > > > Allwinner H6 has a SPDIF contr

[linux-sunxi] Re: [PATCH 1/4] dt-bindings: sound: sun4i-spdif: Add Allwinner H6 compatible

2019-04-15 Thread Clément Péron
Hi, On Mon, 15 Apr 2019 at 10:04, Maxime Ripard wrote: > > Hi, > > On Thu, Apr 11, 2019 at 11:44:19PM +0200, Clément Péron wrote: > > Allwinner H6 has a SPDIF controller with an increase of the fifo > > size and the possibility to output the master clock. > >

[linux-sunxi] Re: [PATCH v2 2/3] arm: dts: h6: Add Beelink GS1 initial support

2019-04-14 Thread Clément Péron
Hi, On Sun, 14 Apr 2019 at 19:29, Jagan Teki wrote: > > On Fri, Apr 12, 2019 at 7:45 PM Clément Péron wrote: > > > > Beelink GS1 is an Allwinner H6 based TV box, > > which support: > > - Allwinner H6 Quad-core 64-bit ARM Cortex-A53 > > - GPU Mali-T720

[linux-sunxi] [PATCH v2 3/3] arm: sunxi: h6: fix reset using r_wdog

2019-04-12 Thread Clément Péron
WDOG is broken for some H6 rev. The board is not reseted correctly. Use the R_WDOG instead. Signed-off-by: Clément Péron --- arch/arm/include/asm/arch-sunxi/cpu_sun50i_h6.h | 1 + arch/arm/mach-sunxi/board.c | 9 +++-- 2 files changed, 8 insertions(+), 2 deletions

[linux-sunxi] [PATCH v2 2/3] arm: dts: h6: Add Beelink GS1 initial support

2019-04-12 Thread Clément Péron
(RTL8222BS) Signed-off-by: Clément Péron --- arch/arm/dts/Makefile | 1 + arch/arm/dts/sun50i-h6-beelink-gs1.dts | 184 + configs/beelink_gs1_defconfig | 15 ++ 3 files changed, 200 insertions(+) create mode 100644 arch/arm/dts/sun50i-h6

[linux-sunxi] [PATCH v2 0/3] Add Beelink GS1 Board

2019-04-12 Thread Clément Péron
This serie introduce the Beelink GS1 board with a patch for the reset on Allwinner H6. Thanks to Jagan Teki most of the Beelink GS1 device-tree is taken from the Orange Pi boards. Changes with v1: - Add bus-width for mmc2 node - Add sha1 in the sync dts commit Clément Péron (3): arm: dts

[linux-sunxi] [PATCH v2 1/3] arm: dts: h6: sync with dts with Linux sunxi

2019-04-12 Thread Clément Péron
' compatible string Signed-off-by: Clément Péron --- arch/arm/dts/sun50i-h6-orangepi.dtsi | 2 -- arch/arm/dts/sun50i-h6-pine-h64.dts | 4 arch/arm/dts/sun50i-h6.dtsi | 16 ++-- 3 files changed, 10 insertions(+), 12 deletions(-) diff --git a/arch/arm/dts/sun50i-h6

Re: [linux-sunxi] [PATCH 1/4] arm: dts: h6: move MMC pinctrl to soc

2019-04-12 Thread Clément Péron
Hi, On Fri, 12 Apr 2019 at 15:36, Jagan Teki wrote: > > On Mon, Apr 8, 2019 at 10:11 PM Clément Péron wrote: > > > > There is only one muxing avalaible for each MMC controller. > > > > Move this pinmux to the SOC dtsi. > > Sync all dts(i) changes in o

[linux-sunxi] Re: [PATCH 2/4] arm: dts: h6: Add Beelink GS1 initial support

2019-04-11 Thread Clément Péron
Hi, On Mon, 8 Apr 2019 at 18:41, Clément Péron wrote: > > Beelink GS1 is an Allwinner H6 based TV box, > which support: > - Allwinner H6 Quad-core 64-bit ARM Cortex-A53 > - GPU Mali-T720 > - 2GB LPDDR3 RAM > - 16GB eMMC > - AXP805 PMIC > - 1Gbps GMAC via RTL821

[linux-sunxi] [PATCH 4/4] arm64: defconfig: Enable Sun4i SPDIF module

2019-04-11 Thread Clément Péron
Allwinner A64 and H6 use the Sun4i SPDIF driver. Enable this to allow a proper support for these SoCs. 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

[linux-sunxi] [PATCH 2/4] arm64: dts: allwinner: Add SPDIF node for Allwinner H6

2019-04-11 Thread Clément Péron
The Allwinner H6 has a SPDIF controller called OWA (One Wire Audio). Add this node in the SoC device-tree and as they are only one pinmuxing available set it as default. Signed-off-by: Clément Péron --- arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi | 39 1 file changed, 39

[linux-sunxi] [PATCH 3/4] arm64: dts: allwinner: h6: Enable SPDIF for Beelink GS1

2019-04-11 Thread Clément Péron
Beelink GS1 board has a SPDIF out connector, so enable it in the device-tree of the board. Signed-off-by: Clément Péron --- arch/arm64/boot/dts/allwinner/sun50i-h6-beelink-gs1.dts | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6-beelink-gs1.dts b

[linux-sunxi] [PATCH 0/4] Allwinner H6 SPDIF support

2019-04-11 Thread Clément Péron
. Clément Péron (4): dt-bindings: sound: sun4i-spdif: Add Allwinner H6 compatible arm64: dts: allwinner: Add SPDIF node for Allwinner H6 arm64: dts: allwinner: h6: Enable SPDIF for Beelink GS1 arm64: defconfig: Enable Sun4i SPDIF module .../bindings/sound/sunxi,sun4i-spdif.txt | 3

[linux-sunxi] [PATCH 1/4] dt-bindings: sound: sun4i-spdif: Add Allwinner H6 compatible

2019-04-11 Thread Clément Péron
Allwinner H6 has a SPDIF controller with an increase of the fifo size and the possibility to output the master clock. However it's still compatible with the already existing driver for Allwiner H3. Add this compatible in the device-tree bindings documentation. Signed-off-by: Clément Péron

[linux-sunxi] Re: [PATCH v2 0/3] Add Watchdog for H6

2019-04-11 Thread Clément Péron
On Thu, 11 Apr 2019 at 17:34, Clément Péron wrote: > > Hi, > > Allwinner H6 SoC has two watchdogs. The documented watchdog is identicaly > the same reading the user manual as the one used in the A64. > > After investigation it seems that on some SoC the first watchdog doe

[linux-sunxi] [PATCH v2 1/3] arm64: dts: allwinner: h6: add watchdog node

2019-04-11 Thread Clément Péron
8BA 61C2 => KO Clément Péron board: Beelink GS1 - H6 V200-AWIN H7309BA 6842 => KO Signed-off-by: Clément Péron --- arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi b/arch/arm64/boot/dts/

[linux-sunxi] [PATCH v2 0/3] Add Watchdog for H6

2019-04-11 Thread Clément Péron
se a user want to activate it and isn't aware of this issue. The r_watchdog is still available and usable on all the H6 boards. Thanks, Clément Clément Péron (3): arm64: dts: allwinner: h6: add watchdog node arm64: dts: allwinner: h6: add r_watchog node arm64: defconfig: Enable Sunxi watchd

[linux-sunxi] [PATCH v2 2/3] arm64: dts: allwinner: h6: add r_watchog node

2019-04-11 Thread Clément Péron
Allwinner H6 has a r_watchdog similar to A64. Declare it in the device-tree. Signed-off-by: Clément Péron --- arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi b/arch/arm64/boot/dts/allwinner

[linux-sunxi] [PATCH v2 3/3] arm64: defconfig: Enable Sunxi watchdog

2019-04-11 Thread Clément Péron
The SUNXI_WATCHDOG option is required to make the watchdog available on Allwinner H6. Enable this option as a module. 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

[linux-sunxi] Re: [PATCH v2 4/8] arm64: dts: allwinner: Add ARM Mali GPU node for H6

2019-04-11 Thread Clément Péron
Hi, On Thu, 11 Apr 2019 at 17:05, Jernej Škrabec wrote: > > Dne četrtek, 11. april 2019 ob 12:57:16 CEST je Clément Péron napisal(a): > > Add the mali gpu node to the H6 device-tree. > > > > Signed-off-by: Clément Péron > > --- > > arch/arm64/bo

[linux-sunxi] Re: [PATCH v2 0/8] Add Allwinner H6 Mali Midgard GPU

2019-04-11 Thread Clément Péron
Hi, On Thu, 11 Apr 2019 at 17:01, Jernej Škrabec wrote: > > Hi! > > Dne četrtek, 11. april 2019 ob 14:32:23 CEST je Maxime Ripard napisal(a): > > On Thu, Apr 11, 2019 at 12:57:12PM +0200, Clément Péron wrote: > > > Hi, > > > > > > The Allwinner H6 h

[linux-sunxi] Re: [PATCH v2 2/8] dt-bindings: gpu: add bus clock for Mali Midgard GPUs

2019-04-11 Thread Clément Péron
Hi, On Thu, 11 Apr 2019 at 14:30, Maxime Ripard wrote: > > On Thu, Apr 11, 2019 at 12:57:14PM +0200, Clément Péron wrote: > > Some SoCs adds a bus clock gate to the Mali Midgard GPU. > > > > Add the binding for the bus clock. > > > > Signed-off-by: Icenowy Zhe

[linux-sunxi] Re: [PATCH 3/4] arm: sunxi: h6: fix reset using r_wdog

2019-04-11 Thread Clément Péron
Hi, On Mon, 8 Apr 2019 at 18:47, Clément Péron wrote: > > +Chen-Yu. > > I would like to fix the reset using the R_WDOG instead of WDOG. > > What do you think? Adding information about the issue as explained on ATF: " There seems to have a HW errata in the new revision of

[linux-sunxi] [PATCH v2 7/8] arm64: dts: allwinner: Add mali GPU supply for OrangePi Boards

2019-04-11 Thread Clément Péron
Enable and add supply to the Mali GPU node on the Orange Pi One Plus and Lite2 boards. Signed-off-by: Clément Péron --- arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi.dtsi b/arch

[linux-sunxi] [PATCH v2 8/8] arm64: dts: allwinner: Add mali GPU supply for OrangePi 3

2019-04-11 Thread Clément Péron
Enable and add supply to the Mali GPU node on the Orange Pi 3 board. Signed-off-by: Clément Péron --- arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi-3.dts | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi-3.dts b/arch/arm64/boot/dts

[linux-sunxi] [PATCH v2 2/8] dt-bindings: gpu: add bus clock for Mali Midgard GPUs

2019-04-11 Thread Clément Péron
Some SoCs adds a bus clock gate to the Mali Midgard GPU. Add the binding for the bus clock. Signed-off-by: Icenowy Zheng Signed-off-by: Clément Péron --- Documentation/devicetree/bindings/gpu/arm,mali-midgard.txt | 6 ++ 1 file changed, 6 insertions(+) diff --git a/Documentation

[linux-sunxi] [PATCH v2 4/8] arm64: dts: allwinner: Add ARM Mali GPU node for H6

2019-04-11 Thread Clément Péron
Add the mali gpu node to the H6 device-tree. Signed-off-by: Clément Péron --- arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi | 14 ++ 1 file changed, 14 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi index

[linux-sunxi] [PATCH v2 6/8] arm64: dts: allwinner: Add mali GPU supply for Beelink GS1

2019-04-11 Thread Clément Péron
Enable and add supply to the Mali GPU node on the Beelink GS1 board. Signed-off-by: Clément Péron --- arch/arm64/boot/dts/allwinner/sun50i-h6-beelink-gs1.dts | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6-beelink-gs1.dts b/arch/arm64/boot/dts

[linux-sunxi] [PATCH v2 1/8] dt-bindings: gpu: mali-midgard: Add resets property

2019-04-11 Thread Clément Péron
From: Neil Armstrong The Amlogic ARM Mali Midgard requires reset controls to power on and software reset the GPU, adds these as optional in the bindings. Signed-off-by: Neil Armstrong Reviewed-by: Rob Herring Signed-off-by: Kevin Hilman --- .../devicetree/bindings/gpu/arm,mali-midgard.txt

[linux-sunxi] [PATCH v2 0/8] Add Allwinner H6 Mali Midgard GPU

2019-04-11 Thread Clément Péron
the order has required by Rob Herring. See: https://patchwork.kernel.org/patch/10699829/ The GPU opp table was taken from Jernej Škrabec's patch on LibreELEC.tv. Thanks, Clement Changes in v2 (Thanks to Maxime Ripard): - Drop GPU OPP Table - Add clocks and clock-names in required Clément Péron (7

[linux-sunxi] [PATCH v2 3/8] dt-bindings: gpu: mali-midgard: Add h6 mali gpu compatible

2019-04-11 Thread Clément Péron
This add the H6 mali compatible in the dt-bindings to later support specific implementation. Signed-off-by: Clément Péron --- .../devicetree/bindings/gpu/arm,mali-midgard.txt | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings

[linux-sunxi] [PATCH v2 5/8] arm64: dts: allwinner: Add mali GPU supply for Pine H64

2019-04-11 Thread Clément Péron
Enable and add supply to the Mali GPU node on the Pine H64 board. Signed-off-by: Clément Péron --- arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64.dts | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64.dts b/arch/arm64/boot/dts/allwinner

[linux-sunxi] Re: [PATCH 3/8] dt-bindings: gpu: mali-midgard: Add h6 mali gpu compatible

2019-04-11 Thread Clément Péron
Hi, On Thu, 11 Apr 2019 at 09:27, Maxime Ripard wrote: > > On Thu, Apr 11, 2019 at 01:25:38AM +0200, Clément Péron wrote: > > This add the H6 mali compatible in the dt-bindings to later support > > specific implementation. > > > > Signed-off-by: Clément Péro

[linux-sunxi] Re: [PATCH 4/8] arm64: dts: allwinner: Add ARM Mali GPU node for H6

2019-04-11 Thread Clément Péron
Hi, On Thu, 11 Apr 2019 at 09:28, Maxime Ripard wrote: > > On Thu, Apr 11, 2019 at 01:25:39AM +0200, Clément Péron wrote: > > Add the mali gpu node to the H6 device-tree. > > > > Signed-off-by: Clément Péron > > --- > > arch/arm64/bo

[linux-sunxi] [PATCH 8/8] arm64: dts: allwinner: Add mali GPU supply for OrangePi 3

2019-04-10 Thread Clément Péron
Enable and add supply to the Mali GPU node on the Orange Pi 3 board. Signed-off-by: Clément Péron --- arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi-3.dts | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi-3.dts b/arch/arm64/boot/dts

[linux-sunxi] [PATCH 1/8] dt-bindings: gpu: mali-midgard: Add resets property

2019-04-10 Thread Clément Péron
From: Neil Armstrong The Amlogic ARM Mali Midgard requires reset controls to power on and software reset the GPU, adds these as optional in the bindings. Signed-off-by: Neil Armstrong Reviewed-by: Rob Herring Signed-off-by: Kevin Hilman --- .../devicetree/bindings/gpu/arm,mali-midgard.txt

[linux-sunxi] [PATCH 5/8] arm64: dts: allwinner: Add mali GPU supply for Pine H64

2019-04-10 Thread Clément Péron
Enable and add supply to the Mali GPU node on the Pine H64 board. Signed-off-by: Clément Péron --- arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64.dts | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64.dts b/arch/arm64/boot/dts/allwinner

[linux-sunxi] [PATCH 7/8] arm64: dts: allwinner: Add mali GPU supply for OrangePi Boards

2019-04-10 Thread Clément Péron
Enable and add supply to the Mali GPU node on the Orange Pi One Plus and Lite2 boards. Signed-off-by: Clément Péron --- arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi.dtsi b/arch

[linux-sunxi] [PATCH 4/8] arm64: dts: allwinner: Add ARM Mali GPU node for H6

2019-04-10 Thread Clément Péron
Add the mali gpu node to the H6 device-tree. Signed-off-by: Clément Péron --- arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi | 80 1 file changed, 80 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi index

[linux-sunxi] [PATCH 6/8] arm64: dts: allwinner: Add mali GPU supply for Beelink GS1

2019-04-10 Thread Clément Péron
Enable and add supply to the Mali GPU node on the Beelink GS1 board. Signed-off-by: Clément Péron --- arch/arm64/boot/dts/allwinner/sun50i-h6-beelink-gs1.dts | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6-beelink-gs1.dts b/arch/arm64/boot/dts

[linux-sunxi] [PATCH 2/8] dt-bindings: gpu: add bus clock for Mali Midgard GPUs

2019-04-10 Thread Clément Péron
Some SoCs adds a bus clock gate to the Mali Midgard GPU. Add the binding for the bus clock. Signed-off-by: Icenowy Zheng Signed-off-by: Clément Péron --- Documentation/devicetree/bindings/gpu/arm,mali-midgard.txt | 6 ++ 1 file changed, 6 insertions(+) diff --git a/Documentation

[linux-sunxi] [PATCH 0/8] Add Allwinner H6 Mali Midgard gpu node

2019-04-10 Thread Clément Péron
has required by Rob Herring. See: https://patchwork.kernel.org/patch/10699829/ The GPU opp table is taken from Jernej Škrabec's patch on LibreELEC.tv. Thanks, Clement Clément Péron (7): dt-bindings: gpu: add bus clock for Mali Midgard GPUs dt-bindings: gpu: mali-midgard: Add h6 mali gpu

[linux-sunxi] [PATCH 3/8] dt-bindings: gpu: mali-midgard: Add h6 mali gpu compatible

2019-04-10 Thread Clément Péron
This add the H6 mali compatible in the dt-bindings to later support specific implementation. Signed-off-by: Clément Péron --- .../devicetree/bindings/gpu/arm,mali-midgard.txt | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings

Re: [linux-sunxi] [PATCH v5 3/5] phy: allwinner: add phy driver for USB3 PHY on Allwinner H6 SoC

2019-04-09 Thread Clément Péron
Hi, On Fri, 5 Apr 2019 at 22:58, Icenowy Zheng wrote: > > Allwinner H6 SoC contains a USB3 PHY (with USB2 DP/DM lines also > controlled). > > Add a driver for it. Tested the serie on top of sunxi/for-next with USB3 storage and HID-generic keyboard on my Beelink GS1. Tested-by

[linux-sunxi] Re: [PATCH 3/4] arm: sunxi: h6: fix reset using r_wdog

2019-04-08 Thread Clément Péron
+Chen-Yu. I would like to fix the reset using the R_WDOG instead of WDOG. What do you think? If it's acceptable I will propose a similar patch on ATF. Regards, Clement On Mon, 8 Apr 2019 at 18:41, Clément Péron wrote: > > WDOG in H6 is broken so the reset is actually not working. &

[linux-sunxi] [PATCH 1/4] arm: dts: h6: move MMC pinctrl to soc

2019-04-08 Thread Clément Péron
There is only one muxing avalaible for each MMC controller. Move this pinmux to the SOC dtsi. Signed-off-by: Clément Péron --- arch/arm/dts/sun50i-h6-orangepi.dtsi | 2 -- arch/arm/dts/sun50i-h6-pine-h64.dts | 4 arch/arm/dts/sun50i-h6.dtsi | 4 3 files changed, 4

[linux-sunxi] [PATCH 0/4] Add Beelink GS1

2019-04-08 Thread Clément Péron
This serie introduce the Beelink GS1 board with a patch for the reset on Allwinner H6. Thanks to Jagan Teki most of the Beelink GS1 device-tree is taken from the Orange Pi boards. Clément Péron (4): arm: dts: h6: move MMC pinctrl to soc arm: dts: h6: Add Beelink GS1 initial support arm

[linux-sunxi] [PATCH 3/4] arm: sunxi: h6: fix reset using r_wdog

2019-04-08 Thread Clément Péron
WDOG in H6 is broken so the reset is actually not working. Use the R_WDOG instead. Signed-off-by: Clément Péron --- arch/arm/include/asm/arch-sunxi/cpu_sun50i_h6.h | 1 + arch/arm/mach-sunxi/board.c | 9 +++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git

[linux-sunxi] [PATCH 2/4] arm: dts: h6: Add Beelink GS1 initial support

2019-04-08 Thread Clément Péron
(RTL8222BS) Signed-off-by: Clément Péron --- arch/arm/dts/Makefile | 1 + arch/arm/dts/sun50i-h6-beelink-gs1.dts | 183 + configs/beelink_gs1_defconfig | 15 ++ 3 files changed, 199 insertions(+) create mode 100644 arch/arm/dts/sun50i-h6

[linux-sunxi] [PATCH 4/4] arm: dts: h6: minor sync with linux

2019-04-08 Thread Clément Péron
There are some minor differences between U-Boot and Linux. Sync only the minor changes. Signed-off-by: Clément Péron --- arch/arm/dts/sun50i-h6.dtsi | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/arch/arm/dts/sun50i-h6.dtsi b/arch/arm/dts/sun50i-h6.dtsi index

[linux-sunxi] [PATCH v4 6/6] arm64: dts: allwinner: h6: pine64: Add PIO regulators

2019-04-08 Thread Clément Péron
Add PIO regulators for Pine64 board. Signed-off-by: Clément Péron --- .../boot/dts/allwinner/sun50i-h6-pine-h64.dts | 17 + 1 file changed, 17 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64.dts b/arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64

[linux-sunxi] [PATCH v4 1/6] arm64: dts: allwinner: h6: move MMC pinctrl to dtsi

2019-04-08 Thread Clément Péron
There is only one pinmuxing available for each MMC controller. Move the pinctrl to the SOC Signed-off-by: Clément Péron --- arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi.dtsi | 2 -- arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64.dts | 4 arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi

[linux-sunxi] [PATCH v4 3/6] arm64: dts: allwinner: h6: Introduce Beelink GS1 board

2019-04-08 Thread Clément Péron
power supply Signed-off-by: Clément Péron --- arch/arm64/boot/dts/allwinner/Makefile| 1 + .../dts/allwinner/sun50i-h6-beelink-gs1.dts | 260 ++ 2 files changed, 261 insertions(+) create mode 100644 arch/arm64/boot/dts/allwinner/sun50i-h6-beelink-gs1.dts diff --git

[linux-sunxi] [PATCH v4 4/6] dt-bindings: arm: sunxi: Add Beelink GS1 board

2019-04-08 Thread Clément Péron
Beelink GS1 device-tree has been introduced. Add it to the sunxi yaml documentation. Signed-off-by: Clément Péron --- Documentation/devicetree/bindings/arm/sunxi.yaml | 5 + 1 file changed, 5 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/sunxi.yaml b/Documentation

[linux-sunxi] [PATCH v4 2/6] dt-bindings: vendor-prefixes: add AZW

2019-04-08 Thread Clément Péron
Shenzhen AZW Technology Co. Ltd. is a manufacturer specialized in Android smart TV boxes, Intel mini PCs and home cloud TV boxes with NAS. Add the vendor prefix for AZW. Signed-off-by: Clément Péron Reviewed-by: Robin Murphy --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1

[linux-sunxi] [PATCH v4 0/6] Add Beelink GS1

2019-04-08 Thread Clément Péron
to Maxime Ripard): - move MMC pinctrl to SOC dtsi - add board to Sunxi YAML file - add PIO/R_PIO regulators - remove always_on from SDIO regulators Clément Péron (6): arm64: dts: allwinner: h6: move MMC pinctrl to dtsi dt-bindings: vendor-prefixes: add AZW arm64: dts: allwinner: h6: Introduce

[linux-sunxi] [PATCH v4 5/6] arm64: dts: allwinner: h6: orangepi: Add PIO regulators

2019-04-08 Thread Clément Péron
OrangePi One Plus and OrangePi Lite2 use the same PIO regulators. Add this in the common device tree. Signed-off-by: Clément Péron --- .../boot/dts/allwinner/sun50i-h6-orangepi.dtsi | 17 + 1 file changed, 17 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6

Re: [linux-sunxi] [PATCH 12/12] arm64: dts: allwinner: orange-pi-3: Enable WiFi

2019-04-07 Thread Clément Péron
Hi, On Sat, 6 Apr 2019 at 01:45, megous via linux-sunxi wrote: > > From: Ondrej Jirman > > Orange Pi 3 has AP6256 WiFi/BT module. WiFi part of the module is > called bcm43356 and can be used with the brcmfmac driver. The module > is powered by the two always on regulators (not AXP805). > > WiFi

Re: [linux-sunxi] [PATCH 00/12] Add support for Orange Pi 3

2019-04-07 Thread Clément Péron
Hi, On Sun, 7 Apr 2019 at 16:32, Ondřej Jirman wrote: > > On Sun, Apr 07, 2019 at 03:36:21PM +0200, Clément Péron wrote: > > Hi, > > > > On Sat, 6 Apr 2019 at 01:45, megous via linux-sunxi > > wrote: > > > > > > From: Ondrej Jirman > > >

Re: [linux-sunxi] [PATCH 00/12] Add support for Orange Pi 3

2019-04-07 Thread Clément Péron
Hi, On Sat, 6 Apr 2019 at 01:45, megous via linux-sunxi wrote: > > From: Ondrej Jirman > > This series implements support for Xunlong Orange Pi 3 board. OrangePi 3 Lite2 and One Plus boards support has already been merged. The support is not complete but you should rebase your patches on top

[linux-sunxi] Re: [PATCH v2 1/5] arm64: allwinner: h6: orangepi: Add PIO regulators

2019-04-05 Thread Clément Péron
Hi, On Fri, 5 Apr 2019 at 17:08, Maxime Ripard wrote: > > On Fri, Apr 05, 2019 at 02:24:42PM +0200, Clément Péron wrote: > > OrangePi One Plus and OrangePi Lite2 use the same PIO regulators. > > > > Add this in the common device tree. > > > > Signed-off-by: Cl

[linux-sunxi] Re: [PATCH v2 5/5] ARM: dts: sun50i: h6: Introduce Beelink GS1 board

2019-04-05 Thread Clément Péron
Hi, On Fri, 5 Apr 2019 at 17:11, Maxime Ripard wrote: > > On Fri, Apr 05, 2019 at 02:53:35PM +0200, Clément Péron wrote: > > Hi, > > > > Adding this r_pio regulators make a new error in the bootlog : > > > > [0.346843] sun50i-h6-r-pinctrl 7022000.pinctrl

[linux-sunxi] Re: [PATCH v2 5/5] ARM: dts: sun50i: h6: Introduce Beelink GS1 board

2019-04-05 Thread Clément Péron
Probing PMIC, Probe the PL0/1 Pins which Probe PL Bank power which Probe PMIC On Fri, 5 Apr 2019 at 14:53, Clément Péron wrote: > > Hi, > > Adding this r_pio regulators make a new error in the bootlog : > > [0.346843] sun50i-h6-r-pinctrl 7022000.pinctrl: Couldn't get b

[linux-sunxi] Re: [PATCH v2 5/5] ARM: dts: sun50i: h6: Introduce Beelink GS1 board

2019-04-05 Thread Clément Péron
at 14:21, Clément Péron wrote: > > Beelink GS1 is an Allwinner H6 based TV box, > which support: > - Allwinner H6 Quad-core 64-bit ARM Cortex-A53 > - GPU Mali-T720 > - 2GB LPDDR3 RAM > - AXP805 PMIC > - 1Gbps GMAC via RTL8211E > - FN-Link 6222B-SRB Wifi/BT > - 1x US

[linux-sunxi] [PATCH v2 3/5] arm64: dts: allwinner: h6: move MMC pinctrl to dtsi

2019-04-05 Thread Clément Péron
There is only one pinmuxing available for each MMC controller. Move the pinctrl to the SOC Signed-off-by: Clément Péron --- arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi.dtsi | 2 -- arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64.dts | 4 arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi

[linux-sunxi] [PATCH v2 4/5] dt-bindings: vendor-prefixes: add AZW

2019-04-05 Thread Clément Péron
Shenzhen AZW Technology Co. Ltd. is a manufacturer specialized in Android smart TV boxes, Intel mini PCs and home cloud TV boxes with NAS. Add the vendor prefix for AZW. Signed-off-by: Clément Péron --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion

[linux-sunxi] [PATCH v2 2/5] arm64: dts: allwinner: h6: pine64: Add PIO regulators

2019-04-05 Thread Clément Péron
Add PIO regulators for Pine64 board. Signed-off-by: Clément Péron --- arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64.dts | 11 +++ 1 file changed, 11 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64.dts b/arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64

[linux-sunxi] [PATCH v2 5/5] ARM: dts: sun50i: h6: Introduce Beelink GS1 board

2019-04-05 Thread Clément Péron
power supply Signed-off-by: Clément Péron --- Thanks to Jagan and Icenowy, most of this devicetree is taken from their works on the OrangePi One Plus and Pine H64. Changes in v2 (Thanks to Maxime Ripard): - move MMC pinctrl to SOC dtsi - add board to Sunxi YAML file - add PIO/R_PIO regulators

[linux-sunxi] [PATCH v2 1/5] arm64: allwinner: h6: orangepi: Add PIO regulators

2019-04-05 Thread Clément Péron
OrangePi One Plus and OrangePi Lite2 use the same PIO regulators. Add this in the common device tree. Signed-off-by: Clément Péron --- arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi.dtsi | 11 +++ 1 file changed, 11 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6

<    1   2   3   4   5   6