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

2014-08-21 Thread Boris BREZILLON
On Thu, 21 Aug 2014 11:41:59 +0200 Boris BREZILLON wrote: > 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:

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

2014-08-21 Thread Boris BREZILLON
On Thu, 21 Aug 2014 11:52:03 +0200 Thierry Reding wrote: > On Thu, Aug 21, 2014 at 11:41:59AM +0200, Boris BREZILLON wrote: > > On Thu, 21 Aug 2014 11:04:07 +0200 > > Thierry Reding wrote: > > > > > On Thu, Aug 21, 2014 at 10:37:06AM +0200, Boris BREZI

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

2014-08-21 Thread Boris BREZILLON
On Thu, 21 Aug 2014 15:16:08 +0200 Thierry Reding wrote: > On Thu, Aug 21, 2014 at 03:06:00PM +0200, Boris BREZILLON wrote: > > On Thu, 21 Aug 2014 11:52:03 +0200 > > Thierry Reding wrote: > > > > > On Thu, Aug 21, 2014 at 11:41:59AM +0200, Boris BREZILLON wrote:

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

2014-08-21 Thread Boris BREZILLON
On Thu, 21 Aug 2014 15:16:08 +0200 Thierry Reding wrote: > On Thu, Aug 21, 2014 at 03:06:00PM +0200, Boris BREZILLON wrote: > > On Thu, 21 Aug 2014 11:52:03 +0200 > > Thierry Reding wrote: > > > > > On Thu, Aug 21, 2014 at 11:41:59AM +0200, Boris BREZILLON wrote:

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

2014-08-21 Thread Boris BREZILLON
On Thu, 21 Aug 2014 17:04:34 +0200 Andrzej Hajda wrote: > On 08/21/2014 03:21 PM, Thierry Reding wrote: > > On Thu, Aug 21, 2014 at 12:32:43PM +0200, Andrzej Hajda wrote: > >> On 08/21/2014 11:52 AM, Thierry Reding wrote: > >>> On Thu, Aug 21, 2014 at 11:41:59A

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

2014-08-21 Thread Boris BREZILLON
(the panel > > > needs to refer to the output by phandle). > > > > Here [1] is a proposal for notification support in the drm_panel > > infrastructure (which is not that complicated), and here [2] is how > > I use it in my atmel-hlcdc driver to generate hotplug events. &

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

2014-08-27 Thread Boris BREZILLON
Hi Laurent, On Tue, 26 Aug 2014 01:39:21 +0200 Laurent Pinchart wrote: > Hi Boris, > > On Thursday 21 August 2014 19:26:33 Boris BREZILLON wrote: > > On Thu, 21 Aug 2014 19:08:53 +0200 > > Laurent Pinchart wrote: > > > > [...] > > > > >>

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

2014-08-28 Thread Boris BREZILLON
ected on this bus: the CRTC or the dummy and HDMI encoders. 2) Where should the HDMI encoder/connector support be implemented: in drivers/gpu/drm/atmel-hlcdc, drivers/gpu/drm/bridge or somewhere else. My point is that I don't want to add specific support for the Sil902x transmitter chip in

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

2014-12-01 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 3/3] drm: panel: simple-panel: add bus format information for foxlink panel

2014-12-01 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 v4 1/3] drm: add bus_formats and num_bus_formats fields to drm_display_info

2014-12-01 Thread Boris Brezillon
RGB or LVDS busses). Signed-off-by: Boris Brezillon --- drivers/gpu/drm/drm_crtc.c | 32 include/drm/drm_crtc.h | 7 +++ 2 files changed, 39 insertions(+) diff --git a/drivers/gpu/drm/drm_crtc.c b/drivers/gpu/drm/drm_crtc.c index e79c8d3..d3b7ed0 100644

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

2014-12-01 Thread Boris Brezillon
int - clearly state that fmts argument (in drm_display_info_set_bus_formats function) should be an array of MEDIA_BUS_FMT_* values. Changes since v2: - use the MEDIA_BUS_FMT macros Changes since v1: - rename nformats into num_formats - declare num_formats as an unsigned int Boris Brezillon

