[PATCH 1/3] dt-bindings: display: renesas: Add r8a774a1 support

2019-06-18 Thread Fabrizio Castro
Document RZ/G2M (R8A774A1) SoC bindings. Signed-off-by: Fabrizio Castro --- Documentation/devicetree/bindings/display/bridge/renesas,dw-hdmi.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/display/bridge/renesas,dw-hdmi.txt b

[PATCH 0/3] Add HDMI support to HiHope RZ/G2M

2019-06-18 Thread Fabrizio Castro
Dear All, this series adds HDMI support to the HiHope RZ/G2M board. Thanks, Fab Fabrizio Castro (3): dt-bindings: display: renesas: Add r8a774a1 support arm64: dts: renesas: r8a774a1: Add HDMI encoder instance arm64: dts: renesas: hihope-common: Add HDMI support .../bindings/display

RE: [PATCH 1/3] dt-bindings: display: renesas: Add r8a774a1 support

2019-06-19 Thread Fabrizio Castro
tch. > > On Tue, Jun 18, 2019 at 04:18:37PM +0100, Fabrizio Castro wrote: > > Document RZ/G2M (R8A774A1) SoC bindings. > > > > Signed-off-by: Fabrizio Castro > > Reviewed-by: Laurent Pinchart > > I don't have pending changes for this file for this kerne

RE: [PATCH v3 10/10] [HACK] arm64: dts: renesas: ebisu: Enable LVDS dual-link operation

2019-07-22 Thread Fabrizio Castro
Hello Jacopo, > From: linux-renesas-soc-ow...@vger.kernel.org > On Behalf Of Laurent Pinchart > Sent: 28 May 2019 15:13 > Subject: [PATCH v3 10/10] [HACK] arm64: dts: renesas: ebisu: Enable LVDS > dual-link operation > > Enable and connect the second LVDS encoder to the second LVDS input of >

RE: [PATCH v3 10/10] [HACK] arm64: dts: renesas: ebisu: Enable LVDS dual-link operation

