[PATCH] MAINTAINERS: update for Freescale DCU DRM driver

2016-01-07 Thread Jianwei Wang
Acked-by: Jianwei Wang On Thu, Jan 7, 2016 at 2:02 PM, Stefan Agner wrote: > Promote myself as new maintainer of the Freescale DCU DRM driver. > > Signed-off-by: Stefan Agner > --- > This has been previously discussed privately. The original driver > author and maintainer Jia

[PATCH] drm/fsl-dcu: Add multi layers support

2015-08-31 Thread Jianwei Wang
For DCU support atmost 16 layers(on ls1021a) or 64 layers(on vf610), add (total_layer - 1) overlay planes. Signed-off-by: Jianwei Wang --- drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_plane.c | 27 ++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm

[PATCH] drm/fsl-dcu: Cleanup vblank interrupt mask and status setting code

2015-08-31 Thread Jianwei Wang
Switch update interrupt mask bit with regmap_update_bits, and clear interrupt status by writing 1 to relevant bit before setting mask in fsl_dcu_drm_irq_init function. Signed-off-by: Jianwei Wang --- drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_drv.c | 26 +++--- 1 file changed, 7

[PATCH] drm/fsl-dcu: Fix no fb check bug

2015-08-31 Thread Jianwei Wang
For state->fb may be NULL in fsl_dcu_drm_plane_atomic_check function, if so, return -EINVAL. No need check in fsl_dcu_drm_plane_atomic_update anymore. Signed-off-by: Jianwei Wang --- drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_plane.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) d

[PATCH 2/2] arm:dts:ls1021a: Add SiI902x dts node

2015-08-27 Thread Jianwei Wang
The SiI902x is a HDMI transmitter. Signed-off-by: Alison Wang Signed-off-by: Xiubo Li Signed-off-by: Jianwei Wang --- arch/arm/boot/dts/ls1021a-twr.dts | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/ls1021a-twr.dts b/arch/arm/boot/dts/ls1021a-twr.dts index

[PATCH 1/2] drm/layerscape: Add HDMI support for DCU DRM driver

2015-08-27 Thread Jianwei Wang
high-definition 720p, 1080i, and 1080p, the highest resolution supported by HDTVs today. Signed-off-by: Alison Wang Signed-off-by: Xiubo Li Signed-off-by: Jianwei Wang --- .../devicetree/bindings/video/SiI902x.txt | 17 + drivers/gpu/drm/fsl-dcu/Makefile | 1 + driver

[PULL] Add Freescale DCU DRM driver

2015-08-19 Thread Jianwei Wang
47a5c7f6d228b70fcc51a89527e74a38a2c5: Merge branch 'vmwgfx-next' of git://people.freedesktop.org/~thomash/linux into drm-next (2015-08-17 16:03:48 +1000) are available in the git repository at: https://github.com/Jianwei-Wang/linux-drm-fsl-dcu.git drm-next-fsl-dcu for you to fetch changes up to b5

[PULL] Add Freescale DCU DRM driver

2015-08-18 Thread Jianwei Wang
On Tue, Aug 18, 2015 at 12:20 AM, Dave Airlie wrote: > On 18 August 2015 at 12:47, Jianwei Wang > wrote: >> On Mon, Aug 17, 2015 at 2:09 AM, Dave Airlie wrote: >>> On 31 July 2015 at 12:55, Jianwei Wang >>> wrote: >>>> Hi Dave, >>>> >

[PULL] Add Freescale DCU DRM driver

2015-08-17 Thread Jianwei Wang
On Mon, Aug 17, 2015 at 2:09 AM, Dave Airlie wrote: > On 31 July 2015 at 12:55, Jianwei Wang wrote: >> Hi Dave, >> >> This is the pull request for Freescale DCU DRM driver. >> > Hi, > > Thierry pulled the panel stuff already, so can you rebase this on >

[PATCH v14 3/6] drm/panel: simple: Add support for NEC NL4827HC19-05B 480x272 panel

2015-08-14 Thread Jianwei Wang
On Thu, Aug 13, 2015 at 8:23 AM, Thierry Reding wrote: > On Wed, Jul 29, 2015 at 04:30:02PM +0800, Jianwei Wang wrote: >> This adds support for the NEC NL4827HC19-05B 480x272 panel to the DRM >> simple panel driver. >> >> Signed-off-by: Alison Wang >> Signed-o

[PULL] Add Freescale DCU DRM driver

2015-07-31 Thread Jianwei Wang
ailable in the git repository at: https://github.com/Jianwei-Wang/linux-drm-fsl-dcu.git drm-next-fsl-dcu for you to fetch changes up to 0a16af5a9d87785f99ee5efdb04d88536e3e9d96: MAINTAINERS: add Freescale DCU DRM driver maintainer (2015-07-29 16:0

[PATCH v14 6/6] arm:dts:ls1021a: Add a TFT LCD panel dts node

