[RESEND PATCH v3 10/11] ARM: at91/dt: add LCD panel description to sama5d3xdm.dtsi

2014-07-07 Thread Boris BREZILLON
Add LCD panel related nodes (backlight, regulators and panel) to sama5d3 Display Module dtsi. Reference LCD pin muxing used by sama5d3xek boards. Signed-off-by: Boris BREZILLON --- arch/arm/boot/dts/sama5d3xdm.dtsi | 43 +++ 1 file changed, 43 insertions

[RESEND PATCH v3 11/11] ARM: at91/dt: enable the LCD panel on sama5d3xek boards

2014-07-07 Thread Boris BREZILLON
Enable LCD related nodes and reference panel node in the hlcdc (HLCD Controller) node. Signed-off-by: Boris BREZILLON --- arch/arm/boot/dts/sama5d31ek.dts | 24 arch/arm/boot/dts/sama5d33ek.dts | 24 arch/arm/boot/dts/sama5d34ek.dts | 24

[RESEND PATCH v3 05/11] drm: add Atmel HLCDC Display Controller support

2014-07-08 Thread Boris BREZILLON
Hello Rob, On Mon, 7 Jul 2014 23:45:54 -0400 Rob Clark wrote: > On Mon, Jul 7, 2014 at 12:42 PM, Boris BREZILLON > wrote: > > The Atmel HLCDC (HLCD Controller) IP available on some Atmel SoCs (i.e. > > at91sam9n12, at91sam9x5 family or sama5d3 family) provides a display >

[RESEND PATCH v3 01/11] mfd: add atmel-hlcdc driver

2014-07-07 Thread Boris BREZILLON
. This way concurrent accesses to the iomem range are handled by the regmap framework, and each subdevice can safely access HLCDC registers. Signed-off-by: Boris BREZILLON --- drivers/mfd/Kconfig | 12 drivers/mfd/Makefile| 1 + drivers/mfd/atmel-hlcdc.c | 119

[PATCH v3 06/11] drm: add DT bindings documentation for atmel-hlcdc-dc driver

2014-07-07 Thread Boris BREZILLON
-by: Boris BREZILLON --- .../devicetree/bindings/drm/atmel-hlcdc-dc.txt | 59 ++ 1 file changed, 59 insertions(+) create mode 100644 Documentation/devicetree/bindings/drm/atmel-hlcdc-dc.txt diff --git a/Documentation/devicetree/bindings/drm/atmel-hlcdc-dc.txt b/Documentation

[PATCH v3 07/11] ARM: AT91/dt: split sama5d3 lcd pin definitions to match RGB mode configs

2014-07-07 Thread Boris BREZILLON
The HLCDC (HLCD Controller) IP supports 4 different output mode (RGB444, RGB565, RGB666 and RGB888) and the pin muxing will depend on the chosen RGB mode. Split pin definitions to be able to set pin config according to the selected mode. Signed-off-by: Boris BREZILLON --- arch/arm/boot/dts

[RESEND PATCH v3 05/11] drm: add Atmel HLCDC Display Controller support

2014-07-08 Thread Boris BREZILLON
On Tue, 8 Jul 2014 11:41:32 -0400 Rob Clark wrote: > On Tue, Jul 8, 2014 at 10:37 AM, Boris BREZILLON > wrote: > > On Tue, 8 Jul 2014 08:49:41 -0400 > > Rob Clark wrote: > > > >> On Tue, Jul 8, 2014 at 3:23 AM, Boris BREZILLON > >> wrote: > >&g

[RESEND PATCH v3 05/11] drm: add Atmel HLCDC Display Controller support

2014-07-09 Thread Boris BREZILLON
cursors via the > univeral plane interface (probably landing for kernel 3.17). That's great news. I knew there were some work in progress on this topic, but didn't know it was planned for 3.17. I'll move to this solution. Thanks, Boris -- Boris Brezillon, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com

[RESEND PATCH v3 05/11] drm: add Atmel HLCDC Display Controller support

2014-07-09 Thread Boris BREZILLON
On Mon, 7 Jul 2014 23:45:54 -0400 Rob Clark wrote: > On Mon, Jul 7, 2014 at 12:42 PM, Boris BREZILLON > wrote: > > The Atmel HLCDC (HLCD Controller) IP available on some Atmel SoCs (i.e. > > at91sam9n12, at91sam9x5 family or sama5d3 family) provides a display >

[RESEND PATCH v3 06/11] drm: add DT bindings documentation for atmel-hlcdc-dc driver

