Re: [PATCH V2 2/5] include/video: Add Exynos5 specific FIMD register offsets

2012-08-01 Thread Sergei Shtylyov
Hello. On 31-07-2012 16:23, Leela Krishna Amudala wrote: Exynos5 has VIDTCON and VIDCON registers at different offsets from the previous SOCs. Hence, adding the macros. Signed-off-by: Leela Krishna Amudala l.kris...@samsung.com --- include/video/samsung_fimd.h |7 +++ 1 files

Re: [PATCH 00/16] treewide: Convert dev_printk(KERN_LEVEL to dev_level(

2012-10-28 Thread Sergei Shtylyov
Hello. On 28-10-2012 12:05, Joe Perches wrote: dev_level create smaller objects than dev_printk(KERN_LEVEL. Convert non-debug calls to this form. Joe Perches (16): tile: Convert dev_printk(KERN_LEVEL to dev_level( [...] tile: Convert dev_printk(KERN_LEVEL to dev_level( [...]

Re: [PATCH v2 3/3] ARM: shmobile: marzen: Add Display Unit support

2013-03-15 Thread Sergei Shtylyov
Hello. On 14-03-2013 18:35, Laurent Pinchart wrote: Only the DU0 VGA output is currently supported. Support for the DU0 LVDS and DU1 LVDS outputs will require information about the panels that will be connected to those outputs. Signed-off-by: Laurent Pinchart

Re: [PATCH v2 3/3] ARM: shmobile: marzen: Add Display Unit support

2013-03-15 Thread Sergei Shtylyov
On 15.03.2013 0:11, Laurent Pinchart wrote: Only the DU0 VGA output is currently supported. Support for the DU0 LVDS and DU1 LVDS outputs will require information about the panels that will be connected to those outputs. Signed-off-by: Laurent Pinchart

Re: [PATCH v2 3/3] ARM: shmobile: marzen: Add Display Unit support

2013-03-15 Thread Sergei Shtylyov
Hello. On 15-03-2013 5:36, Laurent Pinchart wrote: Only the DU0 VGA output is currently supported. Support for the DU0 LVDS and DU1 LVDS outputs will require information about the panels that will be connected to those outputs. Signed-off-by: Laurent Pinchart

Re: [PATCH v2 3/3] ARM: shmobile: marzen: Add Display Unit support

2013-03-15 Thread Sergei Shtylyov
Hello. On 14-03-2013 18:35, Laurent Pinchart wrote: Only the DU0 VGA output is currently supported. Support for the DU0 LVDS and DU1 LVDS outputs will require information about the panels that will be connected to those outputs. Signed-off-by: Laurent Pinchart

Re: [PATCH 02/24] drm/rcar-du: Use devm_ioremap_resource()

2013-06-27 Thread Sergei Shtylyov
Hello. On 27-06-2013 13:49, Laurent Pinchart wrote: Replace the devm_request_mem_region() and devm_ioremap_nocache() calls with devm_ioremap_resource(). Signed-off-by: Laurent Pinchart laurent.pinchart+rene...@ideasonboard.com --- drivers/gpu/drm/rcar-du/rcar_du_drv.c | 20

[PATCH v3 1/3] drm: Add live source object

2017-01-25 Thread Sergei Shtylyov
Sergei: ported to the modern kernel.] Signed-off-by: Laurent Pinchart <laurent.pinchart+rene...@ideasonboard.com> Signed-off-by: Sergei Shtylyov <sergei.shtyl...@cogentembedded.com> --- Changes in version 3: - moved drm_live_source_{init|cleanup}() from drm_crtc.c to drm_plane.c and the

[PATCH v3 0/3] Enable R8A7790/1 DU VSPD compositor

2017-01-25 Thread Sergei Shtylyov
Hello. Here's the set of 3 patches against the 'drm-next' branch of David Airlie's 'linux.git' repo. This is a port of Laurent's DRM/DU live source patches to the recent kernel, see [1] for the version 2 of the patchset (including a Laurent's big blurb :-)). For the patch #3 to work one

[PATCH v3 2/3] drm: Connect live source to framebuffers

2017-01-25 Thread Sergei Shtylyov
plane to connect it with the live source. [Sergei: ported to the modern kernel.] Signed-off-by: Laurent Pinchart <laurent.pinchart+rene...@ideasonboard.com> Signed-off-by: Sergei Shtylyov <sergei.shtyl...@cogentembedded.com> --- Changes in version 3: - ported the patch to the modern kernel;

[PATCH v3 3/3] drm: rcar-du: Add VSP1 live source support

2017-01-25 Thread Sergei Shtylyov
.pinchart+rene...@ideasonboard.com> Signed-off-by: Sergei Shtylyov <sergei.shtyl...@cogentembedded.com> --- Changes in version 3: - ported the patch to the modern kernel; - reformatted rcar_du_live_fb_create_handle()/rcar_du_live_fb_create()'s parameter lists; - added my signoff. drive

[PATCH] drm: rcar-du: add ADV7513 HDMI encoder

2016-09-01 Thread Sergei Shtylyov
The R-Car DU driver keeps a list of the external encoders which it uses to get the encoder type. Renesas Wheat board uses Analog Devices ADV7513 HDMI encoder, unlike the other Renesas boards which all use ADV7511W -- add it to the encoder list. Signed-off-by: Sergei Shtylyov --- This patch

[PATCH] drm/bridge: adv7511: add support for the 2nd chip

2016-09-02 Thread Sergei Shtylyov
the main register map address instead... Signed-off-by: Sergei Shtylyov --- The patch is against David Airlie's 'linux.git' repo's 'drm-next' branch. drivers/gpu/drm/bridge/adv7511/adv7511_drv.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) Index: linux/drivers/gpu/drm

[PATCH v2] drm/bridge: adv7511: add support for the 2nd chip

2016-09-05 Thread Sergei Shtylyov
the main register map address instead... Signed-off-by: Sergei Shtylyov --- The patch is against David Airlie's 'linux.git' repo's 'drm-next' branch. Changes in version 2: - added support for ADV7533 CEC alternate address. drivers/gpu/drm/bridge/adv7511/adv7511_drv.c | 12

[PATCH] rcar-du: add/rename DEFR6 TCON bits

2016-04-23 Thread Sergei Shtylyov
Gusakov . Signed-off-by: Andrey Gusakov Signed-off-by: Sergei Shtylyov --- The patch is against David Airlie's 'linux.git' repo's 'drm-next' branch. drivers/gpu/drm/rcar-du/rcar_du_regs.h |5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) Index: linux/drivers/gpu/drm/rcar-du

[PATCH] rcar-du: add/rename DEFR6 TCON bits

2016-04-25 Thread Sergei Shtylyov
bit which controls whether DU0 is connected to >> TCON. >> >> Based on the large patch by Andrey Gusakov > cogentembedded.com>. >> >> Signed-off-by: Andrey Gusakov >> Signed-off-by: Sergei Shtylyov > > I hard a hard time finding this register, as it'

[PATCH 0/4] Add TCON support to the R-Car DU driver

2016-04-29 Thread Sergei Shtylyov
Hello. Here's the set of 4 patches against David Airlie's 'linux.git' repo's 'drm-next' branch. We're adding support for the TCON (timing controller) that is a part of the R-Car SoC and can directly drive a LCD. [1/4] drm_mode: add-TCON encoder connector [2/4] rcar-du: add TCON encoder

[PATCH 1/4] drm_mode: add TCON encoder/connector

2016-04-29 Thread Sergei Shtylyov
TCON (Timing Controller) usually means a chip that drives a LCD panel. In our case, such controller is a part of the Renesas R-Car SoCs. Add the TCON encoder/connector #define's to be used by the TCON support code in the Renesas R-Car Display Unit (DU) driver. Signed-off-by: Sergei Shtylyov

[PATCH 2/4] rcar-du: add TCON encoder driver

2016-04-29 Thread Sergei Shtylyov
that we need to program based on the video mode timings, so we're adding a DU encoder driver doing that... Based on a large patch by Andrey Gusakov. Signed-off-by: Andrey Gusakov Signed-off-by: Sergei Shtylyov --- drivers/gpu/drm/rcar-du/Kconfig |6 drivers/gpu/drm/rcar-du

[PATCH 3/4] rcar-du: add TCON connector driver

2016-04-29 Thread Sergei Shtylyov
for the LCDs connected via the TCON interface... Based on a large patch by Andrey Gusakov. Signed-off-by: Andrey Gusakov Signed-off-by: Sergei Shtylyov --- drivers/gpu/drm/rcar-du/Makefile |1 drivers/gpu/drm/rcar-du/rcar_du_encoder.c |5 + drivers/gpu/drm/rcar-du

[PATCH 4/4] rcar-du: add R8A7794 TCON support

2016-04-29 Thread Sergei Shtylyov
Now that we have the TCON encoder driver, we can start enabling TCON support for the R-Car SoCs. We have only tested the code on R8A7794 so far, so let it be the first supported SoC... Based on a large patch by Andrey Gusakov. Signed-off-by: Andrey Gusakov Signed-off-by: Sergei Shtylyov

[PATCH] rcar-du: add R8A7792 support

2016-08-04 Thread Sergei Shtylyov
Add support for the R8A7792 DU; it has 2 DPAD (RGB) outputs. Signed-off-by: Sergei Shtylyov --- This patch is against the 'drm/next/du' branch of Laurent Pinchart's 'media.git' repo... Documentation/devicetree/bindings/display/renesas,du.txt |4 ++ drivers/gpu/drm/rcar-du/rcar_du_drv.c

[PATCH 09/10] arm64: dts: r8a7795: add HDMI support to DU

2016-11-15 Thread Sergei Shtylyov
Hello. On 11/11/2016 08:07 PM, Ulrich Hecht wrote: > Signed-off-by: Ulrich Hecht > --- > arch/arm64/boot/dts/renesas/r8a7795.dtsi | 34 > ++-- > 1 file changed, 32 insertions(+), 2 deletions(-) > > diff --git

[PATCH] drm: rcar-du: enable VSPDs on R8A7791

2016-12-14 Thread Sergei Shtylyov
We're going to use R8A7791 VSPDs to control DU, so set the corresponding flag. Signed-off-by: Sergei Shtylyov --- The patch is against David Airlie's 'linux.git' repo's 'drm-next' branch. drivers/gpu/drm/rcar-du/rcar_du_drv.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) Index

New LCD connector type?

2016-05-06 Thread Sergei Shtylyov
(Resending as I couldn't find this message from January in the list archives.) Hello. We have a board which has Newhaven Display LCD [1] connected via a what seems to be a custom 40-signal LCD connector. That connector includes (6-bit per component) RGB signals, DISP, H/VSYNC, and the

[PATCH] drm: rcar-du: enable VSPDs on R8A7791

2016-12-19 Thread Sergei Shtylyov
Hello! On 12/14/2016 11:55 PM, Laurent Pinchart wrote: >> We're going to use R8A7791 VSPDs to control DU, so set the corresponding >> flag. >> >> Signed-off-by: Sergei Shtylyov > > For the same reason I nacked the corresponding patch to the VSP1 driver, I &

[PATCH 0/2] Enable R8A7794 DU VSPD compositor

2016-12-29 Thread Sergei Shtylyov
Hello. Here's the set of 2 patches against the 'drm-next' branch of David Airlie's 'linux.git' repo. We're switching to the DU compositor for the DU driver on the Renesas R8A7794 SoC. [1/2] drm: rcar-du: support less VSPs than CRTCs [2/2] drm: rcar-du: enable VSPD on R8A7794 MBR, Sergei

[PATCH 2/2] drm: rcar-du: enable VSPD on R8A7794

2016-12-29 Thread Sergei Shtylyov
We're going to use R8A7794 VSPD to control DU, so set the corresponding flag and the newly added field, 'num_vspds'... Signed-off-by: Sergei Shtylyov --- drivers/gpu/drm/rcar-du/rcar_du_drv.c |4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) Index: linux/drivers/gpu/drm/rcar-du

[PATCH 1/2] drm: rcar-du: support less VSPs than CRTCs

2016-12-29 Thread Sergei Shtylyov
field which we'll have to set for the SoCs where we've already used the VSPD compositor... Signed-off-by: Sergei Shtylyov --- drivers/gpu/drm/rcar-du/rcar_du_crtc.c | 17 ++- drivers/gpu/drm/rcar-du/rcar_du_drv.c |2 drivers/gpu/drm/rcar-du/rcar_du_drv.h |2 drivers/gpu/drm

[PATCH] drm: rcar-du: enable VSPDs on R8A7791

2016-12-26 Thread Sergei Shtylyov
On 12/19/2016 11:24 PM, Laurent Pinchart wrote: >>>> We're going to use R8A7791 VSPDs to control DU, so set the corresponding >>>> flag. >>>> >>>> Signed-off-by: Sergei Shtylyov >>> >>> For the same reason I nacked the correspon

[PATCH 01/16] drm: fixes crct set_mode when crtc mode_fixup is null.

2016-02-16 Thread Sergei Shtylyov
Hello. On 02/16/2016 05:10 PM, Carlos Palminha wrote: > This patch set nukes all the dummy crtc mode_fixup implementations. > (made on top of Daniel topic/drm-misc branch) > > Signed-off-by: Carlos Palminha > --- > drivers/gpu/drm/drm_crtc_helper.c | 9 ++--- > 1 file changed, 6

[PATCH v3 3/5] ASoC: tda998x: add DT documentation of the tda998x CODEC

2014-02-01 Thread Sergei Shtylyov
Hello. On 01-02-2014 20:48, Jean-Francois Moine wrote: > This patch adds the DT documentation of the NXP TDA998x CODEC. > Signed-off-by: Jean-Francois Moine > --- > Documentation/devicetree/bindings/drm/i2c/tda998x.txt | 17 + > 1 file changed, 17 insertions(+) > diff --git

[PATCH] MAINTAINERS: Add entry for Renesas DRM drivers

2014-08-20 Thread Sergei Shtylyov
Hello. On 08/20/2014 01:04 AM, Laurent Pinchart wrote: > Signed-off-by: Laurent Pinchart > --- > MAINTAINERS | 11 +++ > 1 file changed, 11 insertions(+) > Hi Dave, > Could you please pick this patch up, or let me know if you would like

[PATCH 01/10] drm: rcar-du: Document the rcar_du_crtc structure

2015-04-29 Thread Sergei Shtylyov
Hello. On 4/29/2015 3:37 AM, Laurent Pinchart wrote: > Document the structure fields using kerneldoc. > Signed-off-by: Laurent Pinchart > --- > drivers/gpu/drm/rcar-du/rcar_du_crtc.h | 14 ++ > 1 file changed, 14 insertions(+) > >

[PATCH 02/10] drm: rcar-du: Document the rcar_du_plane_state structure

2015-04-29 Thread Sergei Shtylyov
On 4/29/2015 3:37 AM, Laurent Pinchart wrote: > Document the structure fields using kerneldoc. > Signed-off-by: Laurent Pinchart > --- > drivers/gpu/drm/rcar-du/rcar_du_plane.h | 11 ++- > 1 file changed, 10 insertions(+), 1 deletion(-)

[PATCH 00/16] treewide: Convert dev_printk(KERN_ to dev_(

2012-10-28 Thread Sergei Shtylyov
Hello. On 28-10-2012 12:05, Joe Perches wrote: > dev_ create smaller objects than dev_printk(KERN_. > Convert non-debug calls to this form. > Joe Perches (16): >tile: Convert dev_printk(KERN_ to dev_( [...] >tile: Convert dev_printk(KERN_ to dev_( [...] >tile: Convert

[PATCH 02/24] drm/rcar-du: Use devm_ioremap_resource()

2013-06-27 Thread Sergei Shtylyov
Hello. On 27-06-2013 13:49, Laurent Pinchart wrote: > Replace the devm_request_mem_region() and devm_ioremap_nocache() calls > with devm_ioremap_resource(). > Signed-off-by: Laurent Pinchart > --- > drivers/gpu/drm/rcar-du/rcar_du_drv.c | 20

[PATCH v2 3/3] ARM: shmobile: marzen: Add Display Unit support

2013-03-14 Thread Sergei Shtylyov
Hello. On 14-03-2013 18:35, Laurent Pinchart wrote: > Only the DU0 VGA output is currently supported. Support for the DU0 LVDS > and DU1 LVDS outputs will require information about the panels that will > be connected to those outputs. > Signed-off-by: Laurent Pinchart

[PATCH v2 3/3] ARM: shmobile: marzen: Add Display Unit support

2013-03-15 Thread Sergei Shtylyov
On 15.03.2013 0:11, Laurent Pinchart wrote: >>> Only the DU0 VGA output is currently supported. Support for the DU0 LVDS >>> and DU1 LVDS outputs will require information about the panels that will >>> be connected to those outputs. >>> Signed-off-by: Laurent Pinchart >>>

[PATCH v2 3/3] ARM: shmobile: marzen: Add Display Unit support

2013-03-15 Thread Sergei Shtylyov
Hello. On 15-03-2013 5:36, Laurent Pinchart wrote: > Only the DU0 VGA output is currently supported. Support for the DU0 LVDS > and DU1 LVDS outputs will require information about the panels that will > be connected to those outputs. > Signed-off-by: Laurent Pinchart >

[PATCH v2 3/3] ARM: shmobile: marzen: Add Display Unit support

2013-03-15 Thread Sergei Shtylyov
Hello. On 14-03-2013 18:35, Laurent Pinchart wrote: > Only the DU0 VGA output is currently supported. Support for the DU0 LVDS > and DU1 LVDS outputs will require information about the panels that will > be connected to those outputs. > Signed-off-by: Laurent Pinchart

[PATCH v2] coccinelle: api: check for propagation of error from platform_get_irq

2015-12-27 Thread Sergei Shtylyov
On 12/26/2015 11:58 PM, Julia Lawall wrote: > The error return value of platform_get_irq seems to often get dropped. > > Signed-off-by: Julia Lawall > > --- > > v2: Check for the direct return case also. Added some mailing lists of > common offenders. > > diff --git

[PATCH v2] coccinelle: api: check for propagation of error from platform_get_irq

2015-12-27 Thread Sergei Shtylyov
On 12/27/2015 01:32 AM, Julia Lawall wrote: >>> The error return value of platform_get_irq seems to often get dropped. >>> >>> Signed-off-by: Julia Lawall >>> >>> --- >>> >>> v2: Check for the direct return case also. Added some mailing lists of >>> common offenders. >>> >>> diff --git

[PATCH v2] coccinelle: api: check for propagation of error from platform_get_irq

2015-12-27 Thread Sergei Shtylyov
On 12/27/2015 9:13 AM, Julia Lawall wrote: >> Well, looking again, the patch should be good. I just thought its goal >> was >> to fix the code as well... > > I could do that for the irq < 0 case, but I think that in that case, kbuild > will only run the patch version, and the <= cases will

[PATCH V2 2/5] include/video: Add Exynos5 specific FIMD register offsets

2012-07-31 Thread Sergei Shtylyov
Hello. On 31-07-2012 16:23, Leela Krishna Amudala wrote: > Exynos5 has VIDTCON and VIDCON registers at different offsets > from the previous SOCs. Hence, adding the macros. > Signed-off-by: Leela Krishna Amudala > --- > include/video/samsung_fimd.h |7 +++ > 1 files changed, 7

Re: [PATCH v3 3/3] drm: rcar-du: Register a completion callback with VSP1

2017-03-05 Thread Sergei Shtylyov
Hello! On 03/05/2017 07:00 PM, Kieran Bingham wrote: Currently we process page flip events on every display interrupt, however this does not take into consideration the processing time needed by the VSP1 utilised in the pipeline. Register a callback with the VSP driver to obtain completion

Re: [PATCH 1/2] v4l: vsp1: Add support for colorkey alpha blending

2017-05-04 Thread Sergei Shtylyov
On 05/04/2017 01:53 PM, agheorghe wrote: The vsp2 hw supports changing of the alpha of pixels that match a color key, this patch adds support for this feature in order to be used by the rcar-du driver. The colorkey is interpreted different depending of the pixel format: * RGB - all

Re: [PATCHv2 1/2] dt-bindings: adi,adv7511.txt: document cec clock

2017-09-19 Thread Sergei Shtylyov
On 9/19/2017 1:07 PM, Hans Verkuil wrote: From: Hans Verkuil Document the cec clock binding. Signed-off-by: Hans Verkuil Acked-by: Rob Herring --- Documentation/devicetree/bindings/display/bridge/adi,adv7511.txt | 4

Re: [PATCHv2 1/2] dt-bindings: adi,adv7511.txt: document cec clock

2017-09-19 Thread Sergei Shtylyov
On 9/19/2017 12:29 PM, Hans Verkuil wrote: From: Hans Verkuil Document the cec clock binding. Signed-off-by: Hans Verkuil Acked-by: Rob Herring --- Documentation/devicetree/bindings/display/bridge/adi,adv7511.txt | 4

Re: [PATCHv2 1/2] dt-bindings: adi,adv7511.txt: document cec clock

2017-09-19 Thread Sergei Shtylyov
Hello! On 9/19/2017 10:33 AM, Hans Verkuil wrote: From: Hans Verkuil Document the cec clock binding. Signed-off-by: Hans Verkuil Acked-by: Rob Herring --- Documentation/devicetree/bindings/display/bridge/adi,adv7511.txt |

Re: [PATCHv2 1/2] dt-bindings: adi,adv7511.txt: document cec clock

2017-09-19 Thread Sergei Shtylyov
On 9/19/2017 1:35 PM, Hans Verkuil wrote: From: Hans Verkuil Document the cec clock binding. Signed-off-by: Hans Verkuil Acked-by: Rob Herring --- Documentation/devicetree/bindings/display/bridge/adi,adv7511.txt | 4

Re: [PATCHv2 1/2] dt-bindings: adi,adv7511.txt: document cec clock

2017-09-19 Thread Sergei Shtylyov
On 09/19/2017 01:59 PM, Hans Verkuil wrote: From: Hans Verkuil Document the cec clock binding. Signed-off-by: Hans Verkuil Acked-by: Rob Herring --- Documentation/devicetree/bindings/display/bridge/adi,adv7511.txt | 4

Re: [PATCH v4 6/8] Documentation: Add device tree binding for Goldfish FB driver

2017-08-21 Thread Sergei Shtylyov
On 08/18/2017 04:08 PM, Aleksandar Markovic wrote: From: Aleksandar Markovic Add documentation for DT binding of Goldfish FB driver. The compatible string used by OS for binding the driver is "google,goldfish-fb". Signed-off-by: Miodrag Dinic

Re: [PATCH 5/9] v4l: vsp1: Document the vsp1_du_atomic_config structure

2017-12-04 Thread Sergei Shtylyov
Hello! On 12/3/2017 1:57 PM, Laurent Pinchart wrote: The structure is used in the API that the VSP1 driver exposes to the DU driver. Documenting it is thus important. Signed-off-by: Laurent Pinchart --- include/media/vsp1.h | 10 ++ 1

Re: [PATCH 2/5] drm: rcar-du: lvds: Add R8A77995 support

2018-05-16 Thread Sergei Shtylyov
Hello! On 5/16/2018 10:54 AM, Simon Horman wrote: Add support for the R-Car D3 (R8A77995) SoC to the LVDS encoder driver. Signed-off-by: Ulrich Hecht --- drivers/gpu/drm/rcar-du/rcar_lvds.c | 6 ++ 1 file changed, 6 insertions(+) diff --git

Re: [PATCH 2/5] drm: rcar-du: lvds: Add R8A77995 support

2018-05-16 Thread Sergei Shtylyov
On 05/16/2018 04:06 PM, Ulrich Hecht wrote: Add support for the R-Car D3 (R8A77995) SoC to the LVDS encoder driver. Signed-off-by: Ulrich Hecht --- drivers/gpu/drm/rcar-du/rcar_lvds.c | 6 ++ 1 file changed, 6 insertions(+)

Re: [RFT] i2c: algos: bit: prepare/unprepare before sending initial STOP

2018-06-15 Thread Sergei Shtylyov
On 6/15/2018 8:17 AM, Wolfram Sang wrote: Some adapters need to be prepared/unprepared before bitbanging the bus. Before/after? Do this for the initial STOP, too. Signed-off-by: Wolfram Sang [...] MBR, Sergei ___ dri-devel mailing list

[PATCH] dt-bindings: display: renesas: du: document R8A77980 bindings

2018-06-04 Thread Sergei Shtylyov
Document the R-Car V3H (R8A77980) SoC in the R-Car DU bindings; the DU hardware seems the same as in the R-Car V3M (R8A77970). Signed-off-by: Sergei Shtylyov --- The patch is against the 'drm-next' branch of David Airlie's 'linux.git' repo. Documentation/devicetree/bindings/display/renesas

Re: [PATCH] dt-bindings: display: renesas: du: document R8A77980 bindings

2018-06-05 Thread Sergei Shtylyov
ot; ? "seems" sounds like we're very unsure :-) That's probably better, indeed. >> Signed-off-by: Sergei Shtylyov >> >> --- >> The patch is against the 'drm-next' branch of David Airlie's 'linux.git' >> repo. > > Then you might want to

[PATCH 2/2] drm: rcar-du: lvds: add R8A77980 support

2018-06-05 Thread Sergei Shtylyov
Add support for the R-Car V3H (R8A77980) SoC to the LVDS encoder driver. Signed-off-by: Sergei Shtylyov --- drivers/gpu/drm/rcar-du/rcar_lvds.c |1 + 1 file changed, 1 insertion(+) Index: drm/drivers/gpu/drm/rcar-du/rcar_lvds.c

Re: [PATCH] dt-bindings: display: renesas: du: document R8A77980 bindings

2018-06-05 Thread Sergei Shtylyov
the R-Car V3M >>> (R8A77970)" ? "seems" sounds like we're very unsure :-) >> >>That's probably better, indeed. >> >>>> Signed-off-by: Sergei Shtylyov >>>> >>>> --- >>>> The patch is against the

[PATCH 0/2] Add R-Car V3H (R8A77980) support to the R-Car LVDS driver

2018-06-05 Thread Sergei Shtylyov
Hello! Here's the set of 2 patches against the 'drm-next' branch of the 'drm.git' repo. The purpose of these patches is to add the R-Car V3H (R8A77980) support to the R-Car LVDS driver. [1/2] dt-bindings: display: renesas: lvds: document R8A77980 bindings [2/2] drm: rcar-du: lvds: add R8A77980

[PATCH 1/2] dt-bindings: display: renesas: lvds: document R8A77980 bindings

2018-06-05 Thread Sergei Shtylyov
Document the R-Car V3H (R8A77980) SoC in the R-Car LVDS bindings. Signed-off-by: Sergei Shtylyov --- Documentation/devicetree/bindings/display/bridge/renesas,lvds.txt |1 + 1 file changed, 1 insertion(+) Index: drm/Documentation/devicetree/bindings/display/bridge/renesas,lvds.txt

Re: [PATCH] drm: rcar-du: lvds: fix LVDCR1 for R-Car gen3

2017-12-23 Thread Sergei Shtylyov
Hello! On 12/23/2017 04:09 PM, Laurent Pinchart wrote: On Thursday, 21 December 2017 22:23:30 EET Sergei Shtylyov wrote: The LVDCR1 register for the R-Car gen3 SoCs was documented as having the layout different from the gen2 SoCs in the early R-Car gen3 manuals but since v0.52 the LVDCR1

[PATCH 3/3] drm: rcar-du: add R8A77970 support

2018-01-11 Thread Sergei Shtylyov
Add support for the R-Car V3M (R8A77970) SoC to the DU driver (this SoC has only 1 display port). Note that there are some differences with the other R-Car gen3 SoCs in the LVDS encoder part, e.g. LVDPLLCR has the same layout as on the R-Car gen2 SoCs... Signed-off-by: Sergei Shtylyov

[PATCH 0/3] Add R-Car V3M (R8A77970) support to the DU driver

2018-01-11 Thread Sergei Shtylyov
Hello! Here's the set of 3 patches against the 'drm-next' branch of David Airlie's 'linux.git' repo plus the patch fixing LVDCR1 for R-Car gen3 posted recently. The main purpose of these patches is to add the R-Car V3M (R8A77970) support to the DU driver, we have to do some refactoring first to

[PATCH 1/3] drm: rcar-du: lvds: refactor LVDS startup

2018-01-11 Thread Sergei Shtylyov
. BTW, such a merge saves 72 bytes of the object code with AArch64 gcc 4.8.5. Signed-off-by: Sergei Shtylyov <sergei.shtyl...@cogentembedded.com> --- drivers/gpu/drm/rcar-du/rcar_du_lvdsenc.c | 132 -- 1 file changed, 54 insertions(+), 78 deletions(-) Index:

[PATCH 2/3] drm: rcar-du: add model field to struct rcar_du_device_info

2018-01-11 Thread Sergei Shtylyov
for the already supported SoCs. Signed-off-by: Sergei Shtylyov <sergei.shtyl...@cogentembedded.com> --- drivers/gpu/drm/rcar-du/rcar_du_drv.c |9 + drivers/gpu/drm/rcar-du/rcar_du_drv.h | 14 ++ 2 files changed, 23 insertions(+) Index: linux/drivers/gpu/drm/rcar-du/rcar_du

Re: [PATCH v2 2/2] drm: rcar-du: lvds: Fix LVDS startup on R-Car gen2

2018-01-16 Thread Sergei Shtylyov
On 01/16/2018 06:46 PM, Laurent Pinchart wrote: From: Sergei Shtylyov <sergei.shtyl...@cogentembedded.com> According to the latest revision 2.00 of the R-Car gen2 manual, the LVDS must be enabled and the bias crcuit enabled after the LVDS I/O pins are Oops, this needs fixing

Re: [PATCH v2 04/12] drm: rcar-du: Convert LVDS encoder code to bridge driver

2018-01-15 Thread Sergei Shtylyov
Hello! On 01/13/2018 02:14 AM, Laurent Pinchart wrote: The LVDS encoders used to be described in DT as part of the DU. They now have their own DT node, linked to the DU using the OF graph bindings. This allows moving internal LVDS encoder support to a separate driver modelled as a DRM bridge.

Re: [PATCH v2 04/12] drm: rcar-du: Convert LVDS encoder code to bridge driver

2018-01-15 Thread Sergei Shtylyov
On 01/15/2018 11:32 PM, Laurent Pinchart wrote: The LVDS encoders used to be described in DT as part of the DU. They now have their own DT node, linked to the DU using the OF graph bindings. This allows moving internal LVDS encoder support to a separate driver modelled as a DRM bridge. Backward

[PATCH 3/3] drm: rcar-du: lvds: add R8A77970 support

2018-01-19 Thread Sergei Shtylyov
Add support for the R-Car V3M (R8A77970) SoC to the LVDS encoder driver. Note that there are some differences with the other R-Car gen3 SoCs, e.g. LVDPLLCR has the same layout as in the R-Car gen2 SoCs... Signed-off-by: Sergei Shtylyov <sergei.shtyl...@cogentembedded.com> --- drivers/g

[PATCH 0/3] Add R-Car V3M (R8A77970) support to the R-Car LVDS driver

2018-01-19 Thread Sergei Shtylyov
Hello! Here's the set of 3 patches against the 'drm-next' branch of David Airlie's 'linux.git' repo plus the patch fixing LVDS startup for R-Car gen2/3 and Laurent Picnahrt's patches creating the R-Car LVDS bridge driver posted recently. The main purpose of these patches is to add the R-Car V3M

[PATCH 1/3] drm: rcar-du: lvds: refactor LVDS startup

2018-01-19 Thread Sergei Shtylyov
. BTW, such a merge saves 64 bytes of the object code with AArch64 gcc 4.8.5. Signed-off-by: Sergei Shtylyov <sergei.shtyl...@cogentembedded.com> --- drivers/gpu/drm/rcar-du/rcar_lvds.c | 137 +++- 1 file changed, 59 insertions(+), 78 deletions(-) Index:

[PATCH 2/3] DT: display: renesas,lvds: document R8A77970 bindings

2018-01-19 Thread Sergei Shtylyov
Document the R-Car V3M (R8A77970) SoC in the R-Car LVDS bindings. Signed-off-by: Sergei Shtylyov <sergei.shtyl...@cogentembedded.com> --- Documentation/devicetree/bindings/display/bridge/renesas,lvds.txt |1 + 1 file changed, 1 insertion(+) Index: linux/Documentation/devicetree/bi

[PATCH v2 0/2] Add R-Car V3M (R8A77970) support to the DU driver

2018-01-18 Thread Sergei Shtylyov
Hello! Here's the set of 2 patches against the 'drm-next' branch of David Airlie's 'linux.git' repo. The purpose of these patches is to add the R-Car V3M (R8A77970) support to the DU driver; the LVDS driver patches will be posted separately... [1/2] DT: display: renesas,du: document R8A77970

[PATCH v2 1/2] DT: display: renesas,du: document R8A77970 bindings

2018-01-18 Thread Sergei Shtylyov
Document the R-Car V3M (R8A77970) SoC in the R-Car DU bindings. Signed-off-by: Sergei Shtylyov <sergei.shtyl...@cogentembedded.com> --- Changes in version 2: - documented R8A77970 DU ports; - patch split from the main R8A77970 DU support patch. Documentation/devicetree/bindings/d

[PATCH v2 2/2] drm: rcar-du: add R8A77970 support

2018-01-18 Thread Sergei Shtylyov
Add support for the R-Car V3M (R8A77970) SoC to the R-Car DU driver. Signed-off-by: Sergei Shtylyov <sergei.shtyl...@cogentembedded.com> --- Changes in version 2: - removed the 'model' and 'dpll_ch' field initializers; - fixed up the DU port numbers; - split the DU bindings and the LVDS

Re: [PATCH v2 03/12] drm: rcar-du: Fix legacy DT to create LVDS encoder nodes

2018-01-21 Thread Sergei Shtylyov
Hello! On 1/13/2018 2:14 AM, Laurent Pinchart wrote: Here's my (superficial) comments... The internal LVDS encoders now have their own DT bindings. Before switching the driver infrastructure to those new bindings, implement backward-compatibility through live DT patching. Patching is

Re: [PATCH v2 07/12] ARM: dts: r8a7791: Convert to new LVDS DT bindings

2018-01-15 Thread Sergei Shtylyov
Hello! On 01/13/2018 02:14 AM, Laurent Pinchart wrote: The internal LVDS encoder now has DT bindings separate from the DU. Port the device tree over to the new model. Signed-off-by: Laurent Pinchart [...] diff --git

Re: [PATCH v2 06/12] ARM: dts: r8a7790: Convert to new LVDS DT bindings

2018-01-15 Thread Sergei Shtylyov
Hello! On 01/13/2018 02:14 AM, Laurent Pinchart wrote: The internal LVDS encoder now has DT bindings separate from the DU. Port the device tree over to the new model. Signed-off-by: Laurent Pinchart [...] diff --git

Re: [PATCH 01/10] dt-bindings: display: renesas: Add R-Car LVDS encoder DT bindings

2018-01-12 Thread Sergei Shtylyov
Hello! On 01/12/2018 03:58 AM, Laurent Pinchart wrote: The Renesas R-Car Gen2 and Gen3 SoCs have internal LVDS encoders. Add corresponding device tree bindings. Signed-off-by: Laurent Pinchart --- .../bindings/display/bridge/renesas,lvds.txt

Re: [PATCH 3/3] drm: rcar-du: add R8A77970 support

2018-01-12 Thread Sergei Shtylyov
gen2 SoCs... Signed-off-by: Sergei Shtylyov <sergei.shtyl...@cogentembedded.com> Could you please rebase this series on top of the LVDS rework posted as "[PATCH 00/10] R-Car DU: Convert LVDS code to bridge driver" (https:// www.spinics.net/lists/dri-devel/msg161931.html)

Re: [PATCH 02/10] dt-bindings: display: renesas: Deprecate LVDS support in the DU bindings

2018-01-12 Thread Sergei Shtylyov
On 01/12/2018 01:43 PM, Laurent Pinchart wrote: The internal LVDS encoders now have their own DT bindings, representing them as part of the DU is deprecated. Signed-off-by: Laurent Pinchart --- .../devicetree/bindings/display/renesas,du.txt |

Re: [PATCH 02/10] dt-bindings: display: renesas: Deprecate LVDS support in the DU bindings

2018-01-12 Thread Sergei Shtylyov
Hello! On 01/12/2018 03:58 AM, Laurent Pinchart wrote: The internal LVDS encoders now have their own DT bindings, representing them as part of the DU is deprecated. Signed-off-by: Laurent Pinchart --- .../devicetree/bindings/display/renesas,du.txt

[PATCH 2/2] drm: rcar-du: lvds: fix LVDS startup on R-Car gen2

2018-01-12 Thread Sergei Shtylyov
t;) Signed-off-by: Sergei Shtylyov <sergei.shtyl...@cogentembedded.com> --- drivers/gpu/drm/rcar-du/rcar_du_lvdsenc.c | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) Index: linux/drivers/gpu/drm/rcar-du/r

[PATCH 1/2] drm: rcar-du: lvds: fix LVDS startup on R-Car gen3

2018-01-12 Thread Sergei Shtylyov
that still talks about hardcoding the LVDS mode 0... Fixes: e947eccbeba4 ("drm: rcar-du: Add support for LVDS mode selection") Signed-off-by: Sergei Shtylyov <sergei.shtyl...@cogentembedded.com> --- drivers/gpu/drm/rcar-du/rcar_du_lvdsenc.c | 10 +++--- 1 file changed, 7 insertions

[PATCH 0/2] Fix LVDS startup sequences in the R-Car DU driver...

2018-01-12 Thread Sergei Shtylyov
Hello! Here's the set of 2 patches against the 'drmf-ixes' branch of David Airlie's 'linux.git' repo plus the patch fixing LVDCR1 for R-Car gen3 posted recently. Documentation check against the recent manuals revealed that the LVDS startup sequences don't match those. I was able to test the gen3

Re: [PATCH 1/2] drm: rcar-du: lvds: fix LVDS startup on R-Car gen3

2018-01-12 Thread Sergei Shtylyov
On 01/12/2018 11:12 PM, Sergei Shtylyov wrote: According to the latest revisions of the R-Car gen3 manual, the LVDS mode must be set before the LVDS I/O pins are enabled, not after -- fix the gen3 LVDS startup sequence accordingly... While at it, also fix the comment preceding the first

Re: [PATCH 1/2] drm: rcar-du: lvds: fix LVDS startup on R-Car gen3

2018-01-13 Thread Sergei Shtylyov
("drm: rcar-du: Add support for LVDS mode selection") Signed-off-by: Sergei Shtylyov <sergei.shtyl...@cogentembedded.com> Is this really needed ? Does it fix a problem you've experienced, or is it theoretical only ? The mode shouldn't matter before the LVDS internal logic is t

Re: [PATCH v2 2/2] drm: rcar-du: lvds: Fix LVDS startup on R-Car gen2

2018-01-13 Thread Sergei Shtylyov
On 1/13/2018 2:10 AM, Laurent Pinchart wrote: From: Sergei Shtylyov <sergei.shtyl...@cogentembedded.com> According to the latest revision 2.00 of the R-Car gen2 manual, the LVDS must be enabled and the bias crcuit enabled after the LVDS I/O pins are enabled, not before. Fix the gen

Re: [PATCH 1/2] drm: rcar-du: lvds: fix LVDS startup on R-Car gen3

2018-01-13 Thread Sergei Shtylyov
Hello! On 1/13/2018 12:51 AM, Laurent Pinchart wrote: On Friday, 12 January 2018 22:12:04 EET Sergei Shtylyov wrote: According to the latest revisions of the R-Car gen3 manual, the LVDS mode must be set before the LVDS I/O pins are enabled, not after -- fix the gen3 LVDS startup sequence

Re: [PATCH v2 1/2] DT: display: renesas,du: document R8A77970 bindings

2018-01-29 Thread Sergei Shtylyov
On 01/29/2018 10:02 PM, Rob Herring wrote: >> Document the R-Car V3M (R8A77970) SoC in the R-Car DU bindings. >> >> Signed-off-by: Sergei Shtylyov <sergei.shtyl...@cogentembedded.com> >> >> --- >> Changes in version 2: >> - documented R8A77970 DU p

Re: [PATCH] drm: rcar-du: lvds: Fix LVDS clock frequency range

2018-02-14 Thread Sergei Shtylyov
em yet anyway... > SoCs. Update the driver accordingly. > > Signed-off-by: Laurent Pinchart <laurent.pinchart+rene...@ideasonboard.com> [...] Acked-by: Sergei Shtylyov <sergei.shtyl...@cogentembedded.com> MBR, Sergei ___ dri-d

Re: [PATCH v2 3/3] drm: rcar-du: lvds: Refactor LVDS startup

2018-02-14 Thread Sergei Shtylyov
On 02/14/2018 09:13 PM, Laurent Pinchart wrote: > From: Sergei Shtylyov <sergei.shtyl...@cogentembedded.com> > > After the recent corrections to the R-Car gen2/3 LVDS startup code, already > similar enough at their ends rcar_lvds_enable_gen{2|3}() started asking for > a me

Re: [PATCH v4 01/16] dt-bindings: display: renesas: Add R-Car LVDS encoder DT bindings

2018-02-21 Thread Sergei Shtylyov
On 2/21/2018 2:10 AM, Laurent Pinchart wrote: The Renesas R-Car Gen2 and Gen3 SoCs have internal LVDS encoders. Add corresponding device tree bindings. Signed-off-by: Laurent Pinchart Reviewed-by: Rob Herring --- Changes since v1:

Re: [PATCH v4 14/16] ARM: dts: r8a7794: Convert to new DU DT bindings

2018-02-21 Thread Sergei Shtylyov
Hello! On 2/21/2018 2:10 AM, Laurent Pinchart wrote: The DU DT bindings have been updated to drop the reg-names property. Update the r8a7792 device tree accordingly. Apparently r8a7794. Signed-off-by: Laurent Pinchart [...] MBR, Sergei

Re: [PATCH v4 11/16] ARM: dts: r8a7791: Convert to new LVDS DT bindings

2018-02-23 Thread Sergei Shtylyov
On 2/21/2018 2:10 AM, Laurent Pinchart wrote: The internal LVDS encoder now has DT bindings separate from the DU. Port the device tree over to the new model. Signed-off-by: Laurent Pinchart [...] diff --git a/arch/arm/boot/dts/r8a7791.dtsi

Re: [PATCH v4 11/16] ARM: dts: r8a7791: Convert to new LVDS DT bindings

2018-02-23 Thread Sergei Shtylyov
Hello! On 2/21/2018 2:10 AM, Laurent Pinchart wrote: The internal LVDS encoder now has DT bindings separate from the DU. Port the device tree over to the new model. Signed-off-by: Laurent Pinchart --- Changes since v3: - Added power-domains and

[PATCH] drm: rcar-du: lvds: fix LVDCR1 for R-Car gen3

2017-12-21 Thread Sergei Shtylyov
(and there seems to be no valid output signal when they are used). Fixes: 6bc2e15cf21c ("drm: rcar-du: lvds: Add R-Car Gen3 support") Signed-off-by: Sergei Shtylyov <sergei.shtyl...@cogentembedded.com> --- drivers/gpu/drm/rcar-du/rcar_du_lvdsenc.c | 10 -- drivers/gpu/drm/rcar-du/

  1   2   >