2015-07-29 Thread Jianwei Wang
Add a TFT LCD panel. the TFT LCD panel is WQVGA "480x272", and the bpp is 24. Signed-off-by: Alison Wang Signed-off-by: Xiubo Li Signed-off-by: Jianwei Wang --- arch/arm/boot/dts/ls1021a-twr.dts | 11 +++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/boot/dts/ls102

[PATCH v14 5/6] arm:dts:ls1021a: Add DCU dts node

2015-07-29 Thread Jianwei Wang
Add DCU node, DCU is a display controller of Freescale named 2D-ACE. Signed-off-by: Alison Wang Signed-off-by: Xiubo Li Signed-off-by: Jianwei Wang --- arch/arm/boot/dts/ls1021a.dtsi | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/ls1021a.dtsi b/arch/arm/boot

[PATCH v14 4/6] MAINTAINERS: add Freescale DCU DRM driver maintainer

2015-07-29 Thread Jianwei Wang
Add Alison and myself as maintainers of the Freescale DCU DRM driver. Signed-off-by: Alison Wang Signed-off-by: Xiubo Li Signed-off-by: Jianwei Wang --- MAINTAINERS | 9 + 1 file changed, 9 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 9c9dd5f..66746e4 100644 --- a

[PATCH v14 3/6] drm/panel: simple: Add support for NEC NL4827HC19-05B 480x272 panel

2015-07-29 Thread Jianwei Wang
This adds support for the NEC NL4827HC19-05B 480x272 panel to the DRM simple panel driver. Signed-off-by: Alison Wang Signed-off-by: Xiubo Li Signed-off-by: Jianwei Wang Acked-by: Daniel Vetter --- .../bindings/panel/nec,nl4827hc19_05b.txt | 7 ++ drivers/gpu/drm/panel/panel

[PATCH v14 2/6] devicetree: Add NEC to the vendor-prefix list

2015-07-29 Thread Jianwei Wang
NEC represent NEC LCD Technologies, Ltd. Signed-off-by: Alison Wang Signed-off-by: Xiubo Li Signed-off-by: Jianwei Wang --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b

[PATCH v14 1/6] drm/layerscape: Add Freescale DCU DRM driver

2015-07-29 Thread Jianwei Wang
phic layer support alpha blending with 8-bit resolution. This is a simplified version, only one primary plane, one framebuffer, one crtc, one connector and one encoder for TFT LCD panel. Signed-off-by: Alison Wang Signed-off-by: Xiubo Li Signed-off-by: Jianwei Wang Acked-by: Dan

[PATCH v14 0/6] drm/layerscape: Add Freescale DCU DRM driver

2015-07-29 Thread Jianwei Wang
Changed in v14 -Remove drm_modeset_lock_all before drm_mode_config_reset Changed in v13 -set regmap_config.cache_type to REGCACHE_RBTREE -add call drm_modeset_lock_all before drm_mode_config_reset -adjust patch order for creating pull request Changed in v12 -Add one patch for MAINTAINER entry f

[PATCH v13 0/6] drm/layerscape: Add Freescale DCU DRM driver

2015-07-29 Thread Jianwei Wang
On Wed, Jul 29, 2015 at 3:21 PM, Daniel Vetter wrote: > On Wed, Jul 29, 2015 at 02:54:46PM +0800, Jianwei Wang wrote: >> Changed in v13 >> -set regmap_config.cache_type to REGCACHE_RBTREE >> -add call drm_modeset_lock_all before drm_mode_config_reset > > This was

[PATCH v13 6/6] arm:dts:ls1021a: Add a TFT LCD panel dts node

2015-07-29 Thread Jianwei Wang
Add a TFT LCD panel. the TFT LCD panel is WQVGA "480x272", and the bpp is 24. Signed-off-by: Alison Wang Signed-off-by: Xiubo Li Signed-off-by: Jianwei Wang --- arch/arm/boot/dts/ls1021a-twr.dts | 11 +++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/boot/dts/ls102

[PATCH v13 5/6] arm:dts:ls1021a: Add DCU dts node

2015-07-29 Thread Jianwei Wang
Add DCU node, DCU is a display controller of Freescale named 2D-ACE. Signed-off-by: Alison Wang Signed-off-by: Xiubo Li Signed-off-by: Jianwei Wang --- arch/arm/boot/dts/ls1021a.dtsi | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/ls1021a.dtsi b/arch/arm/boot

[PATCH v13 4/6] MAINTAINERS: add Freescale DCU DRM driver maintainer

2015-07-29 Thread Jianwei Wang
Add Alison and myself as maintainers of the Freescale DCU DRM driver. Signed-off-by: Alison Wang Signed-off-by: Xiubo Li Signed-off-by: Jianwei Wang --- MAINTAINERS | 9 + 1 file changed, 9 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 9c9dd5f..66746e4 100644 --- a

[PATCH v13 3/6] drm/panel: simple: Add support for NEC NL4827HC19-05B 480x272 panel