2014-07-10 Thread Boris BREZILLON
Hi Laurent, On Thu, 10 Jul 2014 13:16:21 +0200 Laurent Pinchart wrote: > Hi Boris, > > Thank you for the patch. > > On Monday 07 July 2014 18:42:59 Boris BREZILLON wrote: > > The Atmel HLCDC (HLCD Controller) IP available on some Atmel SoCs (i.e. > > at91sam9n12, a

[RESEND PATCH v3 06/11] drm: add DT bindings documentation for atmel-hlcdc-dc driver

2014-07-11 Thread Boris BREZILLON
On Fri, 11 Jul 2014 12:37:46 +0200 Laurent Pinchart wrote: > Hi Boris, > > On Thursday 10 July 2014 14:56:26 Boris BREZILLON wrote: > > On Thu, 10 Jul 2014 13:16:21 +0200 Laurent Pinchart wrote: > > > On Monday 07 July 2014 18:42:59 Boris BREZILLON wrote: >

[RESEND PATCH v3 06/11] drm: add DT bindings documentation for atmel-hlcdc-dc driver

2014-07-11 Thread Boris BREZILLON
On Fri, 11 Jul 2014 14:00:25 +0200 Boris BREZILLON wrote: > On Fri, 11 Jul 2014 12:37:46 +0200 > Laurent Pinchart wrote: > > > Hi Boris, > > > > On Thursday 10 July 2014 14:56:26 Boris BREZILLON wrote: > > > On Thu, 10 Jul 2014 13:16:21 +0200 Laurent Pinch

[RFC PATCH] drm: rework flip-work helpers to avoid calling func when the FIFO is full

2014-07-11 Thread Boris BREZILLON
new helper functions to allocate a flip work task and queue it when needed. This prevents allocating data within irq context (which might impact the time spent in the irq handler). Signed-off-by: Boris BREZILLON --- Hi Rob, This is a proposal for what you suggested (dynamically growing the drm

[RFC PATCH] drm: rework flip-work helpers to avoid calling func when the FIFO is full

2014-07-11 Thread Boris BREZILLON
On Fri, 11 Jul 2014 11:41:12 -0400 Rob Clark wrote: > On Fri, Jul 11, 2014 at 11:17 AM, Boris BREZILLON > wrote: > > Make use of lists instead of kfifo in order to dynamically allocate > > task entry when someone require some delayed work, and thus preventing > >

[RFC PATCH] drm: rework flip-work helpers to avoid calling func when the FIFO is full

2014-07-11 Thread Boris BREZILLON
On Fri, 11 Jul 2014 17:47:05 +0200 Boris BREZILLON wrote: > On Fri, 11 Jul 2014 11:41:12 -0400 > Rob Clark wrote: > > > On Fri, Jul 11, 2014 at 11:17 AM, Boris BREZILLON > > wrote: > > > Make use of lists instead of kfifo in order to dynamically allocate > &g

[PATCH v2 0/2] drm: rework flip-work framework

2014-07-12 Thread Boris BREZILLON
anymore). Best Regards, Boris Boris BREZILLON (2): drm: rework flip-work helpers to avoid calling func when the FIFO is full drm: flip-work: change drm_flip_work_init prototype drivers/gpu/drm/drm_flip_work.c | 104 ++- drivers/gpu/drm/msm/mdp/mdp4

[PATCH v2 1/2] drm: rework flip-work helpers to avoid calling func when the FIFO is full

2014-07-12 Thread Boris BREZILLON
new helper functions to allocate a flip work task and queue it when needed. This prevents allocating data within irq context (which might impact the time spent in the irq handler). Signed-off-by: Boris BREZILLON --- drivers/gpu/drm/drm_flip_work.c | 96

[PATCH v2 2/2] drm: flip-work: change drm_flip_work_init prototype

2014-07-12 Thread Boris BREZILLON
of these changes. Signed-off-by: Boris BREZILLON --- drivers/gpu/drm/drm_flip_work.c | 8 +--- drivers/gpu/drm/msm/mdp/mdp4/mdp4_crtc.c | 19 --- drivers/gpu/drm/msm/mdp/mdp5/mdp5_crtc.c | 16 +++- drivers/gpu/drm/omapdrm/omap_plane.c | 14 ++ drivers

[PATCH v2 1/2] drm: rework flip-work helpers to avoid calling func when the FIFO is full

2014-07-12 Thread Boris BREZILLON
On Sat, 12 Jul 2014 09:00:08 +0200 Boris BREZILLON wrote: > Make use of lists instead of kfifo in order to dynamically allocate > task entry when someone require some delayed work, and thus preventing > drm_flip_work_queue from directly calling func instead of queuing this > call.

[PATCH v3 1/2] drm: rework flip-work helpers to avoid calling func when the FIFO is full

2014-07-12 Thread Boris BREZILLON
new helper functions to allocate a flip work task and queue it when needed. This prevents allocating data within irq context (which might impact the time spent in the irq handler). Signed-off-by: Boris BREZILLON Reviewed-by: Rob Clark --- drivers/gpu/drm/drm_flip_work.c | 97

[PATCH v3 0/2] drm: rework flip-work framework

2014-07-12 Thread Boris BREZILLON
anymore). Best Regards, Boris Changes since v2: - add missing spin_lock_init - fix flip utils description Changes since v1: - add gfp flags argument to drm_flip_work_allocate_task function - make drm_flip_work_queue safe when called from atomic context Boris BREZILLON (2): drm: rework flip-work

[PATCH v3 2/2] drm: flip-work: change drm_flip_work_init prototype

2014-07-12 Thread Boris BREZILLON
of these changes. Signed-off-by: Boris BREZILLON Reviewed-by: Rob Clark --- drivers/gpu/drm/drm_flip_work.c | 8 +--- drivers/gpu/drm/msm/mdp/mdp4/mdp4_crtc.c | 19 --- drivers/gpu/drm/msm/mdp/mdp5/mdp5_crtc.c | 16 +++- drivers/gpu/drm/omapdrm/omap_plane.c | 14

[RESEND PATCH v3 05/11] drm: add Atmel HLCDC Display Controller support