[PATCH v4 1/3] drm: add bus_formats and num_bus_formats fields to drm_display_info

2014-12-01 Thread Boris Brezillon
RGB or LVDS busses). Signed-off-by: Boris Brezillon --- drivers/gpu/drm/drm_crtc.c | 32 include/drm/drm_crtc.h | 7 +++ 2 files changed, 39 insertions(+) diff --git a/drivers/gpu/drm/drm_crtc.c b/drivers/gpu/drm/drm_crtc.c index e79c8d3..d3b7ed0 100644

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

2014-12-01 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 v4 0/3] drm: describe display bus format

2014-12-01 Thread Boris Brezillon
int - clearly state that fmts argument (in drm_display_info_set_bus_formats function) should be an array of MEDIA_BUS_FMT_* values. Changes since v2: - use the MEDIA_BUS_FMT macros Changes since v1: - rename nformats into num_formats - declare num_formats as an unsigned int Boris Brezillon

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

2014-12-01 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 RESEND v4 1/3] drm: add bus_formats and num_bus_formats fields to drm_display_info

2014-12-01 Thread Boris Brezillon
RGB or LVDS busses). Signed-off-by: Boris Brezillon --- Hi, Sorry for the noise: I ran checkpatch after sending the series and it found a typo and two "line over 80 characters" warnings. This version fixes those warnings. Regards, Boris drivers/gpu/drm/drm_c

[PATCH RESEND v4 1/3] drm: add bus_formats and num_bus_formats fields to drm_display_info

2014-12-01 Thread Boris Brezillon
Hi Laurent, On Mon, 01 Dec 2014 15:00:15 +0200 Laurent Pinchart wrote: > Hi Boris, > > Thank you for the patch. > > On Monday 01 December 2014 09:42:15 Boris Brezillon wrote: > > Add bus_formats and num_bus_formats fields and > > drm_display_info_set_bus_formats

[PATCH v4 1/3] drm: add bus_formats and num_bus_formats fields to drm_display_info

2014-12-01 Thread Boris Brezillon
Hi Philipp, On Mon, 01 Dec 2014 16:06:26 +0100 Philipp Zabel wrote: > Am Montag, den 01.12.2014, 09:20 +0100 schrieb Boris Brezillon: > > Add bus_formats and num_bus_formats fields and > > drm_display_info_set_bus_formats helper function to specify the bus > > formats

[PATCH v4 1/3] drm: add bus_formats and num_bus_formats fields to drm_display_info

2014-12-01 Thread Boris Brezillon
Hi Thierry, On Mon, 1 Dec 2014 16:42:58 +0100 Thierry Reding wrote: > On Mon, Dec 01, 2014 at 09:20:59AM +0100, Boris Brezillon wrote: > > Add bus_formats and num_bus_formats fields and > > drm_display_info_set_bus_formats helper function to specify the bus > > formats

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

2014-12-01 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 num_bus_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 v5 1/3] drm: add bus_formats and num_bus_formats fields to drm_display_info

2014-12-01 Thread Boris Brezillon
RGB or LVDS busses). Signed-off-by: Boris Brezillon Acked-by: Laurent Pinchart Acked-by: Philipp Zabel --- drivers/gpu/drm/drm_crtc.c | 35 +++ include/drm/drm_crtc.h | 8 2 files changed, 43 insertions(+) diff --git a/drivers/gpu/drm/drm_crtc.c b

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

2014-12-01 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 v5 3/3] drm: panel: simple-panel: add bus format information for foxlink panel

2014-12-01 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] drm: panel: simple-panel: remove useless drm_mode_set_name

2015-04-30 Thread Boris Brezillon
drm_display_mode_from_videomode() is already calling drm_mode_set_name() on the provided mode. Signed-off-by: Boris Brezillon --- drivers/gpu/drm/panel/panel-simple.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c

[PATCH] drm: panel: simple-panel: set appropriate mode type

2015-04-30 Thread Boris Brezillon
mode is preferred over the simple panel ones, which might result in unpredictable behavior. Signed-off-by: Boris Brezillon --- drivers/gpu/drm/panel/panel-simple.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel

