ARM: vf610: Add DCU framebuffer driver for Vybrid VF610 platform
Subsystems (7)
v3 cover ARM: vf610: Add DCU framebuffer driver for Vybrid VF610 platform
This series contain DCU framebuffer driver for Freescale Vybrid VF610 platform.
The Display Controller Unit (DCU) module is a system master that fetches graphics stored in internal or external memory and displays them on a TFT LCD panel. A wide range of panel sizes is supported and the timing of the interface signals is highly configurable. Graphics are read directly from memory and then blended in real-time, which allows for dynamic content creation with minimal CPU intervention.
The features:
(1) Full RGB888 output to TFT LCD panel.
(2) For the current LCD panel, WQVGA "480x272" is tested.
(3) Blending of each pixel using up to 4 source layers dependent on size of panel.
(4) Each graphic layer can be placed with one pixel resolution in either axis.
(5) Each graphic layer support RGB565 and RGB888 direct colors without alpha channel and BGRA8888 direct colors with an alpha channel.
(6) Each graphic layer support alpha blending with 8-bit resolution.
Changes in v3:
- Correct DCU_MODE_BLEND_ITER macro definition.
- Remove hardcode panel description in the driver. Use the videomode helpers to get the relevant data from devicetree.
- Correct the wrong indentation.
- Use dev_* for printing messages in drivers.
- Change calc_div_ratio() to fsl_dcu_calc_div(), and rewrite this function.
- Use devm_request_irq() instead of request_irq().
- Drop useless code.
- Increase the layers number to the maximum 6.
- Use dma_alloc_writecombine() instead of dma_alloc_coherent().
- Use runtime PM.
Changes in v2:
- Add a document for DCU framebuffer driver under Documentation/devicetree/bindings/fb/.
----------------------------------------------------------------
Alison Wang (5):
ARM: dts: vf610: Add DCU and TCON nodes
ARM: dts: vf610-twr: Enable DCU and TCON devices
ARM: clk: vf610: Add DCU and TCON clock support
fb: Add DCU framebuffer driver for Vybrid VF610 platform
Documentation: DT: Add DCU framebuffer driver
Documentation/devicetree/bindings/fb/fsl-dcu-fb.txt | 67 +++++ arch/arm/boot/dts/vf610-twr.dts | 32 +++ arch/arm/boot/dts/vf610.dtsi | 19 +- arch/arm/mach-imx/clk-vf610.c | 5 + drivers/video/Kconfig | 10 + drivers/video/Makefile | 1 + drivers/video/fsl-dcu-fb.c | 1095 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ include/dt-bindings/clock/vf610-clock.h | 3 +- 8 files changed, 1230 insertions(+), 2 deletions(-) create mode 100644 Documentation/devicetree/bindings/fb/fsl-dcu-fb.txt create mode 100644 drivers/video/fsl-dcu-fb.c
PATCH v3 1/5 ARM: dts: vf610: Add DCU and TCON nodes
This patch adds DCU and TCON nodes in SoC level DTS for Freescale Vybrid VF610. It also removes useless pin for DCU0 pinctrl.
---
Changes in v3: None
Changes in v2: None
arch/arm/boot/dts/vf610.dtsi | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-)
arch/arm/boot/dts/vf610.dtsi +18 -1
@@ -140,6 +140,14 @@ clock-names = "pit"; }; + tcon0: tcon at 4003d000 { + compatible = "fsl,vf610-tcon"; + reg = <0x4003d000 0x1000>; + clocks = <&clks VF610_CLK_TCON0>; + clock-names = "tcon"; + status = "disabled"; + }; + wdog at 4003e000 { compatible = "fsl,vf610-wdt", "fsl,imx21-wdt"; reg = <0x4003e000 0x1000>;
@@ -169,7 +177,6 @@ dcu0 { pinctrl_dcu0_1: dcu0grp_1 { fsl,pins = < - VF610_PAD_PTB8__GPIO_30 0x42 VF610_PAD_PTE0__DCU0_HSYNC 0x42 VF610_PAD_PTE1__DCU0_VSYNC 0x42 VF610_PAD_PTE2__DCU0_PCLK 0x42
@@ -395,6 +402,16 @@ reg = <0x40050000 0x1000>; }; + dcu0: dcu at 40058000 { + compatible = "fsl,vf610-dcu"; + reg = <0x40058000 0x1200>; + interrupts = <0 30 0x04>; + clocks = <&clks VF610_CLK_DCU0>; + clock-names = "dcu"; + tcon-controller = <&tcon0>; + status = "disabled"; + }; + i2c0: i2c at 40066000 { #address-cells = <1>; #size-cells = <0>;
Signature · 1 line
1.8.0
PATCH v3 2/5 ARM: dts: vf610-twr: Enable DCU and TCON devices
In reply to Alison WangThis patch enables DCU and TCON devices for Vybrid VF610 TOWER board.
---
Changes in v3: Add panel description in devicetree. Changes in v2: None
arch/arm/boot/dts/vf610-twr.dts | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+)
arch/arm/boot/dts/vf610-twr.dts +32 -0
@@ -36,6 +36,34 @@ }; +&dcu0 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_dcu0_1>; + display = <&display>; + status = "okay"; + + display: display at 0 { + bits-per-pixel = <24>; + + display-timings { + native-mode = <&timing0>; + timing0: nl4827hc19 { + clock-frequency = <10870000>; + hactive = <480>; + vactive = <272>; + hback-porch = <2>; + hfront-porch = <2>; + vback-porch = <1>; + vfront-porch = <1>; + hsync-len = <41>; + vsync-len = <2>; + hsync-active = <1>; + vsync-active = <1>; + }; + }; + }; +}; + &fec0 { phy-mode = "rmii"; pinctrl-names = "default";
@@ -50,6 +78,10 @@ status = "okay"; }; +&tcon0 { + status = "okay"; +}; + &uart1 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_uart1_1>;
Signature · 1 line
1.8.0
PATCH v3 3/5 ARM: clk: vf610: Add DCU and TCON clock support
In reply to Alison WangThis patch adds DCU and TCON clock support for Vybrid VF610 platform.
---
Changes in v3: None
Changes in v2: None
arch/arm/mach-imx/clk-vf610.c | 5 +++++ include/dt-bindings/clock/vf610-clock.h | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-)
arch/arm/mach-imx/clk-vf610.c +5 -0
@@ -247,6 +247,8 @@ static void __init vf610_clocks_init(struct device_node *ccm_node) clk[VF610_CLK_DCU1_DIV ] =imx_clk_divider ("dcu1_div" ,"dcu1_en" ,CCM_CSCDR3 ,20 ,3 ); clk[VF610_CLK_DCU1 ] =imx_clk_gate2 ("dcu1" ,"dcu1_div" ,CCM_CCGR9 ,CCM_CCGRx_CGn (8 )); + clk[VF610_CLK_TCON0 ] =imx_clk_gate2 ("tcon0" ,"platform_bus" ,CCM_CCGR1 ,CCM_CCGRx_CGn (13 )); + clk[VF610_CLK_ESAI_SEL ] =imx_clk_mux ("esai_sel" ,CCM_CSCMR1 ,20 ,2 , esai_sels,4 ); clk[VF610_CLK_ESAI_EN ] =imx_clk_gate ("esai_en" ,"esai_sel" ,CCM_CSCDR2 ,30 ); clk[VF610_CLK_ESAI_DIV ] =imx_clk_divider ("esai_div" ,"esai_en" ,CCM_CSCDR2 ,24 ,4 );
@@ -313,6 +315,9 @@ static void __init vf610_clocks_init(struct device_node *ccm_node)clk_set_parent (clk[VF610_CLK_SAI2_SEL ], clk[VF610_CLK_AUDIO_EXT ]);clk_set_parent (clk[VF610_CLK_SAI3_SEL ], clk[VF610_CLK_AUDIO_EXT ]); +clk_set_parent (clk[VF610_CLK_DCU0_SEL ], clk[VF610_CLK_PLL1_PFD2 ]); +clk_set_rate (clk[VF610_CLK_DCU0_DIV ],113200000 ); +/* Add the clocks to provider list */ clk_data.clks = clk; clk_data.clk_num =ARRAY_SIZE (clk);
include/dt-bindings/clock/vf610-clock.h +2 -1
@@ -160,6 +160,7 @@#define VF610_CLK_GPU2D 147#define VF610_CLK_ENET0 148#define VF610_CLK_ENET1 149 -#define VF610_CLK_END 150 +#define VF610_CLK_TCON0 150 +#define VF610_CLK_END 151#endif /* __DT_BINDINGS_CLOCK_VF610_H */
Signature · 1 line
1.8.0
PATCH v3 4/5 fb: Add DCU framebuffer driver for Vybrid VF610 platform
In reply to Alison WangThe Display Controller Unit (DCU) module is a system master that fetches graphics stored in internal or external memory and displays them on a TFT LCD panel. A wide range of panel sizes is supported and the timing of the interface signals is highly configurable. Graphics are read directly from memory and then blended in real-time, which allows for dynamic content creation with minimal CPU intervention.
The features:
(1) Full RGB888 output to TFT LCD panel.
(2) For the current LCD panel, WQVGA "480x272" is supported.
(3) Blending of each pixel using up to 4 source layers dependent on size of panel.
(4) Each graphic layer can be placed with one pixel resolution in either axis.
(5) Each graphic layer support RGB565 and RGB888 direct colors without alpha channel and BGRA8888 direct colors with an alpha channel.
(6) Each graphic layer support alpha blending with 8-bit resolution.
This driver has been tested on Vybrid VF610TWR board.
---
Changes in v3:
- Correct DCU_MODE_BLEND_ITER macro definition.
- Remove hardcode panel description in the driver. Use the videomode helpers to get the relevant data from devicetree.
- Correct the wrong indentation.
- Use dev_* for printing messages in drivers.
- Change calc_div_ratio() to fsl_dcu_calc_div(), and rewrite this function.
- Use devm_request_irq() instead of request_irq().
- Drop useless code.
- Increase the layers number to the maximum 6.
- Use dma_alloc_writecombine() instead of dma_alloc_coherent().
- Use runtime PM.
Changes in v2: None
drivers/video/Kconfig | 10 + drivers/video/Makefile | 1 + drivers/video/fsl-dcu-fb.c | 1095 ++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 1106 insertions(+) create mode 100644 drivers/video/fsl-dcu-fb.c
drivers/video/Kconfig +10 -0
@@ -1978,6 +1978,16 @@ config FB_FSL_DIU ---help--- Framebuffer driver for the Freescale SoC DIU +config FB_FSL_DCU + tristate "Freescale DCU framebuffer support" + depends on FB + select FB_CFB_FILLRECT + select FB_CFB_COPYAREA + select FB_CFB_IMAGEBLIT + select VIDEOMODE_HELPERS + ---help--- + Framebuffer driver for the Freescale SoC DCU + config FB_W100 tristate "W100 frame buffer support" depends on FB && ARCH_PXA
drivers/video/Makefile +1 -0
@@ -129,6 +129,7 @@ obj-$(CONFIG_FB_IMX) += imxfb.o obj-$(CONFIG_FB_S3C) += s3c-fb.o obj-$(CONFIG_FB_S3C2410) += s3c2410fb.o obj-$(CONFIG_FB_FSL_DIU) += fsl-diu-fb.o +obj-$(CONFIG_FB_FSL_DCU) += fsl-dcu-fb.o obj-$(CONFIG_FB_COBALT) += cobalt_lcdfb.o obj-$(CONFIG_FB_IBM_GXT4500) += gxt4500.o obj-$(CONFIG_FB_PS3) += ps3fb.o
drivers/video/fsl-dcu-fb.c new file +1095 -0
1,095 lines not on this page · raw message
Signature · 1 line
1.8.0
PATCH v3 5/5 Documentation: DT: Add DCU framebuffer driver
In reply to Alison WangThis patch adds the document for DCU framebuffer driver under Documentation/devicetree/bindings/fb/.
---
Changes in v3: Add display node description
Changes in v2: New
.../devicetree/bindings/fb/fsl-dcu-fb.txt | 67 ++++++++++++++++++++++ 1 file changed, 67 insertions(+) create mode 100644 Documentation/devicetree/bindings/fb/fsl-dcu-fb.txt
Documentation/devicetree/bindings/fb/fsl-dcu-fb.txt new file +67 -0
@@ -0,0 +1,67 @@ +* Freescale Display Control Unit (DCU) + +Required properties: +- compatible: Should be "fsl,vf610-dcu". Supported chips include + Vybrid VF610. +- reg: Address and length of the register set for DCU. +- interrupts: Should contain DCU interrupts. +- clocks: From common clock binding: handle to DCU clock. +- clock-names: From common clock binding: Shall be "dcu". +- tcon-controller: The phandle of TCON controller. +- display: The phandle to display node. + +For the DCU initialization, we read data from TCON node. +Required properties for TCON: +- compatible: Should be "fsl,vf610-tcon". Supported chips include + Vybrid VF610. +- reg: Address and length of the register set for TCON. +- clocks: From common clock binding: handle to TCON clock. +- clock-names: From common clock binding: Shall be "tcon". + +* display node + +Required properties: +- bits-per-pixel: <24> for RGB888. + +Required sub-node: +- display-timings: Refer to binding doc display-timing.txt for details. + +Examples: + +dcu0: dcu at 40058000 { + compatible = "fsl,vf610-dcu"; + reg = <0x40058000 0x1200>; + interrupts = <0 30 0x04>; + clocks = <&clks VF610_CLK_DCU0>; + clock-names = "dcu"; + tcon-controller = <&tcon0>; + display = <&display>; + + display: display at 0 { + bits-per-pixel = <24>; + + display-timings { + native-mode = <&timing0>; + timing0: nl4827hc19 { + clock-frequency = <10870000>; + hactive = <480>; + vactive = <272>; + hback-porch = <2>; + hfront-porch = <2>; + vback-porch = <1>; + vfront-porch = <1>; + hsync-len = <41>; + vsync-len = <2>; + hsync-active = <1>; + vsync-active = <1>; + }; + }; + }; +}; + +tcon0: tcon at 4003d000 { + compatible = "fsl,vf610-tcon"; + reg = <0x4003d000 0x1000>; + clocks = <&clks VF610_CLK_TCON0>; + clock-names = "tcon"; +};
Signature · 1 line
1.8.0
v3 cover ARM: vf610: Add DCU framebuffer driver for Vybrid VF610 platform
In reply to Alison WangHi, Jean-Christophe, Tomi,
Do you have any comments for these patches?
Thanks!
Best Regards,
Alison Wang
Quoted 78 lines
-----Original Message-----
From: linux-arm-kernel [mailto:linux-arm-kernel-
bounces at lists.infradead.org] On Behalf Of Alison Wang
Sent: Thursday, August 15, 2013 4:02 PM
To: plagnioj at jcrosoft.com; tomi.valkeinen at ti.com; shawn.guo at linaro.org; Estevam Fabio-R49496; linux-fbdev at vger.kernel.org; linux-arm- kernel at lists.infradead.org
Cc: Jin Zhengxiong-R64188
Subject: [PATCH v3 0/5] ARM: vf610: Add DCU framebuffer driver for Vybrid VF610 platformThis series contain DCU framebuffer driver for Freescale Vybrid VF610 platform.
The Display Controller Unit (DCU) module is a system master that fetches graphics stored in internal or external memory and displays them on a TFT LCD panel. A wide range of panel sizes is supported and the timing of the interface signals is highly configurable. Graphics are read directly from memory and then blended in real-time, which allows for dynamic content creation with minimal CPU intervention.
The features:
(1) Full RGB888 output to TFT LCD panel.
(2) For the current LCD panel, WQVGA "480x272" is tested.
(3) Blending of each pixel using up to 4 source layers dependent on size of panel.
(4) Each graphic layer can be placed with one pixel resolution in either axis.
(5) Each graphic layer support RGB565 and RGB888 direct colors without alpha channel and BGRA8888 direct colors with an alpha channel.
(6) Each graphic layer support alpha blending with 8-bit resolution.Changes in v3:
- CorrectDCU_MODE_BLEND_ITERmacro definition.
- Remove hardcode panel description in the driver. Use the videomode helpers to get the relevant data from devicetree.
- Correct the wrong indentation.
- Use dev_* for printing messages in drivers.
- Changecalc_div_ratio()tofsl_dcu_calc_div(), and rewrite this function.
- Usedevm_request_irq()instead ofrequest_irq().
- Drop useless code.
- Increase the layers number to the maximum 6.
- Usedma_alloc_writecombine()instead ofdma_alloc_coherent().
- Use runtime PM.Changes in v2:
- Add a document for DCU framebuffer driver underDocumentation/devicetree/bindings/fb/.----------------------------------------------------------------
Alison Wang (5):
ARM: dts: vf610: Add DCU and TCON nodes
ARM: dts: vf610-twr: Enable DCU and TCON devices
ARM: clk: vf610: Add DCU and TCON clock support
fb: Add DCU framebuffer driver for Vybrid VF610 platform
Documentation: DT: Add DCU framebuffer driverDocumentation/devicetree/bindings/fb/fsl-dcu-fb.txt | 67 +++++ arch/arm/boot/dts/vf610-twr.dts | 32 +++ arch/arm/boot/dts/vf610.dtsi | 19 +- arch/arm/mach-imx/clk-vf610.c | 5 + drivers/video/Kconfig | 10 + drivers/video/Makefile | 1 + drivers/video/fsl-dcu-fb.c | 1095 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ +++++++++ include/dt-bindings/clock/vf610-clock.h | 3 +- 8 files changed, 1230 insertions(+), 2 deletions(-) create mode 100644 Documentation/devicetree/bindings/fb/fsl-dcu-fb.txt create mode 100644 drivers/video/fsl-dcu-fb.c_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel at lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
v3 cover ARM: vf610: Add DCU framebuffer driver for Vybrid VF610 platform
Hi, Jean-Christophe, Tomi,
Could you please help to review these patches? Thanks!
Best Regards,
Alison Wang
Quoted 106 lines
-----Original Message-----
From: linux-arm-kernel [mailto:linux-arm-kernel-
bounces at lists.infradead.org] On Behalf Of Wang Huan-B18965
Sent: Monday, August 26, 2013 5:52 PM
To: plagnioj at jcrosoft.com; tomi.valkeinen at ti.com; linux- fbdev at vger.kernel.org; linux-arm-kernel at lists.infradead.org
Cc: Jin Zhengxiong-R64188; Estevam Fabio-R49496; shawn.guo at linaro.org
Subject: RE: [PATCH v3 0/5] ARM: vf610: Add DCU framebuffer driver for Vybrid VF610 platformHi, Jean-Christophe, Tomi,
Do you have any comments for these patches?
Thanks!
Best Regards,
Alison WangQuoted 14 lines
-----Original Message-----
From: linux-arm-kernel [mailto:linux-arm-kernel-
bounces at lists.infradead.org] On Behalf Of Alison Wang
Sent: Thursday, August 15, 2013 4:02 PM
To: plagnioj at jcrosoft.com; tomi.valkeinen at ti.com; shawn.guo at linaro.org; Estevam Fabio-R49496;
linux-fbdev at vger.kernel.org; linux-arm- kernel at lists.infradead.org
Cc: Jin Zhengxiong-R64188
Subject: [PATCH v3 0/5] ARM: vf610: Add DCU framebuffer driver for Vybrid VF610 platformThis series contain DCU framebuffer driver for Freescale Vybrid VF610 platform.
Quoted 6 lines
The Display Controller Unit (DCU) module is a system master that fetches graphics stored in internal or external memory and displays them on a TFT LCD panel. A wide range of panel sizes is supported and the timing of the interface signals is highly configurable. Graphics are read directly from memory and then blended in real-time, which allows for dynamic content creation with minimal CPU
intervention.
Quoted 9 lines
The features:
(1) Full RGB888 output to TFT LCD panel.
(2) For the current LCD panel, WQVGA "480x272" is tested.
(3) Blending of each pixel using up to 4 source layers dependent on size of panel.
(4) Each graphic layer can be placed with one pixel resolution in either axis.
(5) Each graphic layer support RGB565 and RGB888 direct colorswithout
Quoted 29 lines
alpha channel and BGRA8888 direct colors with an alpha channel.
(6) Each graphic layer support alpha blending with 8-bit resolution.Changes in v3:
- CorrectDCU_MODE_BLEND_ITERmacro definition.
- Remove hardcode panel description in the driver. Use the videomode helpers to get the relevant data from devicetree.
- Correct the wrong indentation.
- Use dev_* for printing messages in drivers.
- Changecalc_div_ratio()tofsl_dcu_calc_div(), and rewrite this function.
- Usedevm_request_irq()instead ofrequest_irq().
- Drop useless code.
- Increase the layers number to the maximum 6.
- Usedma_alloc_writecombine()instead ofdma_alloc_coherent().
- Use runtime PM.Changes in v2:
- Add a document for DCU framebuffer driver underDocumentation/devicetree/bindings/fb/.----------------------------------------------------------------
Alison Wang (5):
ARM: dts: vf610: Add DCU and TCON nodes
ARM: dts: vf610-twr: Enable DCU and TCON devices
ARM: clk: vf610: Add DCU and TCON clock support
fb: Add DCU framebuffer driver for Vybrid VF610 platform
Documentation: DT: Add DCU framebuffer driverQuoted 8 lines
Documentation/devicetree/bindings/fb/fsl-dcu-fb.txt | 67 +++++ arch/arm/boot/dts/vf610-twr.dts | 32 +++ arch/arm/boot/dts/vf610.dtsi | 19 +- arch/arm/mach-imx/clk-vf610.c | 5 + drivers/video/Kconfig | 10 + drivers/video/Makefile | 1 + drivers/video/fsl-dcu-fb.c | 1095+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Quoted 8 lines
+++++++++
include/dt-bindings/clock/vf610-clock.h | 3 +- 8 files changed, 1230 insertions(+), 2 deletions(-) create mode 100644 Documentation/devicetree/bindings/fb/fsl-dcu-fb.txt create mode 100644 drivers/video/fsl-dcu-fb.cQuoted 4 lines
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel at lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel at lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
v3 cover ARM: vf610: Add DCU framebuffer driver for Vybrid VF610 platform
Hi,
Quoted 4 lines · On 03/09/13 11:21, Wang Huan-B18965 wrote:
Hi, Jean-Christophe, Tomi,
Could you please help to review these patches? Thanks!
There seemed to be some strong opinions that there should be a drm driver for this hardware, instead of an fb driver. So as there seems to be disagreements about this, I'll leave this series to Jean-Christophe, who's the primary maintainer.
Tomi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 901 bytes
Desc: OpenPGP digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20130904/90321e33/attachment.sig>
v3 cover ARM: vf610: Add DCU framebuffer driver for Vybrid VF610 platform
My comments inline.
Quoted 15 lines
-----Original Message-----
From: Tomi Valkeinen [mailto:tomi.valkeinen at ti.com]
Sent: Wednesday, September 04, 2013 6:33 PM
To: Wang Huan-B18965
Cc: plagnioj at jcrosoft.com; linux-fbdev at vger.kernel.org; linux-arm- kernel at lists.infradead.org; Jin Zhengxiong-R64188; Estevam Fabio-R49496; shawn.guo at linaro.org
Subject: Re: [PATCH v3 0/5] ARM: vf610: Add DCU framebuffer driver for Vybrid VF610 platformHi,
Quoted 2 lines · On 03/09/13 11:21, Wang Huan-B18965 wrote:
Hi, Jean-Christophe, Tomi,
Quoted 7 lines
Quoted 2 lines
Could you please help to review these patches? Thanks!
There seemed to be some strong opinions that there should be a drm driver for this hardware, instead of an fb driver. So as there seems to be disagreements about this, I'll leave this series to Jean-Christophe, who's the primary maintainer.
[Alison Wang]
Thanks for Tomi's comments.
I agree that we can implement the DRM driver for the DCU. As the bandwidth limitation, I suggest we use the fb driver firstly. On the other hand, the fb driver can meet the application requirement based on this SoC. We'll try to provide the DRM driver when this IP integrated into other SoC.
Jean-Christophe, Do you have any comments. Thanks.
Best Regards,
Alison Wang
v3 cover ARM: vf610: Add DCU framebuffer driver for Vybrid VF610 platform
Quoted 23 lines · On 13/09/13 10:07, Wang Huan-B18965 wrote:
My comments inline.
Quoted 11 lines
-----Original Message----- From: Tomi Valkeinen [mailto:tomi.valkeinen at ti.com] Sent: Wednesday, September 04, 2013 6:33 PM To: Wang Huan-B18965 Cc: plagnioj at jcrosoft.com; linux-fbdev at vger.kernel.org; linux-arm- kernel at lists.infradead.org; Jin Zhengxiong-R64188; Estevam Fabio-R49496; shawn.guo at linaro.org
Subject: Re: [PATCH v3 0/5] ARM: vf610: Add DCU framebuffer driver for Vybrid VF610 platformHi,
On 03/09/13 11:21, Wang Huan-B18965 wrote:
Quoted 8 lines
Quoted 3 lines
Hi, Jean-Christophe, Tomi,
Could you please help to review these patches? Thanks!
There seemed to be some strong opinions that there should be a drm driver for this hardware, instead of an fb driver. So as there seems to be disagreements about this, I'll leave this series to Jean-Christophe, who's the primary maintainer.
[Alison Wang]
Quoted 7 lines
Thanks for Tomi's comments.
I agree that we can implement the DRM driver for the DCU. As the bandwidth limitation, I suggest we use the fb driver firstly. On the other hand, the fb driver can meet the application requirement based on this SoC. We'll try to provide the DRM driver when this IP integrated into other SoC.
If you plan to move to DRM driver anyway, I would strongly suggest merging only the DRM driver. If we merge the fb driver, and a bit later the DRM driver for the same hardware, we'll have two drivers of which the other is already deprecated.
Tomi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 901 bytes
Desc: OpenPGP digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20130920/3c8b5632/attachment.sig>
v3 cover ARM: vf610: Add DCU framebuffer driver for Vybrid VF610 platform
Quoted 19 lines
Quoted 11 lines
Quoted 9 lines · On 03/09/13 11:21, Wang Huan-B18965 wrote:
Quoted 3 lines
Hi, Jean-Christophe, Tomi,
Could you please help to review these patches? Thanks!
There seemed to be some strong opinions that there should be a drm driver for this hardware, instead of an fb driver. So as there seems to be disagreements about this, I'll leave this series to Jean-Christophe, who's the primary maintainer.
[Alison Wang]
Quoted 7 lines
Thanks for Tomi's comments.
I agree that we can implement the DRM driver for the DCU. As the bandwidth limitation, I suggest we use the fb driver firstly. On the other hand, the fb driver can meet the application requirement based on this SoC. We'll try to provide the DRM driver when this IP integrated into other SoC.
Quoted 5 lines
If you plan to move to DRM driver anyway, I would strongly suggest merging only the DRM driver. If we merge the fb driver, and a bit later the DRM driver for the same hardware, we'll have two drivers of which the other is already deprecated.
[Alison Wang] We will not have bandwidth and develop the DRM driver in the near future. On the other hand, this IP is not integrated into other high-end SOC. So this fb driver will be used for some kind of long time for current SoC. We can try to remove the fb driver when we developed the DRM driver for other SoC.
Jean-Christophe, Do you have any comments? Thanks.
Best Regards,
Alison Wang