Re: [PATCH v2 0/5] Add support for GE SUNH hot-pluggable connector (was: "drm: add support for hot-pluggable bridges")

2024-05-20 Thread Luca Ceresoli
Hello Daniel, On Thu, 16 May 2024 15:22:01 +0200 Daniel Vetter wrote: > Apologies for missing v1 ... > > On Fri, May 10, 2024 at 09:10:36AM +0200, Luca Ceresoli wrote: > > DRM hotplug bridge driver > > = > > > > DRM natively sup

Re: [PATCH v2 0/5] Add support for GE SUNH hot-pluggable connector (was: "drm: add support for hot-pluggable bridges")

2024-05-14 Thread Luca Ceresoli
Hello Rob, On Fri, 10 May 2024 11:44:49 -0500 Rob Herring wrote: > On Fri, May 10, 2024 at 09:10:36AM +0200, Luca Ceresoli wrote: [...] > > Overall approach > > > > > > Device tree overlays appear as the most natural solution to support t

Re: [PATCH v2 1/5] dt-bindings: connector: add GE SUNH hotplug addon connector

2024-05-14 Thread Luca Ceresoli
Hello Rob, +cc Srinivas and Miquèl for the NVMEM cell discussion below On Fri, 10 May 2024 11:36:25 -0500 Rob Herring wrote: > On Fri, May 10, 2024 at 09:10:37AM +0200, Luca Ceresoli wrote: > > Add bindings for the GE SUNH add-on connector. This is a physical, > > hot-plug

Re: [PATCH v2 5/5] misc: add ge-addon-connector driver

2024-05-10 Thread Luca Ceresoli
Hi Greg, Arnd, On Fri, 10 May 2024 12:57:24 +0200 "Arnd Bergmann" wrote: > On Fri, May 10, 2024, at 12:54, Luca Ceresoli wrote: > > On Fri, 10 May 2024 12:24:06 +0200 "Arnd Bergmann" wrote: > >> On Fri, May 10, 2024, at 09:55, Greg Kroah-Hartman wrote:

Re: [PATCH v2 1/5] dt-bindings: connector: add GE SUNH hotplug addon connector

2024-05-10 Thread Luca Ceresoli
Hello Rob, On Fri, 10 May 2024 08:22:53 -0500 Rob Herring wrote: > On Fri, May 10, 2024 at 5:37 AM Luca Ceresoli > wrote: > > > > Hello Rob, > > > > On Fri, 10 May 2024 03:41:35 -0500 > > "Rob Herring (Arm)" wrote: > > > >

Re: [PATCH v2 5/5] misc: add ge-addon-connector driver

2024-05-10 Thread Luca Ceresoli
Hello Greg, Arnd, On Fri, 10 May 2024 12:24:06 +0200 "Arnd Bergmann" wrote: > On Fri, May 10, 2024, at 09:55, Greg Kroah-Hartman wrote: > > On Fri, May 10, 2024 at 09:10:41AM +0200, Luca Ceresoli wrote: > >> > >> +config GE_SUNH_CONNECTOR > >>

Re: [PATCH v2 5/5] misc: add ge-addon-connector driver

2024-05-10 Thread Luca Ceresoli
Hello Greg, thanks for reviewing. On Fri, 10 May 2024 08:55:29 +0100 Greg Kroah-Hartman wrote: > On Fri, May 10, 2024 at 09:10:41AM +0200, Luca Ceresoli wrote: > > Add a driver to support the runtime hot-pluggable add-on connector on the > > GE SUNH device. This connector al

Re: [PATCH v2 1/5] dt-bindings: connector: add GE SUNH hotplug addon connector

2024-05-10 Thread Luca Ceresoli
Hello Rob, On Fri, 10 May 2024 03:41:35 -0500 "Rob Herring (Arm)" wrote: > On Fri, 10 May 2024 09:10:37 +0200, Luca Ceresoli wrote: > > Add bindings for the GE SUNH add-on connector. This is a physical, > > hot-pluggable connector that allows to attach and detach at run

[PATCH v2 5/5] misc: add ge-addon-connector driver

2024-05-10 Thread Luca Ceresoli
-on models can be connected, and each has an EEPROM with a model identifier at a fixed address. The add-on hardware is added and removed using device tree overlay loading and unloading. Co-developed-by: Herve Codina Signed-off-by: Herve Codina Signed-off-by: Luca Ceresoli --- This commit is new

[PATCH v2 3/5] drm/encoder: add drm_encoder_cleanup_from()

2024-05-10 Thread Luca Ceresoli
Supporting hardware whose final part of the DRM pipeline can be physically removed requires the ability to detach all bridges from a given point to the end of the pipeline. Introduce a variant of drm_encoder_cleanup() for this. Signed-off-by: Luca Ceresoli --- Changed in v2: - fix a typo

[PATCH v2 4/5] drm/bridge: hotplug-bridge: add driver to support hot-pluggable DSI bridges

2024-05-10 Thread Luca Ceresoli
hoc lookup is needed The code handling these and other tricky aspects is accurately documented by comments in the code. Co-developed-by: Paul Kocialkowski Signed-off-by: Paul Kocialkowski Signed-off-by: Luca Ceresoli --- Changed in v2: - change to be a platform device instantiated from the conn

[PATCH v2 2/5] drm/bridge: add bridge notifier to be notified of bridge addition and removal

2024-05-10 Thread Luca Ceresoli
From: Paul Kocialkowski In preparation for allowing bridges to be added to and removed from a DRM card without destroying the whole card, add a DRM bridge notifier. Notified events are addition and removal to/from the global bridge list. Co-developed-by: Luca Ceresoli Signed-off-by: Luca

[PATCH v2 1/5] dt-bindings: connector: add GE SUNH hotplug addon connector