2015-07-29 Thread Jianwei Wang
This adds support for the NEC NL4827HC19-05B 480x272 panel to the DRM simple panel driver. Signed-off-by: Alison Wang Signed-off-by: Xiubo Li Signed-off-by: Jianwei Wang Acked-by: Daniel Vetter --- .../bindings/panel/nec,nl4827hc19_05b.txt | 7 ++ drivers/gpu/drm/panel/panel

[PATCH v13 2/6] devicetree: Add NEC to the vendor-prefix list

2015-07-29 Thread Jianwei Wang
NEC represent NEC LCD Technologies, Ltd. Signed-off-by: Alison Wang Signed-off-by: Xiubo Li Signed-off-by: Jianwei Wang --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b

[PATCH v13 1/6] drm/layerscape: Add Freescale DCU DRM driver

2015-07-29 Thread Jianwei Wang
phic layer support alpha blending with 8-bit resolution. This is a simplified version, only one primary plane, one framebuffer, one crtc, one connector and one encoder for TFT LCD panel. Signed-off-by: Alison Wang Signed-off-by: Xiubo Li Signed-off-by: Jianwei Wang Acked-by: Dan

[PATCH v13 0/6] drm/layerscape: Add Freescale DCU DRM driver

2015-07-29 Thread Jianwei Wang
Changed in v13 -set regmap_config.cache_type to REGCACHE_RBTREE -add call drm_modeset_lock_all before drm_mode_config_reset -adjust patch order for creating pull request Changed in v12 -Add one patch for MAINTAINER entry for drm/layerscape Adviced by Daniel Vetter -Add #include Changed in V11 -

[PATCH v12 4/6] arm/dts/ls1021a: Add DCU dts node

2015-07-27 Thread Jianwei Wang
On Sat, Jul 25, 2015 at 11:27 AM, Shawn Guo wrote: > > On Fri, Jul 24, 2015 at 06:34:12PM +0800, Jianwei Wang wrote: > > Add DCU node, DCU is a display controller of Freescale > > named 2D-ACE. > > > > Signed-off-by: Alison Wang > > Signed-off-by: Xiubo

[PATCH v12 6/6] MAINTAINERS: add Freescale DCU DRM driver maintainer

2015-07-24 Thread Jianwei Wang
Add Alison and myself as maintainers of the Freescale DCU DRM driver. Signed-off-by: Alison Wang Signed-off-by: Xiubo Li Signed-off-by: Jianwei Wang --- MAINTAINERS | 9 + 1 file changed, 9 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 6761318..387a84a 100644 --- a

[PATCH v12 5/6] arm/dts/ls1021a: Add a TFT LCD panel dts node

2015-07-24 Thread Jianwei Wang
Add a TFT LCD panel. the TFT LCD panel is WQVGA "480x272", and the bpp is 24. Signed-off-by: Alison Wang Signed-off-by: Xiubo Li Signed-off-by: Jianwei Wang --- arch/arm/boot/dts/ls1021a-twr.dts | 11 +++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/boot/dts/ls102

[PATCH v12 4/6] arm/dts/ls1021a: Add DCU dts node

2015-07-24 Thread Jianwei Wang
Add DCU node, DCU is a display controller of Freescale named 2D-ACE. Signed-off-by: Alison Wang Signed-off-by: Xiubo Li Signed-off-by: Jianwei Wang --- arch/arm/boot/dts/ls1021a.dtsi | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/ls1021a.dtsi b/arch/arm/boot

[PATCH v12 3/6] drm/panel: simple: Add support for NEC NL4827HC19-05B 480x272 panel

2015-07-24 Thread Jianwei Wang
This adds support for the NEC NL4827HC19-05B 480x272 panel to the DRM simple panel driver. Signed-off-by: Alison Wang Signed-off-by: Xiubo Li Signed-off-by: Jianwei Wang Acked-by: Daniel Vetter --- .../bindings/panel/nec,nl4827hc19_05b.txt | 7 ++ drivers/gpu/drm/panel/panel

[PATCH v12 2/6] devicetree: Add NEC to the vendor-prefix list

2015-07-24 Thread Jianwei Wang
NEC represent NEC LCD Technologies, Ltd. Signed-off-by: Alison Wang Signed-off-by: Xiubo Li Signed-off-by: Jianwei Wang --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b

[PATCH v12 1/6] drm/layerscape: Add Freescale DCU DRM driver

2015-07-24 Thread Jianwei Wang
phic layer support alpha blending with 8-bit resolution. This is a simplified version, only one primary plane, one framebuffer, one crtc, one connector and one encoder for TFT LCD panel. Signed-off-by: Alison Wang Signed-off-by: Xiubo Li Signed-off-by: Jianwei Wang Acked-by: Dan

[PATCH v12 0/6] drm/layerscape: Add Freescale DCU DRM driver

2015-07-24 Thread Jianwei Wang
Resend v12 for lack of patch 0/6 This patchset add support for Two Dimensional Animation and Compositing Engine (2D-ACE) on the Freescale LS102x SoCs. Changed in v12 -Add one patch for MAINTAINER entry for drm/layerscape Adviced by Daniel Vetter -Add #include Changed in V11 -set regmap_config.

