Skip to contentSkip to conversation

Remove the Kontron SMARC-sAM67 board

PATCH Applied Michael Walle 4 participants 12 messages Feb 23 – Feb 26

Subsystems (8)

v1 of 2 Applied Latest is v2 →

lore
Share & tools
lore

Michael Walle

author maintainer
#0 lore raw

cover Remove the Kontron SMARC-sAM67 board

I was informed two weeks ago that this product is discontinued (without being ever released to the market). Unfortunately, this collided with the merge window and I had to wait two more weeks.

Pull the plug and let's not waste any more maintainers time.

Please let me know if this can be picked up in one go or if the device tree has to be removed first and then the drivers together with the dt-bindings.

On the bright side, the board upstreaming brought some driver fixes, too. I'm really sorry for any wasted time.

Michael Walle (8):
arm64: dts: ti: remove the Kontron SMARC-sAM67
arm64: defconfig: remove SENSORS_SA67MCU
Revert "hwmon: add SMARC-sAM67 support"
Revert "dt-bindings: mfd: sl28cpld: Add sa67mcu compatible" Revert "dt-bindings: arm: ti: Add Kontron SMARC-sAM67 module" Revert "dt-bindings: nvmem: sl28cpld: add sa67mcu compatible" Revert "dt-bindings: watchdog: Add SMARC-sAM67 support" Revert "dt-bindings: hwmon: sl28cpld: add sa67mcu compatible"

 .../devicetree/bindings/arm/ti/k3.yaml        |    1 -
 .../embedded-controller/kontron,sl28cpld.yaml |    7 +-
 .../hwmon/kontron,sl28cpld-hwmon.yaml         |    1 -
 .../nvmem/layouts/kontron,sl28-vpd.yaml       |    7 +-
 .../watchdog/kontron,sl28cpld-wdt.yaml        |    7 +-
 Documentation/hwmon/index.rst                 |    1 -
 Documentation/hwmon/sa67.rst                  |   41 -
 MAINTAINERS                                   |    1 -
 arch/arm64/boot/dts/ti/Makefile               |   13 -
 .../dts/ti/k3-am67a-kontron-sa67-ads2.dtso    |  146 ---
 .../dts/ti/k3-am67a-kontron-sa67-base.dts     | 1091 -----------------
 .../dts/ti/k3-am67a-kontron-sa67-gbe1.dtso    |   26 -
 .../dts/ti/k3-am67a-kontron-sa67-gpios.dtso   |   61 -
 .../ti/k3-am67a-kontron-sa67-rtc-rv8263.dtso  |   31 -
 arch/arm64/configs/defconfig                  |    1 -
 drivers/hwmon/Kconfig                         |   10 -
 drivers/hwmon/Makefile                        |    1 -
 drivers/hwmon/sa67mcu-hwmon.c                 |  161 ---
 18 files changed, 3 insertions(+), 1604 deletions(-)
 delete mode 100644 Documentation/hwmon/sa67.rst
 delete mode 100644 arch/arm64/boot/dts/ti/k3-am67a-kontron-sa67-ads2.dtso
 delete mode 100644 arch/arm64/boot/dts/ti/k3-am67a-kontron-sa67-base.dts
 delete mode 100644 arch/arm64/boot/dts/ti/k3-am67a-kontron-sa67-gbe1.dtso
 delete mode 100644 arch/arm64/boot/dts/ti/k3-am67a-kontron-sa67-gpios.dtso
 delete mode 100644 arch/arm64/boot/dts/ti/k3-am67a-kontron-sa67-rtc-rv8263.dtso
 delete mode 100644 drivers/hwmon/sa67mcu-hwmon.c
Signature · 1 line
2.47.3
author maintainer
#1 lore raw

PATCH 1/8 arm64: dts: ti: remove the Kontron SMARC-sAM67

I was just informed that this product is discontinued (without being ever released to the market). Pull the plug and let's not waste any more maintainers time.