2024-05-10 Thread Luca Ceresoli
Add bindings for the GE SUNH add-on connector. This is a physical, hot-pluggable connector that allows to attach and detach at runtime an add-on adding peripherals on non-discoverable busses. Signed-off-by: Luca Ceresoli --- NOTE: the second and third examples fail 'make dt_binding_check

[PATCH v2 0/5] Add support for GE SUNH hot-pluggable connector (was: "drm: add support for hot-pluggable bridges")

2024-05-10 Thread Luca Ceresoli
no activity recently about this. Continuing this work in on my todo list. [1] https://lore.kernel.org/all/20240430083730.134918-1-herve.cod...@bootlin.com That's all == Thanks for you patience in reading this! Luca Changes in v2: - Added bindings and driver for ge,sunh-addon-connector -

[PATCH RESEND] Revert "drm/bridge: ti-sn65dsi83: Fix enable error path"

2024-04-26 Thread Luca Ceresoli
ore.kernel.org/all/15244220.uLZWGnKmhe@steina-w/ Fixes: 8a91b29f1f50 ("drm/bridge: ti-sn65dsi83: Fix enable error path") Reviewed-by: Alexander Stein Signed-off-by: Luca Ceresoli --- Many thanks to Alexander for the discussion. --- drivers/gpu/drm/bridge/ti-sn65dsi83.c | 1 - 1 file changed

Re: [PATCH 4/4] drm/bridge: hotplug-bridge: add driver to support hot-pluggable DSI bridges

2024-04-11 Thread Luca Ceresoli
Hi Maxime, On Wed, 27 Mar 2024 17:08:49 +0100 Luca Ceresoli wrote: [...] > > There's several additional hurdles there: > > > > - You mentioned the connector in your ideal scenario. But as soon as > >you remove the last bridge, the connector will probably go away

Re: [PATCH 1/4] dt-bindings: display: bridge: add the Hot-plug MIPI DSI connector

2024-04-03 Thread Luca Ceresoli
Hello Rob, [+Cc Wolfram for the I2C discussion below] thanks for your feedback. On Wed, 27 Mar 2024 11:09:08 -0500 Rob Herring wrote: > On Tue, Mar 26, 2024 at 05:28:11PM +0100, Luca Ceresoli wrote: > > Add bindings for a physical, hot-pluggable connector allowing the far end >

Re: [PATCH 4/4] drm/bridge: hotplug-bridge: add driver to support hot-pluggable DSI bridges

2024-03-27 Thread Luca Ceresoli
Hi Maxime, On Wed, 27 Mar 2024 13:42:40 +0100 Maxime Ripard wrote: > On Tue, Mar 26, 2024 at 05:28:14PM +0100, Luca Ceresoli wrote: > > This driver implements the point of a DRM pipeline where a connector allows > > removal of all the following bridges up to the panel. &

[PATCH 4/4] drm/bridge: hotplug-bridge: add driver to support hot-pluggable DSI bridges

2024-03-26 Thread Luca Ceresoli
hoc lookup is needed The code handling these and other tricky aspects is accurately documented by comments in the code. Co-developed-by: Paul Kocialkowski Signed-off-by: Paul Kocialkowski Signed-off-by: Luca Ceresoli --- MAINTAINERS | 1 + drivers/gpu/drm/bridge/Kconfi

[PATCH 3/4] drm/encoder: add drm_encoder_cleanup_from()

2024-03-26 Thread Luca Ceresoli
Supporting hardware whose final part of the DRM pipeline can be physically removed requires the ability to detach all bridges from a given point to the end of the pipeline. Introduce a variant of drm_encoder_cleanup() for this. Signed-off-by: Luca Ceresoli --- drivers/gpu/drm/drm_encoder.c

[PATCH 1/4] dt-bindings: display: bridge: add the Hot-plug MIPI DSI connector

2024-03-26 Thread Luca Ceresoli
Add bindings for a physical, hot-pluggable connector allowing the far end of a MIPI DSI bus to be connected and disconnected at runtime. Signed-off-by: Luca Ceresoli --- .../bridge/hotplug-video-connector-dsi.yaml| 87 ++ MAINTAINERS

[PATCH 2/4] drm/bridge: add bridge notifier to be notified of bridge addition and removal

2024-03-26 Thread Luca Ceresoli
From: Paul Kocialkowski In preparation for allowing bridges to be added to and removed from a DRM card without destroying the whole card, add a DRM bridge notifier. Notified events are addition and removal to/from the global bridge list. Co-developed-by: Luca Ceresoli Signed-off-by: Luca

[PATCH 0/4] drm: add support for hot-pluggable bridges

2024-03-26 Thread Luca Ceresoli
tested by other means, even with a hardware that has no removable parts, "pretending" that one or more bridges can be removed: * remove and re-insert the driver module for the DRM bridge after the hotplug-bridge * unbind/bind the DRM bridge after the hotplug-bridge from its drive

Re: [PATCH] fbcon: Increase maximum font width x height to 64 x 64

2024-03-13 Thread Luca Ceresoli
inux-6.4/drivers/video/fbdev/core/fbcon.c Apparently you are not using git to track your changes, so I recommend using it to have all the git utilities available. Best regards, Luca -- Luca Ceresoli, Bootlin Embedded Linux and Kernel engineering https://bootlin.com

Re: [PATCH 1/1] drm/bridge: ti-sn65dsi83: Fix enable error path

2024-03-06 Thread Luca Ceresoli
Hello Alexander, On Fri, 01 Mar 2024 11:45:27 +0100 Alexander Stein wrote: > Hi Luca, > > Am Freitag, 1. März 2024, 11:10:59 CET schrieb Luca Ceresoli: > > Hello Alexander, > > > > On Fri, 01 Mar 2024 10:57:37 +0100 > > Alexander Stein wrote: > > &g

[PATCH] Revert "drm/bridge: ti-sn65dsi83: Fix enable error path"

