mbox series

[v2,00/14] ARM: dts: imx6dl-colibri: Misc improvements and newly added carriers

Message ID 20220411152234.12678-1-max.oss.09@gmail.com (mailing list archive)
Headers show
Series ARM: dts: imx6dl-colibri: Misc improvements and newly added carriers | expand

Message

Max Krummenacher April 11, 2022, 3:22 p.m. UTC
From: Max Krummenacher <max.krummenacher@toradex.com>


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

The Toradex Colibri 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 Colibri Evaluation Board device tree and
adds new device trees for the Aster, Iris, and Iris V2 carrier boards.

Additionally it drops the dedicated device tree for SoM V1.1 HW used in a
Evaluation board. The regular device tree works well in that combination.
The higher SD card speed possible with SoM V1.1 would require HW
modification on the 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.

Fixes:
- Copy/paste error in i2c2 pinmuxing resulting in i2c2 being
  nonfunctional.

Adds:
- imx6dl-colibri-aster.dtb: used for a Colibri iMX6 mated in an Aster
  carrier board.
- imx6dl-colibri-iris.dtb: used for a Colibri iMX6 mated in an
  Iris V1.x carrier board.
- imx6dl-colibri-iris-v2.dtb: used for a Colibri iMX6 mated in an
  Iris V2.x carrier board.

Drops:
- imx6dl-colibri-v1_1-eval-v3.dtb, imx6dl-colibri-eval-v3.dtb is good
  enough.

Changes in v2:
- Addressed 'From' address as reported by checkpatch / Shawn's feedback.
- Added Rob's Ack to the 'dt-bindings' patches.

Max Krummenacher (13):
  dt-bindings: arm: fsl: imx6dl-colibri: Drop dedicated v1.1 bindings
  dt-bindings: arm: fsl: Add carriers for toradex,colibri-imx6dl
  ARM: dts: imx6dl-colibri: Drop dedicated v1.1 device tree
  ARM: dts: imx6dl-colibri: Fix I2C pinmuxing
  ARM: dts: imx6dl-colibri: Disable add-on accessories
  ARM: dts: imx6dl-colibri: Command pmic to standby for poweroff
  ARM: dts: imx6dl-colibri: Add additional pingroups
  ARM: dts: imx6dl-colibri: Move common nodes to SoM dtsi
  ARM: dts: imx6dl-colibri: Cleanup
  ARM: dts: imx6dl-colibri: Add usdhc1 sleep pin configuration
  ARM: dts: imx6dl-colibri: Add support for Toradex Iris carrier boards
  ARM: dts: imx6dl-colibri: Add support for Toradex Aster carrier board
  ARM: imx_v6_v7_defconfig: Enable the ADC part of the STMPE MFD

Oleksandr Suvorov (1):
  ARM: dts: imx6dl-colibri: Add gpio-line-names

 .../devicetree/bindings/arm/fsl.yaml          |  11 +-
 arch/arm/boot/dts/Makefile                    |   4 +-
 arch/arm/boot/dts/imx6dl-colibri-aster.dts    | 113 +++
 arch/arm/boot/dts/imx6dl-colibri-eval-v3.dts  | 110 +--
 arch/arm/boot/dts/imx6dl-colibri-iris-v2.dts  |  46 ++
 arch/arm/boot/dts/imx6dl-colibri-iris.dts     | 152 ++++
 .../boot/dts/imx6dl-colibri-v1_1-eval-v3.dts  |  31 -
 .../boot/dts/imx6qdl-colibri-v1_1-uhs.dtsi    |  44 -
 arch/arm/boot/dts/imx6qdl-colibri.dtsi        | 771 ++++++++++++++----
 arch/arm/configs/imx_v6_v7_defconfig          |   1 +
 10 files changed, 919 insertions(+), 364 deletions(-)
 create mode 100644 arch/arm/boot/dts/imx6dl-colibri-aster.dts
 create mode 100644 arch/arm/boot/dts/imx6dl-colibri-iris-v2.dts
 create mode 100644 arch/arm/boot/dts/imx6dl-colibri-iris.dts
 delete mode 100644 arch/arm/boot/dts/imx6dl-colibri-v1_1-eval-v3.dts
 delete mode 100644 arch/arm/boot/dts/imx6qdl-colibri-v1_1-uhs.dtsi

Comments

Shawn Guo April 18, 2022, 8:30 a.m. UTC | #1
On Mon, Apr 11, 2022 at 05:22:20PM +0200, Max Krummenacher wrote:
> From: Max Krummenacher <max.krummenacher@toradex.com>
> 
> 
> This is a general update of the Colibri iMX6 device tree files.
> 
> The Toradex Colibri 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 Colibri Evaluation Board device tree and
> adds new device trees for the Aster, Iris, and Iris V2 carrier boards.
> 
> Additionally it drops the dedicated device tree for SoM V1.1 HW used in a
> Evaluation board. The regular device tree works well in that combination.
> The higher SD card speed possible with SoM V1.1 would require HW
> modification on the 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.
> 
> Fixes:
> - Copy/paste error in i2c2 pinmuxing resulting in i2c2 being
>   nonfunctional.
> 
> Adds:
> - imx6dl-colibri-aster.dtb: used for a Colibri iMX6 mated in an Aster
>   carrier board.
> - imx6dl-colibri-iris.dtb: used for a Colibri iMX6 mated in an
>   Iris V1.x carrier board.
> - imx6dl-colibri-iris-v2.dtb: used for a Colibri iMX6 mated in an
>   Iris V2.x carrier board.
> 
> Drops:
> - imx6dl-colibri-v1_1-eval-v3.dtb, imx6dl-colibri-eval-v3.dtb is good
>   enough.
> 
> Changes in v2:
> - Addressed 'From' address as reported by checkpatch / Shawn's feedback.
> - Added Rob's Ack to the 'dt-bindings' patches.
> 
> Max Krummenacher (13):
>   dt-bindings: arm: fsl: imx6dl-colibri: Drop dedicated v1.1 bindings
>   dt-bindings: arm: fsl: Add carriers for toradex,colibri-imx6dl
>   ARM: dts: imx6dl-colibri: Drop dedicated v1.1 device tree
>   ARM: dts: imx6dl-colibri: Fix I2C pinmuxing
>   ARM: dts: imx6dl-colibri: Disable add-on accessories
>   ARM: dts: imx6dl-colibri: Command pmic to standby for poweroff
>   ARM: dts: imx6dl-colibri: Add additional pingroups
>   ARM: dts: imx6dl-colibri: Move common nodes to SoM dtsi
>   ARM: dts: imx6dl-colibri: Cleanup
>   ARM: dts: imx6dl-colibri: Add usdhc1 sleep pin configuration
>   ARM: dts: imx6dl-colibri: Add support for Toradex Iris carrier boards
>   ARM: dts: imx6dl-colibri: Add support for Toradex Aster carrier board
>   ARM: imx_v6_v7_defconfig: Enable the ADC part of the STMPE MFD
> 
> Oleksandr Suvorov (1):
>   ARM: dts: imx6dl-colibri: Add gpio-line-names

Applied all, thanks!