---
 arch/arm64/boot/dts/ti/Makefile               |   13 -
 .../dts/ti/k3-am67a-kontron-sa67-ads2.dtso    |  146 ---
 .../dts/ti/k3-am67a-kontron-sa67-base.dts     | 1091 -----------------
 .../dts/ti/k3-am67a-kontron-sa67-gbe1.dtso    |   26 -
 .../dts/ti/k3-am67a-kontron-sa67-gpios.dtso   |   61 -
 .../ti/k3-am67a-kontron-sa67-rtc-rv8263.dtso  |   31 -
 6 files changed, 1368 deletions(-)
 delete mode 100644 arch/arm64/boot/dts/ti/k3-am67a-kontron-sa67-ads2.dtso
 delete mode 100644 arch/arm64/boot/dts/ti/k3-am67a-kontron-sa67-base.dts
 delete mode 100644 arch/arm64/boot/dts/ti/k3-am67a-kontron-sa67-gbe1.dtso
 delete mode 100644 arch/arm64/boot/dts/ti/k3-am67a-kontron-sa67-gpios.dtso
 delete mode 100644 arch/arm64/boot/dts/ti/k3-am67a-kontron-sa67-rtc-rv8263.dtso
arch/arm64/boot/dts/ti/Makefile +0 -13
index ba01a929e06f..260e211ca277 100644
@@ -142,17 +142,7 @@ dtb-$(CONFIG_ARCH_K3) += k3-j721s2-evm-pcie1-ep.dtbo
 dtb-$(CONFIG_ARCH_K3) += k3-j721s2-evm-usb0-type-a.dtbo
 
 # Boards with J722s SoC
-k3-am67a-kontron-sa67-dtbs := k3-am67a-kontron-sa67-base.dtb \
-	k3-am67a-kontron-sa67-rtc-rv8263.dtbo k3-am67a-kontron-sa67-gbe1.dtbo
-k3-am67a-kontron-sa67-ads2-dtbs := k3-am67a-kontron-sa67.dtb k3-am67a-kontron-sa67-ads2.dtbo
 dtb-$(CONFIG_ARCH_K3) += k3-am67a-beagley-ai.dtb
-dtb-$(CONFIG_ARCH_K3) += k3-am67a-kontron-sa67.dtb
-dtb-$(CONFIG_ARCH_K3) += k3-am67a-kontron-sa67-base.dtb
-dtb-$(CONFIG_ARCH_K3) += k3-am67a-kontron-sa67-gbe1.dtbo
-dtb-$(CONFIG_ARCH_K3) += k3-am67a-kontron-sa67-gpios.dtbo
-dtb-$(CONFIG_ARCH_K3) += k3-am67a-kontron-sa67-rtc-rv8263.dtbo
-dtb-$(CONFIG_ARCH_K3) += k3-am67a-kontron-sa67-ads2.dtb
-dtb-$(CONFIG_ARCH_K3) += k3-am67a-kontron-sa67-ads2.dtbo
 dtb-$(CONFIG_ARCH_K3) += k3-j722s-evm.dtb
 dtb-$(CONFIG_ARCH_K3) += k3-j722s-evm-csi2-quad-rpi-cam-imx219.dtbo
 dtb-$(CONFIG_ARCH_K3) += k3-j722s-evm-csi2-quad-tevi-ov5640.dtbo
@@ -244,8 +234,6 @@ k3-am642-tqma64xxl-mbax4xxl-sdcard-dtbs := \
 	k3-am642-tqma64xxl-mbax4xxl.dtb k3-am64-tqma64xxl-mbax4xxl-sdcard.dtbo
 k3-am642-tqma64xxl-mbax4xxl-wlan-dtbs := \
 	k3-am642-tqma64xxl-mbax4xxl.dtb k3-am64-tqma64xxl-mbax4xxl-wlan.dtbo