2014-07-12 Thread Boris BREZILLON
Hello, On Mon, 7 Jul 2014 18:42:58 +0200 Boris BREZILLON wrote: > +int atmel_hlcdc_layer_disable(struct atmel_hlcdc_layer *layer) > +{ > + struct atmel_hlcdc_layer_dma_channel *dma = >dma; > + unsigned long flags; > + int i; > + > + spin_l

[RESEND PATCH v3 06/11] drm: add DT bindings documentation for atmel-hlcdc-dc driver

2014-07-15 Thread Boris BREZILLON
Hello Thierry, On Mon, 14 Jul 2014 12:05:43 +0200 Thierry Reding wrote: > On Mon, Jul 07, 2014 at 06:42:59PM +0200, Boris BREZILLON wrote: > > The Atmel HLCDC (HLCD Controller) IP available on some Atmel SoCs (i.e. > > at91sam9n12, at91sam9x5 family or sama5d3 family) pro

[RESEND PATCH v3 05/11] drm: add Atmel HLCDC Display Controller support

2014-07-15 Thread Boris BREZILLON
On Sat, 12 Jul 2014 14:37:16 -0400 Rob Clark wrote: > On Sat, Jul 12, 2014 at 2:16 PM, Boris BREZILLON > wrote: > > Hello, > > > > On Mon, 7 Jul 2014 18:42:58 +0200 > > Boris BREZILLON wrote: > > > > > >> +int atmel_

[RESEND PATCH v3 06/11] drm: add DT bindings documentation for atmel-hlcdc-dc driver

2014-07-15 Thread Boris BREZILLON
On Mon, 14 Jul 2014 12:18:08 +0200 Thierry Reding wrote: > On Fri, Jul 11, 2014 at 02:00:25PM +0200, Boris BREZILLON wrote: > > On Fri, 11 Jul 2014 12:37:46 +0200 Laurent Pinchart > ideasonboard.com> wrote: > > > On Thursday 10 July 2014 14:56:26 Boris BREZILLON wr

[RESEND PATCH v3 06/11] drm: add DT bindings documentation for atmel-hlcdc-dc driver

2014-07-15 Thread Boris BREZILLON
hart wrote: > > > > On Tuesday 15 July 2014 12:06:19 Boris BREZILLON wrote: > > > >> On Mon, 14 Jul 2014 12:05:43 +0200 Thierry Reding wrote: > > > >>> On Mon, Jul 07, 2014 at 06:42:59PM +0200, Boris BREZILLON wrote: > > > >>>>

[RESEND PATCH v3 06/11] drm: add DT bindings documentation for atmel-hlcdc-dc driver

2014-07-16 Thread Boris BREZILLON
rote: > > >> On Tue, Jul 15, 2014 at 12:20:02PM +0200, Laurent Pinchart wrote: > > >>> On Tuesday 15 July 2014 12:06:19 Boris BREZILLON wrote: > > >>>> On Mon, 14 Jul 2014 12:05:43 +0200 Thierry Reding wrote: > > >>>>> On Mon,

[RESEND PATCH v3 06/11] drm: add DT bindings documentation for atmel-hlcdc-dc driver

2014-07-16 Thread Boris BREZILLON
On Wed, 16 Jul 2014 15:20:59 +0200 Laurent Pinchart wrote: > Hi Boris, > > On Wednesday 16 July 2014 15:05:22 Boris BREZILLON wrote: > > On Tue, 15 Jul 2014 13:07:58 +0200 Laurent Pinchart wrote: > > > On Tuesday 15 July 2014 12:52:54 Thierry Reding wrote: > > &g

[RESEND PATCH v3 06/11] drm: add DT bindings documentation for atmel-hlcdc-dc driver

2014-07-18 Thread Boris BREZILLON
Hi Thierry, Oops, I missed this reply. On Tue, 15 Jul 2014 12:31:37 +0200 Thierry Reding wrote: > On Tue, Jul 15, 2014 at 12:06:19PM +0200, Boris BREZILLON wrote: > > On Mon, 14 Jul 2014 12:05:43 +0200 Thierry Reding > gmail.com> wrote: > > > On Mon, Jul 07, 2014 at

[RESEND PATCH v3 06/11] drm: add DT bindings documentation for atmel-hlcdc-dc driver

2014-07-18 Thread Boris BREZILLON
On Fri, 18 Jul 2014 16:51:52 +0200 Boris BREZILLON wrote: > Hi Thierry, > > Oops, I missed this reply. > > On Tue, 15 Jul 2014 12:31:37 +0200 > Thierry Reding wrote: > > > On Tue, Jul 15, 2014 at 12:06:19PM +0200, Boris BREZILLON wrote: > > > On Mon, 14 Ju

[RESEND PATCH v3 06/11] drm: add DT bindings documentation for atmel-hlcdc-dc driver

2014-07-21 Thread Boris BREZILLON
On Mon, 21 Jul 2014 10:59:12 +0200 Thierry Reding wrote: > On Fri, Jul 18, 2014 at 05:43:34PM +0200, Boris BREZILLON wrote: > [...] > > > > > > > + - atmel,panel: Should contain a phandle with 2 parameters. > > > > > > > + T

[RESEND PATCH v3 06/11] drm: add DT bindings documentation for atmel-hlcdc-dc driver

2014-07-21 Thread Boris BREZILLON
On Mon, 21 Jul 2014 11:32:55 +0200 Laurent Pinchart wrote: > Hi Boris, > > On Monday 21 July 2014 11:24:38 Boris BREZILLON wrote: > > On Mon, 21 Jul 2014 10:59:12 +0200 Thierry Reding wrote: > > > On Fri, Jul 18, 2014 at 05:43:34PM +020

[RESEND PATCH v3 06/11] drm: add DT bindings documentation for atmel-hlcdc-dc driver

2014-07-21 Thread Boris BREZILLON
On Mon, 21 Jul 2014 14:15:16 +0200 Thierry Reding wrote: > On Fri, Jul 18, 2014 at 04:51:52PM +0200, Boris BREZILLON wrote: > > Hi Thierry, > > > > Oops, I missed this reply. > > > > On Tue, 15 Jul 2014 12:31:37 +0200 > > Thierry Reding wrote: > &

[RESEND PATCH v3 06/11] drm: add DT bindings documentation for atmel-hlcdc-dc driver

2014-07-21 Thread Boris BREZILLON
On Mon, 21 Jul 2014 14:16:42 +0200 Laurent Pinchart wrote: > Hi Thierry, > > On Monday 21 July 2014 14:12:47 Thierry Reding wrote: > > On Mon, Jul 21, 2014 at 11:57:37AM +0200, Boris BREZILLON wrote: > > > On Mon, 21 Jul 2014 11:32:55 +0200 Laurent Pinchart wrote: >

[RESEND PATCH v3 06/11] drm: add DT bindings documentation for atmel-hlcdc-dc driver

2014-07-21 Thread Boris BREZILLON
On Mon, 21 Jul 2014 15:30:35 +0200 Thierry Reding wrote: > On Mon, Jul 21, 2014 at 03:22:05PM +0200, Laurent Pinchart wrote: > > Hi Thierry, > > > > On Monday 21 July 2014 14:55:23 Thierry Reding wrote: > > > On Mon, Jul 21, 2014 at 02:34:28PM +0200, Boris BREZI

[RESEND PATCH v3 06/11] drm: add DT bindings documentation for atmel-hlcdc-dc driver

2014-07-21 Thread Boris BREZILLON
On Mon, 21 Jul 2014 15:47:52 +0200 Laurent Pinchart wrote: > Hi Boris, > > On Monday 21 July 2014 15:43:13 Boris BREZILLON wrote: > > On Mon, 21 Jul 2014 15:30:35 +0200 Thierry Reding wrote: > > > On Mon, Jul 21, 2014 at 03:22:05PM +0200, Laurent Pinchart wrote: > >

[RESEND PATCH v3 06/11] drm: add DT bindings documentation for atmel-hlcdc-dc driver

2014-07-21 Thread Boris BREZILLON
On Mon, 21 Jul 2014 15:54:12 +0200 Thierry Reding wrote: > On Mon, Jul 21, 2014 at 03:47:52PM +0200, Laurent Pinchart wrote: > > Hi Boris, > > > > On Monday 21 July 2014 15:43:13 Boris BREZILLON wrote: > > > On Mon, 21 Jul 2014 15:30:35 +0200 Thierry Reding wrote

[PATCH 0/5] video: describe data bus formats

2014-07-22 Thread Boris BREZILLON
Boris Boris BREZILLON (5): video: move mediabus format definition to a more standard place video: add RGB444_1X12 and RGB565_1X16 bus formats drm: add bus_formats and nbus_formats fields to drm_display_info drm: panel: simple-panel: add support for bus_format retrieval drm: panel: simple

[PATCH 2/5] video: add RGB444_1X12 and RGB565_1X16 bus formats

2014-07-22 Thread Boris BREZILLON
Add RGB444 format using a 12 bits bus and RGB565 using a 16 bits bus. These formats will later be used by atmel-hlcdc driver. Signed-off-by: Boris BREZILLON --- include/uapi/linux/v4l2-mediabus.h| 2 ++ include/uapi/linux/video-bus-format.h | 4 +++- 2 files changed, 5 insertions(+), 1

[PATCH 1/5] video: move mediabus format definition to a more standard place

2014-07-22 Thread Boris BREZILLON
Rename mediabus formats and move the enum into a separate header file so that it can be used by DRM/KMS subsystem without any reference to the V4L2 subsystem. Old V4L2_MBUS_FMT_ definitions are now macros that points to VIDEO_BUS_FMT_ definitions. Signed-off-by: Boris BREZILLON --- include

[PATCH 5/5] drm: panel: simple-panel: add bus format information for foxlink panel

2014-07-22 Thread Boris BREZILLON
Foxlink's fl500wvr00-a0t supports RGB888 format. Signed-off-by: Boris BREZILLON --- drivers/gpu/drm/panel/panel-simple.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c index 42fd6d1..f1e49fd 100644 --- a/drivers

[PATCH 3/5] drm: add bus_formats and nbus_formats fields to drm_display_info

2014-07-22 Thread Boris BREZILLON
RGB or LVDS busses). Signed-off-by: Boris BREZILLON --- drivers/gpu/drm/drm_crtc.c | 28 include/drm/drm_crtc.h | 8 2 files changed, 36 insertions(+) diff --git a/drivers/gpu/drm/drm_crtc.c b/drivers/gpu/drm/drm_crtc.c index c808a09..50c8395 100644

