mbox series

[0/5] TQMa93xxLA/MBa93xxLA LVDS support

Message ID 20231020130019.665853-1-alexander.stein@ew.tq-group.com
Headers show
Series TQMa93xxLA/MBa93xxLA LVDS support | expand

Message

Alexander Stein Oct. 20, 2023, 1 p.m. UTC
Hi,

this series adds LVDS display support for TQMa93xxLA/MBa93xxLA.
It consists of two parts:
1. LVDS support for imx93
2. LVDS platform support for tqma9352-mba93xxla

Patch 1 is the imx93 equivalent of commit 9cb6d1b39a8f ("soc: imx:
  imx8m-blk-ctrl: Scan subnodes and bind drivers to them")
Patch 2 is the imx93 equivalent of commit 1cb0c87d27dc ("dt-bindings:
  soc: imx8mp-media-blk-ctrl: Add LDB subnode into schema and example")
Patch 3 is the imx93 equivalent of commit 94e6197dadc9 ("arm64: dts:
  imx8mp: Add LCDIF2 & LDB nodes")
Patch 4 adds a video PLL configuration for 477.4MHz
Patch 5 adds LVDS DT overlay for platform support

Patches 1-3 are self-contained from patches 4-5 and could be merged
independently.
Patch 4 is necessary to achieve a correct LVDS frequency supported by the
display.

Alexander Stein (5):
  soc: imx: imx93-blk-ctrl: Scan subnodes and bind drivers to them
  dt-bindings: soc: imx93-media-blk-ctrl: Add LDB subnode into schema
    and example
  arm64: dts: imx93: Add LCDIF & LDB nodes
  clk: imx: clk-fracn-gppll: Add 477.4MHz config for video pll
  arm64: dts: mba93xxla: Add LVDS overlay

 .../soc/imx/fsl,imx93-media-blk-ctrl.yaml     | 44 +++++++++++
 arch/arm64/boot/dts/freescale/Makefile        |  3 +
 ...3-tqma9352-mba93xxla-lvds-tm070jvhg33.dtso | 45 +++++++++++
 .../freescale/imx93-tqma9352-mba93xxla.dts    | 27 +++++++
 arch/arm64/boot/dts/freescale/imx93.dtsi      | 76 +++++++++++++++++++
 drivers/clk/imx/clk-fracn-gppll.c             |  1 +
 drivers/pmdomain/imx/imx93-blk-ctrl.c         |  7 ++
 7 files changed, 203 insertions(+)
 create mode 100644 arch/arm64/boot/dts/freescale/imx93-tqma9352-mba93xxla-lvds-tm070jvhg33.dtso

Comments

Marco Felsch Oct. 20, 2023, 2:20 p.m. UTC | #1
Hi Alexander,

On 23-10-20, Alexander Stein wrote:
> Add the 477.4MHz frequency support that will be used by video subsystem
> on imx93.

albeit the change is fine, could we consider adding support to calc the
params dynamically?

Regards,
  Marco
Alexander Stein Oct. 23, 2023, 10:43 a.m. UTC | #2
Hi Marco,

Am Freitag, 20. Oktober 2023, 16:20:55 CEST schrieb Marco Felsch:
> Hi Alexander,
> 
> On 23-10-20, Alexander Stein wrote:
> > Add the 477.4MHz frequency support that will be used by video subsystem
> > on imx93.
> 
> albeit the change is fine, could we consider adding support to calc the
> params dynamically?

Agreed, I would prefer that as well: But unfortunately I will not be able to 
add dynamic calculation right now.

Best regards,
Alexander
Marco Felsch Oct. 23, 2023, 12:33 p.m. UTC | #3
On 23-10-23, Alexander Stein wrote:
> Hi Marco,
> 
> Am Freitag, 20. Oktober 2023, 16:20:55 CEST schrieb Marco Felsch:
> > Hi Alexander,
> > 
> > On 23-10-20, Alexander Stein wrote:
> > > Add the 477.4MHz frequency support that will be used by video subsystem
> > > on imx93.
> > 
> > albeit the change is fine, could we consider adding support to calc the
> > params dynamically?
> 
> Agreed, I would prefer that as well: But unfortunately I will not be able to 
> add dynamic calculation right now.

Okay, just wanted to ask if someone (maybe TQ) has the time to implement
and test it.

Regards,
  Marco