[PATCH v2 0/2] clk: adapt ->round_rate()/->determine_rate() prototypes

2015-04-30 Thread Boris Brezillon
rg CC: dri-devel at lists.freedesktop.org CC: linux-media at vger.kernel.org CC: rtc-linux at googlegroups.com Boris Brezillon (2): clk: change clk_ops' ->round_rate() prototype clk: change clk_ops' ->determine_rate() prototype Documentation/clk.txt| 8 +-- arch/arm/mach-imx/clk-busy.

[PATCH v2 1/2] clk: change clk_ops' ->round_rate() prototype

2015-04-30 Thread Boris Brezillon
return 0 or an error code, and pass the requested rate as a pointer so that it can be adjusted depending on hardware capabilities. Signed-off-by: Boris Brezillon Tested-by: Heiko Stuebner Tested-by: Mikko Perttunen Reviewed-by: Heiko Stuebner --- CC: Jonathan Corbet CC: Shawn Guo CC: ascha Hau

[PATCH] drm/atmel-hlcdc: Compile suspend/resume for PM_SLEEP only

2015-08-17 Thread Boris Brezillon
On Fri, 14 Aug 2015 13:58:20 +0200 Thierry Reding wrote: > From: Thierry Reding > > If PM is enabled but PM_SLEEP is disabled, the suspend/resume functions > are still unused and produce a compiler warning. > > Signed-off-by: Thierry Reding Acked-by: Boris Brezillo

[PATCH] drm/atmel-hlcdc: Compile suspend/resume for PM_SLEEP only

2015-08-18 Thread Boris Brezillon
; +#ifdef CONFIG_PM_SLEEP > static int atmel_hlcdc_dc_drm_suspend(struct device *dev) > { > struct drm_device *drm_dev = dev_get_drvdata(dev); -- Boris Brezillon, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com

[PULL] drm: atmel-hlcdc: fixes for 4.2 or 4.3

2015-08-18 Thread Boris Brezillon
Hello Dave, This PR contains a single commit fixing a compilation error. Ideally I would like to get this into 4.2 but since we're already at 4.1-rc7 I let you decide whether this should be queued for the next release or not. Thanks, Boris The following changes since commit

[PULL] drm: atmel-hlcdc: new features for 4.3 or 4.4

2015-08-18 Thread Boris Brezillon
at: https://github.com/bbrezillon/linux-at91.git drm-atmel-hlcdc-devel for you to fetch changes up to 5b9fb5e6c6c74666f88f34bd0db183b9c4269d97: drm: atmel-hlcdc: add support for sama5d4 SoCs (2015-08-18 11:02:27 +0200) Boris

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

2014-11-30 Thread Boris Brezillon
Hi Laurent, On Sat, 29 Nov 2014 00:13:47 +0200 Laurent Pinchart wrote: > Hi Boris, > > Thank you for the patch. I just have two small comments. > > On Tuesday 18 November 2014 14:46:18 Boris Brezillon wrote: > > Add bus_formats and nbus_formats fields and > > drm_d

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

2014-11-30 Thread Boris Brezillon
Hi Laurent, On Sat, 29 Nov 2014 00:29:10 +0200 Laurent Pinchart wrote: > Hi Boris, > > On Thursday 27 November 2014 14:37:50 Boris Brezillon wrote: > > On Tue, 18 Nov 2014 14:46:17 +0100 Boris Brezillon wrote: > > > Hello, > > > > > > This series

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

2014-10-01 Thread Boris Brezillon
rlays - add support for hardware cursor Boris BREZILLON (10): mfd: add documentation for atmel-hlcdc DT bindings pwm: add support for atmel-hlcdc-pwm device pwm: add DT bindings documentation for atmel-hlcdc-pwm driver drm: add Atmel HLCDC Display Controller support drm: add DT bin

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

2014-10-01 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 Tested-by: Anthony Harivel Tested-by: Ludovic Desroches --- drivers/mfd/Kconfig | 6

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

2014-10-01 Thread Boris Brezillon
From: Boris BREZILLON <boris.brezil...@free-electrons.com> 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 b

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