[PATCH 4/5] drm: panel: simple-panel: add support for bus_format retrieval

2014-07-22 Thread Boris BREZILLON
Provide a way to specify panel requirement in terms of supported media bus format (particularly useful for panels connected to an RGB or LVDS bus). Signed-off-by: Boris BREZILLON --- drivers/gpu/drm/panel/panel-simple.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/gpu/drm

[PATCH v4 00/11] drm: add support for Atmel HLCDC Display Controller

2014-07-22 Thread Boris BREZILLON
ver by a PWM driver - make use of drm_panel infrastructure - split driver code in several subsystem: MFD, PWM and DRM - add support for overlays - add support for hardware cursor Boris BREZILLON (11): mfd: add atmel-hlcdc driver mfd: add documentation for atmel-hlcdc DT bindings pwm: add support

[PATCH v4 01/11] mfd: add atmel-hlcdc driver

2014-07-22 Thread Boris BREZILLON
. This way concurrent accesses to the iomem range are handled by the regmap framework, and each subdevice can safely access HLCDC registers. Signed-off-by: Boris BREZILLON Acked-by: Lee Jones --- drivers/mfd/Kconfig | 12 drivers/mfd/Makefile| 1 + drivers/mfd

[PATCH v4 02/11] mfd: add documentation for atmel-hlcdc DT bindings

2014-07-22 Thread Boris BREZILLON
The HLCDC IP available on some Atmel SoCs (i.e. at91sam9n12, at91sam9x5 family or sama5d3 family) exposes 2 subdevices: - a display controller (controlled by a DRM driver) - a PWM chip This patch adds documentation for atmel-hlcdc DT bindings. Signed-off-by: Boris BREZILLON --- .../devicetree

[PATCH v4 03/11] pwm: add support for atmel-hlcdc-pwm device

2014-07-22 Thread Boris BREZILLON
The HLCDC IP available in some Atmel SoCs (i.e. sam9x5i.e. at91sam9n12, at91sam9x5 family or sama5d3 family) provide a PWM device. This driver add support for a PWM chip exposing a single PWM device (which will most likely be used to drive a backlight device). Signed-off-by: Boris BREZILLON

[PATCH v4 04/11] pwm: add DT bindings documentation for atmel-hlcdc-pwm driver