-k3-am67a-kontron-sa67-base-gpios-dtbs := \
-	k3-am67a-kontron-sa67-base.dtb k3-am67a-kontron-sa67-gpios.dtbo
 k3-am68-sk-base-board-csi2-dual-imx219-dtbs := k3-am68-sk-base-board.dtb \
 	k3-j721e-sk-csi2-dual-imx219.dtbo
 k3-am68-sk-base-board-pcie1-ep-dtbs := k3-am68-sk-base-board.dtb \
@@ -318,7 +306,6 @@ dtb- += k3-am625-beagleplay-csi2-ov5640.dtb \
 	k3-am642-phyboard-electra-x27-gpio1-spi1-uart3.dtb \
 	k3-am642-tqma64xxl-mbax4xxl-sdcard.dtb \
 	k3-am642-tqma64xxl-mbax4xxl-wlan.dtb \
-	k3-am67a-kontron-sa67-base-gpios.dtb \
 	k3-am68-sk-base-board-csi2-dual-imx219.dtb \
 	k3-am68-sk-base-board-pcie1-ep.dtb \
 	k3-am69-sk-csi2-dual-imx219.dtb \
arch/arm64/boot/dts/ti/k3-am67a-kontron-sa67-ads2.dtso deleted +0 -146

146 lines not on this page · raw message

arch/arm64/boot/dts/ti/k3-am67a-kontron-sa67-base.dts deleted +0 -1091

1,091 lines not on this page · raw message

arch/arm64/boot/dts/ti/k3-am67a-kontron-sa67-gbe1.dtso deleted +0 -26
deleted file mode 100644
index 5dfb0b8f10d2..000000000000
@@ -1,26 +0,0 @@
-// SPDX-License-Identifier: GPL-2.0-only OR MIT
-/*
- * Second ethernet port GBE1.
- *
- * Copyright (c) 2025 Kontron Europe GmbH
- */
-
-/dts-v1/;
-/plugin/;
-
-&cpsw3g_mdio {
-	#address-cells = <1>;
-	#size-cells = <0>;
-
-	phy1: ethernet-phy@1 {
-		reg = <1>;
-	};
-};
-
-&cpsw_port2 {
-	phy-connection-type = "rgmii-id";
-	phy-handle = <&phy1>;
-	nvmem-cells = <&base_mac_address 1>;
-	nvmem-cell-names = "mac-address";
-	status = "okay";
-};
arch/arm64/boot/dts/ti/k3-am67a-kontron-sa67-gpios.dtso deleted +0 -61

61 lines not on this page · raw message

arch/arm64/boot/dts/ti/k3-am67a-kontron-sa67-rtc-rv8263.dtso deleted +0 -31
deleted file mode 100644
index 0a3e9f614c4c..000000000000
@@ -1,31 +0,0 @@
-// SPDX-License-Identifier: GPL-2.0-only OR MIT
-/*
- * Microcrystal RV8263 RTC variant.
- *
- * Copyright (c) 2025 Kontron Europe GmbH
- */
-
-/dts-v1/;
-/plugin/;
-
-#include <dt-bindings/interrupt-controller/irq.h>
-
-&{/} {
-	aliases {
-		rtc0 = "/bus@f0000/i2c@20000000/rtc@51"; /* &rtc */
-		rtc1 = "/bus@f0000/bus@b00000/rtc@2b1f0000"; /* &wkup_rtc0 */
-	};
-};
-
-&main_i2c0 {
-	#address-cells = <1>;
-	#size-cells = <0>;
-
-	rtc: rtc@51 {
-		compatible = "microcrystal,rv8263";
-		reg = <0x51>;
-		pinctrl-names = "default";
-		pinctrl-0 = <&rtc_pins_default>;
-		interrupts-extended = <&main_gpio0 36 IRQ_TYPE_EDGE_FALLING>;
-	};
-};
Signature · 1 line
2.47.3
author maintainer
#2 lore raw

PATCH 2/8 arm64: defconfig: remove SENSORS_SA67MCU

In reply to Michael Walle

Remove the SENSORS_SA67MCU from the defconfig because the driver will be removed.

---
 arch/arm64/configs/defconfig | 1 -
 1 file changed, 1 deletion(-)
