[PATCH] dma-buf: Minor coding style fixes

2015-05-21 Thread Jagan Teki
- WARNING: Missing a blank line after declarations - WARNING: line over 80 characters - WARNING: please, no space before tabs Signed-off-by: Jagan Teki Cc: Sumit Semwal --- drivers/dma-buf/dma-buf.c | 9 +++-- drivers/dma-buf/reservation.c | 9 ++--- drivers/dma-buf/seqno-fence.c

rk3288: Enable HDMI hang boot and no Linux log

2017-09-04 Thread Jagan Teki
20140818 for display-subsystem on minor 0 [2.047818] hctosys: unable to open rtc device (rtc0) [2.053958] mmcblk0: p1 [2.057009] ttyS2 - failed to request DMA [1] https://paste.ubuntu.com/25464674/ thanks! -- Jagan Teki Free Software Engineer | www.openedev.com U-Boot, Linux | Upstream

Re: [PATCH 03/21] clk: sunxi-ng: Enable DE2_CCU for Allwinner 64-bit SoCs

2018-05-15 Thread Jagan Teki
On Tue, May 1, 2018 at 9:53 PM, Chen-Yu Tsai <w...@csie.org> wrote: > On Mon, Apr 30, 2018 at 7:40 PM, Jagan Teki <ja...@amarulasolutions.com> > wrote: >> Allwinner 64-bit SoC like H5/A64 has DE2 CCU so enable them >> as default. >> >> Signed-off-

Re: [PATCH 4/6] drm/panel: simple: Add support for Banana Pi 7" S070WV20-CT16 panel

2018-05-15 Thread Jagan Teki
On Thu, Apr 19, 2018 at 3:02 PM, Chen-Yu Tsai wrote: > This panel is marketed as Banana Pi 7" LCD display. On the back is > a sticker denoting the model name S070WV20-CT16. > > This is a 7" 800x480 panel connected through a 24-bit RGB interface. > However the panel only does 262k

Re: [PATCH 09/21] arm64: dts: allwinner: a64: Add HDMI support

2018-05-15 Thread Jagan Teki
On Mon, May 14, 2018 at 2:10 PM, Maxime Ripard <maxime.rip...@bootlin.com> wrote: > On Mon, May 14, 2018 at 02:03:36PM +0530, Jagan Teki wrote: >> On Wed, May 2, 2018 at 5:04 PM, Maxime Ripard <maxime.rip...@bootlin.com> >> wrote: >> > Hi, >> > >>

Re: [PATCH 09/21] arm64: dts: allwinner: a64: Add HDMI support

