[PATCH 0/2] drm/panel: simple: Add support for JDI TX26D202VM0BWA panel

2024-08-21 Thread Frank Li
: devicet...@vger.kernel.org Cc: linux-ker...@vger.kernel.org Cc: i...@lists.linux.dev Signed-off-by: Frank Li --- Frank Li (1): dt-bindings: display: panel-simple-lvds-dual-ports: add jdi,tx26d202vm0bwa Liu Ying (1): drm/panel: simple: Add support for JDI TX26D202VM0BWA panel .../panel

[PATCH 1/2] dt-bindings: display: panel-simple-lvds-dual-ports: add jdi,tx26d202vm0bwa

2024-08-21 Thread Frank Li
Add compatible string jdi,tx26d202vm0bwa for below panel: Japan Display Inc. 10.1" WUXGA (1920x1200) TFT LCD panel Signed-off-by: Frank Li --- .../devicetree/bindings/display/panel/panel-simple-lvds-dual-ports.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Document

[PATCH 2/2] drm/panel: simple: Add support for JDI TX26D202VM0BWA panel

2024-08-21 Thread Frank Li
From: Liu Ying Add support for Japan Display Inc. 10.1" TX26D202VM0BWA WUXGA(1920x1200) TFT LCD panel with LVDS interface. The panel has dual LVDS channels. Signed-off-by: Liu Ying Signed-off-by: Dong Aisheng Signed-off-by: Frank Li --- drivers/gpu/drm/panel/panel-simple.c

Re: [PATCH 0/2] drm/panel: simple: Add support for JDI TX26D202VM0BWA panel

2024-08-21 Thread Frank Li
On Wed, Aug 21, 2024 at 05:52:10PM -0400, Frank Li wrote: > To: Neil Armstrong > To: Jessica Zhang > To: Maarten Lankhorst > To: Maxime Ripard > To: Thomas Zimmermann > To: David Airlie > To: Daniel Vetter > To: Rob Herring > To: Krzysztof Kozlowski > To

Re: [PATCH 10/10] MAINTAINERS: Add maintainer for i.MX8qxp Display Controller

2024-07-05 Thread Frank Li
On Fri, Jul 05, 2024 at 05:09:32PM +0800, Liu Ying wrote: > Add myself as the maintainer of i.MX8qxp Display Controller. > > Signed-off-by: Liu Ying > --- > MAINTAINERS | 19 +++ > 1 file changed, 19 insertions(+) > > diff --git a/MAINTAINERS b/MAINTAINERS > index 35db18d26c11..

[PATCH 1/1] dt-bindings: display: panel-simple-lvds-dual-ports: use unevaluatedProperties

2024-08-12 Thread Frank Li
panel-timing' does not match any of the regexes: 'pinctrl-[0-9]+' from schema $id: http://devicetree.org/schemas/display/panel/panel-simple-lvds-dual-ports.yaml# Signed-off-by: Frank Li --- .../display/panel/panel-simple-lvds-dual-ports.yaml | 6 +- 1 file change

Re: [PATCH 1/1] dt-bindings: display: panel-simple-lvds-dual-ports: use unevaluatedProperties

2024-08-12 Thread Frank Li
On Tue, Aug 13, 2024 at 10:32:04AM +0800, Liu Ying wrote: > On 08/13/2024, Frank Li wrote: > > Replace additionalProperties with unevaluatedProperties because it ref to > > panel-common.yaml. > > This would allow all properties in panel-common.yaml, which is not expected.

[PATCH v2 1/1] dt-bindings: display: panel-simple-lvds-dual-ports: add panel-timing: true

2024-08-13 Thread Frank Li
from schema $id: http://devicetree.org/schemas/display/panel/panel-simple-lvds-dual-ports.yaml# Signed-off-by: Frank Li --- Change from v1 to v2 - add panel-timing instead of change to unevaluatedProperties --- .../bindings/display/panel/panel-simple-lvds-dual-ports.yaml | 1 + 1 file changed,

[PATCH v3 1/1] dt-bindings: display: panel-simple-lvds-dual-ports: add panel-timing: true

2024-08-14 Thread Frank Li
from schema $id: http://devicetree.org/schemas/display/panel/panel-simple-lvds-dual-ports.yaml# Suggested-by: Liu Ying Signed-off-by: Frank Li --- Change from v2 to v3 - move it after enable-gpios: true' to sort the referenced properties alphabetically Change from v1 to v2 - ad

Re: [PATCH v4 1/4] usb: gadget: Support already-mapped DMA SGs

2024-01-19 Thread Frank Li
On Wed, Jan 17, 2024 at 01:26:43PM +0100, Paul Cercueil wrote: > Add a new 'sg_was_mapped' field to the struct usb_request. This field > can be used to indicate that the scatterlist associated to the USB > transfer has already been mapped into the DMA space, and it does not > have to be done intern

Re: [PATCH v4 1/4] usb: gadget: Support already-mapped DMA SGs