[PATCH v12 6/6] MAINTAINERS: add Freescale DCU DRM driver maintainer

2015-07-24 Thread Jianwei Wang
Add Alison and myself as maintainers of the Freescale DCU DRM driver. Signed-off-by: Alison Wang Signed-off-by: Xiubo Li Signed-off-by: Jianwei Wang --- MAINTAINERS | 9 + 1 file changed, 9 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 6761318..387a84a 100644 --- a

[PATCH v12 5/6] arm/dts/ls1021a: Add a TFT LCD panel dts node

2015-07-24 Thread Jianwei Wang
Add a TFT LCD panel. the TFT LCD panel is WQVGA "480x272", and the bpp is 24. Signed-off-by: Alison Wang Signed-off-by: Xiubo Li Signed-off-by: Jianwei Wang --- arch/arm/boot/dts/ls1021a-twr.dts | 11 +++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/boot/dts/ls102

[PATCH v12 4/6] arm/dts/ls1021a: Add DCU dts node

2015-07-24 Thread Jianwei Wang
Add DCU node, DCU is a display controller of Freescale named 2D-ACE. Signed-off-by: Alison Wang Signed-off-by: Xiubo Li Signed-off-by: Jianwei Wang --- arch/arm/boot/dts/ls1021a.dtsi | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/ls1021a.dtsi b/arch/arm/boot

[PATCH v12 3/6] drm/panel: simple: Add support for NEC NL4827HC19-05B 480x272 panel

2015-07-24 Thread Jianwei Wang
This adds support for the NEC NL4827HC19-05B 480x272 panel to the DRM simple panel driver. Signed-off-by: Alison Wang Signed-off-by: Xiubo Li Signed-off-by: Jianwei Wang Acked-by: Daniel Vetter --- .../bindings/panel/nec,nl4827hc19_05b.txt | 7 ++ drivers/gpu/drm/panel/panel

[PATCH v12 2/6] devicetree: Add NEC to the vendor-prefix list

2015-07-24 Thread Jianwei Wang
NEC represent NEC LCD Technologies, Ltd. Signed-off-by: Alison Wang Signed-off-by: Xiubo Li Signed-off-by: Jianwei Wang --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b

[PATCH v12 1/6] drm/layerscape: Add Freescale DCU DRM driver

2015-07-24 Thread Jianwei Wang
phic layer support alpha blending with 8-bit resolution. This is a simplified version, only one primary plane, one framebuffer, one crtc, one connector and one encoder for TFT LCD panel. Signed-off-by: Alison Wang Signed-off-by: Xiubo Li Signed-off-by: Jianwei Wang Acked-by: Dan

[PATCH v12 0/6] drm/layerscape: Add Freescale DCU DRM driver

2015-07-24 Thread Jianwei Wang
This patchset add support for Two Dimensional Animation and Compositing Engine (2D-ACE) on the Freescale LS102x SoCs. Changed in v12 -Add one patch for MAINTAINER entry for drm/layerscape Adviced by Daniel Vetter -Add #include in fsl_dcu_drm_drv.c Changed in V11 -set regmap_config.cache_type to

[PATCH v11 1/5] drm/layerscape: Add Freescale DCU DRM driver

2015-07-24 Thread Jianwei Wang
On Fri, Jul 24, 2015 at 3:48 PM, Daniel Vetter wrote: > On Fri, Jul 24, 2015 at 11:21:57AM +0800, jianwei wang wrote: >> Hi Dave, >> >> I think Freescale DCU DRM driver is ready now, can it land? >> >> I have worked on this driver for about nine month. Daniel Ve

[PATCH v11 1/5] drm/layerscape: Add Freescale DCU DRM driver

2015-07-24 Thread jianwei wang
, and no more comments any more. BR. Jianwei On Mon, Jul 20, 2015 at 5:53 PM, Jianwei Wang wrote: > This patch add support for Two Dimensional Animation and Compositing > Engine (2D-ACE) on the Freescale SoCs. > > 2D-ACE is a Freescale display controller. 2D-ACE describes > the funct

[PATCH v10 1/5] drm/layerscape: Add Freescale DCU DRM driver

