Add support for Kontron OSM-S i.MX8MP SoM and carrier boards
Subsystems (2)
v3 cover Add support for Kontron OSM-S i.MX8MP SoM and carrier boards
From: Frieder Schrempf <[email protected]>
Patch 1: board DT bindings
Patch 2: OSM-S i.MX8MP SoM and BL carrier board devicetrees Patch 3: i.MX8MP SMARC module and eval carrier board devicetrees
Changes for v3:
* Address Shawn's review comments (thanks!)
* Fix HDMI DDC interface
* Fix gpio-hog pinctrl in DL devicetree
* Fix DT check warnings in DL devicetree
* Adjust LVDS panel node to match that of proposed DL i.MX8MM
Changes for v2:
DT bindings (patch1):
* Add tags from Krzysztof and Conor (thanks!)
SMARC DTs (patch 3):
* Fix GPIO labels
* Add support for TPM chip on SMARC module
* Disable PWM in favor of GPIO5 on SMARC carrier
* Enable LCDIF node to make HDMI work
* Add support for GPIO expanders on SMARC carrier
* Remove SPI flash as its removable and should be in an overlay
* Add CAN regulators to fix transceiver enable
Frieder Schrempf (3):
dt-bindings: arm: fsl: Add Kontron i.MX8MP OSM-S based boards
arm64: dts: Add support for Kontron OSM-S i.MX8MP SoM and BL carrier
board
arm64: dts: Add support for Kontron i.MX8MP SMARC module and eval
carrier
.../devicetree/bindings/arm/fsl.yaml | 13 + arch/arm64/boot/dts/freescale/Makefile | 6 + .../dts/freescale/imx8mp-kontron-bl-osm-s.dts | 305 ++++++ .../boot/dts/freescale/imx8mp-kontron-dl.dtso | 110 +++ .../dts/freescale/imx8mp-kontron-osm-s.dtsi | 908 ++++++++++++++++++ .../imx8mp-kontron-smarc-eval-carrier.dts | 254 +++++ .../dts/freescale/imx8mp-kontron-smarc.dtsi | 280 ++++++ 7 files changed, 1876 insertions(+) create mode 100644 arch/arm64/boot/dts/freescale/imx8mp-kontron-bl-osm-s.dts create mode 100644 arch/arm64/boot/dts/freescale/imx8mp-kontron-dl.dtso create mode 100644 arch/arm64/boot/dts/freescale/imx8mp-kontron-osm-s.dtsi create mode 100644 arch/arm64/boot/dts/freescale/imx8mp-kontron-smarc-eval-carrier.dts create mode 100644 arch/arm64/boot/dts/freescale/imx8mp-kontron-smarc.dtsi
Signature · 1 line
2.46.0
PATCH v3 1/3 dt-bindings: arm: fsl: Add Kontron i.MX8MP OSM-S based boards
From: Frieder Schrempf <[email protected]>
Add the bindings for the Kontron i.MX8MP OSM-S SoM and carrier boards.
---
Changes for v3:
* none
Changes for v2:
* Add tags from Krzysztof and Conor (thanks!)
--- Documentation/devicetree/bindings/arm/fsl.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+)
Documentation/devicetree/bindings/arm/fsl.yaml +13 -0
@@ -1113,6 +1113,19 @@ properties: - const: engicam,icore-mx8mp # i.MX8MP Engicam i.Core MX8M Plus SoM - const: fsl,imx8mp + - description: Kontron i.MX8MP OSM-S SoM based Boards + items: + - const: kontron,imx8mp-bl-osm-s # Kontron BL i.MX8MP OSM-S Board + - const: kontron,imx8mp-osm-s # Kontron i.MX8MP OSM-S SoM + - const: fsl,imx8mp + + - description: Kontron i.MX8MP SMARC based Boards + items: + - const: kontron,imx8mp-smarc-eval-carrier # Kontron i.MX8MP SMARC Eval Carrier + - const: kontron,imx8mp-smarc # Kontron i.MX8MP SMARC Module + - const: kontron,imx8mp-osm-s # Kontron i.MX8MP OSM-S SoM + - const: fsl,imx8mp + - description: PHYTEC phyCORE-i.MX8MP SoM based boards items: - const: phytec,imx8mp-phyboard-pollux-rdk # phyBOARD-Pollux RDK
Signature · 1 line
2.46.0
PATCH v3 2/3 arm64: dts: Add support for Kontron OSM-S i.MX8MP SoM and BL carrier board
In reply to Frieder SchrempfFrom: Frieder Schrempf <[email protected]>
This adds support for the Kontron Electronics OSM-S i.MX8MP SoM and the matching baseboard BL i.MX8MP.
The SoM hardware complies to the Open Standard Module (OSM) 1.1 specification, size S (https://sget.org/standards/osm).
---
Note: This depends on binding changes for the LVDS panel proposed here:
https://patchwork.ozlabs.org/project/devicetree-bindings/cover/[email protected]/
Note: This might throw the following warnings:
Warning (graph_port): /fragment@3: graph port node name should be 'port'
Warning (graph_endpoint): /fragment@3/__overlay__: graph endpoint node name should be 'endpoint'
Warning (graph_endpoint): /fragment@3/__overlay__: graph connection to node '/fragment@7/__overlay__/ports/port@0/endpoint' is not bidirectional
The following fix is available in DTC and queued in linux-next:
84b056a89d ("checks: relax graph checks for overlays")
https://git.kernel.org/pub/scm/utils/dtc/dtc.git/commit/?id=84b056a89d3c5b6cf6c5eeeafd4c4b14d6333aa9
Changes for v3:
* Fix HDMI DDC interface
* Fix gpio-hog pinctrl in DL devicetree
* Fix DT check warnings in DL devicetree
* Adjust LVDS panel node to match that of proposed DL i.MX8MM
* Address Shawn's review comments (thanks!)
Changes for v2:
* none
--- arch/arm64/boot/dts/freescale/Makefile | 5 + .../dts/freescale/imx8mp-kontron-bl-osm-s.dts | 305 ++++++ .../boot/dts/freescale/imx8mp-kontron-dl.dtso | 110 +++ .../dts/freescale/imx8mp-kontron-osm-s.dtsi | 908 ++++++++++++++++++ 4 files changed, 1328 insertions(+) create mode 100644 arch/arm64/boot/dts/freescale/imx8mp-kontron-bl-osm-s.dts create mode 100644 arch/arm64/boot/dts/freescale/imx8mp-kontron-dl.dtso create mode 100644 arch/arm64/boot/dts/freescale/imx8mp-kontron-osm-s.dtsi
arch/arm64/boot/dts/freescale/Makefile +5 -0
@@ -171,6 +171,11 @@ dtb-$(CONFIG_ARCH_MXC) += imx8mp-dhcom-pdk2.dtb dtb-$(CONFIG_ARCH_MXC) += imx8mp-dhcom-pdk3.dtb dtb-$(CONFIG_ARCH_MXC) += imx8mp-evk.dtb dtb-$(CONFIG_ARCH_MXC) += imx8mp-icore-mx8mp-edimm2.2.dtb +dtb-$(CONFIG_ARCH_MXC) += imx8mp-kontron-bl-osm-s.dtb + +imx8mp-kontron-dl-dtbs += imx8mp-kontron-bl-osm-s.dtb imx8mp-kontron-dl.dtbo +dtb-$(CONFIG_ARCH_MXC) += imx8mp-kontron-dl.dtb + dtb-$(CONFIG_ARCH_MXC) += imx8mp-msc-sm2s-ep1.dtb dtb-$(CONFIG_ARCH_MXC) += imx8mp-navqp.dtb dtb-$(CONFIG_ARCH_MXC) += imx8mp-phyboard-pollux-rdk.dtb
arch/arm64/boot/dts/freescale/imx8mp-kontron-bl-osm-s.dts new file +305 -0
305 lines not on this page · raw message
arch/arm64/boot/dts/freescale/imx8mp-kontron-dl.dtso new file +110 -0
110 lines not on this page · raw message
arch/arm64/boot/dts/freescale/imx8mp-kontron-osm-s.dtsi new file +908 -0
908 lines not on this page · raw message
Signature · 1 line
2.46.0
PATCH v3 3/3 arm64: dts: Add support for Kontron i.MX8MP SMARC module and eval carrier
In reply to Frieder SchrempfFrom: Frieder Schrempf <[email protected]>
This adds support for the Kontron Electronics i.MX8MP SMARC module (which uses the OSM-S i.MX8MP SoM) on the Kontron SMARC eval carrier.
---
Changes for v3:
* Address Shawn's review comments (thanks!)
Changes for v2:
* Fix GPIO labels
* Add support for TPM chip on SMARC module
* Disable PWM in favor of GPIO5 on SMARC carrier
* Enable LCDIF node to make HDMI work
* Add support for GPIO expanders on SMARC carrier
* Remove SPI flash as its removable and should be in an overlay
* Add CAN regulators to fix transceiver enable
--- arch/arm64/boot/dts/freescale/Makefile | 1 + .../imx8mp-kontron-smarc-eval-carrier.dts | 254 ++++++++++++++++ .../dts/freescale/imx8mp-kontron-smarc.dtsi | 280 ++++++++++++++++++ 3 files changed, 535 insertions(+) create mode 100644 arch/arm64/boot/dts/freescale/imx8mp-kontron-smarc-eval-carrier.dts create mode 100644 arch/arm64/boot/dts/freescale/imx8mp-kontron-smarc.dtsi
arch/arm64/boot/dts/freescale/Makefile +1 -0
@@ -176,6 +176,7 @@ dtb-$(CONFIG_ARCH_MXC) += imx8mp-kontron-bl-osm-s.dtb imx8mp-kontron-dl-dtbs += imx8mp-kontron-bl-osm-s.dtb imx8mp-kontron-dl.dtbo dtb-$(CONFIG_ARCH_MXC) += imx8mp-kontron-dl.dtb +dtb-$(CONFIG_ARCH_MXC) += imx8mp-kontron-smarc-eval-carrier.dtb dtb-$(CONFIG_ARCH_MXC) += imx8mp-msc-sm2s-ep1.dtb dtb-$(CONFIG_ARCH_MXC) += imx8mp-navqp.dtb dtb-$(CONFIG_ARCH_MXC) += imx8mp-phyboard-pollux-rdk.dtb
arch/arm64/boot/dts/freescale/imx8mp-kontron-smarc-eval-carrier.dts new file +254 -0
254 lines not on this page · raw message
arch/arm64/boot/dts/freescale/imx8mp-kontron-smarc.dtsi new file +280 -0
280 lines not on this page · raw message
Signature · 1 line
2.46.0
Rob Herring (Arm)
maintainerQuoted 49 lines · Frieder Schrempf
From: Frieder Schrempf <[email protected]>
Patch 1: board DT bindings
Patch 2: OSM-S i.MX8MP SoM and BL carrier board devicetrees Patch 3: i.MX8MP SMARC module and eval carrier board devicetreesChanges for v3:
* Address Shawn's review comments (thanks!)
* Fix HDMI DDC interface
* Fix gpio-hog pinctrl in DL devicetree
* Fix DT check warnings in DL devicetree
* Adjust LVDS panel node to match that of proposed DL i.MX8MMChanges for v2:
DT bindings (patch1):
* Add tags from Krzysztof and Conor (thanks!)SMARC DTs (patch 3):
* Fix GPIO labels
* Add support for TPM chip on SMARC module
* Disable PWM in favor of GPIO5 on SMARC carrier
* Enable LCDIF node to make HDMI work
* Add support for GPIO expanders on SMARC carrier
* Remove SPI flash as its removable and should be in an overlay
* Add CAN regulators to fix transceiver enableFrieder Schrempf (3):
dt-bindings: arm: fsl: Add Kontron i.MX8MP OSM-S based boards
arm64: dts: Add support for Kontron OSM-S i.MX8MP SoM and BL carrier
board
arm64: dts: Add support for Kontron i.MX8MP SMARC module and eval
carrier.../devicetree/bindings/arm/fsl.yaml | 13 + arch/arm64/boot/dts/freescale/Makefile | 6 + .../dts/freescale/imx8mp-kontron-bl-osm-s.dts | 305 ++++++ .../boot/dts/freescale/imx8mp-kontron-dl.dtso | 110 +++ .../dts/freescale/imx8mp-kontron-osm-s.dtsi | 908 ++++++++++++++++++ .../imx8mp-kontron-smarc-eval-carrier.dts | 254 +++++ .../dts/freescale/imx8mp-kontron-smarc.dtsi | 280 ++++++ 7 files changed, 1876 insertions(+) create mode 100644 arch/arm64/boot/dts/freescale/imx8mp-kontron-bl-osm-s.dts create mode 100644 arch/arm64/boot/dts/freescale/imx8mp-kontron-dl.dtso create mode 100644 arch/arm64/boot/dts/freescale/imx8mp-kontron-osm-s.dtsi create mode 100644 arch/arm64/boot/dts/freescale/imx8mp-kontron-smarc-eval-carrier.dts create mode 100644 arch/arm64/boot/dts/freescale/imx8mp-kontron-smarc.dtsi
Quoted 5 lines
--
2.46.0
My bot found new DTB warnings on the .dts files added or changed in this series.
Some warnings may be from an existing SoC .dtsi. Or perhaps the warnings are fixed by another series. Ultimately, it is up to the platform maintainer whether these warnings are acceptable or not. No need to reply unless the platform maintainer has comments.
If you already ran DT checks and didn't see these error(s), then make sure dt-schema is up to date:
pip3 install dtschema --upgrade
New warnings running 'make CHECK_DTBS=y freescale/imx8mp-kontron-bl-osm-s.dtb freescale/imx8mp-kontron-smarc-eval-carrier.dtb' for [email protected]:
arch/arm64/boot/dts/freescale/imx8mp-kontron-bl-osm-s.dtb: clock-controller@30e20000: '#reset-cells' does not match any of the regexes: 'pinctrl-[0-9]+'
from schema $id: http://devicetree.org/schemas/clock/imx8mp-audiomix.yaml#arch/arm64/boot/dts/freescale/imx8mp-kontron-smarc-eval-carrier.dtb: clock-controller@30e20000: '#reset-cells' does not match any of the regexes: 'pinctrl-[0-9]+'
from schema $id: http://devicetree.org/schemas/clock/imx8mp-audiomix.yaml#arch/arm64/boot/dts/freescale/imx8mp-kontron-bl-osm-s.dtb: pcie-ep@33800000: reg: [[864026624, 1048576], [402653184, 134217728], [865075200, 1048576], [867172352, 1048576]] is too long
from schema $id: http://devicetree.org/schemas/pci/fsl,imx6q-pcie-ep.yaml#arch/arm64/boot/dts/freescale/imx8mp-kontron-bl-osm-s.dtb: pcie-ep@33800000: reg-names: ['dbi', 'addr_space', 'dbi2', 'atu'] is too long
from schema $id: http://devicetree.org/schemas/pci/fsl,imx6q-pcie-ep.yaml#arch/arm64/boot/dts/freescale/imx8mp-kontron-smarc-eval-carrier.dtb: pcie-ep@33800000: reg: [[864026624, 1048576], [402653184, 134217728], [865075200, 1048576], [867172352, 1048576]] is too long
from schema $id: http://devicetree.org/schemas/pci/fsl,imx6q-pcie-ep.yaml#arch/arm64/boot/dts/freescale/imx8mp-kontron-smarc-eval-carrier.dtb: pcie-ep@33800000: reg-names: ['dbi', 'addr_space', 'dbi2', 'atu'] is too long
from schema $id: http://devicetree.org/schemas/pci/fsl,imx6q-pcie-ep.yaml#
Quoted 28 lines · Frieder Schrempf
From: Frieder Schrempf <[email protected]>
Patch 1: board DT bindings
Patch 2: OSM-S i.MX8MP SoM and BL carrier board devicetrees Patch 3: i.MX8MP SMARC module and eval carrier board devicetreesChanges for v3:
* Address Shawn's review comments (thanks!)
* Fix HDMI DDC interface
* Fix gpio-hog pinctrl in DL devicetree
* Fix DT check warnings in DL devicetree
* Adjust LVDS panel node to match that of proposed DL i.MX8MMChanges for v2:
DT bindings (patch1):
* Add tags from Krzysztof and Conor (thanks!)SMARC DTs (patch 3):
* Fix GPIO labels
* Add support for TPM chip on SMARC module
* Disable PWM in favor of GPIO5 on SMARC carrier
* Enable LCDIF node to make HDMI work
* Add support for GPIO expanders on SMARC carrier
* Remove SPI flash as its removable and should be in an overlay
* Add CAN regulators to fix transceiver enable
Quoted 6 lines
Frieder Schrempf (3):
dt-bindings: arm: fsl: Add Kontron i.MX8MP OSM-S based boards
arm64: dts: Add support for Kontron OSM-S i.MX8MP SoM and BL carrier
board
arm64: dts: Add support for Kontron i.MX8MP SMARC module and eval
carrier
Gentle ping for this series. Shawn, can you apply this for v6.13, please?
Thanks
Frieder
Shawn Guo
AppliedQuoted 6 lines · Frieder Schrempf
Frieder Schrempf (3):
dt-bindings: arm: fsl: Add Kontron i.MX8MP OSM-S based boards
arm64: dts: Add support for Kontron OSM-S i.MX8MP SoM and BL carrier
board
arm64: dts: Add support for Kontron i.MX8MP SMARC module and eval
carrier
Applied all, thanks!