2024-01-19 Thread Frank Li
On Sat, Jan 20, 2024 at 01:14:52AM +0100, Paul Cercueil wrote: > Hi Frank, > > Le vendredi 19 janvier 2024 à 16:49 -0500, Frank Li a écrit : > > On Wed, Jan 17, 2024 at 01:26:43PM +0100, Paul Cercueil wrote: > > > Add a new 'sg_was_mapped' field to the st

Re: [PATCH 02/18] dmaengine: bcm2835: Support common dma-channel-mask

2024-06-05 Thread Frank Li
On Fri, May 24, 2024 at 07:26:46PM +0100, Dave Stevenson wrote: > From: Stefan Wahren > > Nowadays there is a generic property for dma-channel-mask in the DMA > controller binding. So prefer this one instead of the old vendor specific > one. Print a warning in case the old one is used. Btw use th

Re: [PATCH 04/18] dmaengine: bcm2835: move CB info generation into separate function

2024-06-05 Thread Frank Li
On Fri, May 24, 2024 at 07:26:48PM +0100, Dave Stevenson wrote: > From: Stefan Wahren > > Actually the generation of the Control Block info follows some simple > rules. So handle this with a separate function to avoid open coding > for every DMA operation. Another advantage is that we can easier

Re: [PATCH 05/18] dmaengine: bcm2835: move CB final extra info generation into function

2024-06-05 Thread Frank Li
On Fri, May 24, 2024 at 07:26:49PM +0100, Dave Stevenson wrote: > From: Stefan Wahren > > Similar to the info generation, generate the final extra info with a > separate function. This is necessary to introduce other platforms > with different info bits. Each patch commit is independent. Intro

Re: [PATCH 06/18] dmaengine: bcm2835: make address increment platform independent

2024-06-05 Thread Frank Li
On Fri, May 24, 2024 at 07:26:50PM +0100, Dave Stevenson wrote: > From: Stefan Wahren > > Actually the criteria to increment source & destination address doesn't > based on platform specific bits. It's just the DMA transfer direction which > is translated into the info bits. So introduce two new

Re: [PATCH 07/18] dmaengine: bcm2385: drop info parameters

2024-06-05 Thread Frank Li
On Fri, May 24, 2024 at 07:26:51PM +0100, Dave Stevenson wrote: > From: Stefan Wahren > > The parameters info and finalextrainfo are platform specific. So drop > them by generating them within bcm2835_dma_create_cb_chain(). Drop 'info' and 'finalextrainfo' because these can be generated by bcm2

Re: [PATCH 08/18] dmaengine: bcm2835: pass dma_chan to generic functions

2024-06-05 Thread Frank Li
On Fri, May 24, 2024 at 07:26:52PM +0100, Dave Stevenson wrote: > From: Stefan Wahren > > In preparation to support more platforms pass the dma_chan to the > generic functions. This provides access to the DMA device and possible > platform specific data. why need this change? you can easy conver

Re: [PATCH 09/18] dmaengine: bcm2835: Add function to handle DMA mapping

2024-06-05 Thread Frank Li
On Fri, May 24, 2024 at 07:26:53PM +0100, Dave Stevenson wrote: > The code handling DMA mapping is currently incorrect and > needs a sequence of fixups. Can you descript what incorrect here? > Move the mapping out into a separate function and structure > to allow for those fixes to be applied mo

Re: [PATCH 11/18] dmaengine: bcm2835: Use dma_map_resource to map addresses

2024-06-05 Thread Frank Li
On Fri, May 24, 2024 at 07:26:55PM +0100, Dave Stevenson wrote: > There is a need to account for dma-ranges and iommus in the > dma mapping process, and the public API for handling that is > dma_map_resource. what's means? > > Add support for mapping addresses to the DMA driver. > > Signed-off-

Re: [PATCH 16/18] drm/vc4: Use phys addresses for slave DMA config

2024-06-05 Thread Frank Li
On Fri, May 24, 2024 at 07:27:00PM +0100, Dave Stevenson wrote: > From: Phil Elwell > > Slave addresses for DMA are meant to be supplied as physical addresses > (contrary to what struct snd_dmaengine_dai_dma_data does). Can you use the same content for patch 14-17? Frank > > Signed-off-by: Ph

[PATCH 3/5] dt-bindings: nvmem: convert zii,rave-sp-eeprom.txt to yaml format

2024-10-08 Thread Frank Li
Convert device tree binding doc zii,rave-sp-eeprom.txt to yaml format. Additional changes: - Add ref to nvme.yaml. - Add reg property. - Remove mfd at example. Signed-off-by: Frank Li --- .../bindings/nvmem/zii,rave-sp-eeprom.txt | 40 .../bindings/nvmem/zii,rave-sp

[PATCH 4/5] dt-bindings: watchdog: convert zii,rave-sp-wdt.txt to yaml format

