Hello, This small patchs series adds two DT overlays that model a Mitsubishi AA1024XD12 panel connected to a Salvator-X(S) board or a Draak or Ebisu board. The panel is external to the development board and is optional, so DT overlays seem to be the best option to me. They can easily be applied by U-Boot. For instance, when booting a FIT image, a list of configurations can be specified. Here's the boot script I'm using (with the U-Boot bootcmd simply set to "dhcp && source"): -------- setenv bootargs "console=ttySC0,115200 rw root=/dev/nfs ip=dhcp" setenv bootfile gen3/kernel_fdt.itb setenv fdtfile r8a77965-salvator-xs.dtb setenv overlay_files "salvator-panel-aa104xd12.dtbo" for overlay in ${overlay_files}; do setenv overlaystring "${overlaystring}\\#conf-${overlay}" done tftpboot ${bootfile} bootm ${fileaddr}#conf-${fdtfile}${overlaystring} -------- This is much simpler than the hack branch I used to carry with per-board DT changes to enable panel support on a particular board (and last but not least, it hopefully can be merged in mainline !). The only difference between the two overlays is the LVDS output that the panel is connected to (LVDS0 on Salvator-X(S), and LVDS1 on Draak and Ebisu). On my xmas wish list is a mechanism to make this configurable at the time the overlay is applied, but I think I'll be a sad little boy on xmas day. As these are the first DT overlays for Renesas boards in the mainline kernel, comments are welcome. If the approach gets positive feedback, we could turn other external add-ons (panels, camera modules, ...) into overlays as well. Compared to v1, this version creates the endpoints for the lvds0 and lvds1 ports in the overlays, to take into account the changes from https://lore.kernel.org/all/20211229191838.27922-1-laurent.pinchart+renesas@xxxxxxxxxxxxxxxx/. Laurent Pinchart (3): arm64: dts: renesas: Prepare AA1024XD12 panel .dtsi for overlay support arm64: dts: renesas: Add panel overlay for Salvator-X(S) boards arm64: dts: renesas: Add panel overlay for Draak and Ebisu boards .../arm/boot/dts/r8a77xx-aa104xd12-panel.dtsi | 39 ------------------- arch/arm64/boot/dts/renesas/Makefile | 3 ++ .../renesas/draak-ebisu-panel-aa104xd12.dts | 36 +++++++++++++++++ .../boot/dts/renesas/panel-aa104xd12.dtsi | 30 ++++++++++++++ .../dts/renesas/salvator-panel-aa104xd12.dts | 36 +++++++++++++++++ 5 files changed, 105 insertions(+), 39 deletions(-) delete mode 100644 arch/arm/boot/dts/r8a77xx-aa104xd12-panel.dtsi create mode 100644 arch/arm64/boot/dts/renesas/draak-ebisu-panel-aa104xd12.dts create mode 100644 arch/arm64/boot/dts/renesas/panel-aa104xd12.dtsi create mode 100644 arch/arm64/boot/dts/renesas/salvator-panel-aa104xd12.dts base-commit: 2b534e90a1e31c7fc9536b512b72274cc3575f4c -- Regards, Laurent Pinchart