From patchwork Tue Mar 5 00:42:17 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 13581381 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 24DFEC48BF6 for ; Tue, 5 Mar 2024 00:42:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=OlohxEvFe+tHH9wtlMB3xbcJPhLk/PlFBaDWBFSp+jA=; b=Zgr/1dFiXPFdjJ 7wREfvFyhfXQ+y246kBYR+VFcsfSmeuYcSBg1LMo+FNUR51Bv0XaV3Bk+peBb/1d5lePzsi7V/8jr Su/uNjErGtkJ/ehRZl/fNmTf2CjhnVD2+Ft+YxBWVPwk9uIdpxpjt4Brd4FOpp6nCBobxSZbausAK nLfT5vNyqqM3SQDyJzkzKrOc1sJlKduHHpqT9MsvnJX5q6ov50/ZiwHcsX6uDu5ZSbGOAWx6r3ReN W1WOafhTXz9U1TsbE0E89biM2vwRoLvbUXIlaBXRwf3AAakeodl2BZpCDdweuTnB91q/CjJCMgune l3K+0eNB3DFRKf/V2lxA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rhIt8-0000000BG2K-268n; Tue, 05 Mar 2024 00:42:34 +0000 Received: from perceval.ideasonboard.com ([213.167.242.64]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rhIsy-0000000BFyX-130d for linux-arm-kernel@lists.infradead.org; Tue, 05 Mar 2024 00:42:27 +0000 Received: from pendragon.ideasonboard.com (89-27-53-110.bb.dnainternet.fi [89.27.53.110]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 250081225; Tue, 5 Mar 2024 01:42:05 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1709599325; bh=QzplkygtBQlwW78p7VOmiQidZhclEvehironPcZeDms=; h=From:To:Cc:Subject:Date:From; b=o2lVXGyEl916zjBOsshPAL4l3fwzy1LJmNx0kveaRJ1jcsfr/InI3QuCw7DaMhoqa GkBQNoUE1OZNxLt2SLpQderNJY5BSeeCRG++wEt1uOdqEGFAjHiU4ReKZXFoJtUlt5 tuHgL7WZp3Gn/Nj3IctJfmBf+PP+dsi0oZXJpcvg= From: Laurent Pinchart To: devicetree@vger.kernel.org, linux-rtc@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: Valentin Raevsky , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Alexandre Belloni , Marek Vasut , Baruch Siach , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team Subject: [PATCH 0/4] Add DT bindings and device tree for Compulab SB-UCM-iMX8MPLUS Date: Tue, 5 Mar 2024 02:42:17 +0200 Message-ID: <20240305004222.622-1-laurent.pinchart@ideasonboard.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240304_164224_525280_3BFE41F4 X-CRM114-Status: GOOD ( 16.00 ) 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 Hello, This small patch series is a drive-by addition of the Compulab SB-UCM-iMX8MPLUS to the Linux kernel device tree sources. While porting the device tree from the Compulab BSP kernel to mainline, I thought I could as well mainline it, along with related conversion of text DT bindings to YAML. The SB-UCM-iMX8MPLUS is a carrier board designed as a reference to evaluate the Compulab UCM-iMX8MPLUS SoM. The SoM integrates the bare minimal peripherals (DRAM, eMMC, ethernet PHY, EEPROM and RTC), while the carrier board includes a much wider range of peripherals. I have only enabled support for the ones I am interested in, or, as a strech goal, the ones I could easily test. The first patch in the series adds compatible strings for the SoM and the board to the ARM FSL bindings. The next patch then converts text DT bindings to a YAML schema for the RTC present on the SoM. Finally, the last two patches add DT sources for the SoM and the carrier board. Please see individual patches for details. I have checked the validity of the bindings and the device tree sources. The only warnings in the DT sources are due to issues in imx8mp.dtsi. Laurent Pinchart (4): dt-bindings: arm: fsl: Add Compulab SB-UCM-iMX8MPLUS carrier board dt-bindings: rtc: abx80x: Convert text bindings to YAML arm64: dts: freescale: Add device tree for Compulab UCM-iMX8M-Plus arm64: dts: freescale: Add device tree for Compulab SB-UCM-iMX8MPLUS .../devicetree/bindings/arm/fsl.yaml | 6 + .../bindings/rtc/abracon,abx80x.txt | 31 -- .../bindings/rtc/abracon,abx80x.yaml | 89 +++++ arch/arm64/boot/dts/freescale/Makefile | 1 + .../boot/dts/freescale/imx8mp-sb-ucm.dts | 284 ++++++++++++++++ arch/arm64/boot/dts/freescale/imx8mp-ucm.dtsi | 309 ++++++++++++++++++ 6 files changed, 689 insertions(+), 31 deletions(-) delete mode 100644 Documentation/devicetree/bindings/rtc/abracon,abx80x.txt create mode 100644 Documentation/devicetree/bindings/rtc/abracon,abx80x.yaml create mode 100644 arch/arm64/boot/dts/freescale/imx8mp-sb-ucm.dts create mode 100644 arch/arm64/boot/dts/freescale/imx8mp-ucm.dtsi