2024-10-08 Thread Frank Li
Convert device binding doc zii,rave-sp-wdt.txt to yaml format. Additional changes: - Ref to watchdog.yaml. - Remove mfd node in example. - Remove eeprom part in example. Signed-off-by: Frank Li --- .../bindings/watchdog/zii,rave-sp-wdt.txt | 39 -- .../bindings/watchdog

[PATCH 5/5] dt-bindings: mfd: convert zii,rave-sp.txt to yaml format

2024-10-08 Thread Frank Li
Convert device binding doc zii,rave-sp.txt to yaml format. Additional change: - ref to other zii yaml files. - remove rave-sp-hwmon and rave-sp-leds. Signed-off-by: Frank Li --- .../devicetree/bindings/mfd/zii,rave-sp.txt| 39 -- .../devicetree/bindings/mfd/zii,rave-sp.yaml

[PATCH 0/5] dt-bindings: mfd: convert zii,rave-sp.txt and child txt to yaml format

2024-10-08 Thread Frank Li
cale/imx8mq-zii-ultra-zest.dtb: /soc@0/bus@3080/serial@30890000/mcu/eeprom@a4: failed to match any schema with compatible: ['zii,rave-sp-eeprom'] Signed-off-by: Frank Li --- Frank Li (5): dt-bindings: input: convert zii,rave-sp-pwrbutton.txt to yaml dt-bindings: back

[PATCH 1/5] dt-bindings: input: convert zii,rave-sp-pwrbutton.txt to yaml

2024-10-08 Thread Frank Li
Convert device tree binding doc zii,rave-sp-pwrbutton.txt to yaml format. Additional changes: - add ref to input.yaml. - remove mfd node in example. Signed-off-by: Frank Li --- .../bindings/input/zii,rave-sp-pwrbutton.txt | 22 - .../bindings/input/zii,rave-sp-pwrbutton.yaml

[PATCH 2/5] dt-bindings: backlight: convert zii,rave-sp-backlight.txt to yaml

2024-10-08 Thread Frank Li
Convert device tree binding doc zii,rave-sp-backlight.txt to yaml format. Additional Changes: - Remove mfd parent node at example. - Ref to backlight's common.yaml Signed-off-by: Frank Li --- .../leds/backlight/zii,rave-sp-backlight.txt | 23 -- .../leds/backlight/zii,ra

[PATCH v2 2/5] dt-bindings: backlight: convert zii,rave-sp-backlight.txt to yaml

2024-10-10 Thread Frank Li
Convert device tree binding doc zii,rave-sp-backlight.txt to yaml format. Additional Changes: - Remove mfd parent node at example. - Ref to backlight's common.yaml Signed-off-by: Frank Li --- .../leds/backlight/zii,rave-sp-backlight.txt | 23 -- .../leds/backlight/zii,ra

[PATCH v2 4/5] dt-bindings: watchdog: convert zii,rave-sp-wdt.txt to yaml format

2024-10-10 Thread Frank Li
Convert device binding doc zii,rave-sp-wdt.txt to yaml format. Additional changes: - Ref to watchdog.yaml. - Remove mfd node in example. - Remove eeprom part in example. Signed-off-by: Frank Li --- .../bindings/watchdog/zii,rave-sp-wdt.txt | 39 -- .../bindings/watchdog

[PATCH v2 1/5] dt-bindings: input: convert zii,rave-sp-pwrbutton.txt to yaml

2024-10-10 Thread Frank Li
Convert device tree binding doc zii,rave-sp-pwrbutton.txt to yaml format. Additional changes: - add ref to input.yaml. - remove mfd node in example. Signed-off-by: Frank Li --- .../bindings/input/zii,rave-sp-pwrbutton.txt | 22 - .../bindings/input/zii,rave-sp-pwrbutton.yaml

[PATCH v2 0/5] dt-bindings: mfd: convert zii,rave-sp.txt and child txt to yaml format

2024-10-10 Thread Frank Li
cale/imx8mq-zii-ultra-zest.dtb: /soc@0/bus@3080/serial@30890000/mcu/eeprom@a4: failed to match any schema with compatible: ['zii,rave-sp-eeprom'] Signed-off-by: Frank Li --- Changes in v2: - change all maintainer to frank li. - Link to v1: https://lore.kernel.org/r/20241008-z

[PATCH v2 3/5] dt-bindings: nvmem: convert zii,rave-sp-eeprom.txt to yaml format

2024-10-10 Thread Frank Li
Convert device tree binding doc zii,rave-sp-eeprom.txt to yaml format. Additional changes: - Add ref to nvme.yaml. - Add reg property. - Remove mfd at example. Signed-off-by: Frank Li --- .../bindings/nvmem/zii,rave-sp-eeprom.txt | 40 .../bindings/nvmem/zii,rave-sp

[PATCH v2 5/5] dt-bindings: mfd: convert zii,rave-sp.txt to yaml format

