mbox series

[v2,00/18] ARM: dts: imx6q-apalis: Misc improvements and newly added carrier

Message ID 20220615115006.45672-1-max.oss.09@gmail.com (mailing list archive)
Headers show
Series ARM: dts: imx6q-apalis: Misc improvements and newly added carrier | expand

Message

Max Krummenacher June 15, 2022, 11:49 a.m. UTC
From: Max Krummenacher <max.krummenacher@toradex.com>


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.


Changes in v2:
- Moved cleanup for things added in earlier commits of the series to
  the those commit rather than cleaning up later.
- Added reviewed-by tags
- Fixed '-' vs. '_' in node name as pointed out by Fabio
- Added "adv,force-bt656-4" property as suggested by Fabio.
- Added commit "ARM: dts: imx6q-apalis: move gpio-keys to SoM dtsi"
  and followed that in the commit adding the Ixora V1.2.
- Rebased on top of imx/dt, 5.19-rc1

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

Max Krummenacher (11):
  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: move gpio-keys 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       | 127 +---
 arch/arm/boot/dts/imx6q-apalis-ixora-v1.1.dts | 263 +-------
 arch/arm/boot/dts/imx6q-apalis-ixora-v1.2.dts | 276 ++++++++
 arch/arm/boot/dts/imx6q-apalis-ixora.dts      | 113 +---
 arch/arm/boot/dts/imx6qdl-apalis.dtsi         | 638 ++++++++++++++----
 7 files changed, 837 insertions(+), 582 deletions(-)
 create mode 100644 arch/arm/boot/dts/imx6q-apalis-ixora-v1.2.dts

Comments

Shawn Guo June 20, 2022, 1:14 a.m. UTC | #1
On Wed, Jun 15, 2022 at 01:49:48PM +0200, Max Krummenacher wrote:
> From: Max Krummenacher <max.krummenacher@toradex.com>
> 
> 
> 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.
> 
> 
> Changes in v2:
> - Moved cleanup for things added in earlier commits of the series to
>   the those commit rather than cleaning up later.
> - Added reviewed-by tags
> - Fixed '-' vs. '_' in node name as pointed out by Fabio
> - Added "adv,force-bt656-4" property as suggested by Fabio.
> - Added commit "ARM: dts: imx6q-apalis: move gpio-keys to SoM dtsi"
>   and followed that in the commit adding the Ixora V1.2.
> - Rebased on top of imx/dt, 5.19-rc1
> 
> Denys Drozdov (1):
>   ARM: dts: imx6q-apalis: Clean-up sd card support
> 
> Max Krummenacher (11):
>   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: move gpio-keys 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

Applied all, thanks!