2014-10-01 Thread Boris Brezillon
From: Boris BREZILLON <boris.brezil...@free-electrons.com> 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-hl

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

2014-10-01 Thread Boris Brezillon
From: Boris BREZILLON <boris.brezil...@free-electrons.com> The Atmel HLCDC (HLCD Controller) IP available on some Atmel SoCs (i.e. at91sam9n12, at91sam9x5 family or sama5d3 family) provides a display controller device. The HLCDC block provides a single RGB output port, and only suppor

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

2014-10-01 Thread Boris Brezillon
From: Boris BREZILLON <boris.brezil...@free-electrons.com> The Atmel HLCDC (HLCD Controller) IP available on some Atmel SoCs (i.e. at91sam9n12, at91sam9x5 family or sama5d3 family) provides a display controller device. This display controller supports at least one primary plane and might p

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

2014-10-01 Thread Boris Brezillon
From: Boris BREZILLON <boris.brezil...@free-electrons.com> 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 des

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

2014-10-01 Thread Boris Brezillon
From: Boris BREZILLON <boris.brezil...@free-electrons.com> Define alternative pin muxing for the LCDC pins. Signed-off-by: Boris Brezillon Tested-by: Anthony Harivel --- arch/arm/boot/dts/sama5d3_lcd.dtsi | 50 ++ 1 file changed, 50 insertions(+)

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

2014-10-01 Thread Boris Brezillon
From: Boris BREZILLON <boris.brezil...@free-electrons.com> 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.dts

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

2014-10-01 Thread Boris Brezillon
From: Boris BREZILLON <boris.brezil...@free-electrons.com> 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 Tested-by: Anthony Harivel --- arch/arm/bo

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

2014-10-01 Thread Boris Brezillon
From: Boris BREZILLON <boris.brezil...@free-electrons.com> 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 selecte

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

2014-10-01 Thread Boris Brezillon
From: Boris BREZILLON <boris.brezil...@free-electrons.com> 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.dt

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

2014-10-01 Thread Boris Brezillon
On Wed, 1 Oct 2014 16:52:57 +0200 Boris Brezillon wrote: > Hello, > > This series is being sent for several weeks now and I wonder if I shouldn't > split it in several pieces: > 1) the MFD driver + its DT doc > 2) the PWM driver + its DT doc > 3) the DRM/KMS driver + it

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