2024-10-10 Thread Frank Li
Convert device binding doc zii,rave-sp.txt to yaml format. Additional change: - ref to other zii yaml files. - remove rave-sp-hwmon and rave-sp-leds. Signed-off-by: Frank Li --- .../devicetree/bindings/mfd/zii,rave-sp.txt| 39 -- .../devicetree/bindings/mfd/zii,rave-sp.yaml

[PATCH 1/1] dt-bindings: display: nwl-dsi: Allow 'data-lanes' property for port@1

2024-10-31 Thread Frank Li
0jvhg33.dtb: dsi@30a0: ports:port@1:endpoint: Unevaluated properties are not allowed ('data-lanes' was unexpected) Signed-off-by: Frank Li --- .../bindings/display/bridge/nwl-dsi.yaml | 18 +- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/Do

Re: [PATCH 1/1] dt-bindings: display: nwl-dsi: Allow 'data-lanes' property for port@1

2024-10-31 Thread Frank Li
On Thu, Oct 31, 2024 at 09:59:26PM +0200, Dmitry Baryshkov wrote: > On Thu, Oct 31, 2024 at 03:47:14PM -0400, Frank Li wrote: > > Change $ref of port@1 from 'port' to 'port-base' and add 'endpoint' > > property referencing video-interfaces.yaml. All

Re: [PATCH v2 1/1] dt-bindings: display: nwl-dsi: Allow 'data-lanes' property for port@1

2025-02-10 Thread Frank Li
On Tue, Jan 14, 2025 at 09:34:49AM +0100, Krzysztof Kozlowski wrote: > On Fri, Jan 10, 2025 at 11:17:32AM -0500, Frank Li wrote: > > This controller support scalable data lanes from 1 to 4. Add the > > 'data-lanes' property to configure the number of MIPI display pan

Re: [PATCH 2/2] drm: bridge: imx9-parallel-disp-fmt: add i.MX91/93 parallel display bridge

2025-02-11 Thread Frank Li
On Tue, Feb 11, 2025 at 09:41:19AM +0100, Alexander Stein wrote: > i.MX91/93 have a single register specifying parallel display output > format. Add a bridge driver for setting the corresponding format. > Currently only RGB565, RGB666 and RGB888 output is supported. > > Signed-off-by: Alexander Ste

Re: [PATCH 1/2] dt-bindings: display: bridge: ldb: Implement simple Freescale i.MX91/93 DPI bridge

2025-02-11 Thread Frank Li
On Tue, Feb 11, 2025 at 09:41:18AM +0100, Alexander Stein wrote: > The i.MX91/93 contains a single syscon registers which is responsible > for configuring DPI output format. Add DT binding which represents > this configuration as a bridge. > > Signed-off-by: Alexander Stein > --- > .../bridge/fsl

Re: [PATCH 1/1] dt-bindings: display: nwl-dsi: Allow 'data-lanes' property for port@1

2024-12-05 Thread Frank Li
On Mon, Nov 04, 2024 at 09:40:59AM -0600, Rob Herring wrote: > On Thu, Oct 31, 2024 at 03:47:14PM -0400, Frank Li wrote: > > Change $ref of port@1 from 'port' to 'port-base' and add 'endpoint' > > property referencing video-interfaces.yaml. Allow 

[PATCH v2 1/1] dt-bindings: display: nwl-dsi: Allow 'data-lanes' property for port@1

