From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E67C910F9965 for ; Wed, 8 Apr 2026 17:22:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References :Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=dUsa3nTYTD0LWuue8QGSHk7Sdq3D98Q/HNY3FHbk8Ww=; b=xDoQDuFqO4HlFsRwpy1ePaSjTX wqarhVwlVc64KaUL87+S5RU2q6S5wBJ4eVnC7VnSBmTqCq5FmEoWW1QAEqr1cnsqSUbf4cTX0ZiXh s96uDUvhvdJNvFI5jUEBdlM1syrern17dWwODNhXRvFpTszW0Di8ePK+QT5qNrtRseaYWES1vJ0i7 pZE6apzvEvJ8Hmg4/FB/rc6VMZVN8PL43pfmcupY/nHLgsxFbhHfHlWkNitQHhQtk3b/qRUPoPMsg Hh5KDlbY13W6f5U5VVrJelr8CZo9D9Nd9TThXoDFObn1r0HgezxznTan7VIcWT/d4yVsKfTYRHesi 11MltTXg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1wAWbo-00000009Ago-1AC7; Wed, 08 Apr 2026 17:22:32 +0000 Received: from smtpout-02.galae.net ([185.246.84.56]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1wAWbi-00000009Aeb-1TZd for linux-arm-kernel@lists.infradead.org; Wed, 08 Apr 2026 17:22:28 +0000 Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-02.galae.net (Postfix) with ESMTPS id F1AAC1A31F1; Wed, 8 Apr 2026 17:22:24 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id BF9C7603CE; Wed, 8 Apr 2026 17:22:24 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 06F2D1045019B; Wed, 8 Apr 2026 19:22:20 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1775668943; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=dUsa3nTYTD0LWuue8QGSHk7Sdq3D98Q/HNY3FHbk8Ww=; b=uscjZH8BRgy+EwbKNKS6a1tbblQeMJ3O87AMzDWbdul8aFeUJr62tW+3jO84NKpuWDz86H 3GhxSMYT9SJC+56HsNgT90B2fpr8ogjzmQqnbjqsTAUKnUtOcaLBhdx4ngzWpHf0lwCsMv kGBICL2caNjuSqXh3Hsqv3tdC8feYtX5zE01b0RVdcvR6bM9bpeKw79jyI5lDa37O3hpaM ADVOrQAWH3tPC99HHTyaE4m4e+VTS4zNYxqAmsZiBOj9gXOYzfBvbZ4l2BbGOoeI3UHKF+ vqw9fI4ijUDIiAhj+BwVkMKHkdAZhLPB4iLN6LnoxNWr6JP6LMo9ZzEg+hgL0g== From: "Thomas Perrot (Schneider Electric)" Date: Wed, 08 Apr 2026 19:21:55 +0200 Subject: [PATCH v5 2/5] dt-bindings: mfd: Add AAEON embedded controller MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Message-Id: <20260408-dev-b4-aaeon-mcu-driver-v5-2-ad98bd481668@bootlin.com> References: <20260408-dev-b4-aaeon-mcu-driver-v5-0-ad98bd481668@bootlin.com> In-Reply-To: <20260408-dev-b4-aaeon-mcu-driver-v5-0-ad98bd481668@bootlin.com> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Linus Walleij , Bartosz Golaszewski , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , =?utf-8?q?J=C3=A9r=C3=A9mie_Dautheribes?= , Wim Van Sebroeck , Guenter Roeck , Lee Jones Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-watchdog@vger.kernel.org, Thomas Petazzoni , Miquel Raynal , "Thomas Perrot (Schneider Electric)" , Conor Dooley X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=openpgp-sha256; l=3215; i=thomas.perrot@bootlin.com; h=from:subject:message-id; bh=b+kaB6A7OKVr7kDI5Hc2pF93x+v4znCDL+JlTKBr58g=; b=owEB7QES/pANAwAKAZ/ACwVx/grtAcsmYgBp1o7DtENEBUguLuW/CfIbnsT7cDlXsBMx/Mk2k GyB/DWIYtOJAbMEAAEKAB0WIQSHQHfGpqMKIwOoEiGfwAsFcf4K7QUCadaOwwAKCRCfwAsFcf4K 7Z7fC/0ZIuoakYcXNWKWyxc8zitQ9SkUvzQtwRZJRFHvUSmSeN81bZq+qWMTTmCv6whCjkf+TAn YRFoskIsuwPR1Jh0OMx/ZvuU6DNgr0FDEzXriJDTjkh7w5YI87a0HAdWs3YPGyoSxS3OyfvVw1G 0lNEn6RkRIyYkE1SDG0M6VVzezWP0+kVVGJ7OfsRaKEcowhH6v2i+aeoDCSvTxSsmCuwidvupuF i7hdIxrd77h7KgeMwBZoRrElityY/LMmWpZjhkwj3oGBFxx3e7lr2vnBsQ/f3Yb8kjM/g01WaFZ Dt7GHeymFOdIi291yIcHWusIFn2iuaO+IFhrhebogdcG9J5KIovyI9VglI7qdsR9/lkFF9ZW2km zzBMPqCtBy3MdI6Rjl81PO4g/P/LLSwVZFe1i9cfvqeNuoCqssoL0/5L8sB40y1566VEsv7QuB+ 2BejNbbGvHXh9K+sbwDYUEXJbxE3AHUKRjs+AFeQDgVRKNrTBB0Zn8/vEw5/KhpBqaR0o= X-Developer-Key: i=thomas.perrot@bootlin.com; a=openpgp; fpr=874077C6A6A30A2303A812219FC00B0571FE0AED X-Last-TLS-Session-Version: TLSv1.3 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20260408_102226_777976_B2CA9732 X-CRM114-Status: GOOD ( 12.50 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add device tree binding documentation for the AAEON embedded controller (MCU). This microcontroller is found on AAEON embedded boards, it is connected via I2C and provides GPIO control and a watchdog timer. Reviewed-by: Conor Dooley Signed-off-by: Thomas Perrot (Schneider Electric) --- .../bindings/mfd/aaeon,srg-imx8p-mcu.yaml | 67 ++++++++++++++++++++++ MAINTAINERS | 6 ++ 2 files changed, 73 insertions(+) diff --git a/Documentation/devicetree/bindings/mfd/aaeon,srg-imx8p-mcu.yaml b/Documentation/devicetree/bindings/mfd/aaeon,srg-imx8p-mcu.yaml new file mode 100644 index 000000000000..034fb7b42551 --- /dev/null +++ b/Documentation/devicetree/bindings/mfd/aaeon,srg-imx8p-mcu.yaml @@ -0,0 +1,67 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/mfd/aaeon,srg-imx8p-mcu.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: AAEON Embedded Controller + +maintainers: + - Jérémie Dautheribes + - Thomas Perrot + +description: + AAEON embeds a microcontroller on Standard RISC Gateway with ARM i.MX8M Plus + Quad-Core boards providing GPIO control and watchdog timer. + + This MCU is connected via I2C bus. + + Its GPIO controller provides 7 GPOs and 12 GPIOs. + + Its watchdog has a fixed maximum hardware heartbeat of 25 seconds and supports + a timeout of 240 seconds through automatic pinging. + The timeout is not programmable and cannot be changed via device tree properties. + +properties: + compatible: + const: aaeon,srg-imx8p-mcu + + reg: + maxItems: 1 + + gpio-controller: true + + "#gpio-cells": + const: 2 + + gpio-line-names: + minItems: 1 + maxItems: 19 + +required: + - compatible + - reg + - gpio-controller + - "#gpio-cells" + +additionalProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + embedded-controller@62 { + compatible = "aaeon,srg-imx8p-mcu"; + reg = <0x62>; + + gpio-controller; + #gpio-cells = <2>; + gpio-line-names = "gpo-1", "gpo-2", "gpo-3", "gpo-4", + "gpo-5", "gpo-6", "gpo-7", + "gpio-1", "gpio-2", "gpio-3", "gpio-4", + "gpio-5", "gpio-6", "gpio-7", "gpio-8", + "gpio-9", "gpio-10", "gpio-11", "gpio-12"; + }; + }; diff --git a/MAINTAINERS b/MAINTAINERS index c9e416ba74c6..ea9d55f76f35 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -186,6 +186,12 @@ W: http://www.adaptec.com/ F: Documentation/scsi/aacraid.rst F: drivers/scsi/aacraid/ +AAEON SRG-IMX8P CONTROLLER MFD DRIVER +M: Thomas Perrot +R: Jérémie Dautheribes +S: Maintained +F: Documentation/devicetree/bindings/mfd/aaeon,srg-imx8p-mcu.yaml + AAEON UPBOARD FPGA MFD DRIVER M: Thomas Richard S: Maintained -- 2.53.0