arch/arm64/configs/defconfig +0 -1
index b67d5b1fc45b..b7bdb8af77b4 100644
@@ -754,7 +754,6 @@ CONFIG_SENSORS_LM75=m
 CONFIG_SENSORS_LM90=m
 CONFIG_SENSORS_PWM_FAN=m
 CONFIG_SENSORS_RASPBERRYPI_HWMON=m
-CONFIG_SENSORS_SA67MCU=m
 CONFIG_SENSORS_SL28CPLD=m
 CONFIG_SENSORS_INA2XX=m
 CONFIG_SENSORS_INA3221=m
Signature · 1 line
2.47.3
author maintainer
#3 lore raw

PATCH 3/8 Revert "hwmon: add SMARC-sAM67 support"

In reply to Michael Walle

This reverts commit 443b39c82c322c9f3c38bea0389fe927ba00b3b4.

I was just informed that this product is discontinued (without being ever released to the market). Pull the plug and let's not waste any more maintainers time.

---
 Documentation/hwmon/index.rst |   1 -
 Documentation/hwmon/sa67.rst  |  41 ---------
 MAINTAINERS                   |   1 -
 drivers/hwmon/Kconfig         |  10 ---
 drivers/hwmon/Makefile        |   1 -
 drivers/hwmon/sa67mcu-hwmon.c | 161 ----------------------------------
 6 files changed, 215 deletions(-)
 delete mode 100644 Documentation/hwmon/sa67.rst
 delete mode 100644 drivers/hwmon/sa67mcu-hwmon.c
Documentation/hwmon/index.rst +0 -1
index d91dbb20c7dc..b2ca8513cfcd 100644
@@ -220,7 +220,6 @@ Hardware Monitoring Kernel Drivers
    q54sj108a2
    qnap-mcu-hwmon
    raspberrypi-hwmon
-   sa67
    sbrmi
    sbtsi_temp
    sch5627
Documentation/hwmon/sa67.rst deleted +0 -41

41 lines not on this page · raw message

MAINTAINERS +0 -1
index 71f76fddebbf..d34f7057610c 100644
@@ -24340,7 +24340,6 @@ F:	Documentation/devicetree/bindings/interrupt-controller/kontron,sl28cpld-intc.
 F:	Documentation/devicetree/bindings/pwm/kontron,sl28cpld-pwm.yaml
 F:	Documentation/devicetree/bindings/watchdog/kontron,sl28cpld-wdt.yaml
 F:	drivers/gpio/gpio-sl28cpld.c
-F:	drivers/hwmon/sa67mcu-hwmon.c
 F:	drivers/hwmon/sl28cpld-hwmon.c
 F:	drivers/irqchip/irq-sl28cpld.c
 F:	drivers/pwm/pwm-sl28cpld.c
drivers/hwmon/Kconfig +0 -10
index 41c381764c2b..486152a8ea77 100644
@@ -1927,16 +1927,6 @@ config SENSORS_RASPBERRYPI_HWMON
 	  This driver can also be built as a module. If so, the module
 	  will be called raspberrypi-hwmon.
 
-config SENSORS_SA67MCU
-	tristate "Kontron sa67mcu hardware monitoring driver"
-	depends on MFD_SL28CPLD || COMPILE_TEST
-	help
-	  If you say yes here you get support for the voltage and temperature
-	  monitor of the sa67 board management controller.
-
-	  This driver can also be built as a module.  If so, the module
-	  will be called sa67mcu-hwmon.
-
 config SENSORS_SL28CPLD
 	tristate "Kontron sl28cpld hardware monitoring driver"
 	depends on MFD_SL28CPLD || COMPILE_TEST
drivers/hwmon/Makefile +0 -1
index eade8e3b1bde..5833c807c688 100644
@@ -199,7 +199,6 @@ obj-$(CONFIG_SENSORS_PT5161L)	+= pt5161l.o
 obj-$(CONFIG_SENSORS_PWM_FAN)	+= pwm-fan.o
 obj-$(CONFIG_SENSORS_QNAP_MCU_HWMON)	+= qnap-mcu-hwmon.o
 obj-$(CONFIG_SENSORS_RASPBERRYPI_HWMON)	+= raspberrypi-hwmon.o
