Skip to contentSkip to conversation

dt-bindings: fsl: add kamstrup flex concentrator to schema

PATCH Applied Bruno Thomsen 2 participants 3 messages Nov 18, 2020 – Nov 30, 2020

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH v4 1/2 dt-bindings: fsl: add kamstrup flex concentrator to schema

Add Kamstrup OMNIA Flex Concentrator compatibles to the schema so we can make use of them for the validation.

---
Changes since version 3:
- Rebase patch to v5.10-rc4.

No changes since version 2.

Changes since version 1:
- Patch prefix renamed to "dt-bindings: fsl:"
- Added acked-by from Rob Herring.
- Fixed typo in commit message.

 Documentation/devicetree/bindings/arm/fsl.yaml | 2 ++
 1 file changed, 2 insertions(+)
Documentation/devicetree/bindings/arm/fsl.yaml +2 -0
index 934289446abb..a5eb9fb68209 100644
@@ -362,6 +362,8 @@ properties:
           - enum:
               - fsl,imx7d-sdb             # i.MX7 SabreSD Board
               - fsl,imx7d-sdb-reva        # i.MX7 SabreSD Rev-A Board
+              - kam,imx7d-flex-concentrator       # Kamstrup OMNIA Flex Concentrator
+              - kam,imx7d-flex-concentrator-mfg   # Kamstrup OMNIA Flex Concentrator in manufacturing mode
               - novtech,imx7d-meerkat96   # i.MX7 Meerkat96 Board
               - technexion,imx7d-pico-dwarf   # TechNexion i.MX7D Pico-Dwarf
               - technexion,imx7d-pico-hobbit  # TechNexion i.MX7D Pico-Hobbit

base-commit: 09162bc32c880a791c6c0668ce0745cf7958f576

Signature · 1 line
2.28.0
#1 lore raw

PATCH v4 2/2 ARM: dts: imx7: add support for kamstrup flex concentrator

This adds support for the OMNIA Flex Concentrator product from Kamstrup A/S. It's providing radio mesh communication infrastructure for smart electricity meters.

Kamstrup OMNIA is a modular and scalable smart grid platform.

---
Thanks for v3 review Shawn Guo.

Changes since version 3:
- Removed "kam,imx7d-flex-concentrator" from compatible in mfg dts.
- Changed hmi-{b,c,d}-{red,green} to led-{0,1,2,3,4,5}.
- Removed 'default-state = "off"' as that is already default.
- Added heartbeat trigger on led-1.
- Updated gpio-leds labels.
- Added over-current-active-low in usbotg2.
- Don't delete m24c64 EEPROM node as TQ is unable to manufacture modules without it.

Changes since version 2:
- Found root cause of Ethernet PHY auto detect issue and created a mdio patch series that resolves the issue.
https://lore.kernel.org/netdev/[email protected]/
- Ethernet PHY reset is using new MDIO bus reset.
- Ethernet PHY interrupt added.
- Removed SION from a few GPIOs used for Ethernet PHY.

Changes since version 1:
- Sorted labeling nodes.
- Sorted pinctrl entries.
- Removed deprecated fec phy reset properties.
- Added mdio phy reset properties.
- Disabled phy type auto detection and added note to commit message.
- Fixed two comment typos.

 arch/arm/boot/dts/Makefile                    |   2 +
 .../boot/dts/imx7d-flex-concentrator-mfg.dts  |  25 ++
 arch/arm/boot/dts/imx7d-flex-concentrator.dts | 314 ++++++++++++++++++
 3 files changed, 341 insertions(+)
 create mode 100644 arch/arm/boot/dts/imx7d-flex-concentrator-mfg.dts
 create mode 100644 arch/arm/boot/dts/imx7d-flex-concentrator.dts
arch/arm/boot/dts/Makefile +2 -0
index ce66ffd5a1bb..937799614364 100644
@@ -641,6 +641,8 @@ dtb-$(CONFIG_SOC_IMX7D) += \
 	imx7d-colibri-emmc-aster.dtb \
 	imx7d-colibri-emmc-eval-v3.dtb \
 	imx7d-colibri-eval-v3.dtb \
+	imx7d-flex-concentrator.dtb \
+	imx7d-flex-concentrator-mfg.dtb \
 	imx7d-mba7.dtb \
 	imx7d-meerkat96.dtb \
 	imx7d-nitrogen7.dtb \
arch/arm/boot/dts/imx7d-flex-concentrator-mfg.dts new file +25 -0
new file mode 100644
index 000000000000..a6d68165fb1e
@@ -0,0 +1,25 @@
+// SPDX-License-Identifier: GPL-2.0
+/*
+ * Device Tree Source for Kamstrup OMNIA Flex Concentrator in
+ * manufacturing/debugging mode.
+ *
+ * Copyright (C) 2020 Kamstrup A/S
+ * Author: Bruno Thomsen <[email protected]>
+ */
+
+/dts-v1/;
+
+#include "imx7d-flex-concentrator.dts"
+
+/ {
+	model = "Kamstrup OMNIA Flex Concentrator - Manufacturing";
+	compatible = "kam,imx7d-flex-concentrator-mfg", "fsl,imx7d";
+
+	chosen {
+		stdout-path = &uart4;
+	};
+};
+
+&uart4 {
+	status = "okay";
+};
arch/arm/boot/dts/imx7d-flex-concentrator.dts new file +314 -0

314 lines not on this page · raw message

Signature · 1 line
2.28.0