2014-07-22 Thread Boris BREZILLON
The HLCDC IP available in some Atmel SoCs (i.e. sam9x5i.e. at91sam9n12, at91sam9x5 family or sama5d3 family) provide a PWM device. The DT bindings used for this PWM device is following the default 3 cells bindings described in Documentation/devicetree/bindings/pwm/pwm.txt. Signed-off-by: Boris

[PATCH v4 05/11] drm: add Atmel HLCDC Display Controller support

2014-07-22 Thread Boris BREZILLON
version. At the moment, this driver only implements an RGB connector to interface with LCD panels, but support for other kind of external devices might be added later. Signed-off-by: Boris BREZILLON --- drivers/gpu/drm/Kconfig | 2 + drivers/gpu/drm/Makefile

[PATCH v4 06/11] drm: add DT bindings documentation for atmel-hlcdc-dc driver

2014-07-22 Thread Boris BREZILLON
-by: Boris BREZILLON --- .../devicetree/bindings/drm/atmel-hlcdc-dc.txt | 54 ++ 1 file changed, 54 insertions(+) create mode 100644 Documentation/devicetree/bindings/drm/atmel-hlcdc-dc.txt diff --git a/Documentation/devicetree/bindings/drm/atmel-hlcdc-dc.txt b/Documentation

[PATCH v4 07/11] ARM: AT91/dt: split sama5d3 lcd pin definitions to match RGB mode configs

2014-07-22 Thread Boris BREZILLON
The HLCDC (HLCD Controller) IP supports 4 different output mode (RGB444, RGB565, RGB666 and RGB888) and the pin muxing will depend on the chosen RGB mode. Split pin definitions to be able to set pin config according to the selected mode. Signed-off-by: Boris BREZILLON --- arch/arm/boot/dts

[PATCH v4 09/11] ARM: at91/dt: define the HLCDC node available on sama5d3 SoCs

2014-07-22 Thread Boris BREZILLON
Define the HLCDC (HLCD Controller) IP available on some sama5d3 SoCs (i.e. sama5d31, sama5d33, sama5d34 and sama5d36) in sama5d3 dtsi file. Signed-off-by: Boris BREZILLON --- arch/arm/boot/dts/sama5d3_lcd.dtsi | 28 1 file changed, 28 insertions(+) diff --git

[PATCH v4 10/11] ARM: at91/dt: add LCD panel description to sama5d3xdm.dtsi

2014-07-22 Thread Boris BREZILLON
Add LCD panel related nodes (backlight, regulators and panel) to sama5d3 Display Module dtsi. Reference LCD pin muxing used by sama5d3xek boards. Signed-off-by: Boris BREZILLON --- arch/arm/boot/dts/sama5d3xdm.dtsi | 58 +++ 1 file changed, 58 insertions

[PATCH v4 08/11] ARM: AT91/dt: add alternative pin muxing for sama5d3 lcd pins

2014-07-22 Thread Boris BREZILLON
Define alternative pin muxing for the LCDC pins. Signed-off-by: Boris BREZILLON --- arch/arm/boot/dts/sama5d3_lcd.dtsi | 50 ++ 1 file changed, 50 insertions(+) diff --git a/arch/arm/boot/dts/sama5d3_lcd.dtsi b/arch/arm/boot/dts/sama5d3_lcd.dtsi index

[PATCH v4 11/11] ARM: at91/dt: enable the LCD panel on sama5d3xek boards

2014-07-22 Thread Boris BREZILLON
Enable LCD related nodes. Signed-off-by: Boris BREZILLON --- arch/arm/boot/dts/sama5d31ek.dts | 20 arch/arm/boot/dts/sama5d33ek.dts | 20 arch/arm/boot/dts/sama5d34ek.dts | 20 arch/arm/boot/dts/sama5d36ek.dts | 20

[PATCH 0/2] drm/panel: add support for Foxlink FL500WVR00-A0T panel

2014-06-05 Thread Boris BREZILLON
Hello, This series adds a new entry in the vendor-prefixes.txt file for Foxlink Group and defines Foxlink FL500WVR00-A0T panel specifications in the simple panel driver. Best Regards, Boris Boris BREZILLON (2): DT: add vendor prefix for Foxlink Group drm/panel: add support for Foxlink

[PATCH 1/2] DT: add vendor prefix for Foxlink Group

2014-06-05 Thread Boris BREZILLON
Add vendor prefix for Foxlink Group. Signed-off-by: Boris BREZILLON --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt index

[PATCH 2/2] drm/panel: add support for Foxlink FL500WVR00-A0T panel

2014-06-05 Thread Boris BREZILLON
This panel is used by Atmel's SAMA5D3 Evaluation Kits (sama5d3xek) and supported by the simple-panel driver. Signed-off-by: Boris BREZILLON --- .../bindings/panel/foxlink,fl500wvr00-a0t.txt | 7 ++ drivers/gpu/drm/panel/panel-simple.c | 25 ++ 2 files

[PATCH v2 1/7] mfd: add atmel-hlcdc driver

2014-06-09 Thread Boris BREZILLON
access the HLCDC register range concurrently. Signed-off-by: Boris BREZILLON --- .../devicetree/bindings/mfd/atmel-hlcdc.txt| 41 drivers/mfd/Kconfig| 11 ++ drivers/mfd/Makefile | 1 + drivers/mfd/atmel-hlcdc.c

[PATCH v2 2/7] pwm: add support for atmel-hlcdc-pwm device

2014-06-09 Thread Boris BREZILLON
The HLCDC IP available in some Atmel SoCs (i.e. sam9x5i.e. at91sam9n12, at91sam9x5 family or sama5d3 family) provide a PWM device. This driver add support for this PWM device. Signed-off-by: Boris BREZILLON --- .../devicetree/bindings/pwm/atmel-hlcdc-pwm.txt| 40 drivers/pwm/Kconfig

[PATCH v2 3/7] drm: add Atmel HLCDC Display Controller support