2018-05-15 Thread Jagan Teki
On Wed, May 2, 2018 at 5:04 PM, Maxime Ripard <maxime.rip...@bootlin.com> wrote: > Hi, > > On Mon, Apr 30, 2018 at 05:10:46PM +0530, Jagan Teki wrote: >> + hdmi_phy: hdmi-phy@1ef { >> + compatible = &qu

Re: [PATCH 4/6] drm/panel: simple: Add support for Banana Pi 7" S070WV20-CT16 panel

2018-05-17 Thread Jagan Teki
On Wed, May 16, 2018 at 12:12 PM, Chen-Yu Tsai <w...@csie.org> wrote: > On Mon, May 14, 2018 at 11:03 AM, Jagan Teki <ja...@amarulasolutions.com> > wrote: >> On Thu, Apr 19, 2018 at 3:02 PM, Chen-Yu Tsai <w...@csie.org> wrote: >>> This panel is marketed a

[PATCH v2 09/26] arm64: dts: allwinner: a64: Add DE2 tcon1 pipeline

2018-05-21 Thread Jagan Teki
The DE2 on the A64 is mainly composed of the mixers and tcons, plus various encoders. This patch add second mixer and tcon which eventually useful for testing HDMI. the other part of DE2 will add in future. Signed-off-by: Jagan Teki <ja...@amarulasolutions.com> --- Changes for v2: -

[PATCH v2 03/26] clk: sunxi-ng: Enable DE2_CCU for SUN8I and SUN50I

2018-05-21 Thread Jagan Teki
Allwinner SoC like SUN8I and SUN50I has DE2 CCU so enable them as default. Signed-off-by: Jagan Teki <ja...@amarulasolutions.com> --- Changes for v2: - Enable for MACH_SUN8I drivers/clk/sunxi-ng/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/clk/sunxi-ng/Kconfig b/d

[PATCH v2 21/26] arm64: dts: allwinner: a64: bananapi-m64: Enable HDMI output

2018-05-21 Thread Jagan Teki
Enable HDMI output on Bananpi-m64 board. Signed-off-by: Jagan Teki <ja...@amarulasolutions.com> --- Changes for v2: - none .../boot/dts/allwinner/sun50i-a64-bananapi-m64.dts | 26 ++ 1 file changed, 26 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun5

[PATCH v2 04/26] clk: sunxi-ng: a64: Add minimal rate for video PLLs

2018-05-21 Thread Jagan Teki
According to documentation and experience with other similar SoCs, video PLLs don't work stable if their output frequency is set below 192 MHz. Because of that, set minimal rate to both A64 video PLLs to 192 MHz. Signed-off-by: Jagan Teki <ja...@amarulasolutions.com> --- Changes for v2:

[PATCH v2 13/26] drm/sun4i: Add support for A64 HDMI PHY

2018-05-21 Thread Jagan Teki
From: Jernej Skrabec <jernej.skra...@siol.net> PHY is the same as in H3, except it can select between two clock parent. Signed-off-by: Jernej Skrabec <jernej.skra...@siol.net> Signed-off-by: Jagan Teki <ja...@amarulasolutions.com> --- Changes for v2: - new patch dri

[PATCH v2 07/26] dt-bindings: display: Add compatible for A64 DE2 tcon1 blocks

2018-05-21 Thread Jagan Teki
. Signed-off-by: Jagan Teki <ja...@amarulasolutions.com> --- Changes for v2: - Add fallback compatible for tcon1 - Add separate compatible for mixer1 Documentation/devicetree/bindings/display/sunxi/sun4i-drm.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devi

[PATCH v2 26/26] arm64: dts: allwinner: a64: sopine: Enable HDMI output

2018-05-21 Thread Jagan Teki
Enable HDMI output on sopine board. Signed-off-by: Jagan Teki <ja...@amarulasolutions.com> --- Changes for v2: - none .../dts/allwinner/sun50i-a64-sopine-baseboard.dts | 26 ++ 1 file changed, 26 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-

[PATCH v2 19/26] arm64: dts: allwinner: a64: Add HDMI pipeline

2018-05-21 Thread Jagan Teki
HDMI pipeline on Allwinner A64 has similar behavior like A83T where tcon1 is connected to HDMI. Setup the pipeline according to that. Signed-off-by: Jagan Teki <ja...@amarulasolutions.com> --- Changes for v2: - none arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 21 ++

[PATCH v2 11/26] arm64: defconfig: Enable CONFIG_DRM_SUN4I

2018-05-21 Thread Jagan Teki
Enable DRM Support for Allwinner Display Engine, built as a module. Signed-off-by: Jagan Teki <ja...@amarulasolutions.com> --- Changes for v2: - none arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/def

[PATCH v2 00/26] arm64: allwinner: Add A64 DE2 HDMI support

2018-05-21 Thread Jagan Teki
/lkml/2018/4/30/288 [1] https://lkml.org/lkml/2018/4/24/547 Icenowy Zheng (1): drm: sun4i: add support for HVCC regulator for DWC HDMI glue Jagan Teki (22): dt-bindings: clock: Add compatible for A64 DE2 CCU arm64: dts: allwinner: a64: Add DE2 CCU clk: sunxi-ng: Enable DE2_CCU for SUN8

[PATCH v2 20/26] drm: sun4i: add support for HVCC regulator for DWC HDMI glue

2018-05-21 Thread Jagan Teki
use a dedicated regulator to power it, the default dummy regulator is used. Signed-off-by: Icenowy Zheng <icen...@aosc.io> Signed-off-by: Jagan Teki <ja...@amarulasolutions.com> --- Changes for v2: - none drivers/gpu/drm/sun4i/sun8i_dw_hdmi.c | 14 ++ drivers/gpu/drm/sun4i/sun8

[PATCH v2 17/26] arm64: dts: allwinner: a64: Add HDMI support

2018-05-21 Thread Jagan Teki
HDMI on Allwinner A64 has similar behaviour like H3/H5/A83T, so reuse the same dts node details for A64 with A83T compatible as fallback. HDMI PHY on Allwinner A64 has two clock parents so add them as pll-0 and pll-1 in CCU clock phadles. Signed-off-by: Jagan Teki <ja...@amarulasolutions.

[PATCH v2 22/26] arm64: dts: allwinner: a64: nanopi-a64: Enable HDMI output

2018-05-21 Thread Jagan Teki
Enable HDMI output on nanopi-a64 board. Signed-off-by: Jagan Teki <ja...@amarulasolutions.com> --- Changes for v2: - none .../boot/dts/allwinner/sun50i-a64-nanopi-a64.dts | 26 ++ 1 file changed, 26 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun5

[PATCH v2 14/26] dt-bindings: display: Add compatible for A64 HDMI

2018-05-21 Thread Jagan Teki
HDMI on Allwinner A64 has similar like H3/H5/A83T. Add compatible a64 and update A83T compatible as fallback. Signed-off-by: Jagan Teki <ja...@amarulasolutions.com> --- Changes for v2: - Add fallback compatible Documentation/devicetree/bindings/display/sunxi/sun4i-drm.txt | 1 + 1 file c

[PATCH v2 23/26] arm64: dts: allwinner: a64: orangepi-win: Enable HDMI output

2018-05-21 Thread Jagan Teki
Enable HDMI output on Orangepi-win board. Signed-off-by: Jagan Teki <ja...@amarulasolutions.com> --- Changes for v2: - none .../boot/dts/allwinner/sun50i-a64-orangepi-win.dts | 26 ++ 1 file changed, 26 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun5

[PATCH v2 10/26] drm/sun4i: Enable DE2 Mixer for SUN8I and SUN50I

2018-05-21 Thread Jagan Teki
Allwinner SoC like SUN8I and SUN50I are now using DE2 Mixer so enable them as default. Signed-off-by: Jagan Teki <ja...@amarulasolutions.com> --- Changes for v2: - Enable for SUN8I drivers/gpu/drm/sun4i/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/g

[PATCH v2 05/26] drm/sun4i: DE2 mixer: Add index quirk

2018-05-21 Thread Jagan Teki
From: Jernej Skrabec <jernej.skra...@siol.net> When TCON set up TCON TOP, it needs to know mixer index. Here we do that by setting engine ID to number provided in mixer index quirk. Signed-off-by: Jernej Skrabec <jernej.skra...@siol.net> Signed-off-by: Jagan Teki <ja...@amaru

[PATCH v2 18/26] drm/sun4i: Enable DesignWare HDMI for SUN8I and SUN50I

2018-05-21 Thread Jagan Teki
Allwinner SoC like SUN8I and SUN50I are now using DesignWare HDMI so enable them as default. Signed-off-by: Jagan Teki <ja...@amarulasolutions.com> --- Changes for v2: - Enable for SUN8I drivers/gpu/drm/sun4i/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm

[PATCH v2 12/26] drm/sun4i: Add support for multiple DW HDMI PHY clock parents

2018-05-21 Thread Jagan Teki
From: Jernej Skrabec <jernej.skra...@siol.net> Some SoCs with DW HDMI have multiple possible clock parents, like A64 and R40. Expand HDMI PHY clock driver to support second clock parent. Signed-off-by: Jernej Skrabec <jernej.skra...@siol.net> Signed-off-by: Ja

[PATCH v2 02/26] arm64: dts: allwinner: a64: Add DE2 CCU

2018-05-21 Thread Jagan Teki
DE2 CCU in Allwinner A64 has same like H5, so use the similar dts details for A64 with fallback compatible. Signed-off-by: Jagan Teki <ja...@amarulasolutions.com> --- Changes for v2: - Add h5 compatible first since A64 came first. arch/arm64/boot/dts/allwinner/sun50i-a64.dts

[PATCH v2 06/26] drm/sun4i: Add support for A64 mixer1

2018-05-21 Thread Jagan Teki
Mixers in Allwinner have similar capabilities as others SoCs with DE2. Mixer1 has 1 VI and 1 UI planes and supports HW scaling on all planes. Signed-off-by: Jagan Teki <ja...@amarulasolutions.com> --- Changes for v2: - New patch drivers/gpu/drm/sun4i/sun8i_mixer.c | 13 +

[PATCH v2 01/26] dt-bindings: clock: Add compatible for A64 DE2 CCU

2018-05-21 Thread Jagan Teki
Allwinner A64 has DE2 CCU is similar to H3/H5 SoC. So add compatible for A64 which is fallback compatible for H5, so update fallback binding. Signed-off-by: Jagan Teki <ja...@amarulasolutions.com> Reviewed-by: Rob Herring <r...@kernel.org> --- Changes for v2: - Add fallbac

[PATCH v2 08/26] drm/sun4i: Add support for A64 display engine

2018-05-21 Thread Jagan Teki
Display Engine(DE2) in Allwinner A64 has two mixers and tcons. The routing for mixer0 is through tcon0 and connected to LVDS/RGB/MIPI-DSI controller. The routing for mixer1 is through tcon1 and connected to HDMI. Signed-off-by: Jagan Teki <ja...@amarulasolutions.com> --- Changes for v2:

[PATCH v2 15/26] dt-bindings: display: Add compatible for A64 HDMI PHY

2018-05-21 Thread Jagan Teki
HDMI PHY on Allwinner A64 has similar like H3/H5 but with two clock parents, so add separate compatible for A64. Signed-off-by: Jagan Teki <ja...@amarulasolutions.com> --- Changes for v2: - Add separate compatible for A64 Documentation/devicetree/bindings/display/sunxi/sun4i-drm.txt |

[PATCH v2 24/26] arm64: dts: allwinner: a64: a64-olinuxino: Enable HDMI output

2018-05-21 Thread Jagan Teki
Enable HDMI output on a64-olinuxino board. Signed-off-by: Jagan Teki <ja...@amarulasolutions.com> --- Changes for v2: - none .../boot/dts/allwinner/sun50i-a64-olinuxino.dts| 26 ++ 1 file changed, 26 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun5

[PATCH v2 16/26] dt-bindings: clock: sun50i-a64-ccu: Add PLL_VIDEO[0-1] macros

2018-05-21 Thread Jagan Teki
Allwinner A64 has two clock parents PLL_VIDEO0 and PLL_VIDEO1. Include these macros on dt-bindings so-that the same can be used while defining CCU clock phadles. Signed-off-by: Jagan Teki <ja...@amarulasolutions.com> --- Changes for v2: - new patch include/dt-bindings/clock/sun50i-a64

[PATCH v2 25/26] arm64: dts: allwinner: a64: pine64: Enable HDMI output

2018-05-21 Thread Jagan Teki
Enable HDMI output on pine64 board. Signed-off-by: Jagan Teki <ja...@amarulasolutions.com> --- Changes for v2: - none .../arm64/boot/dts/allwinner/sun50i-a64-pine64.dts | 26 ++ 1 file changed, 26 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-

[PATCH v2 1/4] drm/panel: simple: Add support for Rocktech RK070ER9427 LCD panel

2018-06-08 Thread Jagan Teki
This adds support for the Rocktech Display Ltd. RK070ER9427 800(RGB)x480 TFT LCD panel, which can be supported by the simple panel driver. Signed-off-by: Jagan Teki Reviewed-by: Rob Herring --- Changes for v2: - collect Rob r-w-b tag .../display/panel/rocktech,rk070er9427.txt | 25

Re: [linux-sunxi] [PATCH v2 00/27] Add support for R40 HDMI pipeline

2018-06-18 Thread Jagan Teki
On Thu, Jun 14, 2018 at 10:59 PM, Jernej Škrabec wrote: > Dne četrtek, 14. junij 2018 ob 19:16:46 CEST je Jagan Teki napisal(a): >> On Thu, Jun 14, 2018 at 8:04 PM, Jernej Škrabec > wrote: >> > Dne četrtek, 14. junij 2018 ob 09:12:41 CEST je Jagan Teki napisal(a): >> &

Re: [linux-sunxi] [PATCH v2 00/27] Add support for R40 HDMI pipeline

2018-06-15 Thread Jagan Teki
On Thu, Jun 14, 2018 at 8:04 PM, Jernej Škrabec wrote: > Dne četrtek, 14. junij 2018 ob 09:12:41 CEST je Jagan Teki napisal(a): >> On Wed, Jun 13, 2018 at 1:30 AM, Jernej Skrabec > wrote: >> > This series adds support for R40 HDMI pipeline. It is a bit special >> >

Re: [linux-sunxi] [PATCH v2 00/27] Add support for R40 HDMI pipeline

2018-06-15 Thread Jagan Teki
or second clock parent to DW HDMI PHY clk > driver > drm/sun4i: Add support for A64 HDMI PHY > drm: of: Export drm_crtc_port_mask() > drm/sun4i: DW HDMI: Expand algorithm for possible crtcs > ARM: dts: sun8i: r40: Add HDMI pipeline > ARM: dts: sun8i: r40: Enable HDM

Re: [linux-sunxi] Re: [PATCH v2 00/26] arm64: allwinner: Add A64 DE2 HDMI support

2018-06-06 Thread Jagan Teki
On Fri, May 18, 2018 at 3:29 PM, Maxime Ripard wrote: > On Fri, May 18, 2018 at 03:15:10PM +0530, Jagan Teki wrote: >> Allwinner A64 has display engine pipeline like other Allwinner SOC's >> A83T/H3/H5. >> >> A64 behaviour similar to Allwinner A83T where >> Mix

Re: [PATCH 08/21] bindings: display: Add compatible for A64 HDMI PHY

2018-05-02 Thread Jagan Teki
Hi Rob, On Tue, May 1, 2018 at 9:49 PM, Rob Herring <r...@kernel.org> wrote: > > On Mon, Apr 30, 2018 at 05:10:45PM +0530, Jagan Teki wrote: > > HDMI PHY on Allwinner A64 has similar like H3/H5. > > > > Signed-off-by: Jagan Teki <ja...@amarulasolutions.com> &

Re: [linux-sunxi] Re: [PATCH 02/21] arm64: dts: allwinner: a64: Add DE2 CCU

2018-05-03 Thread Jagan Teki
On Wed, May 2, 2018 at 5:04 PM, Icenowy Zheng <icen...@aosc.io> wrote: > > > 于 2018年5月2日 GMT+08:00 下午7:32:50, Maxime Ripard <maxime.rip...@bootlin.com> 写到: >>On Mon, Apr 30, 2018 at 05:10:39PM +0530, Jagan Teki wrote: >>> DE2 in A64 has clock control unit and

[PATCH v2 1/4] drm/panel: simple: Add support for Rocktech RK070ER9427 LCD panel

2018-04-29 Thread Jagan Teki
This adds support for the Rocktech Display Ltd. RK070ER9427 800(RGB)x480 TFT LCD panel, which can be supported by the simple panel driver. Signed-off-by: Jagan Teki <ja...@amarulasolutions.com> --- Changes for v2: - included drm drm panel maintainers .../display/panel/rocktech,rk070er94

[PATCH 15/21] drm: sun4i: add support for HVCC regulator for DWC HDMI glue

2018-05-01 Thread Jagan Teki
use a dedicated regulator to power it, the default dummy regulator is used. Signed-off-by: Icenowy Zheng <icen...@aosc.io> Signed-off-by: Jagan Teki <ja...@amarulasolutions.com> --- drivers/gpu/drm/sun4i/sun8i_dw_hdmi.c | 14 ++ drivers/gpu/drm/sun4i/sun8i_dw_hdmi.h | 2 ++ 2

[PATCH 18/21] arm64: dts: allwinner: a64: orangepi-win: Enable HDMI output

2018-05-01 Thread Jagan Teki
Enable HDMI output on Orangepi-win board. Signed-off-by: Jagan Teki <ja...@amarulasolutions.com> --- .../boot/dts/allwinner/sun50i-a64-orangepi-win.dts | 26 ++ 1 file changed, 26 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-orangepi-win.dts

[PATCH 06/21] arm64: defconfig: Enable CONFIG_DRM_SUN4I

2018-05-01 Thread Jagan Teki
Enable DRM Support for Allwinner Display Engine, built as a module. Signed-off-by: Jagan Teki <ja...@amarulasolutions.com> --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 8ac1fe

[PATCH 11/21] bindings: display: Add compatible for A64 Mixer1

2018-05-01 Thread Jagan Teki
Mixer1 on Allwinner A64 has similar behavior like Allwinner A83T. Signed-off-by: Jagan Teki <ja...@amarulasolutions.com> --- Documentation/devicetree/bindings/display/sunxi/sun4i-drm.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/display/sunxi

[PATCH 12/21] bindings: display: Add compatible for A64 tcon-tv

2018-05-01 Thread Jagan Teki
tcon-tv on Allwinner A64 has similar behavior like Allwinner A83T. Signed-off-by: Jagan Teki <ja...@amarulasolutions.com> --- Documentation/devicetree/bindings/display/sunxi/sun4i-drm.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/display/sunxi

[PATCH 01/21] dt-bindings: clock: Add compatible for A64 DE2 CCU

2018-05-01 Thread Jagan Teki
Allwinner A64 has DE2 CCU which is similar to H3/H5 SoC. Signed-off-by: Jagan Teki <ja...@amarulasolutions.com> --- Documentation/devicetree/bindings/clock/sun8i-de2.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/clock/sun8i-de2.txt b/Documen

[PATCH 07/21] bindings: display: Add compatible for A64 HDMI

2018-05-01 Thread Jagan Teki
HDMI on Allwinner A64 has similar like H3/H5. Signed-off-by: Jagan Teki <ja...@amarulasolutions.com> --- Documentation/devicetree/bindings/display/sunxi/sun4i-drm.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/display/sunxi/sun4i-drm.

[PATCH 03/21] clk: sunxi-ng: Enable DE2_CCU for Allwinner 64-bit SoCs

2018-05-01 Thread Jagan Teki
Allwinner 64-bit SoC like H5/A64 has DE2 CCU so enable them as default. Signed-off-by: Jagan Teki <ja...@amarulasolutions.com> --- drivers/clk/sunxi-ng/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/clk/sunxi-ng/Kconfig b/drivers/clk/sunxi-ng/Kconfig index 79dfd2

[PATCH 20/21] arm64: dts: allwinner: a64: pine64: Enable HDMI output

2018-05-01 Thread Jagan Teki
Enable HDMI output on pine64 board. Signed-off-by: Jagan Teki <ja...@amarulasolutions.com> --- .../arm64/boot/dts/allwinner/sun50i-a64-pine64.dts | 26 ++ 1 file changed, 26 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts b/arch/arm64/bo

[PATCH 19/21] arm64: dts: allwinner: a64: a64-olinuxino: Enable HDMI output

2018-05-01 Thread Jagan Teki
Enable HDMI output on a64-olinuxino board. Signed-off-by: Jagan Teki <ja...@amarulasolutions.com> --- .../boot/dts/allwinner/sun50i-a64-olinuxino.dts| 26 ++ 1 file changed, 26 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-olinuxino.dts

[PATCH 08/21] bindings: display: Add compatible for A64 HDMI PHY

2018-05-01 Thread Jagan Teki
HDMI PHY on Allwinner A64 has similar like H3/H5. Signed-off-by: Jagan Teki <ja...@amarulasolutions.com> --- Documentation/devicetree/bindings/display/sunxi/sun4i-drm.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/display/sunxi/sun4i-drm.

[PATCH 21/21] arm64: dts: allwinner: a64: sopine: Enable HDMI output

2018-05-01 Thread Jagan Teki
Enable HDMI output on sopine board. Signed-off-by: Jagan Teki <ja...@amarulasolutions.com> --- .../dts/allwinner/sun50i-a64-sopine-baseboard.dts | 26 ++ 1 file changed, 26 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-sopine-baseboard.dts

[PATCH 16/21] arm64: dts: allwinner: a64: bananapi-m64: Enable HDMI output

2018-05-01 Thread Jagan Teki
Enable HDMI output on Bananpi-m64 board. Signed-off-by: Jagan Teki <ja...@amarulasolutions.com> --- .../boot/dts/allwinner/sun50i-a64-bananapi-m64.dts | 26 ++ 1 file changed, 26 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-bananapi-m64.dts

[PATCH 13/21] drm/sun4i: Enable DE2 Mixer for Allwinner 64-bit SoCs

2018-05-01 Thread Jagan Teki
Allwinner 64-bit SoC like H5/A64 has DE2 Mixer so enable them as default. Signed-off-by: Jagan Teki <ja...@amarulasolutions.com> --- drivers/gpu/drm/sun4i/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/sun4i/Kconfig b/drivers/gpu/drm/sun4i/K

[PATCH 05/21] drm/sun4i: Add support for A64 display engine

2018-05-01 Thread Jagan Teki
A64 display engine has two mixers which are connected to LVDS/RGB/MIPI-DSI and HDMI output through tcon0 and tcon1. Signed-off-by: Jagan Teki <ja...@amarulasolutions.com> --- drivers/gpu/drm/sun4i/sun4i_drv.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/sun4i/sun4i

[PATCH 09/21] arm64: dts: allwinner: a64: Add HDMI support

2018-05-01 Thread Jagan Teki
HDMI on Allwinner A64 has similar behavior like H3/H5, so reuse the same dts node details for A64. Signed-off-by: Jagan Teki <ja...@amarulasolutions.com> --- arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 28 +++ include/dt-bindings/clock/sun50i-a64-ccu.h| 2

[PATCH 14/21] arm64: dts: allwinner: a64: Add HDMI pipeline

2018-05-01 Thread Jagan Teki
HDMI pipeline on A64 has similar behavior like A83T where tcon1 is connected to HDMI. So reuse similar dts nodes for A64. Signed-off-by: Jagan Teki <ja...@amarulasolutions.com> --- arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 83 +++ 1 file changed, 83 inse

[PATCH 17/21] arm64: dts: allwinner: a64: nanopi-a64: Enable HDMI output

2018-05-01 Thread Jagan Teki
Enable HDMI output on nanopi-a64 board. Signed-off-by: Jagan Teki <ja...@amarulasolutions.com> --- .../boot/dts/allwinner/sun50i-a64-nanopi-a64.dts | 26 ++ 1 file changed, 26 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-nanopi-a64.dts b/arch

[PATCH 00/21] arm64: allwinner: Add A64 DE2 HDMI support

2018-05-01 Thread Jagan Teki
-drm display-engine: fb0: frame buffer device [ 14.028297] [drm] Initialized sun4i-drm 1.0.0 20150629 for display-engine on minor 0 [1] https://lkml.org/lkml/2018/4/24/547 Icenowy Zheng (1): drm: sun4i: add support for HVCC regulator for DWC HDMI glue Jagan Teki (20

[PATCH 10/21] drm/sun4i: Enable DesignWare HDMI for Allwinner 64-bit SoCs

2018-05-01 Thread Jagan Teki
Allwinner 64-bit SoC like H5/A64 has DesignWare HDMI so enable them as default. Signed-off-by: Jagan Teki <ja...@amarulasolutions.com> --- drivers/gpu/drm/sun4i/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/sun4i/Kconfig b/drivers/gpu/drm/sun4i/Kconfig

[PATCH 04/21] bindings: display: Add compatible for A64 DE2 pipeline

2018-05-01 Thread Jagan Teki
Allwinner A64 has DE2 pipeline similar to other Allwinner SOC's like A83T, H3/H5. Signed-off-by: Jagan Teki <ja...@amarulasolutions.com> --- Documentation/devicetree/bindings/display/sunxi/sun4i-drm.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/d

[PATCH 02/21] arm64: dts: allwinner: a64: Add DE2 CCU

2018-05-01 Thread Jagan Teki
DE2 in A64 has clock control unit and behavior is same like H3/H5, so reuse the same in A64. Signed-off-by: Jagan Teki <ja...@amarulasolutions.com> --- arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 15 +++ 1 file changed, 15 insertions(+) diff --git a/arch/arm64/boot/dts/all

[PATCH v3 6/7] ARM: dts: imx6q: Add Engicam i.CoreM6 Quad/Dual OpenFrame Cap 7 initial support

2018-02-04 Thread Jagan Teki
/1066 NAND SLC, 512MB LVDS Display TFT 7" industrial, 800x480 resolution Touchscreen EP0700M06 EDT Polytouch capacitive touch screen Backlight LED backlight, brightness 300 Cd/m2 Power supply 15 to 30 Vdc Signed-off-by: Jagan Teki <ja...@amarulasolutions.com> --- Changes f

[PATCH v3 4/7] drm/panel: simple: Add support for KEO TX31D200VM0BAA

2018-02-04 Thread Jagan Teki
This adds support for the Kaohsiung Opto-Electronics., TX31D200VM0BAA 12.3" HSXGA LVDS panel, which can be supported by the simple panel driver. Signed-off-by: Jagan Teki <ja...@amarulasolutions.com> Reviewed-by: Rob Herring <r...@kernel.org> --- Changes for v3: - collect Rob r

[PATCH v3 2/7] ARM: dts: imx6q-icore: Switch LVDS timings from panel-simple

2018-02-04 Thread Jagan Teki
Switch to use ampire,am-800480aytzqw-00h LVDS timings from panel-simple instead hard coding the same in dts. Signed-off-by: Jagan Teki <ja...@amarulasolutions.com> --- Changes for v3, v2: - none arch/arm/boot/dts/imx6q-icore.dts| 31 +-- arch/arm/boot/dts/i

[PATCH v3 3/7] ARM: dts: imx6dl-icore: Add LVDS node

2018-02-04 Thread Jagan Teki
Add ampire,am-800480aytzqw-00h LVDS support by using timings from panel-simple. Signed-off-by: Jagan Teki <ja...@amarulasolutions.com> --- Changes for v3, v2: - none arch/arm/boot/dts/imx6dl-icore.dts | 28 1 file changed, 28 insertions(+) diff --git a/ar

[PATCH v3 7/7] ARM: dts: imx6q: Add Engicam i.CoreM6 1.5 Quad/Dual MIPI starter kit support

2018-02-04 Thread Jagan Teki
Up to 2 GB DDR3-1066 Video InterfacesUp to 1 Parallel Up to 2 LVDS HDMI 1.4 port 8 bit CSI INPUT MIPI-CSI INPUT 1 x 10/100 Ethernet interface, 2 x USB, 1 x PCIe, 1 x I2S etc Signed-off-by: Jagan Teki <ja...@amarulasolutions.com> --- Changes for v3:

[PATCH v3 1/7] drm/panel: simple: add support for Ampire AM-800480AYTZQW-00H

2018-02-04 Thread Jagan Teki
This adds support for the Ampire AM-800480AYTZQW-00H 7.0" WGA LCD, which can be supported by the simple panel driver. Signed-off-by: Jagan Teki <ja...@amarulasolutions.com> Reviewed-by: Rob Herring <r...@kernel.org> --- Changes for v3: - collect Rob reiew tag Changes for v2:

[PATCH v3 5/7] ARM: dts: imx6q-icore-ofcap12: Switch LVDS timings from panel-simple

2018-02-04 Thread Jagan Teki
Switch to use koe_tx31d200vm0baa LVDS timings from panel-simple instead hard coding the same in dts. Signed-off-by: Jagan Teki <ja...@amarulasolutions.com> --- Changes for v3, v2: - none arch/arm/boot/dts/imx6q-icore-ofcap12.dts | 31 +-- 1 file chang

[PATCH v3 0/7] ARM: dts: imx6q: engicam LVDS panel changes

2018-02-04 Thread Jagan Teki
Series adda LVDS panel attributes on panel drivers instead of defining them in dts nodes, and also added new icorem6 engicam boards. Jagan Teki (7): drm/panel: simple: add support for Ampire AM-800480AYTZQW-00H ARM: dts: imx6q-icore: Switch LVDS timings from panel-simple ARM: dts: imx6dl

Re: [PATCH v3 0/7] ARM: dts: imx6q: engicam LVDS panel changes

2018-02-06 Thread Jagan Teki
On Mon, Feb 5, 2018 at 4:28 PM, Shawn Guo <shawn...@kernel.org> wrote: > On Sun, Feb 04, 2018 at 11:19:24PM +0530, Jagan Teki wrote: >> Series adda LVDS panel attributes on panel drivers instead of defining >> them in dts nodes, and also added new icorem6 engicam boards

Re: [PATCH v3.1 10/10] arm64: dts: allwinner: a64: Enable HDMI output on A64 boards w/ HDMI

2018-07-28 Thread Jagan Teki
On Fri, Jul 27, 2018 at 6:56 PM, Icenowy Zheng wrote: > > > 于 2018年7月27日 GMT+08:00 下午8:56:15, Maxime Ripard > 写到: >>On Fri, Jul 27, 2018 at 01:12:57AM +0800, Icenowy Zheng wrote: >>> diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts

[PATCH v3 05/18] dt-bindings: display: Add compatible for A64 HDMI

2018-07-19 Thread Jagan Teki
HDMI on Allwinner A64 has similar like H3/H5/A83T. Add compatible a64 and update A83T compatible as fallback. Signed-off-by: Jagan Teki Reviewed-by: Rob Herring --- Changes for v3: - collect Rob r-w-b tag Changes for v2: - Add fallback compatible Documentation/devicetree/bindings/display

[PATCH v3 02/18] drm/sun4i: Add support for A64 mixer1

2018-07-19 Thread Jagan Teki
Mixers in Allwinner have similar capabilities as others SoCs with DE2. Mixer1 has 1 VI and 1 UI planes and supports HW scaling on all planes. Signed-off-by: Jagan Teki --- Changes for v3: - none Changes for v2: - New patch drivers/gpu/drm/sun4i/sun8i_mixer.c | 12 1 file changed

[PATCH v3 13/18] arm64: dts: allwinner: a64: bananapi-m64: Enable HDMI output

2018-07-19 Thread Jagan Teki
Enable all necessary HDMI pipeline nodes with HDMI out connector on Bananpi-m64 board. Signed-off-by: Jagan Teki --- Changes for v3: - Enable all pipeline components Changes for v2: - none .../dts/allwinner/sun50i-a64-bananapi-m64.dts | 34 +++ 1 file changed, 34 insertions

[PATCH v3 09/18] arm64: defconfig: Enable CONFIG_DRM_SUN4I

2018-07-19 Thread Jagan Teki
Enable DRM Support for Allwinner Display Engine, built as a module. Signed-off-by: Jagan Teki --- Changes for v3, v2: - none arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index c192a42c2ba3

[PATCH v3 08/18] clk: sunxi-ng: Enable DE2_CCU for SUN8I and SUN50I

2018-07-19 Thread Jagan Teki
Allwinner SoC like SUN8I and SUN50I has DE2 CCU so enable them as default. Signed-off-by: Jagan Teki --- Changes for v3: - none Changes for v2: - Enable for MACH_SUN8I drivers/clk/sunxi-ng/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/clk/sunxi-ng/Kconfig b/drivers/clk

[PATCH v3 14/18] arm64: dts: allwinner: a64: nanopi-a64: Enable HDMI output

2018-07-19 Thread Jagan Teki
Enable all necessary HDMI pipeline nodes with HDMI out connector on nanopi-a64 board. Signed-off-by: Jagan Teki --- Changes for v3: - Enable all pipeline components Changes for v2: - none .../dts/allwinner/sun50i-a64-nanopi-a64.dts | 34 +++ 1 file changed, 34 insertions

[PATCH v3 04/18] drm/sun4i: Add support for A64 display engine

2018-07-19 Thread Jagan Teki
Display Engine(DE2) in Allwinner A64 has two mixers and tcons. The routing for mixer0 is through tcon0 and connected to LVDS/RGB/MIPI-DSI controller. The routing for mixer1 is through tcon1 and connected to HDMI. Signed-off-by: Jagan Teki --- Changes for v3, v2: - none drivers/gpu/drm/sun4i

[PATCH v3 16/18] arm64: dts: allwinner: a64: a64-olinuxino: Enable HDMI output

2018-07-19 Thread Jagan Teki
Enable all necessary HDMI pipeline nodes with HDMI out connector on a64-olinuxino board. Signed-off-by: Jagan Teki --- Changes for v3: - Enable all pipeline components Changes for v2: - none .../dts/allwinner/sun50i-a64-olinuxino.dts| 34 +++ 1 file changed, 34 insertions

[PATCH v3 06/18] dt-bindings: clock: sun50i-a64-ccu: Add PLL_VIDEO[0-1] macros

2018-07-19 Thread Jagan Teki
Allwinner A64 has two clock parents PLL_VIDEO0 and PLL_VIDEO1. Include these macros on dt-bindings so-that the same can be used while defining CCU clock phadles. Signed-off-by: Jagan Teki Reviewed-by: Rob Herring --- Changes for v3: - collect Rob r-w-b tag Changes for v2: - new patch include

Re: [PATCH v3 00/18] arm64: allwinner: Add A64 DE2 HDMI support

2018-07-19 Thread Jagan Teki
On Wed, Jul 18, 2018 at 6:14 PM, Maxime Ripard wrote: > On Wed, Jul 18, 2018 at 04:24:40PM +0530, Jagan Teki wrote: >> Allwinner A64 has display engine pipeline like other Allwinner SOC's >> A83T/H3/H5. >> >> A64 behaviour similar to Allwinner A83T where >> Mix

[PATCH v3 17/18] arm64: dts: allwinner: a64: pine64: Enable HDMI output

2018-07-19 Thread Jagan Teki
Enable all necessary HDMI pipeline nodes with HDMI out connector on pine64 board. Signed-off-by: Jagan Teki --- Changes for v3: - Enable all pipeline components Changes for v2: - none .../boot/dts/allwinner/sun50i-a64-pine64.dts | 34 +++ 1 file changed, 34 insertions(+) diff

[PATCH v3 00/18] arm64: allwinner: Add A64 DE2 HDMI support

2018-07-19 Thread Jagan Teki
920x1080@60D' kernel command line can create edid with display on penel [3] https://lkml.org/lkml/2018/5/18/461 [2] https://lkml.org/lkml/2018/4/30/288 [1] https://lkml.org/lkml/2018/4/24/547 Icenowy Zheng (1): drm: sun4i: add support for HVCC regulator for DWC HDMI glue Jagan Teki (17): clk: s

[PATCH v3 01/18] clk: sunxi-ng: a64: Add minimal rate for video PLLs

2018-07-19 Thread Jagan Teki
According to documentation and experience with other similar SoCs, video PLLs don't work stable if their output frequency is set below 192 MHz. Because of that, set minimal rate to both A64 video PLLs to 192 MHz. Signed-off-by: Jagan Teki --- Changes for v3: - none Changes for v2: - New patch

[PATCH v3 07/18] arm64: dts: allwinner: a64: Add tcon1 HDMI pipeline

2018-07-19 Thread Jagan Teki
it in future once we have mixer0 pipeline. Signed-off-by: Jagan Teki --- Changes for v3: - Squash all pipeline components in one patch - Add status for mixer1 and tcon1 Changes for v2: - Change compatibles and other based on previous patch changes arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi

[PATCH v3 03/18] dt-bindings: display: Add compatible for A64 DE2 tcon1 blocks

2018-07-19 Thread Jagan Teki
. Signed-off-by: Jagan Teki Reviewed-by: Rob Herring --- Changes for v3: - collect Rob r-w-b tag Changes for v2: - Add fallback compatible for tcon1 - Add separate compatible for mixer1 Documentation/devicetree/bindings/display/sunxi/sun4i-drm.txt | 3 +++ 1 file changed, 3 insertions(+) diff

[PATCH v3 15/18] arm64: dts: allwinner: a64: orangepi-win: Enable HDMI output

2018-07-19 Thread Jagan Teki
Enable all necessary HDMI pipeline nodes with HDMI out connector on Orangepi-win board. Signed-off-by: Jagan Teki --- Changes for v3: - Enable all pipeline components Changes for v2: - none .../dts/allwinner/sun50i-a64-orangepi-win.dts | 34 +++ 1 file changed, 34 insertions

[PATCH v3 10/18] drm/sun4i: Enable DE2 Mixer for SUN8I and SUN50I

2018-07-19 Thread Jagan Teki
Allwinner SoC like SUN8I and SUN50I are now using DE2 Mixer so enable them as default. Signed-off-by: Jagan Teki --- Changes for v3: - none Changes for v2: - Enable for SUN8I drivers/gpu/drm/sun4i/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/sun4i

[PATCH v3 12/18] drm: sun4i: add support for HVCC regulator for DWC HDMI glue

2018-07-19 Thread Jagan Teki
r to power it, the default dummy regulator is used. Signed-off-by: Icenowy Zheng Signed-off-by: Jagan Teki --- Changes for v3, v2: - none drivers/gpu/drm/sun4i/sun8i_dw_hdmi.c | 14 ++ drivers/gpu/drm/sun4i/sun8i_dw_hdmi.h | 2 ++ 2 files changed, 16 insertions(+) diff --git a/drive

[PATCH v3 11/18] drm/sun4i: Enable DesignWare HDMI for SUN50I

2018-07-19 Thread Jagan Teki
Allwinner SUN50I are now using DesignWare HDMI so enable them as default. This can build DRM_SUN8I_DW_HDMI as module since DRM in arm64 has module. Making this as defult to SUN8I, may cause an issue while loading since arm32 DRM built as static. Signed-off-by: Jagan Teki --- Changes for v3

[PATCH v3 18/18] arm64: dts: allwinner: a64: sopine: Enable HDMI output

2018-07-19 Thread Jagan Teki
Enable all necessary HDMI pipeline nodes with HDMI out connector on sopine board. Signed-off-by: Jagan Teki --- Changes for v3: - Enable all pipeline components Changes for v2: - none .../allwinner/sun50i-a64-sopine-baseboard.dts | 34 +++ 1 file changed, 34 insertions(+) diff

Re: [linux-sunxi] [PATCH v4 11/11] arm64: dts: allwinner: a64: Enable HDMI output on A64 boards w/ HDMI

2018-09-05 Thread Jagan Teki
On Tue, Sep 4, 2018 at 10:10 AM, Icenowy Zheng wrote: > From: Jagan Teki > > Enable all necessary device tree nodes and add connector node to device > trees for all supported A64 boards with HDMI. > > Signed-off-by: Jagan Teki > [Icenowy: squash all board patches altoget

[PATCH v4 3/4] drm/sun4i: Enable DE2 Mixer for SUN8I and SUN50I

2018-09-05 Thread Jagan Teki
Allwinner SoC like SUN8I and SUN50I are now using DE2 Mixer so enable them as default. Signed-off-by: Jagan Teki --- Changes for v4, v3: - none Changes for v2: - Enable for SUN8I drivers/gpu/drm/sun4i/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm

[PATCH v4 2/4] arm64: defconfig: Enable CONFIG_DRM_SUN4I

2018-09-05 Thread Jagan Teki
Enable DRM Support for Allwinner Display Engine, built as a module. Signed-off-by: Jagan Teki --- Changes for v4, v3, v2: - none arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index f67e8d5e93ad

[PATCH v4 1/4] clk: sunxi-ng: Enable DE2_CCU for SUN8I and SUN50I

2018-09-05 Thread Jagan Teki
Allwinner SoC like SUN8I and SUN50I has DE2 CCU so enable them as default. Signed-off-by: Jagan Teki --- Changes for v4, v3: - none Changes for v2: - Enable for MACH_SUN8I drivers/clk/sunxi-ng/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/clk/sunxi-ng/Kconfig b/drivers

[PATCH v4 4/4] drm/sun4i: Enable DesignWare HDMI for SUN50I

2018-09-05 Thread Jagan Teki
Allwinner SUN50I are now using DesignWare HDMI so enable them as default. This can build DRM_SUN8I_DW_HDMI as module since DRM in arm64 has module. Making this as defult to SUN8I, may cause an issue while loading since arm32 DRM built as static. Signed-off-by: Jagan Teki --- Changes for v4

Re: [PATCH v4 08/11] arm64: dts: allwinner: a64: Add display pipeline

2018-09-07 Thread Jagan Teki
On Wed, Sep 5, 2018 at 1:20 PM, Maxime Ripard wrote: > On Tue, Sep 04, 2018 at 12:40:50PM +0800, Icenowy Zheng wrote: >> + hdmi_phy: hdmi-phy@1ef { >> + compatible = "allwinner,sun8i-h3-hdmi-phy"; >> + reg = <0x01ef 0x1>; >> +

  1   2   3   4   5   6   7   8   9   10   >