2015-07-20 Thread jianwei wang
Hi Alexander, Thank you for your review. On Mon, Jul 20, 2015 at 3:18 PM, Alexander Stein wrote: > On Friday 17 July 2015 18:38:59, Jianwei Wang wrote: >> [...] >> +static const struct regmap_config fsl_dcu_regmap_config = { >> + .reg_bits = 32, >> + .reg_str

[PATCH v11 5/5] arm/dts/ls1021a: Add a TFT LCD panel dts node

2015-07-20 Thread Jianwei Wang
Add a TFT LCD panel. the TFT LCD panel is WQVGA "480x272", and the bpp is 24. Signed-off-by: Alison Wang Signed-off-by: Xiubo Li Signed-off-by: Jianwei Wang Reviewed-by: Alison Wang --- arch/arm/boot/dts/ls1021a-twr.dts | 11 +++ 1 file changed, 11 insertions(+) diff --

[PATCH v11 4/5] arm/dts/ls1021a: Add DCU dts node

2015-07-20 Thread Jianwei Wang
Add DCU node, DCU is a display controller of Freescale named 2D-ACE. Signed-off-by: Alison Wang Signed-off-by: Xiubo Li Signed-off-by: Jianwei Wang Reviewed-by: Alison Wang --- arch/arm/boot/dts/ls1021a.dtsi | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts

[PATCH v11 3/5] drm/panel: simple: Add support for NEC NL4827HC19-05B 480x272 panel

2015-07-20 Thread Jianwei Wang
This adds support for the NEC NL4827HC19-05B 480x272 panel to the DRM simple panel driver. Signed-off-by: Alison Wang Signed-off-by: Xiubo Li Signed-off-by: Jianwei Wang Acked-by: Daniel Vetter --- .../bindings/panel/nec,nl4827hc19_05b.txt | 7 ++ MAINTAINERS

[PATCH v11 2/5] devicetree: Add NEC to the vendor-prefix list

2015-07-20 Thread Jianwei Wang
NEC represent NEC LCD Technologies, Ltd. Signed-off-by: Alison Wang Signed-off-by: Xiubo Li Signed-off-by: Jianwei Wang --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b

[PATCH v11 1/5] drm/layerscape: Add Freescale DCU DRM driver

2015-07-20 Thread Jianwei Wang
phic layer support alpha blending with 8-bit resolution. This is a simplified version, only one primary plane, one framebuffer, one crtc, one connector and one encoder for TFT LCD panel. Signed-off-by: Alison Wang Signed-off-by: Xiubo Li Signed-off-by: Jianwei Wang Acked-by: Daniel Vetter R

[PATCH v10 5/5] arm/dts/ls1021a: Add a TFT LCD panel dts node

2015-07-17 Thread Jianwei Wang
From: Jianwei Wang Add a TFT LCD panel. the TFT LCD panel is WQVGA "480x272", and the bpp is 24. Signed-off-by: Alison Wang Signed-off-by: Xiubo Li Signed-off-by: Jianwei Wang Reviewed-by: Alison Wang --- arch/arm/boot/dts/ls1021a-twr.dts | 11 +++ 1 file changed, 11

[PATCH v10 4/5] arm/dts/ls1021a: Add DCU dts node

2015-07-17 Thread Jianwei Wang
From: Jianwei Wang Add DCU node, DCU is a display controller of Freescale named 2D-ACE. Signed-off-by: Alison Wang Signed-off-by: Xiubo Li Signed-off-by: Jianwei Wang Reviewed-by: Alison Wang --- arch/arm/boot/dts/ls1021a.dtsi | 10 ++ 1 file changed, 10 insertions(+) diff --git a

[PATCH v10 3/5] drm/panel: simple: Add support for NEC NL4827HC19-05B 480x272 panel

2015-07-17 Thread Jianwei Wang
From: Jianwei Wang This adds support for the NEC NL4827HC19-05B 480x272 panel to the DRM simple panel driver. Signed-off-by: Alison Wang Signed-off-by: Xiubo Li Signed-off-by: Jianwei Wang Acked-by: Daniel Vetter --- .../bindings/panel/nec,nl4827hc19_05b.txt | 7

[PATCH v10 2/5] devicetree: Add NEC to the vendor-prefix list

2015-07-17 Thread Jianwei Wang
From: Jianwei Wang NEC represent NEC LCD Technologies, Ltd. Signed-off-by: Alison Wang Signed-off-by: Xiubo Li Signed-off-by: Jianwei Wang --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor

[PATCH v10 1/5] drm/layerscape: Add Freescale DCU DRM driver

2015-07-17 Thread Jianwei Wang
From: Jianwei Wang This patch add support for Two Dimensional Animation and Compositing Engine (2D-ACE) on the Freescale SoCs. 2D-ACE is a Freescale display controller. 2D-ACE describes the functionality of the module extremely well its name is a value that cannot be used as a token in

[PATCH v9 4/4] arm/dts/ls1021a: Add a TFT LCD panel dts node

2015-07-13 Thread Jianwei Wang
Add a TFT LCD panel. the TFT LCD panel is WQVGA "480x272", and the bpp is 24. Signed-off-by: Alison Wang Signed-off-by: Xiubo Li Signed-off-by: Jianwei Wang Reviewed-by: Alison Wang --- arch/arm/boot/dts/ls1021a-twr.dts | 11 +++ 1 file changed, 11 insertions(+) diff --

[PATCH v9 3/4] arm/dts/ls1021a: Add DCU dts node

2015-07-13 Thread Jianwei Wang
Add DCU node, DCU is a display controller of Freescale named 2D-ACE. Signed-off-by: Alison Wang Signed-off-by: Xiubo Li Signed-off-by: Jianwei Wang Reviewed-by: Alison Wang --- .../devicetree/bindings/drm/fsl-dcu/fsl,dcu.txt | 20 MAINTAINERS

[PATCH v9 2/4] drm/panel: simple: Add support for NEC NL4827HC19-05B 480x272 panel

2015-07-13 Thread Jianwei Wang
This adds support for the NEC NL4827HC19-05B 480x272 panel to the DRM simple panel driver. Signed-off-by: Alison Wang Signed-off-by: Xiubo Li Signed-off-by: Jianwei Wang Acked-by: Daniel Vetter --- .../bindings/panel/nec,nl4827hc19_05b.txt | 7 ++ .../devicetree/bindings/vendor

[PATCH v9 1/4] drm/layerscape: Add Freescale DCU DRM driver

2015-07-13 Thread Jianwei Wang
Xiubo Li Signed-off-by: Jianwei Wang Acked-by: Daniel Vetter Reviewed-by: Alison Wang --- Changed in V9 -put node after calling of_drm_find_panel -split clk_prepare_enable() to clk_prepare() and clk_enable(), just call clk_prepare once, and check return value -check regmap_write/regmap_read

[PATCH v8 4/4] arm/dts/ls1021a: Add a TFT LCD panel dts node

2015-07-13 Thread Jianwei Wang
Add a TFT LCD panel. the TFT LCD panel is WQVGA "480x272", and the bpp is 24. Signed-off-by: Alison Wang Signed-off-by: Xiubo Li Signed-off-by: Jianwei Wang Reviewed-by: Alison Wang --- arch/arm/boot/dts/ls1021a-twr.dts | 11 +++ 1 file changed, 11 insertions(+) diff --

[PATCH v8 3/4] arm/dts/ls1021a: Add DCU dts node

2015-07-13 Thread Jianwei Wang
Add DCU node, DCU is a display controller of Freescale named 2D-ACE. Signed-off-by: Alison Wang Signed-off-by: Xiubo Li Signed-off-by: Jianwei Wang Reviewed-by: Alison Wang --- .../devicetree/bindings/drm/fsl-dcu/fsl,dcu.txt | 20 MAINTAINERS

[PATCH v8 2/4] drm/panel: simple: Add support for NEC NL4827HC19-05B 480x272 panel

2015-07-13 Thread Jianwei Wang
This adds support for the NEC NL4827HC19-05B 480x272 panel to the DRM simple panel driver. Signed-off-by: Jianwei Wang Acked-by: Daniel Vetter --- .../bindings/panel/nec,nl4827hc19_05b.txt | 7 ++ .../devicetree/bindings/vendor-prefixes.txt| 1 + MAINTAINERS

[PATCH v8 1/4] drm/layerscape: Add Freescale DCU DRM driver

2015-07-13 Thread Jianwei Wang
Xiubo Li Signed-off-by: Jianwei Wang Acked-by: Daniel Vetter Reviewed-by: Alison Wang --- hanged in V8 - Remove useless code #define DRIVER_NAME "fsl-dcu-drm" MODULE_ALIAS("platform:fsl-dcu-drm"); Adviced by Paul Bolle Changed in V7 - Remove redundant functions

[PATCH v7 4/4] arm/dts/ls1021a: Add a TFT LCD panel dts node

2015-07-10 Thread Jianwei Wang
Add a TFT LCD panel. the TFT LCD panel is WQVGA "480x272", and the bpp is 24. Signed-off-by: Alison Wang Signed-off-by: Xiubo Li Signed-off-by: Jianwei Wang --- arch/arm/boot/dts/ls1021a-twr.dts | 11 +++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/boot/dts/ls102

[PATCH v7 3/4] arm/dts/ls1021a: Add DCU dts node

2015-07-10 Thread Jianwei Wang
Add DCU node, DCU is a display controller of Freescale named 2D-ACE. Signed-off-by: Alison Wang Signed-off-by: Xiubo Li Signed-off-by: Jianwei Wang --- .../devicetree/bindings/drm/fsl-dcu/fsl,dcu.txt| 49 ++ MAINTAINERS| 1

[PATCH v7 2/4] drm/panel: simple: Add support for NEC NL4827HC19-05B 480x272 panel

2015-07-10 Thread Jianwei Wang
This adds support for the NEC NL4827HC19-05B 480x272 panel to the DRM simple panel driver. Signed-off-by: Jianwei Wang --- .../bindings/panel/nec,nl4827hc19_05b.txt | 7 ++ .../devicetree/bindings/vendor-prefixes.txt| 1 + MAINTAINERS

[PATCH v7 1/4] drm/layerscape: Add Freescale DCU DRM driver

2015-07-10 Thread Jianwei Wang
Signed-off-by: Xiubo Li Signed-off-by: Jianwei Wang --- Changed in V7 - Remove redundant functions and replace deprecated hooker Adviced by Daniel Vetter - Replace drm_platform_init with drm_dev_alloc/register Adviced by Daniel Vetter Changed in V6 - Add NEC nl4827hc19_05b panel to panel-simp

[PATCH v6 4/4] arm/dts/ls1021a: Add a TFT LCD panel dts node

2015-07-10 Thread Jianwei Wang
Add a TFT LCD panel node. the TFT LCD panel is WQVGA "480x272", and the bpp is 24. Signed-off-by: Alison Wang Signed-off-by: Xiubo Li Signed-off-by: Jianwei Wang --- arch/arm/boot/dts/ls1021a-twr.dts | 11 +++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/boot/d

[PATCH v6 3/4] arm/dts/ls1021a: Add DCU dts node

2015-07-10 Thread Jianwei Wang
Add DCU node, DCU is a display controller of Freescale named 2D-ACE. Signed-off-by: Alison Wang Signed-off-by: Xiubo Li Signed-off-by: Jianwei Wang --- .../devicetree/bindings/drm/fsl-dcu/fsl,dcu.txt| 49 ++ MAINTAINERS| 1

[PATCH v6 2/4] drm/panel: simple: Add support for NEC NL4827HC19-05B 480x272 panel

2015-07-10 Thread Jianwei Wang
This adds support for the NEC NL4827HC19-05B 480x272 panel to the DRM simple panel driver. Signed-off-by: Jianwei Wang --- .../bindings/panel/nec,nl4827hc19_05b.txt | 8 +++ .../devicetree/bindings/vendor-prefixes.txt| 1 + MAINTAINERS

[PATCH v6 1/4] drm/layerscape: Add Freescale DCU DRM driver

2015-07-10 Thread Jianwei Wang
Signed-off-by: Xiubo Li Signed-off-by: Jianwei Wang --- Changed in V6 - Add NEC nl4827hc19_05b panel to panel-simple.c Adviced by Mark Yao - Add DRIVER_ATOMIC for driver_features Adviced by Mark Yao - check fsl_dev if it's NULL at PM suspend/resume Adviced by Mark Yao Changed in V5 - Up

[PATCH v5 3/3] arm/dts/ls1021a: Add a TFT LCD panel dts node for DCU

2015-04-17 Thread Jianwei Wang
From: Jianwei Wang Add a required display-timings node for the TFT LCD panel the TFT LCD panel is WQVGA "480x272", and the bpp is 24. Signed-off-by: Alison Wang Signed-off-by: Xiubo Li Signed-off-by: Jianwei Wang --- arch/arm/boot/dts/ls1021a-twr.dts | 26

[PATCH v5 2/3] arm/dts/ls1021a: Add DCU dts node

2015-04-17 Thread Jianwei Wang
From: Jianwei Wang Add DCU node, DCU is a display controller of Freescale named 2D-ACE. Signed-off-by: Alison Wang Signed-off-by: Xiubo Li Signed-off-by: Jianwei Wang --- arch/arm/boot/dts/ls1021a.dtsi | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts

[PATCH v5 1/3] drm/layerscape: Add Freescale DCU DRM driver

2015-04-17 Thread Jianwei Wang
From: Jianwei Wang This patch add support for Two Dimensional Animation and Compositing Engine (2D-ACE) on the Freescale SoCs. 2D-ACE is a Freescale display controller. 2D-ACE describes the functionality of the module extremely well its name is a value that cannot be used as a token in

[PATCH v4 4/4] arm/dts/ls1021a: Add a TFT LCD panel dts node for DCU

2015-04-03 Thread Jianwei Wang
Add a required display-timings node for the TFT LCD panel the TFT LCD panel is WQVGA "480x272", and the bpp is 24. Signed-off-by: Alison Wang Signed-off-by: Xiubo Li Signed-off-by: Jianwei Wang --- arch/arm/boot/dts/ls1021a-twr.dts | 26 ++ 1 file c

[PATCH v4 3/4] arm/dts/ls1021a: Add DCU dts node

2015-04-03 Thread Jianwei Wang
Add DCU node, DCU is a display controller of Freescale named 2D-ACE. Signed-off-by: Alison Wang Signed-off-by: Xiubo Li Signed-off-by: Jianwei Wang --- arch/arm/boot/dts/ls1021a.dtsi | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/ls1021a.dtsi b/arch/arm/boot

[PATCH v4 2/4] arm/layerscape/ls1021a: DCU pixel clock control

2015-04-03 Thread Jianwei Wang
Enable DCU pixel clock when platform devices initinalizing and provide enable and disable pixel clock functions for drm driver Signed-off-by: Alison Wang Signed-off-by: Xiubo Li Signed-off-by: Jianwei Wang --- arch/arm/mach-imx/mach-ls1021a.c | 36 include

[PATCH v4 1/4] drm/layerscape: Add Freescale DCU DRM driver

2015-04-03 Thread Jianwei Wang
ith an alpha channel. (6) Each graphic layer support alpha blending with 8-bit resolution. This is a simplified version, only one primary plane, one framebuffer created for fbdev, one crtc, one connector for TFT LCD panel, an encoder. Signed-off-by: Alison Wang Signed-off-by: Xiubo Li Signed-

[PATCH v4 0/4] drm/layerscape: Add Freescale DCU DRM driver

2015-04-03 Thread Jianwei Wang
@Daniel, Do you have any other comments for this driver? @Stefan, Please help test this driver on vybrid if possible, I have test it on vybrid twr board. If anyone has any objections, please let me know. Changed in V4: -This version doesn't have functionality changed. Just a minor adjustment.

[PATCH v3 4/4] arm/dts/ls1021a: Add a TFT LCD panel dts node for DCU

2015-03-26 Thread Jianwei Wang
Add a required display-timings node for the TFT LCD panel the TFT LCD panel is WQVGA "480x272", and the bpp is 24. Signed-off-by: Alison Wang Signed-off-by: Xiubo Li Signed-off-by: Jianwei Wang --- arch/arm/boot/dts/ls1021a-twr.dts | 26 ++ 1 file c

[PATCH v3 3/4] arm/dts/ls1021a: Add DCU dts node

2015-03-26 Thread Jianwei Wang
Add DCU node, DCU is a display controller of Freescale named 2D-ACE. Signed-off-by: Alison Wang Signed-off-by: Xiubo Li Signed-off-by: Jianwei Wang --- arch/arm/boot/dts/ls1021a.dtsi | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/ls1021a.dtsi b/arch/arm/boot

[PATCH v3 2/4] arm/layerscape/ls1021a: DCU pixel clock control

2015-03-26 Thread Jianwei Wang
Enable DCU pixel clock when platform devices initinalizing and provide enable and disable pixel clock functions for drm driver Signed-off-by: Alison Wang Signed-off-by: Xiubo Li Signed-off-by: Jianwei Wang --- arch/arm/mach-imx/mach-ls1021a.c | 36 include

[PATCH v3 1/4] drm/layerscape: Add Freescale DCU DRM driver

2015-03-26 Thread Jianwei Wang
ith an alpha channel. (6) Each graphic layer support alpha blending with 8-bit resolution. This is a simplified version, only one primary plane, one framebuffer created for fbdev, one crtc, one connector for TFT LCD panel, an encoder. Signed-off-by: Alison Wang Signed-off-by: Xiubo Li Signed-

[PATCH 3/3] arm/dts/ls1021a: Add a TFT LCD panel dts node for DCU

2015-03-13 Thread Jianwei Wang
Add a required display-timings node for the TFT LCD panel the TFT LCD panel is WQVGA "480x272", and the bpp is 24. Signed-off-by: Alison Wang Signed-off-by: Xiubo Li Signed-off-by: Jianwei Wang --- arch/arm/boot/dts/ls1021a-twr.dts | 26 ++ 1 file c

[PATCH 2/3] arm/dts/ls1021a: Add DCU dts node

2015-03-13 Thread Jianwei Wang
Add DCU node, DCU is a display controller of Freescale named 2D-ACE. Signed-off-by: Alison Wang Signed-off-by: Xiubo Li Signed-off-by: Jianwei Wang --- arch/arm/boot/dts/ls1021a.dtsi | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/ls1021a.dtsi b/arch/arm/boot

[PATCH 1/3] drm/layerscape: Add fsl dcu DRM driver

2015-03-13 Thread Jianwei Wang
encoder, and the encoder is not in use. Signed-off-by: Alison Wang Signed-off-by: Xiubo Li Signed-off-by: Jianwei Wang --- Changed in v2:  - Add atomic support - Modify bindings file - Rename node for compatibility - Move platform related code out for compatibility Added in v1:  - Add

[PATCH 3/3] arm/dts/ls1021a: Add a TFT LCD panel dts node for DCU

2015-02-13 Thread Jianwei Wang
Add a required display-timings node for the TFT LCD panel. the TFT LCD panel is WQVGA "480x272", and the bpp is 24. Signed-off-by: Alison Wang Signed-off-by: Xiubo Li Signed-off-by: Jianwei Wang --- arch/arm/boot/dts/ls1021a-twr.dts | 26 ++ 1 file c

[PATCH 2/3] arm/dts/ls1021a: Add DCU dts node

2015-02-13 Thread Jianwei Wang
Add DCU node, DCU is a display controller of Freescale named 2D-ACE. Signed-off-by: Alison Wang Signed-off-by: Xiubo Li Signed-off-by: Jianwei Wang --- arch/arm/boot/dts/ls1021a.dtsi | 11 +++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/boot/dts/ls1021a.dtsi b/arch/arm

[PATCH 1/3] drm/layerscape: Add fsl dcu DRM driver

2015-02-13 Thread Jianwei Wang
, a crtc, a connector for TFT LCD panel, an encoder, and the encoder is not in use. Now this drver support fbdev only. Signed-off-by: Alison Wang Signed-off-by: Xiubo Li Signed-off-by: Jianwei Wang --- .../devicetree/bindings/video/fsl,dcfb.txt | 50 +++ drivers/gpu/drm/Kconfig