2024-03-06 Thread Luca Ceresoli
ore.kernel.org/all/15244220.uLZWGnKmhe@steina-w/ Fixes: 8a91b29f1f50 ("drm/bridge: ti-sn65dsi83: Fix enable error path") Signed-off-by: Luca Ceresoli --- Many thanks to Alexander for the discussion. --- drivers/gpu/drm/bridge/ti-sn65dsi83.c | 1 - 1 file changed, 1 deletion(-) diff --git a/dri

Re: [PATCH 1/1] drm/bridge: ti-sn65dsi83: Fix enable error path

2024-03-01 Thread Luca Ceresoli
Hello Alexander, On Fri, 01 Mar 2024 10:57:37 +0100 Alexander Stein wrote: > Hi Luca, > > Am Freitag, 1. März 2024, 10:44:49 CET schrieb Luca Ceresoli: > > Hello Alexander, > > > > On Thu, 29 Feb 2024 12:11:23 +0100 > > Alexander Stein wrote: > > &g

Re: [PATCH 1/1] drm/bridge: ti-sn65dsi83: Fix enable error path

2024-03-01 Thread Luca Ceresoli
Hello Alexander, On Thu, 29 Feb 2024 12:11:23 +0100 Alexander Stein wrote: > Hi Luca, > > Am Donnerstag, 29. Februar 2024, 10:47:23 CET schrieb Luca Ceresoli: > > Hello Alexander, > > > > On Wed, 28 Feb 2024 09:15:46 +0100 > > Alexander Stein wrote: >

Re: [PATCH 1/1] drm/bridge: ti-sn65dsi83: Fix enable error path

2024-03-01 Thread Luca Ceresoli
On Thu, 29 Feb 2024 11:48:27 +0100 Frieder Schrempf wrote: > On 29.02.24 10:47, Luca Ceresoli wrote: > > Hello Alexander, > > > > On Wed, 28 Feb 2024 09:15:46 +0100 > > Alexander Stein wrote: > > > > > > [...] > > > >&

Re: [PATCH 1/1] drm/bridge: ti-sn65dsi83: Fix enable error path

2024-02-29 Thread Luca Ceresoli
regulator_disable(ctx->vcc); > return; > } > --->8--- > > So my patch indeed did fix an actual problem. On the other hand it seems > sn65dsi83_atomic_disable is not called in my case for some reason. So you remove the module and atomic_disable is not called, after having called atomic_pre_enable? I'm very possibly missing something, but this looks like a bug in the DRM bridge code at first sight. Luca -- Luca Ceresoli, Bootlin Embedded Linux and Kernel engineering https://bootlin.com

Re: [PATCH 1/1] drm/bridge: ti-sn65dsi83: Fix enable error path

2024-02-27 Thread Luca Ceresoli
Hi Alexander, thanks for your feedback! On Tue, 27 Feb 2024 13:05:46 +0100 Alexander Stein wrote: > Hi Luca, > > Am Donnerstag, 22. Februar 2024, 16:36:37 CET schrieb Luca Ceresoli: > > Hello Alexander, > > > > On Thu, 4 May 2023 08:53:16 +0200

Re: [PATCH 1/1] drm/bridge: ti-sn65dsi83: Fix enable error path

2024-02-22 Thread Luca Ceresoli
_atomic_pre_enable() locally and it worked fine. Then I did some git log and found you added this line on purpose (even though it was in sn65dsi83_atomic_enable() initially), so my question is whether you can explain exactly what was wrong before your patch. I have been working for a few weeks with

Re: [PATCH V8 10/12] drm/bridge: imx: add bridge wrapper driver for i.MX8MP DWC HDMI

2024-02-06 Thread Luca Ceresoli
wed-by: Laurent Pinchart > Tested-by: Marek Vasut > Tested-by: Adam Ford #imx8mp-beacon > Tested-by: Richard Leitner > Tested-by: Frieder Schrempf > Tested-by: Luca Ceresoli > Signed-off-by: Adam Ford Reviewed-by: Luca Ceresoli -- Luca Ceresoli, Bootlin Embedded Linux and Kernel engineering https://bootlin.com

Re: [PATCH V8 09/12] dt-bindings: display: imx: add binding for i.MX8MP HDMI TX