2014-06-09 Thread Boris BREZILLON
on the IP version. Signed-off-by: Boris BREZILLON --- .../devicetree/bindings/drm/atmel-hlcdc-dc.txt | 59 ++ drivers/gpu/drm/Kconfig| 2 + drivers/gpu/drm/Makefile | 1 + drivers/gpu/drm/atmel-hlcdc/Kconfig| 11 + drivers

[PATCH v2 6/7] ARM: at91/dt: add LCD panel description to sama5d3xdm.dtsi

2014-06-09 Thread Boris BREZILLON
Add LCD panel related nodes (backlight, regulators and panel) to the sama5d3 Display Module dtsi. Signed-off-by: Boris BREZILLON --- arch/arm/boot/dts/sama5d3xdm.dtsi | 32 1 file changed, 32 insertions(+) diff --git a/arch/arm/boot/dts/sama5d3xdm.dtsi b/arch

[PATCH v2 7/7] ARM: at91/dt: enable the LCD panel on sama5d3xek boards

2014-06-09 Thread Boris BREZILLON
Enable LCD related nodes and reference panel node in the hlcdc (High LCD Controller) controller on sama5d3xek boards. Signed-off-by: Boris BREZILLON --- arch/arm/boot/dts/sama5d31ek.dts | 24 arch/arm/boot/dts/sama5d33ek.dts | 24 arch/arm/boot

[PATCH v2 0/7] drm: add support for Atmel HLCDC Display Controller

2014-06-09 Thread Boris BREZILLON
M and DRM - add support for overlays - add support for hardware cursor Boris BREZILLON (7): mfd: add atmel-hlcdc driver pwm: add support for atmel-hlcdc-pwm device drm: add Atmel HLCDC Display Controller support ARM: AT91/dt: split sama5d3 lcd pin definitions to match RGB mode configs

[PATCH v2 4/7] ARM: at91/dt: split sama5d3 lcd pin definitions to match RGB mode configs

2014-06-09 Thread Boris BREZILLON
The HLCDC (High LCD Controller) IP supports 4 different output mode (RGB444, RGB565, RGB666 and RGB888) and the pin muxing depends on the chosen RGB mode. Split the pin definition to be able to set the pin config according to the selected mode. Signed-off-by: Boris BREZILLON --- arch/arm/boot

[PATCH v2 5/7] ARM: at91/dt: define the HLCDC node available on sama5d3 SoCs

2014-06-09 Thread Boris BREZILLON
Define the HLCDC (High LCD Controller) IP available on some sama5d3 SoCs (i.e. sama5d31, sama5d33, sama5d34 and sama5d36). Signed-off-by: Boris BREZILLON --- arch/arm/boot/dts/sama5d3_lcd.dtsi | 26 ++ 1 file changed, 26 insertions(+) diff --git a/arch/arm/boot/dts

[PATCH v2 2/7] pwm: add support for atmel-hlcdc-pwm device

2014-06-13 Thread Boris BREZILLON
Hello Alexandre, On 13/06/2014 13:43, Alexandre Belloni wrote: > On 09/06/2014 at 18:04:15 +0200, Boris Brezillon wrote : >> The HLCDC IP available in some Atmel SoCs (i.e. sam9x5i.e. at91sam9n12, >> at91sam9x5 family or sama5d3 family) provide a PWM device. >> >&

[PATCH v2 2/7] pwm: add support for atmel-hlcdc-pwm device

2014-06-15 Thread Boris BREZILLON
Hello JJ, On 15/06/2014 11:11, Jean-Jacques Hiblot wrote: > > On 06/09/2014 06:04 PM, Boris BREZILLON wrote: >> The HLCDC IP available in some Atmel SoCs (i.e. sam9x5i.e. at91sam9n12, >> at91sam9x5 family or sama5d3 family) provide a PWM device. >> >> This driver a

[PATCH v2 3/7] drm: add Atmel HLCDC Display Controller support

2014-06-15 Thread Boris BREZILLON
Hello JJ, On 15/06/2014 11:32, Jean-Jacques Hiblot wrote: > > On 06/09/2014 06:04 PM, Boris BREZILLON wrote: >> The Atmel HLCDC (High LCD Controller) IP available on some Atmel SoCs (i.e. >> at91sam9n12, at91sam9x5 family or sama5d3 family) provides a display &g

[PATCH v2 1/7] mfd: add atmel-hlcdc driver