2025-01-10 Thread Frank Li
terfaces.yaml. Allow 'data-lanes' values 1, 2, 3, and 4 for port@1. Fix below CHECK_DTB warnings: arch/arm64/boot/dts/freescale/imx8mq-tqma8mq-mba8mx-lvds-tm070jvhg33.dtb: dsi@30a0: ports:port@1:endpoint: Unevaluated properties are not allowed ('data-lanes' was unexpect

[PATCH RESEND V2 1/1] dt-bindings: display: nwl-dsi: Allow 'data-lanes' property for port@1

2025-04-07 Thread Frank Li
terfaces.yaml. Allow 'data-lanes' values 1, 2, 3, and 4 for port@1. Fix below CHECK_DTB warnings: arch/arm64/boot/dts/freescale/imx8mq-tqma8mq-mba8mx-lvds-tm070jvhg33.dtb: dsi@30a0: ports:port@1:endpoint: Unevaluated properties are not allowed ('data-lanes' was unexpected

Re: [PATCH 1/1] dt-bindings: display: imx: convert ldb.txt to yaml format

2025-04-17 Thread Frank Li
On Thu, Apr 17, 2025 at 08:37:49AM +0200, Alexander Stein wrote: > Am Mittwoch, 16. April 2025, 23:19:27 CEST schrieb Frank Li: > > Convert ldb.txt to yaml format. > > > > Additional changes > > - fix clock-names order to match existed dts file. > > - remove

[PATCH 1/1] dt-bindings: display: imx: convert fsl, dcu.txt to yaml format

2025-04-17 Thread Frank Li
Convert fsl,dcu.txt to yaml format. Additional changes: - remove label in example. - change node to display-controller in example. - use 32bit address in example. Signed-off-by: Frank Li --- .../devicetree/bindings/display/fsl,dcu.txt | 34 -- .../bindings/display/fsl,ls1021a

[PATCH 1/1] dt-bindings: display: imx: convert fsl, tcon.txt to yaml format

2025-04-18 Thread Frank Li
Convert fsl,tcon.txt to yaml format. Signed-off-by: Frank Li --- .../devicetree/bindings/display/fsl,tcon.txt | 17 .../bindings/display/fsl,vf610-tcon.yaml | 43 +++ MAINTAINERS | 2 +- 3 files changed, 44 insertions(+), 18

[PATCH v2 1/1] dt-bindings: display: imx: convert ldb.txt to yaml format

2025-04-18 Thread Frank Li
Convert ldb.txt to yaml format. Additional changes - fix clock-names order to match existed dts file. - remove lvds-panel and iomuxc-gpr node in examples. - fsl,imx6q-ldb fail back to fsl,imx53-ldb. - add fsl,panel property to match existed dts. Signed-off-by: Frank Li --- change from v1 to v2

[PATCH 1/1] dt-bindings: display: imx: convert ldb.txt to yaml format

2025-04-16 Thread Frank Li
Convert ldb.txt to yaml format. Additional changes - fix clock-names order to match existed dts file. - remove lvds-panel and iomuxc-gpr node in examples. - fsl,imx6q-ldb fail back to fsl,imx53-ldb. Signed-off-by: Frank Li --- .../bindings/display/imx/fsl,imx6q-ldb.yaml | 182

[PATCH 1/1] dt-bindings: display: imx: convert fsl-imx-drm.txt to yaml format

2025-04-15 Thread Frank Li
Convert fsl-imx-drm.txt to yaml format and create 5 yaml files for differences purpose. Additional changes: - add missed include file in examples. - add clocks, clock-names for ipu. Signed-off-by: Frank Li --- .../imx/fsl,imx-display-subsystem.yaml| 36 .../display/imx/fsl,imx

Re: [PATCH 1/9] dt-bindings: reset: imx95-gpu-blk-ctrl: Document Freescale i.MX95 GPU reset

2025-02-27 Thread Frank Li
On Thu, Feb 27, 2025 at 05:58:01PM +0100, Marek Vasut wrote: > The instance of the GPU populated in Freescale i.MX95 does require > release from reset by writing into a single GPUMIX block controller > GPURESET register bit 0. Document support for this reset register. > > Signed-off-by: Marek Vasut

Re: [PATCH 7/9] dt-bindings: gpu: mali-valhall-csf: Document i.MX95 support

2025-02-27 Thread Frank Li
On Thu, Feb 27, 2025 at 05:58:07PM +0100, Marek Vasut wrote: > The instance of the GPU populated in Freescale i.MX95 is the > Mali G310, document support for this variant. > > Signed-off-by: Marek Vasut Reviewed-by: Frank Li > --- > Cc: Boris Brezillon > Cc: Conor Doole

Re: [PATCH 2/9] reset: simple: Add support for Freescale i.MX95 GPU reset

2025-02-27 Thread Frank Li
On Thu, Feb 27, 2025 at 05:58:02PM +0100, Marek Vasut wrote: > The instance of the GPU populated in Freescale i.MX95 does require > release from reset by writing into a single GPUMIX block controller > GPURESET register bit 0. Implement support for this reset register. Reviewed-by:

Re: [PATCH 8/9] drm/panthor: Add i.MX95 support

2025-02-27 Thread Frank Li
On Thu, Feb 27, 2025 at 05:58:08PM +0100, Marek Vasut wrote: > The instance of the GPU populated in Freescale i.MX95 is the > Mali G310, add support for this variant. > > Signed-off-by: Marek Vasut Reviewed-by: Frank Li > --- > Cc: Boris Brezillon > Cc: Conor Dooley >

Re: [PATCH 9/9] arm64: dts: imx95: Describe Mali G310 GPU

2025-02-27 Thread Frank Li
On Thu, Feb 27, 2025 at 05:58:09PM +0100, Marek Vasut wrote: > The instance of the GPU populated in i.MX95 is the G310, > describe this GPU in the DT. Include description of the > GPUMIX block controller, which can be operated as a simple > reset. Include dummy GPU voltage regulator and OPP tables.

Re: [PATCH 1/2] drm/bridge: imx8qxp-ldb: cleanup return value

2025-03-07 Thread Frank Li
On Fri, Mar 07, 2025 at 12:22:17PM +0100, Luca Ceresoli wrote: > Hello Liu, > > On Fri, 7 Mar 2025 14:42:12 +0800 > Liu Ying wrote: > > > On 03/07/2025, Luca Ceresoli wrote: > > > 'ret' can only be 0 at this point, being preceded by a 'if (ret) return > > > ret;'. So return 0 for clarity. > > > >

Re: [PATCH 2/2] drm/bridge: fsl-ldb: make warning message more informative

2025-03-06 Thread Frank Li
On Thu, Mar 06, 2025 at 06:28:41PM +0100, Luca Ceresoli wrote: > This warning notifies a clock was set to an inaccurate value. Modify the > string to also show the clock name. > > While doing that also rewrap the entire function call. > > Signed-off-by: Luca Ceresoli > --- > drivers/gpu/drm/bridg

Re: [PATCH v2 1/1] dt-bindings: display: nwl-dsi: Allow 'data-lanes' property for port@1

2025-03-06 Thread Frank Li
On Mon, Feb 10, 2025 at 04:09:31PM -0500, Frank Li wrote: > On Tue, Jan 14, 2025 at 09:34:49AM +0100, Krzysztof Kozlowski wrote: > > On Fri, Jan 10, 2025 at 11:17:32AM -0500, Frank Li wrote: > > > This controller support scalable data lanes from 1 to 4. Add the > > &g

Re: [PATCH 1/2] drm/bridge: imx8qxp-ldb: cleanup return value

2025-03-06 Thread Frank Li
On Thu, Mar 06, 2025 at 06:28:40PM +0100, Luca Ceresoli wrote: > 'ret' can only be 0 at this point, being preceded by a 'if (ret) return > ret;'. So return 0 for clarity. > > Signed-off-by: Luca Ceresoli > --- > drivers/gpu/drm/bridge/imx/imx8qxp-ldb.c | 2 +- > 1 file changed, 1 insertion(+), 1

Re: [PATCH 9/9] arm64: dts: imx95: Describe Mali G310 GPU

2025-02-27 Thread Frank Li
On Thu, Feb 27, 2025 at 09:36:55PM +0100, Marek Vasut wrote: > On 2/27/25 6:43 PM, Frank Li wrote: > [...] > > > > diff --git a/arch/arm64/boot/dts/freescale/imx95.dtsi > > > b/arch/arm64/boot/dts/freescale/imx95.dtsi > > > index 3af13173de4bd..36bad211e5558 10

Re: [PATCH 3/9] dt-bindings: gpu: mali-valhall-csf: Document optional reset

2025-02-27 Thread Frank Li
by: Marek Vasut Reviewed-by: Frank Li > --- > Cc: Boris Brezillon > Cc: Conor Dooley > Cc: David Airlie > Cc: Fabio Estevam > Cc: Krzysztof Kozlowski > Cc: Liviu Dudau > Cc: Maarten Lankhorst > Cc: Maxime Ripard > Cc: Pengutronix Kernel Team > Cc: Phil

Re: [PATCH 9/9] arm64: dts: imx95: Describe Mali G310 GPU

2025-02-27 Thread Frank Li
On Thu, Feb 27, 2025 at 10:34:20PM +0100, Marek Vasut wrote: > On 2/27/25 10:27 PM, Frank Li wrote: > > [...] > > > > > > + gpu: gpu@4d90 { > > > > > + compatible = "fsl,imx95-mali", > > > > &g

[PATCH v2 1/1] dt-bindings: display: imx: convert fsl, dcu.txt to yaml format

2025-05-21 Thread Frank Li
Convert fsl,dcu.txt to yaml format. Additional changes: - remove label in example. - change node to display-controller in example. - use 32bit address in example. - add interrupts property. Signed-off-by: Frank Li Reviewed-by: Stefan Agner --- Change from v1 to v2 - add Reviewed-by: Stefan

[PATCH 1/1] dt-bindings: display: allow resets property

2025-06-02 Thread Frank Li
Allow resets property to fix below CHECK_DTB warning: arch/arm/boot/dts/nxp/lpc/lpc4337-ciaa.dtb: lcd-controller@40008000 (arm,pl111): 'resets' does not match any of the regexes: 'pinctrl-[0-9]+' Signed-off-by: Frank Li --- Documentation/devicetree/bindings/display/arm,p

[PATCH v2 1/1] dt-bindings: display: convert himax, hx8357d.txt to yaml format

2025-06-02 Thread Frank Li
existed dts. - add im-gpios for interface selections. - add reset-gpios. Signed-off-by: Frank Li --- change in v2 - update MAINTANERS files - replace gpios-reset with reset-gpios, kernel have quirk for it. --- .../bindings/display/himax,hx8357.yaml| 78 +++ .../bindings

[PATCH 1/1] dt-bindings: lcdif: add lcd panel related property for imx28

2025-05-29 Thread Frank Li
isplay0' do not match any of the regexes: 'pinctrl-[0-9]+' Signed-off-by: Frank Li --- .../bindings/display/fsl,lcdif.yaml | 19 ++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/display/fsl,lcdif.ya

[PATCH 1/1] dt-bindings: display: convert himax, hx8357d.txt to yaml format

2025-05-29 Thread Frank Li
to align existed dts. - add im-gpios for interface selections. Signed-off-by: Frank Li --- .../bindings/display/himax,hx8357.yaml| 77 +++ .../bindings/display/himax,hx8357d.txt| 26 --- 2 files changed, 77 insertions(+), 26 deletions(-) create mode 100644

[RESEND v2 1/1] dt-bindings: display: imx: convert fsl, dcu.txt to yaml format

2025-06-16 Thread Frank Li
Convert fsl,dcu.txt to yaml format. Additional changes: - remove label in example. - change node to display-controller in example. - use 32bit address in example. - add interrupts property. Reviewed-by: Krzysztof Kozlowski Signed-off-by: Frank Li Reviewed-by: Stefan Agner --- Change from v1

Re: [PATCH v2 01/10] clk: imx95-blk-ctl: Save platform data in imx95_blk_ctl structure

2025-07-16 Thread Frank Li
On Wed, Jul 16, 2025 at 11:15:05AM +0300, Laurentiu Palcu wrote: > Currently, besides probe(), the platform data is read in both suspend() > and resume(). Let's avoid this by making pdata a member of imx95_blk_ctl > structure. suggested commit message. Add a platform data (pdata) member to struct

Re: [PATCH v2 02/10] clk: imx95-blk-ctl: Save/restore registers when RPM routines are called

2025-07-17 Thread Frank Li
On Thu, Jul 17, 2025 at 03:23:38PM +0300, Laurentiu Palcu wrote: > Hi Frank, > > On Wed, Jul 16, 2025 at 02:29:01PM -0400, Frank Li wrote: > > On Wed, Jul 16, 2025 at 11:15:06AM +0300, Laurentiu Palcu wrote: > > > If runtime PM is used for the clock providers and they&

Re: [PATCH 6/8] drm/imx: Add support for i.MX94 DCIF

2025-07-10 Thread Frank Li
On Wed, Jul 09, 2025 at 03:23:25PM +0300, Laurentiu Palcu wrote: > From: Sandor Yu > > This patch adds support for the i.MX94 Display Control Interface. Needn't word "this patch" Can you list feature here? > > Signed-off-by: Sandor Yu > Signed-off-by: Laurentiu Palcu > --- ... > +static int >

Re: [PATCH 7/8] arm64: dts: imx943-evk: Add support for DCIF and LVDS

2025-07-10 Thread Frank Li
On Wed, Jul 09, 2025 at 03:23:26PM +0300, Laurentiu Palcu wrote: > Add DT nodes for DCIF and LVDS in imx943.dtsi and activate them in > imx943-evk.dts. > > Signed-off-by: Laurentiu Palcu > --- > arch/arm64/boot/dts/freescale/imx943-evk.dts | 126 +++ Shawn require board dts need s

Re: [PATCH 1/8] clk: imx95-blk-ctl: Cache registers when RPM routines are called

2025-07-10 Thread Frank Li
Subject: save and store registers at suspend()/resume() function On Wed, Jul 09, 2025 at 03:23:20PM +0300, Laurentiu Palcu wrote: > If runtime PM is used for the clock providers and they're part of a > power domain, then the power domain supply will be cut off when runtime > suspended. That means

Re: [PATCH 3/8] drm/bridge: fsl-ldb: Get the next non-panel bridge

2025-07-10 Thread Frank Li
On Wed, Jul 09, 2025 at 03:23:22PM +0300, Laurentiu Palcu wrote: > From: Liu Ying > > The next bridge in bridge chain could be a panel bridge or a non-panel > bridge. Use devm_drm_of_get_bridge() to replace the combination ^ extra space. > function calls of of_drm_find_panel() and devm_

Re: [PATCH 4/8] drm/bridge: fsl-ldb: Add support for i.MX94

2025-07-10 Thread Frank Li
On Wed, Jul 09, 2025 at 03:23:23PM +0300, Laurentiu Palcu wrote: > Since i.MX94 series LDB controller is compatible, add support for it. Add support for the LDB controller in the i.MX94 series. Compared to i.MX93, the i.MX94 LDB uses different register addresses for ldb_ctrl and lvds_ctrl, and sup

Re: [PATCH v2 07/10] drm/imx: Add support for i.MX94 DCIF

2025-07-16 Thread Frank Li
On Wed, Jul 16, 2025 at 11:15:11AM +0300, Laurentiu Palcu wrote: > From: Sandor Yu > > The i.MX94 Display Control Interface features: > * Up to maximum 3 layers of alpha blending: > - 1 background layer(Layer 0); > - 1 foreground layer(Layer 1); > - A programmable constant color behin

Re: [PATCH v2 08/10] arm64: dts: imx943: Add display pipeline nodes

2025-07-16 Thread Frank Li
On Wed, Jul 16, 2025 at 11:15:12AM +0300, Laurentiu Palcu wrote: > Add display controller and LDB support in imx943. > > Signed-off-by: Laurentiu Palcu > --- > arch/arm64/boot/dts/freescale/imx943.dtsi | 56 ++- > 1 file changed, 55 insertions(+), 1 deletion(-) > > diff --git

Re: [PATCH v2 09/10] arm64: dts: imx943-evk: Add display support using IT6263

2025-07-16 Thread Frank Li
On Wed, Jul 16, 2025 at 11:15:13AM +0300, Laurentiu Palcu wrote: > The ITE IT6263 based NXP LVDS to HDMI converter can be attached to the > i.MX943 EVK board LVDS port using the mini-SAS connector. Generally, attached devices should be overlay file. You'd better mention it is default configuration

Re: [PATCH v2 10/10] MAINTAINERS: Add entry for i.MX94 DCIF driver

2025-07-16 Thread Frank Li
On Wed, Jul 16, 2025 at 11:15:14AM +0300, Laurentiu Palcu wrote: > The driver is part of DRM subsystem and is located in > drivers/gpu/drm/imx/dcif. > > Signed-off-by: Laurentiu Palcu Reviewed-by: Frank Li > --- > MAINTAINERS | 9 + > 1 file changed, 9 insertion

Re: [PATCH v2 06/10] dt-bindings: display: imx: Add bindings for i.MX94 DCIF

2025-07-16 Thread Frank Li
On Wed, Jul 16, 2025 at 11:15:10AM +0300, Laurentiu Palcu wrote: > DCIF is the i.MX94 Display Controller Interface which is used to > drive a TFT LCD panel or connects to a display interface depending > on the chip configuration. > > Signed-off-by: Laurentiu Palcu > --- > .../bindings/display/imx

Re: [PATCH v2 03/10] dt-bindings: display: fsl,ldb: Add i.MX94 LDB

2025-07-16 Thread Frank Li
On Wed, Jul 16, 2025 at 11:15:07AM +0300, Laurentiu Palcu wrote: > i.MX94 has a single LVDS port and share similar LDB and LVDS control > registers as i.MX8MP and i.MX93. > > Signed-off-by: Laurentiu Palcu > --- Reviewed-by: Frank Li > Documentation/devicetree/bindings/

Re: [PATCH v2 04/10] drm/bridge: fsl-ldb: Get the next non-panel bridge

2025-07-16 Thread Frank Li
anel_bridge_add() > to get either a panel bridge or a non-panel bridge, instead of getting > a panel bridge only. > > Signed-off-by: Liu Ying > Reviewed-by: Dmitry Baryshkov > Signed-off-by: Laurentiu Palcu > --- Reviewed-by: Frank Li > drivers/gpu/drm/bridge/fsl-ldb.c |

Re: [PATCH v2 05/10] drm/bridge: fsl-ldb: Add support for i.MX94

2025-07-16 Thread Frank Li
tructure in order to > be able to set different max frequencies for other platforms. > > Signed-off-by: Laurentiu Palcu Reviewed-by: Frank Li > --- > drivers/gpu/drm/bridge/fsl-ldb.c | 16 +++- > 1 file changed, 15 insertions(+), 1 deletion(-) > > diff --git a/

Re: [PATCH v2 02/10] clk: imx95-blk-ctl: Save/restore registers when RPM routines are called

2025-07-16 Thread Frank Li
On Wed, Jul 16, 2025 at 11:15:06AM +0300, Laurentiu Palcu wrote: > If runtime PM is used for the clock providers and they're part of a > power domain, then the power domain supply will be cut off when runtime > suspended. That means all BLK CTL registers belonging to that power > domain will be res

Re: [PATCH 3/4] dt-bindings: display: imx: add binding for i.MX8MP HDMI PAI

2025-07-18 Thread Frank Li
On Fri, Jul 18, 2025 at 06:11:49PM +0800, Shengjiu Wang wrote: Subject needn't said binding again. dt-bindings: display: imx: add HDMI PAI for i.MX8MP > Add binding for the i.MX8MP HDMI parallel Audio interface block. Need empty line between two paragraph > As this port is linked to imx8mp-hdm

Re: [PATCH 4/4] arm64: dts: imx8mp: Add hdmi parallel audio interface node

2025-07-18 Thread Frank Li
On Fri, Jul 18, 2025 at 06:11:50PM +0800, Shengjiu Wang wrote: > The HDMI TX Parallel Audio Interface (HTX_PAI) is a digital module that > acts as the bridge between the Audio Subsystem to the HDMI TX Controller. Remove " a digital module that acts as the" is more straightforward. > > Correct the

Re: [PATCH 1/4] drm/bridge: dw-hdmi: Add function to get plat_data

2025-07-18 Thread Frank Li
On Fri, Jul 18, 2025 at 06:11:47PM +0800, Shengjiu Wang wrote: > The enable_audio() and disable_audio() callback pointers are in > plat_data structure, and the audio device driver needs to get plat_data > for assign these pointers. So add a function to export plat_data > structure. drm/bridge: dw-