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 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 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

[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's

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

[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 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:

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

2019-12-18 Thread Fabrizio Castro
ers. > > 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 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: Add du

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

2019-12-18 Thread Fabrizio Castro
-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 * Added dual-lvd

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: "drm:

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 +, Fabr

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

2019-12-18 Thread Fabrizio Castro
-by: 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/drm/

[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 patch:

[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 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 dual-

[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 support&qu

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 4/6] drm: rcar-du: lvds: Allow for even and odd pixels swap

2019-12-17 Thread Fabrizio Castro
for 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

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

2019-12-17 Thread Fabrizio Castro
-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 and dual-lvds-ev

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

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

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. > > &

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 v3 4/8] drm: rcar-du: lvds: Add dual-LVDS panels support

2019-12-09 Thread Fabrizio Castro
g 28, 2019 at 07:36:38PM +0100, Fabrizio Castro wrote: > > The driver doesn't support dual-link LVDS displays, and the way > > it identifies bridges won't allow for dual-LVDS displays to be > > connected. Also, it's not possible to swap even and odd pixels > > around in

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

2019-12-09 Thread Fabrizio Castro
to make use of the DT markers while keeping backward compatibility. 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 | 56 +++-

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

2019-12-09 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 --- v3->v4: * The patch had title "drm: Add bus timings helper" in v3 * The code has now been moved to drm_of, and has been fully restructured, thanks to Laure

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

2019-12-09 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 --- v3->v4: * New patch extracted from patch: "drm: rcar-du: lvds: Add dual-LVDS panels

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

2019-12-09 Thread Fabrizio Castro
for things to work properly. 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 | 46 + 1 file changed, 37 insertions(+), 9 delet

[PATCH v4 0/7] Add dual-LVDS panel support to EK874

2019-12-09 Thread Fabrizio Castro
ar-du: lvds: Add dual-LVDS panels support" has been split in 4 patches, patches "dt-bindings: display: Add bindings for LVDS bus-timings" and "dt-bindings: display: Add idk-2121wr binding" have been merged together, and a few issues have been fixed. Thanks, Fab Fabri

RE: [PATCH v3 5/8] drm: bridge: thc63: Do not report input bus mode through bridge timings

2019-12-09 Thread Fabrizio Castro
rizio, > > Thank you for the patch. > > On Wed, Aug 28, 2019 at 07:36:39PM +0100, Fabrizio Castro wrote: > > No need to report the input bus mode through bridge timings > > anymore, that's now done through the DT, as specified by the > > dt-bindings. > > Doesn't this

[PATCH v4 6/7] dt-bindings: display: Add idk-2121wr binding

2019-12-09 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 --- v3->v4: * Absorbed patch "dt-bindings: disp

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

2019-12-09 Thread Fabrizio Castro
-2121WR. Signed-off-by: Fabrizio Castro Acked-by: Laurent Pinchart --- v3->v4: * no change v2->v3: * removed renesas,swap-data property * added dual-lvds-odd-pixels and dual-lvds-even-pixels properties v1->v2: * Added comment for lvds-connector-en-gpio * Renamed _panel_in to panel_in0

[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

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 rework this c

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 3/8] drm: Add bus timings helper

2019-12-06 Thread Fabrizio Castro
io, > > > > 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 intro

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] 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 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 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 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-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 >

[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-&

[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 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 | 3 ++

[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 v1->v2

[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
r.c 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

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

2019-11-14 Thread Fabrizio Castro
ng 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 (please see the nex

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

2019-11-14 Thread Fabrizio Castro
h 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/bridge

[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/displa

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

2019-11-14 Thread Fabrizio Castro
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 powerdown-gpios dt-bindings: display

[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

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

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 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 4/7] drm: Define DRM_MODE_CONNECTOR_PARALLEL

2019-11-10 Thread Fabrizio Castro
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. > > Please, n

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 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 t

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

[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

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

2019-11-08 Thread Fabrizio Castro
dings 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-simple: Add con

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 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

[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-transmitter.txt

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-

[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 inse

[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

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 e

[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

[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 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 Fabrizio C

[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 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 --git a/a

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 repurpos

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

[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/configs

[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

[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 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 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-encoder.c

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 v3 0/8] Add dual-LVDS panel support to EK874

2019-09-02 Thread Fabrizio Castro
Hi Rob, Thank you for your feedback! > From: Rob Herring > Sent: 29 August 2019 16:27 > To: Fabrizio Castro > Subject: Re: [PATCH v3 0/8] Add dual-LVDS panel support to EK874 > > On Wed, Aug 28, 2019 at 1:36 PM Fabrizio Castro > wrote: > > > > Dear All,

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

2019-08-29 Thread Fabrizio Castro
Hi Rob, Thank you for your feedback! > 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 c

[PATCH v2 1/2] dt-bindings: display: Add idk-1110wr binding

2019-08-29 Thread Fabrizio Castro
Add binding for the idk-1110wr LVDS panel from Advantech. Some panel-specific documentation can be found here: https://buy.advantech.eu/Displays/Embedded-LCD-Kits-LCD-Kit-Modules/model-IDK-1110WR-55WSA1E.htm Signed-off-by: Fabrizio Castro --- v1->v2: * no change .../display/panel/advant

[PATCH v2 2/2] arm64: dts: renesas: Add HiHope RZ/G2M board with idk-1110wr display

2019-08-29 Thread Fabrizio Castro
to the idk-1110wr. Signed-off-by: Fabrizio Castro --- v1->v2: * added space between lvds-connector-en-gpio and curly brace arch/arm64/boot/dts/renesas/Makefile | 1 + .../r8a774a1-hihope-rzg2m-ex-idk-1110wr.dts| 86 ++ 2 files changed, 87 inserti

[PATCH v2 0/2] Add LVDS panel support to HiHope RZ/G2M

2019-08-29 Thread Fabrizio Castro
Dear All, the HiHope RZ/G2M is advertised as supporting panel idk-1110wr from Advantech, but the panel doesn't come with the board, it has to purchased separatey, therefore this series adds panel support to a new DT. v1->v2 * fixed a space according to Geert's feedback. Thanks, Fab Fabri

RE: [PATCH 2/2] arm64: dts: renesas: Add HiHope RZ/G2M board with idk-1110wr display

2019-08-29 Thread Fabrizio Castro
Hi Geert, Thank you for your feedback! > From: Geert Uytterhoeven > Sent: 29 August 2019 11:51 > Subject: Re: [PATCH 2/2] arm64: dts: renesas: Add HiHope RZ/G2M board with > idk-1110wr display > > Hi Fabrizio, > > On Thu, Aug 29, 2019 at 12:22 PM Fabrizio Castro >

[PATCH 0/2] Add LVDS panel support to HiHope RZ/G2M

2019-08-29 Thread Fabrizio Castro
Dear All, the HiHope RZ/G2M is advertised as supporting panel idk-1110wr from Advantech, but the panel doesn't come with the board, it has to purchased separatey, therefore this series adds panel support to a new DT. Thanks, Fab Fabrizio Castro (2): dt-bindings: display: Add idk-1110wr

  1   2   3   >