2014-06-15 Thread Boris BREZILLON
Hello JJ, On 15/06/2014 10:53, Jean-Jacques Hiblot wrote: > On 06/09/2014 06:04 PM, Boris BREZILLON wrote: >> The HLCDC IP available on some Atmel SoCs (i.e. at91sam9n12, at91sam9x5 >> family or sama5d3 family) exposes 2 subdevices: >> - a display controller (contr

[PATCH v2 1/7] mfd: add atmel-hlcdc driver

2014-06-16 Thread Boris BREZILLON
Add support for the MFD device which will just retrieve HLCDC clocks and >> create a regmap so that subdevices can access the HLCDC register range >> concurrently. >> >> Signed-off-by: Boris BREZILLON >> --- >> .../devicetree/bindings/mfd/atmel-hlcdc.txt|

[PATCH v2 1/7] mfd: add atmel-hlcdc driver

2014-06-16 Thread Boris BREZILLON
On 16/06/2014 19:03, Lee Jones wrote: > On Mon, 16 Jun 2014, Boris BREZILLON wrote: >> On 16/06/2014 14:50, Lee Jones wrote: >>>> The HLCDC IP available on some Atmel SoCs (i.e. at91sam9n12, at91sam9x5 >>>> family or sama5d3 family) exposes 2 subdevices: >&g

[PATCH v2 3/7] drm: add Atmel HLCDC Display Controller support

2014-06-17 Thread Boris BREZILLON
On 09/06/2014 18:04, Boris BREZILLON wrote: > The Atmel HLCDC (High LCD Controller) IP available on some Atmel SoCs (i.e. > at91sam9n12, at91sam9x5 family or sama5d3 family) provides a display > controller device. > > This display controller support at least one primary plane and

[PATCH v2 4/7] ARM: at91/dt: split sama5d3 lcd pin definitions to match RGB mode configs

2014-06-19 Thread Boris BREZILLON
On 19/06/2014 09:07, Bo Shen wrote: > Hi Boris, > > On 06/10/2014 12:04 AM, Boris BREZILLON wrote: >> The HLCDC (High LCD Controller) IP supports 4 different output mode >> (RGB444, RGB565, RGB666 and RGB888) and the pin muxing depends on the >> chosen RGB mode. >

[PATCH v2 4/7] ARM: at91/dt: split sama5d3 lcd pin definitions to match RGB mode configs

2014-06-19 Thread Boris BREZILLON
Hello Bo, On 19/06/2014 09:07, Bo Shen wrote: > Hi Boris, > > On 06/10/2014 12:04 AM, Boris BREZILLON wrote: >> The HLCDC (High LCD Controller) IP supports 4 different output mode >> (RGB444, RGB565, RGB666 and RGB888) and the pin muxing depends on the >> chosen RG

[PATCH v2 7/7] ARM: at91/dt: enable the LCD panel on sama5d3xek boards

2014-06-19 Thread Boris BREZILLON
On 19/06/2014 09:12, Bo Shen wrote: > Hi Boris, > > On 06/10/2014 12:04 AM, Boris BREZILLON wrote: >> diff --git a/arch/arm/boot/dts/sama5d33ek.dts >> b/arch/arm/boot/dts/sama5d33ek.dts >> index cbd6a3f..f2ab41d 100644 >> --- a/arch/arm/boot/dts/sama5d33

[PATCH v2 1/5] video: move mediabus format definition to a more standard place

2014-11-03 Thread Boris Brezillon
Hi Laurent, On Wed, 01 Oct 2014 00:00:50 +0300 Laurent Pinchart wrote: > Hi Boris, > > On Tuesday 30 September 2014 11:44:23 Boris Brezillon wrote: > > On Tue, 30 Sep 2014 10:39:53 +0200 Thierry Reding wrote: > > > On Tue, Sep 30, 2014 at 09:37:57AM +0200, Boris Brezil

-next plans/status

2014-11-03 Thread Boris Brezillon
see other blocking issues... Best Regards, Boris [1]https://patchwork.ozlabs.org/patch/396808/ [2]http://thread.gmane.org/gmane.comp.video.dri.devel/110016 [3]https://lkml.org/lkml/2014/9/29/330 -- Boris Brezillon, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com

[PATCH v3 RESEND 0/2] drm: rework flip-work framework

2014-11-14 Thread Boris Brezillon
drm_flip_work_queue safe when called from atomic context Boris Brezillon (2): drm: rework flip-work helpers to avoid calling func when the FIFO is full drm: flip-work: change drm_flip_work_init prototype drivers/gpu/drm/drm_flip_work.c | 105 ++- drivers/gpu/drm/msm

[PATCH v3 RESEND 2/2] drm: flip-work: change drm_flip_work_init prototype

2014-11-14 Thread Boris Brezillon
of these changes. Signed-off-by: Boris BREZILLON Reviewed-by: Rob Clark --- drivers/gpu/drm/drm_flip_work.c | 8 +--- drivers/gpu/drm/msm/mdp/mdp4/mdp4_crtc.c | 19 --- drivers/gpu/drm/msm/mdp/mdp5/mdp5_crtc.c | 16 +++- drivers/gpu/drm/omapdrm/omap_plane.c | 14

[PATCH v3 RESEND 1/2] drm: rework flip-work helpers to avoid calling func when the FIFO is full

2014-11-14 Thread Boris Brezillon
new helper functions to allocate a flip work task and queue it when needed. This prevents allocating data within irq context (which might impact the time spent in the irq handler). Signed-off-by: Boris BREZILLON Reviewed-by: Rob Clark --- drivers/gpu/drm/drm_flip_work.c | 97

[PATCH] drm: omapdrm: remove unused variable

2014-11-17 Thread Boris Brezillon
Commit f9b9faf6d94dd29eab8c128905c7d091f955481d "drm: flip-work: change drm_flip_work_init prototype" changed the drm_flip_work_init prototype to a void function, which makes 'ret' an unused variable. Signed-off-by: Boris Brezillon --- drivers/gpu/drm/omapdrm/omap_plane.c | 1 - 1 fi

[PATCH v3 0/3] drm: describe display bus format

2014-11-18 Thread Boris Brezillon
since v1: - rename nformats into num_formats - declare num_formats as an unsigned int Boris Brezillon (3): drm: add bus_formats and nbus_formats fields to drm_display_info drm: panel: simple-panel: add support for bus_format retrieval drm: panel: simple-panel: add bus format information

[PATCH v3 1/3] drm: add bus_formats and nbus_formats fields to drm_display_info

2014-11-18 Thread Boris Brezillon
RGB or LVDS busses). Signed-off-by: Boris Brezillon --- drivers/gpu/drm/drm_crtc.c | 30 ++ include/drm/drm_crtc.h | 7 +++ 2 files changed, 37 insertions(+) diff --git a/drivers/gpu/drm/drm_crtc.c b/drivers/gpu/drm/drm_crtc.c index e79c8d3..17e3acf 100644

[PATCH v3 3/3] drm: panel: simple-panel: add bus format information for foxlink panel

2014-11-18 Thread Boris Brezillon
Foxlink's fl500wvr00-a0t supports RGB888 format. Signed-off-by: Boris Brezillon --- drivers/gpu/drm/panel/panel-simple.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c index 66838a5..695f406 100644 --- a/drivers

[PATCH v3 2/3] drm: panel: simple-panel: add support for bus_format retrieval