-obj-$(CONFIG_SENSORS_SA67MCU)	+= sa67mcu-hwmon.o
 obj-$(CONFIG_SENSORS_SBTSI)	+= sbtsi_temp.o
 obj-$(CONFIG_SENSORS_SBRMI)	+= sbrmi.o
 obj-$(CONFIG_SENSORS_SCH56XX_COMMON)+= sch56xx-common.o
drivers/hwmon/sa67mcu-hwmon.c deleted +0 -161

161 lines not on this page · raw message

Signature · 1 line
2.47.3
author maintainer
#5 lore raw

PATCH 4/8 Revert "dt-bindings: mfd: sl28cpld: Add sa67mcu compatible"

In reply to Michael Walle

This reverts commit a598ae45f48d7d5a17f8290f2f5bd46046fd0b9b.

I was just informed that this product is discontinued (without being ever released to the market). Pull the plug and let's not waste any more maintainers time.

---
 .../bindings/embedded-controller/kontron,sl28cpld.yaml     | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)
Documentation/devicetree/bindings/embedded-controller/kontron,sl28cpld.yaml +1 -6
index a77e67f6cb82..0b752f3baaa9 100644
@@ -16,12 +16,7 @@ description: |
 
 properties:
   compatible:
-    oneOf:
-      - items:
-          - enum:
-              - kontron,sa67mcu
-          - const: kontron,sl28cpld
-      - const: kontron,sl28cpld
+    const: kontron,sl28cpld
 
   reg:
     description:
Signature · 1 line
2.47.3
author maintainer
#7 lore raw

PATCH 5/8 Revert "dt-bindings: arm: ti: Add Kontron SMARC-sAM67 module"

In reply to Michael Walle

This reverts commit 22e1d0d8cda783bee95de578cbda3ad0da8a3eb4.

I was just informed that this product is discontinued (without being ever released to the market). Pull the plug and let's not waste any more maintainers time.

---
 Documentation/devicetree/bindings/arm/ti/k3.yaml | 1 -
 1 file changed, 1 deletion(-)
Documentation/devicetree/bindings/arm/ti/k3.yaml +0 -1
index 85deda6d4292..adda61e06173 100644
@@ -208,7 +208,6 @@ properties:
         items:
           - enum:
               - beagle,am67a-beagley-ai
-              - kontron,sa67             # Kontron SMARC-sAM67 board
               - ti,j722s-evm
           - const: ti,j722s
 
Signature · 1 line
2.47.3
author maintainer
#8 lore raw

PATCH 6/8 Revert "dt-bindings: nvmem: sl28cpld: add sa67mcu compatible"

In reply to Michael Walle

This reverts commit 4a9b344e90c7ca654d7a469d0a467f90ef2add64.

I was just informed that this product is discontinued (without being ever released to the market). Pull the plug and let's not waste any more maintainers time.

---
 .../bindings/nvmem/layouts/kontron,sl28-vpd.yaml           | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)
Documentation/devicetree/bindings/nvmem/layouts/kontron,sl28-vpd.yaml +1 -6
index afd1919c6b1c..c713e23819f1 100644
@@ -19,12 +19,7 @@ select: false
 
 properties:
   compatible:
-    oneOf:
-      - items:
-          - enum:
-              - kontron,sa67-vpd
-          - const: kontron,sl28-vpd
-      - const: kontron,sl28-vpd
+    const: kontron,sl28-vpd
 
   serial-number:
     type: object
Signature · 1 line
2.47.3
author maintainer
#9 lore raw

PATCH 7/8 Revert "dt-bindings: watchdog: Add SMARC-sAM67 support"

In reply to Michael Walle

This reverts commit 354f31e9d2a3e4799d3d057a9e1c9f7ae7348bba.

I was just informed that this product is discontinued (without being ever released to the market). Pull the plug and let's not waste any more maintainers time.

