Skip to content

arm:dts: Rewrite G&F SAN platform definitions

Jonas Höppner requested to merge rewrite-san-dts into linux-5.4.23-guf

The meaning of the imx6qdl-san.dtsi, imx6dl-santino.dtsi, and imx6dl-santino.dts files were not clear as well tasks they shared.

The basic idea is to limit the number of included G&F device files to two. By this we want to avoid a fragmentation of the information and it should be easier to add new functionality.

Thus try to clarify things.

  1. Pull the pin muxes into the common imx6qdl-san.dtsi include
  2. For muxes that will be different on platforms use different suffix numbers
  3. for muxes that might share some common configuration on different platform, like the USRT RX/TX, pats but do not share others, like RTS/CTS, introduce multiple mux settings and pull the relevant for the specific platform.
  4. Common parts may be activated in the san include file.

Resulting in following abstraction: imx6qdl-san.dtsi > imx6*-.dtsi > imx6*-[version].dts

Add comments in imx6qdl-san.dtsi to make the intentions more clear.

We want to order the device tree nodes alphanumerically and only use the imx6qdl-san.dtsi include file to define pin-muxes.

Thus reorder the labels in imx6dl-santino.dtsi as well.

However, this change breaks the compatibility to current device tree overlay mechanisms, because some labels changed.

Also: Move most of the definitions to the imx6dl-santino.dtsi include file.

Use panel-dt for G&F SANTINO board that was previously the display panel hard-coded to dataimage,fg050720dsswdg01. Use the Garz & Fricke panel-dt driver instead.

Keep the imx6dl-santino.dts as a reminder to split this file into two files for the 1.x and 2.x HW versions.

Merge request reports

Loading