[PATCH v1 00/17] ARM: dts: imx6q-apalis: Misc improvements and newly added carrier

From: Max Krummenacher
Date: Mon May 16 2022 - 07:59:24 EST


From: Max Krummenacher <max.krummenacher@xxxxxxxxxxx>


Shawn, this patchset reworks a lot of the imx6qdl-apalis. Commit
fa51e1dc4b91 ("ARM: dts: imx6qdl-apalis: Fix sgtl5000 detection issue")
which is in imx/fixes also touches the file.
To keep the rebasing work minimal I based the series on top of imx/dt,
but did additionally cherry-pick commit fa51e1dc4b91.
Is this the way to go in such circumstances?

This is a general update of the Apalis iMX6 device tree files.

The Toradex Apalis family is composed of a SoM that can be plugged on
various carrier boards, with carrier boards allowing multiple optional
accessories (e.g. display, camera, ...).

The device tree sources are structured into a SoM dtsi and a carrier dts
which then includes the SoM dtsi. The SoM dtsi defines and enables the
functionality self contained on the SoM and prepares for functionality
provided by the carrier HW or accessories, so that the carrier dts then
can enable or amend nodes provided. Accessories are enabled in overlays
depending on HW configuration.

The series improves the existing Apalis carrier board device trees and
adds a new device trees for the Ixora V1.2 carrier board.

Improvements:
- Specifies GPIO line names for use with libgpiod.
- Disables optional accessories. They would be enabled in overlays
depending on HW configuration.
- Lower power consumption after poweroff.
- Move more functionality into the SoM dtsi file to reduce code
duplication.
- General cleanup to adhere to dtbs bindings and missed alphabetically
ordering.
- PWM backlight for backlights with inverted logic on its PWM input.

Fixes:
- STMPE ADC not functional due to wrong node name in dts.

Adds:
- imx6q-apalis-ixora-v1.2.dtb: used for a Apalis iMX6 mated in an Ixora
V1.2 carrier board.
- Adds disable support for a OV5640 MIPI-CSI2 Camera and a ADV7280
Video ADC on a parallel video input.



Denys Drozdov (1):
ARM: dts: imx6q-apalis: Clean-up sd card support

Max Krummenacher (10):
dt-bindings: arm: fsl: Add carrier for toradex,apalis-imx6q
Revert "ARM: dts: imx6qdl-apalis: Avoid underscore in node name"
ARM: dts: imx6q-apalis: Add gpio-line-names
ARM: dts: imx6q-apalis: Command pmic to standby for poweroff
ARM: dts: imx6q-apalis: Move Atmel MXT touch ctrl to SoM dtsi
ARM: dts: imx6q-apalis: Disable HDMI
ARM: dts: imx6q-apalis: Add support for Toradex Ixora V1.2 carrier
boards
ARM: dts: imx6q-apalis: backlight pwm: Simplify inverted backlight
ARM: dts: imx6q-apalis: backlight pwm: Adapt brightness steps
ARM: dts: imx6q-apalis: Cleanup

Oleksandr Suvorov (6):
ARM: dts: imx6q-apalis: Move parallel rgb interface to SoM dtsi
ARM: dts: imx6q-apalis: Move pinmux groups to SoM dtsi
ARM: dts: imx6q-apalis: Add LVDS panel support
ARM: dts: imx6q-apalis: Disable stmpe touchscreen
ARM: dts: imx6q-apalis: Add ov5640 mipi csi camera
ARM: dts: imx6q-apalis: Add adv7280 video input

.../devicetree/bindings/arm/fsl.yaml | 1 +
arch/arm/boot/dts/Makefile | 1 +
arch/arm/boot/dts/imx6q-apalis-eval.dts | 117 +---
arch/arm/boot/dts/imx6q-apalis-ixora-v1.1.dts | 263 +-------
arch/arm/boot/dts/imx6q-apalis-ixora-v1.2.dts | 290 ++++++++
arch/arm/boot/dts/imx6q-apalis-ixora.dts | 103 +--
arch/arm/boot/dts/imx6qdl-apalis.dtsi | 623 ++++++++++++++----
7 files changed, 840 insertions(+), 558 deletions(-)
create mode 100644 arch/arm/boot/dts/imx6q-apalis-ixora-v1.2.dts

--
2.20.1