2014-10-06 Thread Boris Brezillon
On Mon, 6 Oct 2014 12:49:17 +0200 Thierry Reding wrote: > On Wed, Oct 01, 2014 at 04:52:58PM +0200, Boris Brezillon wrote: > [...] > > diff --git a/drivers/mfd/atmel-hlcdc.c b/drivers/mfd/atmel-hlcdc.c > [...] > > @@ -0,0 +1,122 @@ > > +/* > > + *

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

2014-10-06 Thread Boris Brezillon
On Mon, 6 Oct 2014 12:46:35 +0200 Thierry Reding wrote: > On Wed, Oct 01, 2014 at 04:53:00PM +0200, Boris Brezillon wrote: > [...] > > diff --git a/drivers/pwm/Kconfig b/drivers/pwm/Kconfig > > index b800783..afb896b 100644 > > --- a/drivers/pwm/Kconfig > > +++ b/dr

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

2014-10-06 Thread Boris Brezillon
On Mon, 6 Oct 2014 12:54:34 +0200 Thierry Reding wrote: > On Wed, Oct 01, 2014 at 04:53:03PM +0200, Boris Brezillon wrote: > > From: Boris BREZILLON > > > > The Atmel HLCDC (HLCD Controller) IP available on some Atmel SoCs (i.e. > > at91sam9n12, at91sam9x5 family

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

2014-10-06 Thread Boris Brezillon
On Mon, 6 Oct 2014 13:01:16 +0200 Thierry Reding wrote: > On Wed, Oct 01, 2014 at 04:53:07PM +0200, Boris Brezillon wrote: > [...] > > diff --git a/arch/arm/boot/dts/sama5d3xdm.dtsi > > b/arch/arm/boot/dts/sama5d3xdm.dtsi > [...] > > + bl_reg: backlight_regulator {

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

2014-10-06 Thread Boris Brezillon
On Mon, 6 Oct 2014 12:13:51 +0200 Thierry Reding wrote: > On Wed, Oct 01, 2014 at 04:53:01PM +0200, Boris Brezillon wrote: > > From: Boris BREZILLON > > > > The HLCDC IP available in some Atmel SoCs (i.e. sam9x5i.e. at91sam9n12, > > at91sam9x5 family or sama5d3 f

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

2014-10-06 Thread Boris Brezillon
On Mon, 6 Oct 2014 14:40:15 +0200 Thierry Reding wrote: > On Mon, Oct 06, 2014 at 02:25:38PM +0200, Boris Brezillon wrote: > > On Mon, 6 Oct 2014 13:01:16 +0200 Thierry Reding > gmail.com> wrote: > > > On Wed, Oct 01, 2014 at 04:53:07PM +0200, Boris Brezillon wrote:

[PATCH v8 0/2] mfd: add atmel-hlcdc driver

2014-10-06 Thread Boris Brezillon
, I know this is late, but can you include it in one of your 3.18 pull request as suggested by Thierry. If you can't, can you provide Thierry and Dave with a stable branch including this driver ? Best Regards, Boris Boris Brezillon (2): mfd: add atmel-hlcdc driver mfd: add documentation

[PATCH v8 1/2] mfd: add atmel-hlcdc driver

2014-10-06 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 Tested-by: Anthony Harivel Tested-by: Ludovic Desroches --- drivers/mfd/Kconfig | 6

[PATCH v8 2/2] mfd: add documentation for atmel-hlcdc DT bindings

2014-10-06 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 Tested-by: Anthony

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

2014-10-06 Thread Boris Brezillon
On Mon, 6 Oct 2014 14:35:06 +0200 Thierry Reding wrote: > On Mon, Oct 06, 2014 at 02:14:40PM +0200, Boris Brezillon wrote: > > On Mon, 6 Oct 2014 12:54:34 +0200 > > Thierry Reding wrote: > > > > > On Wed, Oct 01, 2014 at 04:53:03PM +0200, Boris Brezillon wrote:

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

2014-10-06 Thread Boris Brezillon
On Mon, 6 Oct 2014 15:30:59 +0200 Thierry Reding wrote: > On Mon, Oct 06, 2014 at 03:11:11PM +0200, Boris Brezillon wrote: > > On Mon, 6 Oct 2014 14:40:15 +0200 > > Thierry Reding wrote: > > > > > On Mon, Oct 06, 2014 at 02:25:38PM +0200, Boris Brezillon wrote: &g

[RFC 2/7] drm: add DPI connector/encoder definitions

2014-10-06 Thread Boris Brezillon
Add DPI connector and encoder types so that we can properly define devices directly connected on this kind of bus (like simple panels). Signed-off-by: Boris Brezillon --- drivers/gpu/drm/drm_crtc.c | 2 ++ include/uapi/drm/drm_mode.h | 2 ++ 2 files changed, 4 insertions(+) diff --git

[RFC 0/7] drm: add DPI bus support

2014-10-06 Thread Boris Brezillon
free to share your thoughts on this problem (and/or the proposed solution). Best Regards, Boris Boris Brezillon (7): drm: add DPI bus support drm: add DPI connector/encoder definitions drm: support panels connected on a DPI bus drm: panel: move foxlink fl500wvr00-a0t panel to the DPI panel

[RFC 1/7] drm: add DPI bus support

2014-10-06 Thread Boris Brezillon
the video bus format being used on the bus. Signed-off-by: Boris Brezillon --- drivers/gpu/drm/Kconfig| 4 + drivers/gpu/drm/Makefile | 1 + drivers/gpu/drm/drm_mipi_dpi.c | 369 + include/drm/drm_mipi_dpi.h | 169 +++ 4

[RFC 3/7] drm: support panels connected on a DPI bus

2014-10-06 Thread Boris Brezillon
). Signed-off-by: Boris Brezillon --- drivers/gpu/drm/panel/panel-simple.c | 277 +++ 1 file changed, 277 insertions(+) diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c index 11bff3f..fd448ca 100644 --- a/drivers/gpu/drm

[RFC 4/7] drm: panel: move foxlink fl500wvr00-a0t panel to the DPI panel list

2014-10-06 Thread Boris Brezillon
Signed-off-by: Boris Brezillon --- drivers/gpu/drm/panel/panel-simple.c | 54 +++- 1 file changed, 28 insertions(+), 26 deletions(-) diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c index fd448ca..51715e8 100644

[RFC 5/7] drm: atmel-hlcdc: add DPI support

2014-10-06 Thread Boris Brezillon
Implement a DPI host in the HLCDC driver. Signed-off-by: Boris Brezillon --- drivers/gpu/drm/atmel-hlcdc/Kconfig | 1 + drivers/gpu/drm/atmel-hlcdc/Makefile | 1 + drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dpi.c | 212 ++ 3 files changed, 214

[RFC 6/7] drm: atmel-hlcdc: move to DPI

2014-10-06 Thread Boris Brezillon
atmel_hlcdc_output.c b/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_output.c deleted file mode 100644 index 8d3a5cb..000 --- a/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_output.c +++ /dev/null @@ -1,443 +0,0 @@ -/* - * Copyright (C) 2014 Traphandler - * Copyright (C) 2014 Free Electrons - * Copy

[RFC 7/7] ARM: at91/dt: define sama5d3xek panel as a DPI device

2014-10-06 Thread Boris Brezillon
Replace old panel node with a new one relying on DPI bus support. Signed-off-by: Boris Brezillon --- arch/arm/boot/dts/sama5d36ek.dts | 12 arch/arm/boot/dts/sama5d3_lcd.dtsi | 6 +++--- arch/arm/boot/dts/sama5d3xdm.dtsi | 28 ++-- 3 files changed, 17

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

2014-10-06 Thread Boris Brezillon
On Mon, 6 Oct 2014 16:26:10 +0200 Thierry Reding wrote: > On Mon, Oct 06, 2014 at 03:53:58PM +0200, Boris Brezillon wrote: > > On Mon, 6 Oct 2014 14:35:06 +0200 > > Thierry Reding wrote: > > > > > On Mon, Oct 06, 2014 at 02:14:40PM +0200, Boris Brezillon wrote: &g

[PATCH v8 1/2] mfd: add atmel-hlcdc driver

2014-10-07 Thread Boris Brezillon
2014 at 10:59:32AM +0100, Lee Jones wrote: > > > > > On Tue, 07 Oct 2014, Thierry Reding wrote: > > > > > > > > > > > On Tue, Oct 07, 2014 at 10:44:27AM +0100, Lee Jones wrote: > > > > > > > On Mon, 06 Oct 2014, Bo

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

2014-09-08 Thread Boris BREZILLON
rlays - add support for hardware cursor Boris BREZILLON (11): mfd: add atmel-hlcdc driver mfd: add documentation for atmel-hlcdc DT bindings pwm: add support for atmel-hlcdc-pwm device pwm: add DT bindings documentation for atmel-hlcdc-pwm driver drm: add Atmel HLCDC Display Controller su

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

2014-09-08 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 Tested-by: Ludovic Desroches --- drivers/mfd/Kconfig | 6 ++ drivers/mfd/Makefile

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

2014-09-08 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 v5 02/11] mfd: add documentation for atmel-hlcdc DT bindings

2014-09-08 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 v5 04/11] pwm: add DT bindings documentation for atmel-hlcdc-pwm driver

2014-09-08 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 v5 05/11] drm: add Atmel HLCDC Display Controller support

2014-09-08 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 Tested-by: Ludovic Desroches --- drivers/gpu/drm/Kconfig | 2

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

2014-09-08 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 v5 07/11] ARM: AT91/dt: split sama5d3 lcd pin definitions to match RGB mode configs

2014-09-08 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 v5 08/11] ARM: AT91/dt: add alternative pin muxing for sama5d3 lcd pins

2014-09-08 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 v5 09/11] ARM: at91/dt: define the HLCDC node available on sama5d3 SoCs

2014-09-08 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 v5 10/11] ARM: at91/dt: add LCD panel description to sama5d3xdm.dtsi

2014-09-08 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 v5 11/11] ARM: at91/dt: enable the LCD panel on sama5d3xek boards

2014-09-08 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

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

2014-04-18 Thread Boris BREZILLON
sw); > + > + /* Vertical & Horizontal Timing */ > + value = (vsw - 1) << LCDC_LCDCFG1_VSPW_OFFSET; > + value |= (hsw - 1) << LCDC_LCDCFG1_HSPW_OFFSET; > + dev_dbg(dev->dev, " * LCDC_LCDCFG1 = %08lx\n", value); > + hlcdc_write(dev, ATMEL_LCDC_LCDCFG1, v

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

2014-04-18 Thread Boris BREZILLON
create mode 100644 drivers/gpu/drm/atmel_hlcdc/atmel_hlcdc_crtc.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 m

[PATCH] drm: do not use device name as a format string

2015-12-07 Thread Boris Brezillon
th the current patch. [for the atmel-hlcdc driver] Acked-by: Boris Brezillon > --- > drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c | 2 +- > drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_drv.c| 2 +- > drivers/gpu/drm/tegra/drm.c | 2 +- > drivers/gpu/drm/vc4/v

[PATCH 2/2] drm: use dev_name as default unique name in drm_dev_alloc()

2015-12-09 Thread Boris Brezillon
e.) > > As suggested in > http://lists.freedesktop.org/archives/dri-devel/2015-December/096441.html, > the unique name of a new DRM device can be set as dev_name(parent_dev) > when parent_dev is not NULL (vgem is a special case). > > Signed-off-by: Nicolas Iooss [