2014-11-18 Thread Boris Brezillon
Provide a way to specify panel requirement in terms of supported media bus format (particularly useful for panels connected to an RGB or LVDS bus). Signed-off-by: Boris Brezillon --- drivers/gpu/drm/panel/panel-simple.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/gpu/drm

[PATCH v12 1/3] drm: rockchip: Add basic drm driver

2014-11-18 Thread Boris Brezillon
p _before_ we register anything. > But for backwards compat and historical reasons ->load is called somewhere > in the middle (so that you could access the minor nodes if needed, since > some drivers do that). I tried to do the same in the atmel-hlcdc DRM driver, but I need the primary d

[PATCH v12 1/3] drm: rockchip: Add basic drm driver

2014-11-19 Thread Boris Brezillon
On Wed, 19 Nov 2014 10:02:53 +0800 Mark yao wrote: > On 2014年11月19日 09:09, Mark yao wrote: > > On 2014年11月18日 22:24, Daniel Vetter wrote: > >> On Tue, Nov 18, 2014 at 02:21:30PM +0100, Boris Brezillon wrote: > >>> Hi Daniel, > >>> > >&g

[PATCH v8 0/2] drm: add support for Atmel HLCDC Display Controller

2014-11-19 Thread Boris Brezillon
ma5d3 SoCs Changes since v1: - replace the backlight driver by a PWM driver - make use of drm_panel infrastructure - split driver code in several subsystem: MFD, PWM and DRM - add support for overlays - add support for hardware cursor Boris Brezillon (2): drm: add Atmel HLCDC Display Controll

[PATCH v8 1/2] drm: add Atmel HLCDC Display Controller support

2014-11-19 Thread Boris Brezillon
version. At the moment, this driver only implements an RGB connector to interface with LCD panels, but support for other kind of external devices might be added later. Signed-off-by: Boris Brezillon Reviewed-by: Rob Clark Tested-by: Anthony Harivel Tested-by: Ludovic Desroches --- drivers

[PATCH v8 2/2] drm: add DT bindings documentation for atmel-hlcdc-dc driver

2014-11-19 Thread Boris Brezillon
-by: Boris Brezillon --- .../devicetree/bindings/drm/atmel/hlcdc-dc.txt | 53 ++ 1 file changed, 53 insertions(+) create mode 100644 Documentation/devicetree/bindings/drm/atmel/hlcdc-dc.txt diff --git a/Documentation/devicetree/bindings/drm/atmel/hlcdc-dc.txt b/Documentation

[PATCH v3 0/3] drm: describe display bus format

2014-11-27 Thread Boris Brezillon
Hi, On Tue, 18 Nov 2014 14:46:17 +0100 Boris Brezillon wrote: > Hello, > > This series makes use of the MEDIA_BUS_FMT definition to describe how > the data are transmitted to the display. > > This will allow drivers to configure their output display bus according > to the

[RFC 0/3] DRM driver for the ATMEL High end LCD controller

2014-04-24 Thread Boris BREZILLON
c >> create mode 100644 drivers/gpu/drm/atmel_hlcdc/atmel_hlcdc_drv.c >> create mode 100644 drivers/gpu/drm/atmel_hlcdc/atmel_hlcdc_drv.h >> create mode 100644 drivers/gpu/drm/atmel_hlcdc/atmel_hlcdc_ovl.h >> create mode 100644 drivers/gpu/drm/atmel_hlcdc/atmel_hlcdc_pane

[RFC 1/3] atmel: drm: added drm driver for the atmel hlcd controller

2014-04-28 Thread Boris BREZILLON
Hi, This is a first review, from someone who's clearly not a DRM/KMS expert but who already thought about this specific driver :-). I strongly recommend that you wait for DRM/KMS maintainers and/or experienced developers reviews before modifying anything ;-). On 18/04/2014 11:45, Jean-Jacques

[PATCH 0/5] video: describe data bus formats

2014-08-12 Thread Boris BREZILLON
Hi, On Tue, 22 Jul 2014 14:23:42 +0200 Boris BREZILLON wrote: > Hello, > > This patch series is a proposal to describe the different data formats used > by HW components to connect with each other. > > This is just a copy of the existing V4L2_MBUS_FMT defintions with a

[PATCH v3 0/2] drm: rework flip-work framework

2014-08-12 Thread Boris BREZILLON
Hi, On Sat, 12 Jul 2014 16:06:06 +0200 Boris BREZILLON wrote: > Hello, > > This patch series reworks the flip-work framework to make it safe when > calling drm_flip_work_queue from atomic contexts. > > The 2nd patch of this series is optional, as it only reworks > drm_fli

[PATCH v3 0/2] drm: rework flip-work framework

2014-08-12 Thread Boris BREZILLON
Hi Rob, On Tue, 12 Aug 2014 07:20:09 -0400 Rob Clark wrote: > On Tue, Aug 12, 2014 at 7:14 AM, Boris BREZILLON > wrote: > > Hi, > > > > On Sat, 12 Jul 2014 16:06:06 +0200 > > Boris BREZILLON wrote: > > > >> Hello, > >> > >> Th

[PATCH v4 00/11] drm: add support for Atmel HLCDC Display Controller

2014-08-21 Thread Boris BREZILLON
ght we could add a notifier infrastructure to the DRM panel framework, but I'm not sure this is how you want things done... Best Regards, Boris -- Boris Brezillon, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com

[PATCH v4 00/11] drm: add support for Atmel HLCDC Display Controller

2014-08-21 Thread Boris BREZILLON
On Thu, 21 Aug 2014 11:04:07 +0200 Thierry Reding wrote: > On Thu, Aug 21, 2014 at 10:37:06AM +0200, Boris BREZILLON wrote: > > Hi Ludovic, > > > > On Thu, 21 Aug 2014 10:16:19 +0200 > > Ludovic Desroches wrote: > > > > > Hi Boris, > > >

<    1   2   3   4   5   6   7   8   9   10   >