---
 .../devicetree/bindings/watchdog/kontron,sl28cpld-wdt.yaml | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)
Documentation/devicetree/bindings/watchdog/kontron,sl28cpld-wdt.yaml +1 -6
index 0821ba0e84a3..872a8471ef65 100644
@@ -18,12 +18,7 @@ allOf:
 
 properties:
   compatible:
-    oneOf:
-      - items:
-          - enum:
-              - kontron,sa67mcu-wdt
-          - const: kontron,sl28cpld-wdt
-      - const: kontron,sl28cpld-wdt
+    const: kontron,sl28cpld-wdt
 
   reg:
     maxItems: 1
Signature · 1 line
2.47.3
author maintainer
#10 lore raw

PATCH 8/8 Revert "dt-bindings: hwmon: sl28cpld: add sa67mcu compatible"

In reply to Michael Walle

This reverts commit 0f6eae86e626e0561d2f545a3183be2e12108410.

I was just informed that this product is discontinued (without being ever released to the market). Pull the plug and let's not waste any more maintainers time.

---
 .../devicetree/bindings/hwmon/kontron,sl28cpld-hwmon.yaml        | 1 -
 1 file changed, 1 deletion(-)
Documentation/devicetree/bindings/hwmon/kontron,sl28cpld-hwmon.yaml +0 -1
index 966b221b6caa..5803a1770cad 100644
@@ -16,7 +16,6 @@ description: |
 properties:
   compatible:
     enum:
-      - kontron,sa67mcu-hwmon
       - kontron,sl28cpld-fan
 
   reg:
Signature · 1 line
2.47.3
Acked-by on the v1 series
#11 lore raw
In reply to Michael Walle
Quoted 9 lines · Michael Walle

I was informed two weeks ago that this product is discontinued (without being ever released to the market). Unfortunately, this collided with the merge window and I had to wait two more weeks.

Pull the plug and let's not waste any more maintainers time.

Please let me know if this can be picked up in one go or if the device tree has to be removed first and then the drivers together with the dt-bindings.

I dunno, not like the order matters all that much to users. Ripping the dts out immediately probably works nicely in terms of avoiding warnings, but I think you'd be safe enough sending all but the hwmon stuff via soc for -rc2/3. Platform addition often is a mix of bindings/dts/defconfig, so I suppose platform removal could be too.

For the lot:

maintainer Applied
#4 lore raw

Re: [PATCH 3/8] Revert "hwmon: add SMARC-sAM67 support"

In reply to Michael Walle
Quoted 7 lines · Michael Walle

This reverts commit 443b39c82c322c9f3c38bea0389fe927ba00b3b4.

I was just informed that this product is discontinued (without being ever released to the market). Pull the plug and let's not waste any more maintainers time.

Applied. Please let me know if there are any objections.

Guenter

#6 lore raw

Re: [PATCH 4/8] Revert "dt-bindings: mfd: sl28cpld: Add sa67mcu compatible"

In reply to Michael Walle
Quoted 1 line · Michael Walle

This reverts commit a598ae45f48d7d5a17f8290f2f5bd46046fd0b9b.

Please use subject prefixes matching the subsystem. You can get them for example with git log --oneline -- DIRECTORY_OR_FILE on the directory your patch is touching. For bindings, the preferred subjects are explained here:
https://www.kernel.org/doc/html/latest/devicetree/bindings/submitting-patches.html#i-for-patch-submitters

dt-bindings: mfd: foo-bar: Revert or drop or something, here goes text.

Also:
Please do not use "This commit/patch/change", but imperative mood. See longer explanation here:
https://elixir.bootlin.com/linux/v6.16/source/Documentation/process/submitting-patches.rst#L94

And also, please use kernel style commit hashes, see checkpatch and submitting patches (12 char + subject).

Quoted 7 lines

I was just informed that this product is discontinued (without being ever released to the market). Pull the plug and let's not waste any more maintainers time.

---

Best regards,
Krzysztof