[RESEND PATCH 2/3] drm: atmel-hlcdc: add support for sama5d2 SoCs

2015-12-15 Thread Boris Brezillon
parent MFD driver's binding. Signed-off-by: Nicolas Ferre Acked-by: Boris Brezillon --- drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c b/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c index 0126918..4

[RESEND PATCH 1/3] drm: atmel-hlcdc: Fix module autoload for OF platform driver

2015-12-15 Thread Boris Brezillon
From: Luis de Bethencourt <l...@debethencourt.com> This platform driver has a OF device ID table but the OF module alias information is not created so module autoloading won't work. Signed-off-by: Luis de Bethencourt Acked-by: Boris Brezillon --- drivers/gpu/drm/atmel-hlcdc/atmel_hlcd

[RESEND PATCH 3/3] drm/atmel-hlcdc: Constify function pointer structs

2015-12-15 Thread Boris Brezillon
-.data 776 +.data 712 Signed-off-by: Ville Syrjälä Reviewed-by: Alex Deucher Acked-by: Boris Brezillon --- drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_output.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/atmel

[RESEND PATCH 01/28] drm/gma500: Sanity-check pipe index

2015-12-15 Thread Boris Brezillon
From: Thierry Reding If the DSI output isn't connected, then mdfld_dsi_encoder_get_pipe() will return -1. The mdfld_dsi_dp_mode_set() function doesn't properly check for this condition and causes the following compiler warnings: CC

