[linux-sunxi] Re: [PATCH 2/4] ARM: sun8i: h3/h5: add DE2 CCU device node for H3

2017-10-27 Thread icenowy
在 2017-09-11 23:55,Icenowy Zheng 写道: The DE2 in H3/H5 has a clock control unit in it, and the behavior is slightly different between H3 and H5. Add the common parts in H3/H5 DTSI, and add the compatible string in H3 DTSI. The compatible string of H5 DE2 CCU will be added in a separated patch.

[linux-sunxi] Re: [Buildroot] [PATCH v3 02/11] support/scripts: Add sunxi64-post-build.sh

2017-10-27 Thread Jagan Teki
On Fri, Oct 27, 2017 at 2:02 AM, André Przywara wrote: > On 26/10/17 19:13, Jagan Teki wrote: >> On Thu, Oct 26, 2017 at 4:50 PM, Jagan Teki >> wrote: >>> On Sun, Oct 22, 2017 at 5:59 PM, Thomas Petazzoni >>>

[linux-sunxi] [PATCH v2 00/10] Allwinner H3/H5/A64(DE2) SimpleFB support

2017-10-27 Thread Icenowy Zheng
This patchset adds support for the SimpleFB on Allwinner SoCs with "Display Engine 2.0". PATCH 1 to PATCH 3 are DE2 CCU fixes for H3/H5 SoCs. PATCH 4 adds the pipeline strings for DE2 SimpleFB. PATCH 5 to 7 adds necessary device tree nodes (DE2 CCU and SimpleFB) for H3/H5 SoCs. PATCH 8 to 10

[linux-sunxi] Re: [PATCH 1/2] dt-bindings: add binding for A64 DE2 CCU with SRAM section

2017-10-27 Thread icenowy
在 2017-10-16 20:09,Maxime Ripard 写道: On Mon, Oct 16, 2017 at 05:41:10PM +0800, icen...@aosc.io wrote: 在 2017-10-16 17:11,Maxime Ripard 写道: > On Sat, Oct 14, 2017 at 08:29:24PM +0800, Icenowy Zheng wrote: > > A64's Display Engine 2.0 needs a section of SRAM (SRAM C) to be > > claimed. > > Why?

[linux-sunxi] [PATCH v2 10/10] arm64: allwinner: a64: add simplefb for A64 SoC

2017-10-27 Thread Icenowy Zheng
The A64 SoC features two display pipelines, one has a LCD output, the other has a HDMI output. Add support for simplefb for these pipelines on A64 SoC. Signed-off-by: Icenowy Zheng --- arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 31 +++ 1 file

[linux-sunxi] [PATCH v2 09/10] arm64: allwinner: a64: add DE2 CCU for A64 SoC

2017-10-27 Thread Icenowy Zheng
The A64 SoC features a DE2 CCU like the one in H5, but needs to claim a section of SRAM (SRAM C) to be accessed. Adds the device tree nodes for the SRAM controller and the DE2 CCU. Signed-off-by: Icenowy Zheng --- arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 34

[linux-sunxi] [PATCH v2 01/10] dt-bindings: fix the binding of Allwinner DE2 CCU of A83T and H3

2017-10-27 Thread Icenowy Zheng
The DE2 CCU is different on A83T and H3 -- the parent of the clocks on A83T is PLL_DE but on H3 it's the DE module clock. This is not noticed when I develop the DE2 CCU driver. Fix the binding by using different compatibles for A83T and H3, adding notes for the PLL_DE usage on A83T, and change

[linux-sunxi] [PATCH v2 02/10] clk: sunxi-ng: add support for Allwinner H3 DE2 CCU

2017-10-27 Thread Icenowy Zheng
Allwinner H3 features a DE2 CCU like the one on A83T, however the parent of the clocks is the DE module clock, not the PLL_DE clock. Add support for it. Signed-off-by: Icenowy Zheng --- drivers/clk/sunxi-ng/ccu-sun8i-de2.c | 47 1 file

[linux-sunxi] [PATCH v2 03/10] clk: sunxi-ng: fix the A64/H5 clock description of DE2 CCU

2017-10-27 Thread Icenowy Zheng
The clocks of A64/H5 SoCs in the DE2 CCU is the same as the clocks in H3 DE2 CCU rather than the A83T DE2 CCU (the parent of them is the DE module clock). Fix this by change the clock descriptions to use the clocks of H3. Fixes: 763c5bd045b1 ("clk: sunxi-ng: add support for DE2 CCU")

[linux-sunxi] Re: [PATCH 1/2] dt-bindings: add binding for A64 DE2 CCU with SRAM section

2017-10-27 Thread Maxime Ripard
On Fri, Oct 27, 2017 at 10:33:29PM +0800, icen...@aosc.io wrote: > 在 2017-10-16 20:09,Maxime Ripard 写道: > > On Mon, Oct 16, 2017 at 05:41:10PM +0800, icen...@aosc.io wrote: > > > 在 2017-10-16 17:11,Maxime Ripard 写道: > > > > On Sat, Oct 14, 2017 at 08:29:24PM +0800, Icenowy Zheng wrote: > > > > >

[linux-sunxi] [PATCH v2 05/10] ARM: sun8i: h3/h5: add DE2 CCU device node for H3

2017-10-27 Thread Icenowy Zheng
The DE2 in H3/H5 has a clock control unit in it, and the behavior is slightly different between H3 and H5. Add the common parts in H3/H5 DTSI, and add the compatible string in H3 DTSI. The compatible string of H5 DE2 CCU will be added in a separated patch. Signed-off-by: Icenowy Zheng

[linux-sunxi] [PATCH v2 06/10] arm64: allwinner: h5: add compatible string for DE2 CCU

2017-10-27 Thread Icenowy Zheng
The DE2 CCU on Allwinner H5 SoC has a slightly different behavior than the one on H3, so the compatible string is not set in the common DTSI file. Add the compatible string of H5 DE2 CCU in H5 DTSI file. Signed-off-by: Icenowy Zheng ---

[linux-sunxi] [PATCH v2 08/10] dt-bindings: add binding for A64 DE2 CCU SRAM

2017-10-27 Thread Icenowy Zheng
A64's Display Engine 2.0 needs a section of SRAM (SRAM C) to be claimed, otherwise the whole DE2 memory zone cannot be accessed (kept to all 0). Add binding for this, in order to make the DE2 CCU able to claim the SRAM and enable access to the DE2 clock and reset registers. Signed-off-by:

[linux-sunxi] [PATCH v2 07/10] ARM: sunxi: h3/h5: add simplefb nodes

2017-10-27 Thread Icenowy Zheng
The H3/H5 SoCs have a HDMI output and a TV Composite output. Add simplefb nodes for these outputs. Signed-off-by: Icenowy Zheng --- arch/arm/boot/dts/sunxi-h3-h5.dtsi | 29 + 1 file changed, 29 insertions(+) diff --git

[linux-sunxi] Re: [PATCH 1/2] ARM: dts: sun8i: h3-h5: Move pinctrl of mmc0 from dts to dtsi

2017-10-27 Thread Maxime Ripard
Hi, On Thu, Oct 26, 2017 at 02:57:00PM +, Joonas Kylmälä wrote: > Maxime Ripard: > > On Sun, Oct 22, 2017 at 12:19:56PM +0300, Joonas Kylmälä wrote: > >> Most of the boards use the mmc0 pins and their attributes defined in > >> mmc0_pins_a and mmc0_cd_pin. Let's default to those by moving the