2024-02-06 Thread Luca Ceresoli
i_tx_from_pvi: endpoint { > + remote-endpoint = <_to_hdmi_tx>; > + }; > + }; > + > + port@1 { > + reg = <1>; > + hdmi_tx_out: endpoint { Two excess indenting spaces on this line (port@0 is correct). Also, I think there should an empty line between properties and nodes. With these fixed: Reviewed-by: Luca Ceresoli Luca -- Luca Ceresoli, Bootlin Embedded Linux and Kernel engineering https://bootlin.com

Re: [PATCH V8 07/12] dt-bindings: display: imx: add binding for i.MX8MP HDMI PVI

2024-02-06 Thread Luca Ceresoli
Ford Reviewed-by: Luca Ceresoli -- Luca Ceresoli, Bootlin Embedded Linux and Kernel engineering https://bootlin.com

Re: [PATCH V8 02/12] phy: freescale: add Samsung HDMI PHY

2024-02-06 Thread Luca Ceresoli
n"); > + > + ret = of_clk_add_provider(np, of_clk_src_simple_get, phyclk); Ouch: > This function is *deprecated*. Use of_clk_add_hw_provider() instead. Appears as an easy replacement though. Otherwise looks good. Luca -- Luca Ceresoli, Bootlin Embedded Linux and Kernel engineering https://bootlin.com

Re: [PATCH V8 01/12] dt-bindings: phy: add binding for the i.MX8MP HDMI PHY

2024-02-06 Thread Luca Ceresoli
On Sat, 3 Feb 2024 10:52:41 -0600 Adam Ford wrote: > From: Lucas Stach > > Add a DT binding for the HDMI PHY found on the i.MX8MP SoC. > > Signed-off-by: Lucas Stach > Signed-off-by: Adam Ford > Reviewed-by: Krzysztof Kozlowski Reviewed-by: Luca Ceresoli -- L

Re: [PATCH V7 2/2] drm/bridge: imx: add driver for HDMI TX Parallel Video Interface

2024-02-02 Thread Luca Ceresoli
ce is the LCDIF. The block > just needs to be powered up and told about the polarity of the video > sync signals to act in bypass mode. > > Signed-off-by: Lucas Stach > Reviewed-by: Luca Ceresoli (v2) > Tested-by: Marek Vasut (v1) > Tested-by: Luca Ceresoli (v2) > Tested-by: Ric

Re: [PATCH V2 2/2] phy: freescale: add Samsung HDMI PHY

2024-02-02 Thread Luca Ceresoli
however I also tested this version which works as well, on v6.8-rc1, custom hardware based on the Avnet i.MX8MP SMARC SoM. Tested-by: Luca Ceresoli Generally speaking, as there are several small patch series around which together implement HDMI on iMX8MP and similar, I think it would be much easier fore

Re: [PATCH v3 14/24] of: property: add of_graph_get_next_endpoint()

2024-01-31 Thread Luca Ceresoli
r this function would probably be of_graph_get_next_port_endpoint() I guess, to clearly differentiate from of_graph_get_next_device_endpoint(). Luca -- Luca Ceresoli, Bootlin Embedded Linux and Kernel engineering https://bootlin.com

Re: [PATCH v3 2/2] drm/bridge: imx: add driver for HDMI TX Parallel Video Interface

2023-12-18 Thread Luca Ceresoli
ase and upstream the rest. I agree as well, "release early, release often". These patches are around since a long time and lots of people are using them already, and tracking all of them from different threads is time-consuming. I will happily test them early as soon as they are sent. Luca -- Luca Ceresoli, Bootlin Embedded Linux and Kernel engineering https://bootlin.com

[PATCH] dt-bindings: display: remove backlight node from panel examples

2023-10-11 Thread Luca Ceresoli
/ Suggested-by: Rob Herring Signed-off-by: Luca Ceresoli --- Documentation/devicetree/bindings/display/ilitek,ili9486.yaml | 4 Documentation/devicetree/bindings/display/panel/ilitek,ili9163.yaml | 4 Documentation/devicetree/bindings/display/sitronix,st7735r.yaml | 5 - 3 files

Re: [PATCH v4 1/2] dt-bindings: display: imx: add binding for i.MX8MP HDMI PVI

2023-09-29 Thread Luca Ceresoli
> +#include > + > +display-bridge@32fc4000 { > +compatible = "fsl,imx8mp-hdmi-pvi"; > +reg = <0x32fc4000 0x40>; The device has up to register 0x40, thus I guess the second value should be 0x44 here. Or maybe 0x100, just to be comfortable. :) Luca -- Luca Ceresoli, Bootlin Embedded Linux and Kernel engineering https://bootlin.com

Re: [PATCH v4 2/2] drm/bridge: imx: add driver for HDMI TX Parallel Video Interface

2023-09-29 Thread Luca Ceresoli
ck > just needs to be powered up and told about the polarity of the video > sync signals to act in bypass mode. > > Signed-off-by: Lucas Stach > Reviewed-by: Luca Ceresoli (v2) I was in Cc on your v3 but not on this v4. Maybe the " (v2)" on these lines confuses get_maintai

Re: [PATCH v2 4/4] drm/bridge: imx: add driver for HDMI TX Parallel Video Interface

2023-08-18 Thread Luca Ceresoli
fg.flags; > + > + if (bus_flags & DRM_BUS_FLAG_DE_HIGH) > + val |= PVI_CTL_OP_DE_POL | PVI_CTL_INP_DE_POL; > + > + writel(val, pvi->regs + HTX_PVI_CTL); > + val |= PVI_CTL_EN; > + writel(val, pvi->regs + HTX_PVI_CTL); I guess I'm missing something here: why can't one just write the register once, with the enable bit set? I tried removing the first writel() and everything seems to work just the same. With these fixed: Reviewed-by: Luca Ceresoli And definitely: [Tested on a custom board using modetest on v6.5-rc6] Tested-by: Luca Ceresoli -- Luca Ceresoli, Bootlin Embedded Linux and Kernel engineering https://bootlin.com

Re: [PATCH v2 2/4] drm/bridge: imx: add bridge wrapper driver for i.MX8MP DWC HDMI

2023-08-18 Thread Luca Ceresoli
Pinchart > Tested-by: Marek Vasut I realized I had sent my Tested-by to v1 when v2 was already out. So, in case you still need some encouragement for keeping on with this series: [Tested on a custom board using modetest on v6.5-rc6] Tested-by: Luca Ceresoli -- Luca Ceresoli, Bootlin Embe

[PATCH v2] drm/panel: simple: Fix Innolux G156HCE-L01 LVDS clock

2023-08-14 Thread Luca Ceresoli
ally works with the intended 70.93 MHz clock and even lower frequencies so the flickering is likely caused either by a defective unit or by other different components such as the bridge. Fixes: eae7488814b5 ("drm/panel-simple: Add Innolux G156HCE-L01 panel entry") Signed-off-by: Luca Ceresoli Te

Re: [PATCH] drm/panel: simple: Fix Innolux G156HCE-L01 LVDS clock

2023-08-14 Thread Luca Ceresoli
Hello Neil, On Mon, 14 Aug 2023 14:38:51 +0200 Neil Armstrong wrote: > On 04/08/2023 17:10, Luca Ceresoli wrote: > > This panel has been implemented in commit 225213f24c79 ("drm/panel-simple: > > Add Innolux G156HCE-L01 panel entry") with a higher clock than the

[PATCH v2 2/3] dt-bindings: display: panel: Add panels based on ILITEK ILI9806E

2023-08-10 Thread Luca Ceresoli
Add bindings for LCD panels based on the ILITEK ILI9806E RGB controller connected over SPI and the "ShenZhen New Display Co NDS040480800-V3" 480x800 panel based on it. Signed-off-by: Luca Ceresoli --- Changes in v2: - remove T: line form MAINTAINERS entry - reference spi-

[PATCH v2 3/3] DRM: panel: add Ilitek ILI9806E driver

2023-08-10 Thread Luca Ceresoli
Add a driver for the ILITEK ILI9806E 480x864 RGB LCD controller connected over SPI, and implement the ShenZhen New Display Co NDS040480800-V3 480x800 panel. Signed-off-by: Luca Ceresoli --- Changes in v2: - add ILI9806E_P1_DISCTRL1 bit description --- MAINTAINERS

[PATCH v2 1/3] dt-bindings: vendor-prefixes: add ShenZhen New Display Co.

2023-08-10 Thread Luca Ceresoli
ShenZhen New Display Co., Limited is the manufacturer of the NDS040480800-V3 LCD panel according the datasheet. Signed-off-by: Luca Ceresoli --- Changes in v2: none --- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation

[PATCH] drm/panel: simple: Fix AUO G121EAN01 panel timings according to the docs

2023-08-04 Thread Luca Ceresoli
el") Signed-off-by: Luca Ceresoli --- drivers/gpu/drm/panel/panel-simple.c | 24 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c index 701013b3ad13..56854f78441e 100644 -

[PATCH] drm/panel: simple: Fix Innolux G156HCE-L01 LVDS clock

2023-08-04 Thread Luca Ceresoli
ally works with the intended 70.93 MHz clock and even lower frequencies so the flickering is likely caused either by a defective unit or by other different components such as the bridge. Fixes: 225213f24c79 ("drm/panel-simple: Add Innolux G156HCE-L01 panel entry") Signed-off-by: Luca Ceresoli

Re: [PATCH 2/2] drm/panel-simple: Add Innolux G156HCE-L01 panel entry

2023-08-04 Thread Luca Ceresoli
Hi Marek, Neil, On Fri, 4 Aug 2023 10:19:12 +0200 Luca Ceresoli wrote: > Hi Marek, > > On Thu, 3 Aug 2023 19:10:35 +0200 > Marek Vasut wrote: > > > On 8/3/23 17:06, Luca Ceresoli wrote: > > > Hi Marek, > > > > > > On Thu, 3

Re: [PATCH 2/2] drm/panel-simple: Add Innolux G156HCE-L01 panel entry

2023-08-04 Thread Luca Ceresoli
Hi Marek, On Thu, 3 Aug 2023 19:10:35 +0200 Marek Vasut wrote: > On 8/3/23 17:06, Luca Ceresoli wrote: > > Hi Marek, > > > > On Thu, 3 Aug 2023 16:25:37 +0200 > > Marek Vasut wrote: > > > >> On 8/3/23 16:23, Luca Ceresoli wrote: > >>>

Re: [PATCH 2/2] drm/panel-simple: Add Innolux G156HCE-L01 panel entry

2023-08-03 Thread Luca Ceresoli
Hi Marek, On Thu, 3 Aug 2023 16:25:37 +0200 Marek Vasut wrote: > On 8/3/23 16:23, Luca Ceresoli wrote: > > Hi Marek, > > Hi, > > > On Mon, 31 Jul 2023 23:02:58 +0200 > > Marek Vasut wrote: > > > >> Add support for Innolux G156HCE-L01 15.6&q

Re: [PATCH 2/2] drm/panel-simple: Add Innolux G156HCE-L01 panel entry

2023-08-03 Thread Luca Ceresoli
the 144 MHz clock is kept, I'd add a comment here to clarify the reason for diverging from the datasheet without the need for git log. Luca -- Luca Ceresoli, Bootlin Embedded Linux and Kernel engineering https://bootlin.com

Re: [PATCH 2/3] dt-bindings: display: panel: Add panels based on ILITEK ILI9806E

2023-07-20 Thread Luca Ceresoli
Hello Rob, thanks for reviewing. On Wed, 19 Jul 2023 13:02:54 -0600 Rob Herring wrote: > On Wed, Jul 19, 2023 at 05:21:46PM +0200, Luca Ceresoli wrote: > > Add bindings for LCD panels based on the ILITEK ILI9806E RGB controller > > connected over SPI and the "She

Re: [PATCH 2/3] dt-bindings: display: panel: Add panels based on ILITEK ILI9806E

2023-07-20 Thread Luca Ceresoli
Hello Krzysztof, thanks for reviewing. On Wed, 19 Jul 2023 21:12:14 +0200 Krzysztof Kozlowski wrote: > On 19/07/2023 17:21, Luca Ceresoli wrote: > > Add bindings for LCD panels based on the ILITEK ILI9806E RGB controller > > connected over SPI and the "ShenZhen New Displa

Re: [PATCH 2/3] dt-bindings: display: panel: Add panels based on ILITEK ILI9806E

2023-07-20 Thread Luca Ceresoli
Hello Conor, thanks for reviewing. On Wed, 19 Jul 2023 17:44:45 +0100 Conor Dooley wrote: > Hey Luca, > > On Wed, Jul 19, 2023 at 05:21:46PM +0200, Luca Ceresoli wrote: > > Add bindings for LCD panels based on the ILITEK ILI9806E RGB controller > > connected over SPI

[PATCH 3/3] DRM: panel: add Ilitek ILI9806E driver

2023-07-19 Thread Luca Ceresoli
Add a driver for the ILITEK ILI9806E 480x864 RGB LCD controller connected over SPI, and implement the ShenZhen New Display Co NDS040480800-V3 480x800 panel. Signed-off-by: Luca Ceresoli --- MAINTAINERS | 1 + drivers/gpu/drm/panel/Kconfig

[PATCH 1/3] dt-bindings: vendor-prefixes: add ShenZhen New Display Co.

2023-07-19 Thread Luca Ceresoli
ShenZhen New Display Co., Limited is the manufacturer of the NDS040480800-V3 LCD panel according the datasheet. Signed-off-by: Luca Ceresoli --- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/vendor

[PATCH 2/3] dt-bindings: display: panel: Add panels based on ILITEK ILI9806E

2023-07-19 Thread Luca Ceresoli
Add bindings for LCD panels based on the ILITEK ILI9806E RGB controller connected over SPI and the "ShenZhen New Display Co NDS040480800-V3" 480x800 panel based on it. Signed-off-by: Luca Ceresoli --- .../display/panel/ilitek,ili9806e.yaml| 69 +++ M

[PATCH] drm/panel: db7430: remove unused variables

2023-07-19 Thread Luca Ceresoli
These variables are never referenced in the code. Signed-off-by: Luca Ceresoli --- drivers/gpu/drm/panel/panel-samsung-db7430.c | 4 1 file changed, 4 deletions(-) diff --git a/drivers/gpu/drm/panel/panel-samsung-db7430.c b/drivers/gpu/drm/panel/panel-samsung-db7430.c index 117b26845083

Re: [PATCH v5 14/20] staging: media: tegra-video: move MIPI calibration calls from VI to CSI

2023-04-18 Thread Luca Ceresoli
Hi Hans, On Fri, 14 Apr 2023 17:51:34 +0200 Hans Verkuil wrote: > Hi Luca, > > I just encountered an error in this patch, so I have rejected the PR I made. > > See below for the details: > > On 07/04/2023 15:38, Luca Ceresoli wrote: > > The CSI module does n

[PATCH v6 20/20] staging: media: tegra-video: add support for Tegra20 parallel input

2023-04-18 Thread Luca Ceresoli
from a vendor kernel based on Linux 3.1 and massively adapted to fit into the tegra-video driver. Parts of this code is definitely non-optimal to say the least (especially tegra20_vi_enable() and the single-frame capture logic), but it was impossible to improve it. Signed-off-by: Luca Ceresoli

[PATCH v6 18/20] staging: media: tegra-video: add hooks for planar YUV and H/V flip

2023-04-18 Thread Luca Ceresoli
rt offsets - an optional per-soc VI operation to compute those values on queue setup Signed-off-by: Luca Ceresoli Reviewed-by: Dmitry Osipenko --- No changes in v6 No changes in v5 Changed in v4: - Added review tags No changes in v3 No changes in v2 --- drivers/staging/media/tegra-video

[PATCH v6 19/20] staging: media: tegra-video: add H/V flip controls

2023-04-18 Thread Luca Ceresoli
implementation that simply sets two flags in the channel struct. The Tegra20 implementation will enable flipping at stream start based on those flags. Signed-off-by: Luca Ceresoli Reviewed-by: Dmitry Osipenko --- No changes in v6 Changed in v5: - Fixed typo in comment Changed in v4: - Added

[PATCH v6 17/20] staging: media: tegra-video: add syncpts for Tegra20 to struct tegra_vi

2023-04-18 Thread Luca Ceresoli
In preparation to implement Tegra20 parallel video capture, add a variable to hold the required syncpt and document all the syncpt variables. Signed-off-by: Luca Ceresoli Reviewed-by: Dmitry Osipenko --- No changes in v6 No changes in v5 Changed in v4: - Added review tags Changed in v3

[PATCH v6 16/20] staging: media: tegra-video: move syncpt init/free to a per-soc op

2023-04-18 Thread Luca Ceresoli
`struct tegra_vi_ops` . No functional changes. Signed-off-by: Luca Ceresoli Reviewed-by: Dmitry Osipenko --- No changes in v6 No changes in v5 Changed in v4: - Added review tags No changes in v3 No changes in v2 --- drivers/staging/media/tegra-video/tegra210.c | 52

[PATCH v6 15/20] staging: media: tegra-video: add a per-soc enable/disable op

2023-04-18 Thread Luca Ceresoli
The Tegra20 VI needs an additional operation to enable the VI, add an operation for that. Signed-off-by: Luca Ceresoli Reviewed-by: Dmitry Osipenko --- No changes in v6 No changes in v5 Changed in v4: - Added review tags No changes in v3 No changes in v2 --- drivers/staging/media/tegra

[PATCH v6 14/20] staging: media: tegra-video: move MIPI calibration calls from VI to CSI

2023-04-18 Thread Luca Ceresoli
it. Signed-off-by: Luca Ceresoli Reviewed-by: Dmitry Osipenko --- Changed in v6: - Fix unlock imbalance on Tegra210 (thanks Hans for reporting!) No changes in v5 Changed in v4: - Added review tags No changes in v3 No changes in v2 --- drivers/staging/media/tegra-video/csi.c | 44

[PATCH v6 13/20] staging: media: tegra-video: move default format to soc-specific data

2023-04-18 Thread Luca Ceresoli
. No functional changes. The format pointed to is the same that used to be in vi.c. Signed-off-by: Luca Ceresoli Reviewed-by: Dmitry Osipenko --- No changes in v6 Changed in v5: - Minor update after removal of "staging: media: tegra-video: fix .vidioc_enum_fmt_vid_cap to return all formats&q

[PATCH v6 10/20] staging: media: tegra-video: remove unneeded include

2023-04-18 Thread Luca Ceresoli
There is only a pointer reference to struct tegra_vi in video.h, thus vi.h is not needed. Signed-off-by: Luca Ceresoli Reviewed-by: Dmitry Osipenko --- No changes in v6 No changes in v5 Changed in v4: - Added review tags No changes in v3 No changes in v2 --- drivers/staging/media/tegra

[PATCH v6 12/20] staging: media: tegra-video: move tegra_channel_fmt_align to a per-soc op

2023-04-18 Thread Luca Ceresoli
to tegra210.c the T210-specific defines used in the moved code. No functional changes. Signed-off-by: Luca Ceresoli Reviewed-by: Dmitry Osipenko --- No changes in v6 No changes in v5 Changed in v4: - Added review tags No changes in v3 No changes in v2 --- drivers/staging/media/tegra-video

[PATCH v6 11/20] staging: media: tegra-video: Kconfig: allow TPG only on Tegra210

2023-04-18 Thread Luca Ceresoli
We are about to add support for the Tegra20 parallel video capture, which has no TPG. In preparation for that, limit the VIDEO_TEGRA_TPG option to Tegra210 which is the only implementation currently provided by this driver. Signed-off-by: Luca Ceresoli Reviewed-by: Dmitry Osipenko

[PATCH v6 08/20] staging: media: tegra-video: move private struct declaration to C file

2023-04-18 Thread Luca Ceresoli
struct tegra_vi_graph_entity is an internal implementation detail of the VI module. Move its declaration from vi.h to vi.c. Signed-off-by: Luca Ceresoli Reviewed-by: Dmitry Osipenko --- No changes in v6 No changes in v5 Changed in v4: - Added review tags No changes in v3 No changes in v2

[PATCH v6 09/20] staging: media: tegra-video: move tegra210_csi_soc to C file

2023-04-18 Thread Luca Ceresoli
This declaration is used only in csi.c, no need to export it elsewhere. Signed-off-by: Luca Ceresoli Reviewed-by: Dmitry Osipenko --- No changes in v6 No changes in v5 Changed in v4: - Added review tags This patch was added in v3. --- drivers/staging/media/tegra-video/csi.c | 4

[PATCH v6 05/20] staging: media: tegra-video: fix typos in comment

2023-04-18 Thread Luca Ceresoli
Add "skip" in "so we can *skip* the current channel" or it doesn't make sense. Also add articles where appropriate to fix English grammar. Signed-off-by: Luca Ceresoli Reviewed-by: Dmitry Osipenko --- No changes in v6 No changes in v5 Changed in v4: - Added review ta

[PATCH v6 07/20] staging: media: tegra-video: slightly simplify cleanup on errors

2023-04-18 Thread Luca Ceresoli
of_node_put(node) does nothing if node == NULL, so it can be moved to the cleanup section at the bottom. Signed-off-by: Luca Ceresoli Reviewed-by: Dmitry Osipenko --- No changes in v6 No changes in v5 Changed in v4: - Added review tags No changes in v3 No changes in v2 --- drivers/staging

[PATCH v6 06/20] staging: media: tegra-video: improve error messages

2023-04-18 Thread Luca Ceresoli
print two messages, and in case 1 we only print a generic message. Remove the generic message and add a specific message when case 1 happens, so that we always have one specific message without even increasing the number of dev_dbg*() calls. Signed-off-by: Luca Ceresoli Reviewed-by: Dmitry Osipenk

[PATCH v6 03/20] staging: media: tegra-video: improve documentation of tegra_video_format fields

2023-04-18 Thread Luca Ceresoli
Some fields are irrelevant for Tegra20/VIP. Add a note to clarify that. Signed-off-by: Luca Ceresoli Reviewed-by: Dmitry Osipenko --- No changes in v6 No changes in v5 Changed in v4: - Added review tags No changes in v3 No changes in v2 --- drivers/staging/media/tegra-video/vi.h | 6

[PATCH v6 04/20] staging: media: tegra-video: document tegra_channel_get_remote_source_subdev

2023-04-18 Thread Luca Ceresoli
Clarify what this function does. Signed-off-by: Luca Ceresoli Reviewed-by: Dmitry Osipenko --- No changes in v6 No changes in v5 Changed in v4: - Added review tags No changes in v3 No changes in v2 --- drivers/staging/media/tegra-video/vi.c | 3 +++ 1 file changed, 3 insertions(+) diff

[PATCH v6 02/20] dt-bindings: display: tegra: vi: add 'vip' property and example

2023-04-18 Thread Luca Ceresoli
The Tegra20 VI peripheral can receive parallel input from the VIP parallel input module. Add it to the allowed properties and augment the existing nvidia,tegra20-vi example to show a 'vip' property. Signed-off-by: Luca Ceresoli Reviewed-by: Rob Herring --- No changes in v6 No changes in v5

[PATCH v6 01/20] dt-bindings: display: tegra: add Tegra20 VIP

2023-04-18 Thread Luca Ceresoli
VIP is the parallel video capture component within the video input subsystem of Tegra20 (and other Tegra chips, apparently). Signed-off-by: Luca Ceresoli Reviewed-by: Krzysztof Kozlowski Reviewed-by: Dmitry Osipenko --- No changes in v6 No changes in v5 Changed in v4: - Added review tags

[PATCH v6 00/20] Add Tegra20 parallel video input capture

2023-04-18 Thread Luca Ceresoli
ore.kernel.org/linux-media/20221229133205.981397-1-luca.ceres...@bootlin.com/ [v2] https://lore.kernel.org/linux-tegra/20221222100328.6e341874@booty/T/#t [v1] https://lore.kernel.org/linux-tegra/20221124155634.5bc2a423@booty/T/#t Luca Luca Ceresoli (20): dt-bindings: display: tegra: add Tegra

Re: [PATCH v5 00/20] Add Tegra20 parallel video input capture

2023-04-12 Thread Luca Ceresoli
Hello Hans, On Fri, 7 Apr 2023 15:38:32 +0200 Luca Ceresoli wrote: > New in v5: dropped the patch that was removing lots of the logic behind > enum_format, after discussion with Hans. The rest is unmodified except for > rebasing and fixing a couple typos in comments. > > Full

[PATCH v5 20/20] staging: media: tegra-video: add support for Tegra20 parallel input

2023-04-07 Thread Luca Ceresoli
from a vendor kernel based on Linux 3.1 and massively adapted to fit into the tegra-video driver. Parts of this code is definitely non-optimal to say the least (especially tegra20_vi_enable() and the single-frame capture logic), but it was impossible to improve it. Signed-off-by: Luca Ceresoli

[PATCH v5 19/20] staging: media: tegra-video: add H/V flip controls

2023-04-07 Thread Luca Ceresoli
implementation that simply sets two flags in the channel struct. The Tegra20 implementation will enable flipping at stream start based on those flags. Signed-off-by: Luca Ceresoli Reviewed-by: Dmitry Osipenko --- Changed in v5: - Fixed typo in comment Changed in v4: - Added review tags No changes

[PATCH v5 18/20] staging: media: tegra-video: add hooks for planar YUV and H/V flip

2023-04-07 Thread Luca Ceresoli
rt offsets - an optional per-soc VI operation to compute those values on queue setup Signed-off-by: Luca Ceresoli Reviewed-by: Dmitry Osipenko --- No changes in v5 Changed in v4: - Added review tags No changes in v3 No changes in v2 --- drivers/staging/media/tegra-video/vi.c | 4 drive

[PATCH v5 17/20] staging: media: tegra-video: add syncpts for Tegra20 to struct tegra_vi

2023-04-07 Thread Luca Ceresoli
In preparation to implement Tegra20 parallel video capture, add a variable to hold the required syncpt and document all the syncpt variables. Signed-off-by: Luca Ceresoli Reviewed-by: Dmitry Osipenko --- No changes in v5 Changed in v4: - Added review tags Changed in v3: - recycle

[PATCH v5 16/20] staging: media: tegra-video: move syncpt init/free to a per-soc op

2023-04-07 Thread Luca Ceresoli
`struct tegra_vi_ops` . No functional changes. Signed-off-by: Luca Ceresoli Reviewed-by: Dmitry Osipenko --- No changes in v5 Changed in v4: - Added review tags No changes in v3 No changes in v2 --- drivers/staging/media/tegra-video/tegra210.c | 52 drivers/staging/media

[PATCH v5 14/20] staging: media: tegra-video: move MIPI calibration calls from VI to CSI

2023-04-07 Thread Luca Ceresoli
it. Signed-off-by: Luca Ceresoli Reviewed-by: Dmitry Osipenko --- No changes in v5 Changed in v4: - Added review tags No changes in v3 No changes in v2 --- drivers/staging/media/tegra-video/csi.c | 44 drivers/staging/media/tegra-video/vi.c | 54

[PATCH v5 15/20] staging: media: tegra-video: add a per-soc enable/disable op

2023-04-07 Thread Luca Ceresoli
The Tegra20 VI needs an additional operation to enable the VI, add an operation for that. Signed-off-by: Luca Ceresoli Reviewed-by: Dmitry Osipenko --- No changes in v5 Changed in v4: - Added review tags No changes in v3 No changes in v2 --- drivers/staging/media/tegra-video/vi.c | 7

[PATCH v5 13/20] staging: media: tegra-video: move default format to soc-specific data

2023-04-07 Thread Luca Ceresoli
. No functional changes. The format pointed to is the same that used to be in vi.c. Signed-off-by: Luca Ceresoli Reviewed-by: Dmitry Osipenko --- Changed in v5: - Minor update after removal of "staging: media: tegra-video: fix .vidioc_enum_fmt_vid_cap to return all formats" patch Cha

[PATCH v5 12/20] staging: media: tegra-video: move tegra_channel_fmt_align to a per-soc op

2023-04-07 Thread Luca Ceresoli
to tegra210.c the T210-specific defines used in the moved code. No functional changes. Signed-off-by: Luca Ceresoli Reviewed-by: Dmitry Osipenko --- No changes in v5 Changed in v4: - Added review tags No changes in v3 No changes in v2 --- drivers/staging/media/tegra-video/tegra210.c | 36

[PATCH v5 11/20] staging: media: tegra-video: Kconfig: allow TPG only on Tegra210

2023-04-07 Thread Luca Ceresoli
We are about to add support for the Tegra20 parallel video capture, which has no TPG. In preparation for that, limit the VIDEO_TEGRA_TPG option to Tegra210 which is the only implementation currently provided by this driver. Signed-off-by: Luca Ceresoli Reviewed-by: Dmitry Osipenko

[PATCH v5 10/20] staging: media: tegra-video: remove unneeded include

2023-04-07 Thread Luca Ceresoli
There is only a pointer reference to struct tegra_vi in video.h, thus vi.h is not needed. Signed-off-by: Luca Ceresoli Reviewed-by: Dmitry Osipenko --- No changes in v5 Changed in v4: - Added review tags No changes in v3 No changes in v2 --- drivers/staging/media/tegra-video/video.h | 1

[PATCH v5 08/20] staging: media: tegra-video: move private struct declaration to C file

2023-04-07 Thread Luca Ceresoli
struct tegra_vi_graph_entity is an internal implementation detail of the VI module. Move its declaration from vi.h to vi.c. Signed-off-by: Luca Ceresoli Reviewed-by: Dmitry Osipenko --- No changes in v5 Changed in v4: - Added review tags No changes in v3 No changes in v2 --- drivers

[PATCH v5 09/20] staging: media: tegra-video: move tegra210_csi_soc to C file

2023-04-07 Thread Luca Ceresoli
This declaration is used only in csi.c, no need to export it elsewhere. Signed-off-by: Luca Ceresoli Reviewed-by: Dmitry Osipenko --- No changes in v5 Changed in v4: - Added review tags This patch was added in v3. --- drivers/staging/media/tegra-video/csi.c | 4 drivers/staging/media

  1   2   3   >