[RESEND PATCH 00/28] drm: trivial patches from drm/trivial branch

2015-12-15 Thread Boris Brezillon
Hi Daniel, As discussed on IRC, here are the patches taken by Thierry in his drm/trivial/for-next branch. I rebased it on drm-next, and had to fix a few conflicts, so it would be safer if someone else takes a closer look at those changes. The atmel-hlcdc are good, so feel free to take them.

[RESEND PATCH 05/28] drm/omap: use kzalloc in sita_init()

2015-12-15 Thread Boris Brezillon
From: Rasmus Villemoes Signed-off-by: Rasmus Villemoes Signed-off-by: Thierry Reding --- drivers/gpu/drm/omapdrm/tcm-sita.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/drivers/gpu/drm/omapdrm/tcm-sita.c

[RESEND PATCH 06/28] drm/vmwgfx: use kzalloc in vmw_surface_define_ioctl()

2015-12-15 Thread Boris Brezillon
From: Rasmus Villemoes Signed-off-by: Rasmus Villemoes Signed-off-by: Thierry Reding --- drivers/gpu/drm/vmwgfx/vmwgfx_surface.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_surface.c

[RESEND PATCH 08/28] drm/qxl: use to_qxl_bo macro

2015-12-15 Thread Boris Brezillon
From: Frediano Ziglio Instead of using container_of directly use to_qxl_bo macro. Signed-off-by: Frediano Ziglio Signed-off-by: Thierry Reding --- drivers/gpu/drm/qxl/qxl_object.c | 2 +- drivers/gpu/drm/qxl/qxl_ttm.c| 4 ++-- 2 files changed, 3 insertions(+), 3

