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:
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
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:
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:
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
(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.
&
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:
> >
> > [...]
> >
> > >>
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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.
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
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
; +#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
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
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
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
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
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
.
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
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
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
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
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
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
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(+)
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
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
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
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
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
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 @@
> > +/*
> > + *
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
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
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 {
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
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:
, 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
.
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
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
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:
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
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
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
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
).
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
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
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
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
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
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
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
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
.
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
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
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
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
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
-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
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
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
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
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
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
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
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
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
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
[
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
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
-.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
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
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.
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
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
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
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
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
-.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(-)
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
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
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
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 +++---
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(+),
401 - 500 of 2396 matches
Mail list logo