2019-07-23 Thread Fabrizio Castro
, > > On Mon, Jul 22, 2019 at 11:27:26AM +, Fabrizio Castro wrote: > > Hello Jacopo, > > > > > From: linux-renesas-soc-ow...@vger.kernel.org > > > On Behalf Of Laurent Pinchart > > > Sent: 28 May 2019 15:13 > > > Subject: [PATCH v3 10/10

RE: [PATCH] drm: rcar_lvds: Fix dual link mode operations

2019-07-24 Thread Fabrizio Castro
find it. > > Currently the companion encoder fails at probe time, causing the > registration of the primary to fail preventing the whole DU unit to be > registered correctly. > > Fixes: fa440d870358 ("drm: rcar-du: lvds: Add support for dual-link mode") > Reported-by: F

[PATCH/RFC 00/12] Add dual-LVDS panel support to EK874

2019-08-02 Thread Fabrizio Castro
still pending: https://patchwork.kernel.org/patch/11054755/ Thanks, Fab Fabrizio Castro (12): dt-bindings: display: renesas: lvds: RZ/G2E needs renesas,companion too dt-bindings: display: renesas: lvds: Document renesas,swap-data dt-bindings: panel: lvds: Add dual-link LVDS display support

[PATCH/RFC 01/12] dt-bindings: display: renesas: lvds: RZ/G2E needs renesas,companion too

2019-08-02 Thread Fabrizio Castro
Document RZ/G2E support for property renesas,companion. Signed-off-by: Fabrizio Castro --- Documentation/devicetree/bindings/display/bridge/renesas,lvds.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/display/bridge/renesas

[PATCH/RFC 03/12] dt-bindings: panel: lvds: Add dual-link LVDS display support

2019-08-02 Thread Fabrizio Castro
Dual-link LVDS displays have two ports, therefore document this with the bindings. Signed-off-by: Fabrizio Castro --- .../bindings/display/panel/panel-lvds.txt | 91 -- 1 file changed, 67 insertions(+), 24 deletions(-) diff --git a/Documentation/devicetree/bindings

[PATCH/RFC 05/12] drm: rcar-du: lvds: Add data swap support

2019-08-02 Thread Fabrizio Castro
When in vertical stripe mode of operation, there is the option of swapping even data and odd data on the two LVDS interfaces used to drive the video output. Add data swap support by exposing a new DT property named "renesas,swap-data". Signed-off-by: Fabrizio Castro --- drivers/gpu/d

[PATCH/RFC 02/12] dt-bindings: display: renesas: lvds: Document renesas,swap-data

2019-08-02 Thread Fabrizio Castro
R-Car D3, R-Car E3, and RZ/G2E support dual-link mode. In such a mode, the first LVDS encoder emits even data, and the second LVDS encoder emits odd data. This patch documents property renesas,swap-data, used to swap even and odd data around. Signed-off-by: Fabrizio Castro --- Documentation

[PATCH/RFC 04/12] dt-bindings: display: Add bindings for Advantech IDK-2121WR

2019-08-02 Thread Fabrizio Castro
This panel is handled through the generic lvds-panel bindings, so only needs its additional compatible specified. Some panel specific documentation can be found here: https://buy.advantech.eu/Displays/Embedded-LCD-Kits-High-Brightness/model-IDK-2121WR-K2FHA2E.htm Signed-off-by: Fabrizio Castro

[PATCH/RFC 07/12] drm: rcar-du: lvds: Add support for dual link panels

2019-08-02 Thread Fabrizio Castro
If the display comes with two ports, assume it supports dual link. Signed-off-by: Fabrizio Castro --- drivers/gpu/drm/rcar-du/rcar_lvds.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/rcar-du/rcar_lvds.c b/drivers/gpu/drm/rcar-du/rcar_lvds.c index 2d54ae5..97c51c2

[PATCH/RFC 09/12] drm: rcar-du: lvds: Fix companion's mode

2019-08-02 Thread Fabrizio Castro
The companion encoder needs to be told to use the same mode as the primary encoder. Fixes: e9e8798ab7b8 ("drm: rcar-du: lvds: Add support for dual-link mode") Signed-off-by: Fabrizio Castro --- drivers/gpu/drm/rcar-du/rcar_lvds.c | 6 +- 1 file changed, 5 insertions(+), 1 deletio

[PATCH/RFC 06/12] drm: rcar-du: lvds: Do not look at ports for identifying bridges

2019-08-02 Thread Fabrizio Castro
imary LVDS encoder instance. We know we could be connected to either a bridge, or a panel, therefore look through the registered bridges and panels, until we have a match. Signed-off-by: Fabrizio Castro --- drivers/gpu/drm/rcar-du/rcar_lvds.c | 29 +++-- 1 file chang

[PATCH/RFC 08/12] drm: rcar-du: lvds: Fix bridge_to_rcar_lvds

2019-08-02 Thread Fabrizio Castro
er code to bridge driver") Signed-off-by: Fabrizio Castro --- drivers/gpu/drm/rcar-du/rcar_lvds.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/rcar-du/rcar_lvds.c b/drivers/gpu/drm/rcar-du/rcar_lvds.c index 97c51c2..edd63f5 100644 --- a/drivers/gpu/drm/r

[PATCH 0/4] Add LCD panel support to iwg20d

2019-10-31 Thread Fabrizio Castro
The iW-RainboW-G20D-Qseven RZ/G1M,G1N Qseven Development Platform comes with a 7" capacitive display kit from Emerging Display Technologies Corporation (EDT). This series adds all that's necessary for supporting it. Thanks, Fab Fabrizio Castro (4): drm/bridge: Repurpose lvds-enco

[PATCH 3/4] ARM: dts: iwg20d-q7-common: Add LCD support

2019-10-31 Thread Fabrizio Castro
The iwg20d comes with a 7" capacitive touch screen, therefore add support for it. Signed-off-by: Fabrizio Castro --- arch/arm/boot/dts/iwg20d-q7-common.dtsi | 85 arch/arm/boot/dts/iwg20d-q7-dbcm-ca.dtsi | 1 - 2 files changed, 85 insertions(+), 1 del

[PATCH 1/4] drm/bridge: Repurpose lvds-encoder.c

2019-10-31 Thread Fabrizio Castro
lvds-encoder.c implementation is also suitable for LVDS decoders, not just LVDS encoders. Instead of creating a new driver for addressing support for transparent LVDS decoders, repurpose lvds-encoder.c for the greater good. Signed-off-by: Fabrizio Castro --- drivers/gpu/drm/bridge/Kconfig

[PATCH 4/4] ARM: shmobile_defconfig: Enable support for panels from EDT

2019-10-31 Thread Fabrizio Castro
The iwg20d comes with an LCD panel from Emerging Display Technologies Corporation (EDT), therefore enable what's required to support it. Signed-off-by: Fabrizio Castro --- arch/arm/configs/shmobile_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/co

[PATCH 2/4] dt-bindings: display: bridge: Repurpose lvds-encoder

2019-10-31 Thread Fabrizio Castro
In an effort to repurpose lvds-encoder.c to also serve the function of LVDS decoders, we ended up defining a new "generic" compatible string, therefore adapt the dt-bindings to fit the new purpose. Signed-off-by: Fabrizio Castro --- .../bindings/display/bridge/lvds-codec.txt

RE: [PATCH 2/4] dt-bindings: display: bridge: Repurpose lvds-encoder

2019-11-04 Thread Fabrizio Castro
Hi Neil, Thank you for your feedback! > From: Neil Armstrong > Sent: 04 November 2019 09:17 > Subject: Re: [PATCH 2/4] dt-bindings: display: bridge: Repurpose lvds-encoder > > Hi, > > > On 30/10/2019 14:43, Fabrizio Castro wrote: > > In an effort to repurpose lv

RE: [PATCH 1/4] drm/bridge: Repurpose lvds-encoder.c

2019-11-04 Thread Fabrizio Castro
Hi Neil, Thank you for your feedback! > From: Neil Armstrong > Sent: 04 November 2019 09:18 > Subject: Re: [PATCH 1/4] drm/bridge: Repurpose lvds-encoder.c > > Hi, > > On 30/10/2019 14:43, Fabrizio Castro wrote: > > lvds-encoder.c implementation is also suitable

[PATCH v2 4/4] ARM: shmobile_defconfig: Enable support for panels from EDT

2019-11-04 Thread Fabrizio Castro
The iwg20d comes with an LCD panel from Emerging Display Technologies Corporation (EDT), therefore enable what's required to support it. Signed-off-by: Fabrizio Castro --- v1->v2: * No change --- arch/arm/configs/shmobile_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --gi

[PATCH v2 2/4] dt-bindings: display: bridge: Repurpose lvds-encoder

2019-11-04 Thread Fabrizio Castro
In an effort to repurpose lvds-encoder.c to also serve the function of LVDS decoders, we ended up defining a new "generic" compatible string, therefore adapt the dt-bindings to fit the new purpose. Also, convert the dt-bindings from .txt to .yaml while at it. Signed-off-by: Fabri

[PATCH v2 0/4] Add LCD panel support to iwg20d

2019-11-04 Thread Fabrizio Castro
The iW-RainboW-G20D-Qseven RZ/G1M,G1N Qseven Development Platform comes with a 7" capacitive display kit from Emerging Display Technologies Corporation (EDT). This series adds all that's necessary for supporting it. Thanks, Fab v1->v2: * Convert dt-bindings to dt-schema Fabri

[PATCH v2 1/4] drm/bridge: Repurpose lvds-encoder.c

2019-11-04 Thread Fabrizio Castro
lvds-encoder.c implementation is also suitable for LVDS decoders, not just LVDS encoders. Instead of creating a new driver for addressing support for transparent LVDS decoders, repurpose lvds-encoder.c for the greater good. Signed-off-by: Fabrizio Castro --- v1->v2: * No change --- drivers/

[PATCH v2 3/4] ARM: dts: iwg20d-q7-common: Add LCD support

2019-11-04 Thread Fabrizio Castro
The iwg20d comes with a 7" capacitive touch screen, therefore add support for it. Signed-off-by: Fabrizio Castro --- v1->v2: * No change --- arch/arm/boot/dts/iwg20d-q7-common.dtsi | 85 arch/arm/boot/dts/iwg20d-q7-dbcm-ca.dtsi | 1 - 2 files cha

RE: [PATCH v2 2/4] dt-bindings: display: bridge: Repurpose lvds-encoder

2019-11-05 Thread Fabrizio Castro
Hello Rob, Thank you for your feedback! > From: Rob Herring > Sent: 04 November 2019 21:23 > Subject: Re: [PATCH v2 2/4] dt-bindings: display: bridge: Repurpose > lvds-encoder > > On Mon, Nov 4, 2019 at 10:58 AM Fabrizio Castro > wrote: > > > > In an effo

[PATCH v3 4/7] drm: Define DRM_MODE_CONNECTOR_PARALLEL

2019-11-08 Thread Fabrizio Castro
The existing DRM_MODE_CONNECTOR_ definitions don't seem to describe the connector for RGB/Parallel embedded displays, hence add DRM_MODE_CONNECTOR_PARALLEL. Signed-off-by: Fabrizio Castro --- v2->v3: * New patch --- drivers/gpu/drm/drm_connector.c | 1 + include/uapi/drm/drm_mode.h

[PATCH v3 7/7] ARM: shmobile_defconfig: Enable support for panels from EDT

2019-11-08 Thread Fabrizio Castro
The iwg20d comes with an LCD panel from Emerging Display Technologies Corporation (EDT), therefore enable what's required to support it. Signed-off-by: Fabrizio Castro --- v2->v3: * No change v1->v2: * No change --- arch/arm/configs/shmobile_defconfig | 3 +++ 1 file changed, 3

[PATCH v3 1/7] dt-bindings: display: bridge: Convert lvds-transmitter binding to json-schema

2019-11-08 Thread Fabrizio Castro
Convert the lvds-transmitter binding to DT schema format using json-schema. Signed-off-by: Fabrizio Castro --- v2->v3: * Extracted conversion to dt-schema as per Rob's comment v1->v2: * Converted to dt-schema as per Neil's comment --- .../bindings/display/bridge/lvds-transm

RE: [PATCH v2 1/4] drm/bridge: Repurpose lvds-encoder.c

2019-11-08 Thread Fabrizio Castro
Hi Jacopo, Thank you for your feedback! > From: Jacopo Mondi > Sent: 07 November 2019 18:19 > Subject: Re: [PATCH v2 1/4] drm/bridge: Repurpose lvds-encoder.c > > Hi Fabrizio, > thanks for the patch. > > On Mon, Nov 04, 2019 at 04:58:00PM +, Fabrizio Castro w

[PATCH v3 2/7] drm/bridge: Repurpose lvds-encoder.c

2019-11-08 Thread Fabrizio Castro
lvds-encoder.c implementation is also suitable for LVDS decoders, not just LVDS encoders. Instead of creating a new driver for addressing support for transparent LVDS decoders, repurpose lvds-encoder.c for the greater good. Signed-off-by: Fabrizio Castro --- v2->v3: * No change v1->v2

[PATCH v3 6/7] ARM: dts: iwg20d-q7-common: Add LCD support

2019-11-08 Thread Fabrizio Castro
The iwg20d comes with a 7" capacitive touch screen, therefore add support for it. Signed-off-by: Fabrizio Castro --- v2->v3: * No change v1->v2: * No change --- arch/arm/boot/dts/iwg20d-q7-common.dtsi | 85 arch/arm/boot/dts/iwg20d-q7-dbcm-ca.dts

[PATCH v3 3/7] dt-bindings: display: bridge: Repurpose lvds-encoder

2019-11-08 Thread Fabrizio Castro
In an effort to repurpose lvds-encoder.c to also serve the function of LVDS decoders, we ended up defining a new "generic" compatible string, therefore adapt the dt-bindings to fit the new purpose. Signed-off-by: Fabrizio Castro --- v2->v3: * Extracted conversion to lvds-codec

RE: [PATCH v2 2/4] dt-bindings: display: bridge: Repurpose lvds-encoder

2019-11-08 Thread Fabrizio Castro
Hello Rob, Thank you for your feedback! > From: Rob Herring > Sent: 05 November 2019 17:08 > Subject: Re: [PATCH v2 2/4] dt-bindings: display: bridge: Repurpose > lvds-encoder > > On Tue, Nov 5, 2019 at 3:33 AM Fabrizio Castro > wrote: > > > > Hello Rob, &g

[PATCH v3 0/7] Add LCD panel support to iwg20d

2019-11-08 Thread Fabrizio Castro
v2: * Convert dt-bindings to dt-schema Fabrizio Castro (7): dt-bindings: display: bridge: Convert lvds-transmitter binding to json-schema drm/bridge: Repurpose lvds-encoder.c dt-bindings: display: bridge: Repurpose lvds-encoder drm: Define DRM_MODE_CONNECTOR_PARALLEL drm/panel: panel

[PATCH v3 5/7] drm/panel: panel-simple: Add connector type for etm0700g0dh6

2019-11-08 Thread Fabrizio Castro
Add connector type for the etm0700g0dh6 from Emerging Display Technologies (EDT). Signed-off-by: Fabrizio Castro --- v2->v3: * New patch --- 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/pa

RE: [PATCH v3 3/7] dt-bindings: display: bridge: Repurpose lvds-encoder

2019-11-10 Thread Fabrizio Castro
gt; Thank you for the patch. > > On Thu, Nov 07, 2019 at 08:10:59PM +, Fabrizio Castro wrote: > > In an effort to repurpose lvds-encoder.c to also serve the > > function of LVDS decoders, we ended up defining a new "generic" > > compatible string, therefore adapt the

RE: [PATCH v3 4/7] drm: Define DRM_MODE_CONNECTOR_PARALLEL

2019-11-10 Thread Fabrizio Castro
hank you for the patch. > > On Thu, Nov 07, 2019 at 08:11:00PM +, Fabrizio Castro wrote: > > The existing DRM_MODE_CONNECTOR_ definitions don't seem to > > describe the connector for RGB/Parallel embedded displays, > > hence add DRM_MODE_CONNECTOR_PARALLEL. > >

RE: [PATCH 1/4] drm/bridge: Repurpose lvds-encoder.c

2019-11-10 Thread Fabrizio Castro
Hi Geert, Thank you for your feedback! > From: Geert Uytterhoeven > Sent: 08 November 2019 09:21 > Subject: Re: [PATCH 1/4] drm/bridge: Repurpose lvds-encoder.c > > Hi Fabrizio, > > On Mon, Nov 4, 2019 at 11:42 AM Fabrizio Castro > wrote: > > > From: Neil A

RE: [PATCH v3 2/7] drm/bridge: Repurpose lvds-encoder.c

2019-11-10 Thread Fabrizio Castro
gt; On Thu, Nov 07, 2019 at 08:10:58PM +, Fabrizio Castro wrote: > > lvds-encoder.c implementation is also suitable for LVDS decoders, > > not just LVDS encoders. > > Instead of creating a new driver for addressing support for > > transparent LVDS decoders, repurpose l

RE: [PATCH v3 5/7] drm/panel: panel-simple: Add connector type for etm0700g0dh6

2019-11-10 Thread Fabrizio Castro
gt; Thank you for the patch. > > On Thu, Nov 07, 2019 at 08:11:01PM +, Fabrizio Castro wrote: > > Add connector type for the etm0700g0dh6 from Emerging Display > > Technologies (EDT). > > > > Signed-off-by: Fabrizio Castro > > > > --- > > v2

RE: [PATCH v3 1/7] dt-bindings: display: bridge: Convert lvds-transmitter binding to json-schema

2019-11-10 Thread Fabrizio Castro
Fabrizio, > > Thank you for the patch. > > On Thu, Nov 07, 2019 at 08:10:57PM +, Fabrizio Castro wrote: > > Convert the lvds-transmitter binding to DT schema format using > > json-schema. > > > > Signed-off-by: Fabrizio Castro > > > > --- >

RE: [PATCH v3 6/7] ARM: dts: iwg20d-q7-common: Add LCD support

2019-11-10 Thread Fabrizio Castro
tch. > > On Thu, Nov 07, 2019 at 08:11:02PM +, Fabrizio Castro wrote: > > The iwg20d comes with a 7" capacitive touch screen, therefore > > add support for it. > > > > Signed-off-by: Fabrizio Castro > > > > --- > > v2->v3: > > * No c

[PATCH v4 07/13] drm/bridge: lvds-codec: Simplify panel DT node localisation

2019-11-14 Thread Fabrizio Castro
these days. Signed-off-by: Fabrizio Castro --- v3->v4: * New patch --- drivers/gpu/drm/bridge/lvds-codec.c | 20 ++-- 1 file changed, 2 insertions(+), 18 deletions(-) diff --git a/drivers/gpu/drm/bridge/lvds-codec.c b/drivers/gpu/drm/bridge/lvds-codec.c index c32e125..784b

[PATCH v4 00/13] Add LCD panel support to iwg20d

2019-11-14 Thread Fabrizio Castro
PARALLEL * drm/panel: panel-simple: Add connector type for etm0700g0dh6 v1->v2: * Convert dt-bindings to dt-schema Fabrizio Castro (13): dt-bindings: display: bridge: Convert lvds-transmitter binding to json-schema dt-bindings: display: bridge: lvds-transmitter: Document powerdow

[PATCH v4 02/13] dt-bindings: display: bridge: lvds-transmitter: Document powerdown-gpios

2019-11-14 Thread Fabrizio Castro
Add documentation for property powerdown-gpios. The property is optional. Signed-off-by: Fabrizio Castro --- v3->v4: * New patch --- .../devicetree/bindings/display/bridge/lvds-transmitter.yaml | 5 + 1 file changed, 5 insertions(+) diff --git a/Documentation/devicetree/bindi

[PATCH v4 04/13] dt-bindings: display: bridge: lvds-transmitter: Document "ti, sn75lvds83"

2019-11-14 Thread Fabrizio Castro
Compatible string "ti,sn75lvds83" is being used by device tree rk3188-bqedison2qc.dts, but it's not documented anywhere, therefore document it within lvds-transmitter.yaml. Signed-off-by: Fabrizio Castro --- v3->v4: * New patch --- Documentation/devicetree/bindings/d

[PATCH v4 06/13] drm/bridge: lvds-codec: Add "lvds-decoder" support

2019-11-14 Thread Fabrizio Castro
p with the data matching the compatible string. Signed-off-by: Fabrizio Castro --- v3->v4: * New patch --- drivers/gpu/drm/bridge/lvds-codec.c | 19 --- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/bridge/lvds-codec.c b/drivers/gpu/drm/b

[PATCH v4 12/13] [HACK] drm/bridge: lvds-codec: Enforce device specific compatible strings

2019-11-14 Thread Fabrizio Castro
sing markers for the compatible string we match against and the index of the matching compatible string in the list. Signed-off-by: Fabrizio Castro --- Hi Laurent, I don't think we need to do anything in the driver to address your comment, as we can "enforce" this with the bindings (ple

[PATCH v4 11/13] ARM: shmobile_defconfig: Enable support for panels from EDT

2019-11-14 Thread Fabrizio Castro
The iwg20d comes with an LCD panel from Emerging Display Technologies Corporation (EDT), therefore enable what's required to support it. Signed-off-by: Fabrizio Castro --- v3->v4: * No change v2->v3: * No change v1->v2: * No change --- arch/arm/configs/shmobile_defconfig |

[PATCH v4 09/13] dt-bindings: display: bridge: lvds-codec: Document ti, ds90cf384a

2019-11-14 Thread Fabrizio Castro
The DS90CF384A from TI is a transparent LVDS receiver (decoder), and therefore it is compatible with the lvds-codec driver and bindings. Document the ti,ds90cf384a compatible string with the dt-bindings. No driver change required. Signed-off-by: Fabrizio Castro --- v3->v4: * New pa

[PATCH v4 01/13] dt-bindings: display: bridge: Convert lvds-transmitter binding to json-schema

2019-11-14 Thread Fabrizio Castro
Convert the lvds-transmitter binding to DT schema format using json-schema. Signed-off-by: Fabrizio Castro --- v3->v4: * Fixed the description of property "compatible" according to Laurent's comments v2->v3: * Extracted conversion to dt-schema as per Rob's comment

[PATCH v4 10/13] ARM: dts: iwg20d-q7-common: Add LCD support

2019-11-14 Thread Fabrizio Castro
The iwg20d comes with a 7" capacitive touch screen, therefore add support for it. Signed-off-by: Fabrizio Castro --- v3->v4: * Reworked compatibility of DT node lvds-receiver * s/powerdown/powerdown-gpios/g in lvds-receiver * Reworked compatibility of DT node panel v2->v3: * No ch

[PATCH v4 03/13] dt-bindings: display: bridge: lvds-transmitter: Absorb ti, ds90c185.txt

2019-11-14 Thread Fabrizio Castro
ti,ds90c185.txt documents LVDS encoders using the same driver as the one documented by lvds-transmitter.yaml. Since the properties listed in ti,ds90c185.txt are the same as the ones listed in lvds-transmitter.yaml, absorb the dt-binding into lvds-transmitter.yaml. Signed-off-by: Fabrizio Castro

[PATCH v4 13/13] [HACK] dt-bindings: display: bridge: lvds-codec: Absorb thine, thc63lvdm83d.txt

2019-11-14 Thread Fabrizio Castro
sorb thine,thc63lvdm83d.txt. Signed-off-by: Fabrizio Castro --- Hi Laurent, what do you think about this patch? Thanks, Fab v3->v4: * New patch --- .../bindings/display/bridge/lvds-codec.yaml| 5 +-- .../bindings/display/bridge/thine,thc63lvdm83d.txt | 50 -- 2 fil

[PATCH v4 05/13] drm/bridge: Repurpose lvds-encoder.c

2019-11-14 Thread Fabrizio Castro
driver, to make it suitable for hosting LVDS decoders support. The actual support for LVDS decoders will come with a later patch. Signed-off-by: Fabrizio Castro --- v3->v4: * The patch now only renames the driver (with related data structures and build options), changes the description of th

[PATCH v4 08/13] dt-bindings: display: bridge: Repurpose lvds-encoder

2019-11-14 Thread Fabrizio Castro
In an effort to repurpose lvds-encoder.c to also serve the function of LVDS decoders, we ended up defining a new "generic" compatible string ("lvds-decoder"), therefore adapt the dt schema to allow for the new compatible string. Signed-off-by: Fabrizio Castro --- v3->v

RE: [PATCH v4 3/7] drm: rcar-du: lvds: Get dual link configuration from DT

2019-12-17 Thread Fabrizio Castro
d in dual-LVDS mode. > > > > Rework the implementation of rcar_lvds_parse_dt_companion > > to make use of the DT markers while keeping backward > > compatibility. > > > > Signed-off-by: Fabrizio Castro > > > > --- > > v3->v4: > > * New p

RE: [PATCH v2] drm: rcar-du: lvds: Get mode from state

2019-12-17 Thread Fabrizio Castro
Hi Laurent, Thank you for your patch! > From: linux-renesas-soc-ow...@vger.kernel.org > On Behalf Of Laurent Pinchart > Sent: 13 December 2019 18:28 > Subject: [PATCH v2] drm: rcar-du: lvds: Get mode from state > > The R-Car LVDS encoder driver implements the bridge .mode_set() > operation for

RE: [PATCH v4 2/7] drm: rcar-du: lvds: Improve identification of panels

2019-12-17 Thread Fabrizio Castro
Hi Laurent, Thank you for your feedback! > From: Laurent Pinchart > Sent: 13 December 2019 21:22 > Subject: Re: [PATCH v4 2/7] drm: rcar-du: lvds: Improve identification of > panels > > Hi Fabrizio, > > Thank you for the patch. > > On Fri, Dec 06, 2019 at 04:

RE: [PATCH v4 1/7] drm: of: Add drm_of_lvds_get_dual_link_pixel_order

2019-12-17 Thread Fabrizio Castro
r the patch. > > On Fri, Dec 06, 2019 at 04:32:48PM +, Fabrizio Castro wrote: > > An LVDS dual-link connection is made of two links, with even > > pixels transitting on one link, and odd pixels on the other > > link. The device tree can be used to fully describe dua

RE: [PATCH v4 4/7] drm: rcar-du: lvds: Allow for even and odd pixels swap

2019-12-17 Thread Fabrizio Castro
for the patch. > > On Fri, Dec 06, 2019 at 04:32:51PM +, Fabrizio Castro wrote: > > DT properties dual-lvds-even-pixels and dual-lvds-odd-pixels > > can be used to work out if the driver needs to swap even > > and odd pixels around. > > &

[PATCH v5 6/6] arm64: dts: renesas: Add EK874 board with idk-2121wr display support

2019-12-17 Thread Fabrizio Castro
cted to the IDK-2121WR. Signed-off-by: Fabrizio Castro Acked-by: Laurent Pinchart --- Hi Geert, I think it is now safe for you to have a look at this patch. Thanks, Fab v4->v5: * no change v3->v4: * no change v2->v3: * removed renesas,swap-data property * added dual-lvds-odd-pixels a

[PATCH v5 4/6] drm: rcar-du: lvds: Allow for even and odd pixels swap

2019-12-17 Thread Fabrizio Castro
things to work properly. Signed-off-by: Fabrizio Castro --- v4->v5: * Addressed comments from Laurent's review v3->v4: * New patch extracted from patch: "drm: rcar-du: lvds: Add dual-LVDS panels support" --- drivers/gpu/drm/rcar-du/rcar_lvds.c | 67 +++

RE: [PATCH v4 5/7] drm: rcar-du: lvds: Fix mode for companion encoder

2019-12-17 Thread Fabrizio Castro
tch. > > On Fri, Dec 06, 2019 at 04:32:52PM +, Fabrizio Castro wrote: > > Primary and companion encoders need to set the same mode for > > things to work properly. > > > > rcar_lvds_mode_set gets called into for the primary encoder only, > > therefore initial

[PATCH v5 2/6] drm: rcar-du: lvds: Improve identification of panels

2019-12-17 Thread Fabrizio Castro
Dual-LVDS panels are mistakenly identified as bridges, this commit replaces the current logic with a call to drm_of_find_panel_or_bridge to sort that out. Signed-off-by: Fabrizio Castro --- v4->v5: * Addressed comments from Laurent's review v3->v4: * New patch extracted from pa

[PATCH v5 0/6] Add dual-LVDS panel support to EK874

2019-12-17 Thread Fabrizio Castro
://patchwork.kernel.org/patch/11290969/ As a result, patch "drm: rcar-du: lvds: Fix mode for companion encoder" has been dropped. Thanks, Fab Fabrizio Castro (6): drm: of: Add drm_of_lvds_get_dual_link_pixel_order drm: rcar-du: lvds: Improve identification of panels drm: rcar-du: lvds: Get

[PATCH v5 5/6] dt-bindings: display: Add idk-2121wr binding

2019-12-17 Thread Fabrizio Castro
Add binding for the idk-2121wr LVDS panel from Advantech. Some panel-specific documentation can be found here: https://buy.advantech.eu/Displays/Embedded-LCD-Kits-High-Brightness/model-IDK-2121WR-K2FHA2E.htm Signed-off-by: Fabrizio Castro Reviewed-by: Laurent Pinchart --- v4->v5: * No cha

[PATCH v5 3/6] drm: rcar-du: lvds: Get dual link configuration from DT

2019-12-17 Thread Fabrizio Castro
to make use of the DT markers while keeping backward compatibility. Signed-off-by: Fabrizio Castro Reviewed-by: Laurent Pinchart --- v4->v5: * Addressed comments from Laurent's review v3->v4: * New patch extracted from patch: "drm: rcar-du: lvds: Add dual-LVDS panels suppo

[PATCH v5 1/6] drm: of: Add drm_of_lvds_get_dual_link_pixel_order

2019-12-17 Thread Fabrizio Castro
pixels are expected to be generated from the first port, and even pixels from the other port. Signed-off-by: Fabrizio Castro Reviewed-by: Laurent Pinchart --- v4->v5: * Addressed comments from Laurent's review v3->v4: * New patch extracted from patch: "drm: rcar-du: lvds: Add

RE: [PATCH v4 06/13] drm/bridge: lvds-codec: Add "lvds-decoder" support

2019-12-18 Thread Fabrizio Castro
Hi Laurent, Thank you for your feedback! > From: Laurent Pinchart > Sent: 13 December 2019 17:11 > Subject: Re: [PATCH v4 06/13] drm/bridge: lvds-codec: Add "lvds-decoder" > support > > Hi Fabrizio, > > On Wed, Nov 13, 2019 at 03:51:25PM +, Fabrizio

[PATCH v6 4/6] drm: rcar-du: lvds: Allow for even and odd pixels swap

2019-12-18 Thread Fabrizio Castro
: Fabrizio Castro Reviewed-by: Laurent Pinchart --- v5->v6: * Renamed dual_link to link_type and reworked its usage v4->v5: * Addressed comments from Laurent's review v3->v4: * New patch extracted from patch: "drm: rcar-du: lvds: Add dual-LVDS panels support" --- drivers/gpu

RE: [PATCH v4 06/13] drm/bridge: lvds-codec: Add "lvds-decoder" support

2019-12-18 Thread Fabrizio Castro
> On Tue, Dec 17, 2019 at 12:03 PM Fabrizio Castro > wrote: > > > From: Laurent Pinchart > > > Sent: 13 December 2019 17:11 > > > Subject: Re: [PATCH v4 06/13] drm/bridge: lvds-codec: Add "lvds-decoder" > > > support > > > > > &

[PATCH v6 1/6] drm: of: Add drm_of_lvds_get_dual_link_pixel_order

2019-12-18 Thread Fabrizio Castro
pixels are expected to be generated from the first port, and even pixels from the other port. Signed-off-by: Fabrizio Castro Reviewed-by: Laurent Pinchart --- v5->v6: * No change v4->v5: * Addressed comments from Laurent's review v3->v4: * New patch extracted from patch: "

[PATCH v6 3/6] drm: rcar-du: lvds: Get dual link configuration from DT

2019-12-18 Thread Fabrizio Castro
to make use of the DT markers while keeping backward compatibility. Signed-off-by: Fabrizio Castro Reviewed-by: Laurent Pinchart --- v5->v6: * No change v4->v5: * Addressed comments from Laurent's review v3->v4: * New patch extracted from patch: "drm: rcar-du: lvds: A

[PATCH v6 6/6] arm64: dts: renesas: Add EK874 board with idk-2121wr display support

2019-12-18 Thread Fabrizio Castro
cted to the IDK-2121WR. Signed-off-by: Fabrizio Castro Acked-by: Laurent Pinchart --- Hi Geert, I think it is now safe for you to have a look at this patch. Thanks, Fab v5->v6: * No change v4->v5: * No change v3->v4: * No change v2->v3: * Removed renesas,swap-data property * Add

RE: [PATCH v3] drm: rcar-du: lvds: Get mode from state

2019-12-18 Thread Fabrizio Castro
ic drivers. > > While at it, clarify a few error messages in rcar_lvds_get_lvds_mode() > and turn them into warnings as they are not fatal. > > Signed-off-by: Laurent Pinchart Reviewed-by: Fabrizio Castro And I have tested this on the EK874, therefore Tested-by: Fabrizio Castro >

[PATCH v6 0/6] Add dual-LVDS panel support to EK874

2019-12-18 Thread Fabrizio Castro
p of patch: https://patchwork.kernel.org/patch/11295991/ Thanks, Fab Fabrizio Castro (6): drm: of: Add drm_of_lvds_get_dual_link_pixel_order drm: rcar-du: lvds: Improve identification of panels drm: rcar-du: lvds: Get dual link configuration from DT drm: rcar-du: lvds: Allow for even and odd p

[PATCH v6 5/6] dt-bindings: display: Add idk-2121wr binding

2019-12-18 Thread Fabrizio Castro
Add binding for the idk-2121wr LVDS panel from Advantech. Some panel-specific documentation can be found here: https://buy.advantech.eu/Displays/Embedded-LCD-Kits-High-Brightness/model-IDK-2121WR-K2FHA2E.htm Signed-off-by: Fabrizio Castro Reviewed-by: Laurent Pinchart --- v5->v6: * No cha

RE: [PATCH v4 06/13] drm/bridge: lvds-codec: Add "lvds-decoder" support

2019-12-18 Thread Fabrizio Castro
Hi guys, > From: Laurent Pinchart > Sent: 17 December 2019 13:54 > Subject: Re: [PATCH v4 06/13] drm/bridge: lvds-codec: Add "lvds-decoder" > support > > Hello, > > On Tue, Dec 17, 2019 at 01:38:51PM +0100, Geert Uytterhoeven wrote: > > On Tue, Dec 1

RE: [PATCH v5 4/6] drm: rcar-du: lvds: Allow for even and odd pixels swap

2019-12-18 Thread Fabrizio Castro
Hi Laurent, Thank you for your feedback! > From: Laurent Pinchart > Sent: 16 December 2019 21:35 > Subject: Re: [PATCH v5 4/6] drm: rcar-du: lvds: Allow for even and odd pixels > swap > > Hi Fabrizio, > > Thank you for the patch. > > On Mon, Dec 16, 2019 at 08:

[PATCH v6 2/6] drm: rcar-du: lvds: Improve identification of panels

2019-12-18 Thread Fabrizio Castro
Dual-LVDS panels are mistakenly identified as bridges, this commit replaces the current logic with a call to drm_of_find_panel_or_bridge to sort that out. Signed-off-by: Fabrizio Castro Reviewed-by: Laurent Pinchart --- v5->v6: * No change v4->v5: * Addressed comments from Laurent&#x

RE: [PATCH v4 06/13] drm/bridge: lvds-codec: Add "lvds-decoder" support

2019-12-18 Thread Fabrizio Castro
> From: linux-renesas-soc-ow...@vger.kernel.org > On Behalf Of Laurent Pinchart > Sent: 17 December 2019 23:09 > Subject: Re: [PATCH v4 06/13] drm/bridge: lvds-codec: Add "lvds-decoder" > support > > On Tue, Dec 17, 2019 at 10:06:14PM +, Fabrizio Castro wrote

RE: [PATCH v4 00/13] Add LCD panel support to iwg20d

2019-12-19 Thread Fabrizio Castro
Hi Neil, > From: Neil Armstrong > Sent: 18 December 2019 11:53 > Subject: Re: [PATCH v4 00/13] Add LCD panel support to iwg20d > > Hi, > > On 13/11/2019 16:51, Fabrizio Castro wrote: > > The iW-RainboW-G20D-Qseven RZ/G1M,G1N Qseven Development Platform > > c

RE: [PATCH] drm: of: Fix linking when CONFIG_OF is not set

2019-12-23 Thread Fabrizio Castro
Hi Laurent, > From: Laurent Pinchart > Sent: 19 December 2019 10:37 > To: dri-devel@lists.freedesktop.org > Cc: Fabrizio Castro ; Daniel Vetter > ; Dave Airlie > Subject: [PATCH] drm: of: Fix linking when CONFIG_OF is not set > > The new helper drm_of_lvds_g

RE: [PATCH v3 0/8] Add dual-LVDS panel support to EK874

2019-10-22 Thread Fabrizio Castro
Hi Laurent, Did you have any time to look into this series? Thanks, Fab > From: Fabrizio Castro > Sent: 28 August 2019 19:37 > Subject: [PATCH v3 0/8] Add dual-LVDS panel support to EK874 > > Dear All, > > this series adds support for dual-LVDS panel IDK-2121WR >

RE: [PATCH v4 12/13] [HACK] drm/bridge: lvds-codec: Enforce device specific compatible strings

2019-11-19 Thread Fabrizio Castro
ed, Nov 13, 2019 at 03:51:31PM +, Fabrizio Castro wrote: > > The lvds-codec driver is a generic stub for transparent LVDS > > encoders and decoders. > > It's good practice to list a device specific compatible string > > s/good practice/mandatory/ Will fix > &

RE: [PATCH v4 08/13] dt-bindings: display: bridge: Repurpose lvds-encoder

2019-11-19 Thread Fabrizio Castro
Hi Laurent, Thank you for your feedback! > From: Laurent Pinchart > Sent: 19 November 2019 00:08 > Subject: Re: [PATCH v4 08/13] dt-bindings: display: bridge: Repurpose > lvds-encoder > > Hi Fabrizio, > > Thank you for the patch. > > On Wed, Nov 13, 2019 at 03:

RE: [PATCH v4 12/13] [HACK] drm/bridge: lvds-codec: Enforce device specific compatible strings

2019-11-22 Thread Fabrizio Castro
, > > On Tue, Nov 19, 2019 at 11:17:34AM +, Fabrizio Castro wrote: > > On 19 November 2019 00:16 Laurent Pinchart wrote: > > > On Wed, Nov 13, 2019 at 03:51:31PM +, Fabrizio Castro wrote: > > > > The lvds-codec driver is a generic stub for transparent LVDS >

RE: [PATCH v4 12/13] [HACK] drm/bridge: lvds-codec: Enforce device specific compatible strings

2019-11-26 Thread Fabrizio Castro
Hi Geert, > From: Geert Uytterhoeven > Sent: 22 November 2019 08:17 > Subject: Re: [PATCH v4 12/13] [HACK] drm/bridge: lvds-codec: Enforce device > specific compatible strings > > Hi Fabrizio, > > On Thu, Nov 21, 2019 at 5:00 PM Fabrizio Castro > wrote

RE: [PATCH] drm: rcar-du: lvds: Get mode from state

2019-12-03 Thread Fabrizio Castro
Hello Laurent, Thank you for your patch! > From: linux-renesas-soc-ow...@vger.kernel.org > On Behalf Of Laurent Pinchart > Sent: 16 October 2019 00:25 > Subject: [PATCH] drm: rcar-du: lvds: Get mode from state > > The R-Car LVDS encoder driver implements the bridge .mode_set() > operation for

RE: [PATCH v3 3/8] drm: Add bus timings helper

2019-12-06 Thread Fabrizio Castro
> > > Thank you for the patch. > > > > On Wed, Aug 28, 2019 at 07:36:37PM +0100, Fabrizio Castro wrote: > > > Helper to provide bus timing information. > > > > You may want to expand this a bit. And actually fix it too, as the > > helper you introduce

RE: [PATCH v3 1/8] dt-bindings: display: Add bindings for LVDS bus-timings

2019-12-06 Thread Fabrizio Castro
Hi Rob, > From: Rob Herring > Sent: 29 August 2019 15:03 > Subject: Re: [PATCH v3 1/8] dt-bindings: display: Add bindings for LVDS > bus-timings > > On Wed, Aug 28, 2019 at 1:36 PM Fabrizio Castro > wrote: > > > > Dual-LVDS connections need markers in the DT

RE: [PATCH v3 1/8] dt-bindings: display: Add bindings for LVDS bus-timings

2019-12-06 Thread Fabrizio Castro
Aug 29, 2019 at 02:38:06PM +, Fabrizio Castro wrote: > > On 29 August 2019 15:03 Rob Herring wrote: > > > On Wed, Aug 28, 2019 at 1:36 PM Fabrizio Castro wrote: > > >> > > >> Dual-LVDS connections need markers in the DT, this patch adds > > >>

RE: [PATCH v3 2/8] dt-bindings: display: Add idk-2121wr binding

2019-12-06 Thread Fabrizio Castro
Hi Laurent, Thank you for your feedback! > From: Laurent Pinchart > Sent: 07 November 2019 18:12 > Subject: Re: [PATCH v3 2/8] dt-bindings: display: Add idk-2121wr binding > > Hi Fabrizio, > > Thank you for the patch. > > On Wed, Aug 28, 2019 at 07:36:36PM +

RE: [PATCH v3 3/8] drm: Add bus timings helper

2019-12-06 Thread Fabrizio Castro
ed, Aug 28, 2019 at 07:36:37PM +0100, Fabrizio Castro wrote: > > Helper to provide bus timing information. > > You may want to expand this a bit. And actually fix it too, as the > helper you introduce isn't related to timings (same for the subject > line). I'll rew

[PATCH v4 5/7] drm: rcar-du: lvds: Fix mode for companion encoder

2019-12-09 Thread Fabrizio Castro
: Add support for dual-link mode") Signed-off-by: Fabrizio Castro --- v3->v4: * New patch extracted from patch: "drm: rcar-du: lvds: Add dual-LVDS panels support" --- drivers/gpu/drm/rcar-du/rcar_lvds.c | 12 1 file changed, 12 insertions(+) diff --git a/drivers/gpu/drm

  1   2   3   >