[RESEND PATCH 09/28] drm: atmel-hlcdc: add support for sama5d2 SoCs

2015-12-15 Thread Boris Brezillon
parent MFD driver's binding. Signed-off-by: Nicolas Ferre Acked-by: Boris Brezillon Signed-off-by: Thierry Reding --- drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c b/drivers/gpu/drm/atmel

[RESEND PATCH 10/28] drm: Constify drm_encoder_slave_funcs

2015-12-15 Thread Boris Brezillon
From: Ville Syrjälä Signed-off-by: Ville Syrjälä Reviewed-by: Alex Deucher Signed-off-by: Thierry Reding --- drivers/gpu/drm/drm_encoder_slave.c | 2 +- drivers/gpu/drm/nouveau/nouveau_encoder.h | 2 +- drivers/gpu/drm/rcar-du/rcar_du_hdmicon.c | 6

[RESEND PATCH 12/28] drm/atmel-hlcdc: Constify function pointer structs

2015-12-15 Thread Boris Brezillon
-.data 776 +.data 712 Signed-off-by: Ville Syrjälä Reviewed-by: Alex Deucher Acked-by: Boris Brezillon Signed-off-by: Thierry Reding --- drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_output.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)

[RESEND PATCH 13/28] drm/bochs: Constify function pointer structs

2015-12-15 Thread Boris Brezillon
From: Ville Syrjälä Moves a bunch of junk to .rodata from .data. drivers/gpu/drm/bochs/bochs-drm.ko: -.text7608 +.text7600 -.rodata 648 +.rodata 716 -.data

[RESEND PATCH 14/28] drm/bridge/dw_hdmi: Constify function pointer structs

2015-12-15 Thread Boris Brezillon
From: Ville Syrjälä Moves a bunch of junk to .rodata from .data. drivers/gpu/drm/bridge/dw_hdmi.ko: -.rodata 120 +.rodata 216 -.data 96 +.data 0 Signed-off-by: Ville

[RESEND PATCH 02/28] drm/bochs: Store correct CRTC index in events

2015-12-15 Thread Boris Brezillon
From: Thierry Reding Previously a negative pipe caused a special case to be triggered for drivers that didn't have proper VBLANK support. The trigger for this special case is now independent of the pipe, so the correct CRTC index can now be stored in events. v2: convert to

[RESEND PATCH 03/28] drm/imx: Make pipe number unsigned

2015-12-15 Thread Boris Brezillon
From: Thierry Reding There's no reason whatsoever why this should ever be negative. The same goes for the number of pipes added to the DRM device. Cc: Philipp Zabel Acked-by: Philipp Zabel Signed-off-by: Thierry Reding --- drivers/gpu/drm/imx/imx-drm-core.c | 6 +++---

[RESEND PATCH 04/28] drm/imx: Drop pipe field from struct imx_drm_crtc

2015-12-15 Thread Boris Brezillon
From: Thierry Reding Use the drm_crtc_index() helper to determine the pipe number of the CRTC instead. Cc: Philipp Zabel Acked-by: Philipp Zabel Signed-off-by: Thierry Reding --- drivers/gpu/drm/imx/imx-drm-core.c | 17 - 1 file changed, 8 insertions(+),

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