From patchwork Tue Mar 14 10:24:00 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philippe Schenker X-Patchwork-Id: 13174127 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 8516CC6FD1C for ; Tue, 14 Mar 2023 11:46:59 +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:References:In-Reply-To: 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: List-Owner; bh=RpTJx2iOwJBiZFgd4BrH81Ke1pzgxGrOEzwMH2PyZfs=; b=lbfIxHGPjlbJRR ecJFVzg7NmibeE3OkMV8cBXTKXBULPRJNfk56wZsv2ZoBdusWBb7YlqWbQQ9NSJR5E36+HIWotkaB aaR+GpsOhBtYTu2j8qwVeu7sBQaq5udBaJtpn+PBWi0cWalKN9RBWB3T72roejVeUA4kkWTmHLO5M tIkX9mNK9AoAwN5HeqLUBA8Dv8iC3nVdnAqB3E6+zcPwn+AKHPvZOV5vJ1x3ErVvZZVavYI/ehL5f PXMJY8YDe/KlH3pJfY0l3V81N5n4GnS8PzDRxtl6zNBUlNKlZe46+zu4TQJ99V8fLIMN6OZQh/fPR 1IEVGZ98VxOojJCy0PEA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1pc36U-009xUN-1H; Tue, 14 Mar 2023 11:46:06 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pc36O-009xSV-2c for linux-arm-kernel@bombadil.infradead.org; Tue, 14 Mar 2023 11:46:00 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Transfer-Encoding:MIME-Version :References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description; bh=qJ9eQBW66UtMPsk+/Ck9tULVYZPBdGhEYnjmfxhAeeY=; b=Eff+VU8RDeDdbddER2qtIIFYK1 ePUMJ8mN7Y2cR8XrDzBDhGdCrqoluEMxSrR4R1VfzPJGlTsCUpwUNa4q9uJK9hwVQ8t8NemBGA8rp l1T1FkiGmn0wJMfF4gQLsm2hQFCXUG4yIBBk853S6z1wlioLAvuXjaC8ThcG0NE4k24OVek9xST/I BhILtazoEOMBQBU9AHaKQTR1kS8A2qRMvuTlkOqH158/mfecTS4EB4JpvQ0OTgRgPEr1T/DlpHkVC 0YCiA4EuqWBJ+perCo3o38PQ6/5zQa35gHASgN0wioS1pC+SVv7wC0ws6ZeiLE3fzT7L7m+dY7asa b+IxD4GA==; Received: from smtp-190c.mail.infomaniak.ch ([2001:1600:4:17::190c]) by desiato.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pc1pW-001kDK-0y for linux-arm-kernel@lists.infradead.org; Tue, 14 Mar 2023 10:24:34 +0000 Received: from smtp-3-0000.mail.infomaniak.ch (unknown [10.4.36.107]) by smtp-3-3000.mail.infomaniak.ch (Postfix) with ESMTPS id 4PbV4s3XKTzMqPFr; Tue, 14 Mar 2023 11:24:29 +0100 (CET) Received: from unknown by smtp-3-0000.mail.infomaniak.ch (Postfix) with ESMTPA id 4PbV4r6zXWz2N45; Tue, 14 Mar 2023 11:24:28 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=pschenker.ch; s=20220412; t=1678789469; bh=LudF0hu2w2JADBbt/W9Ar1NM5GzhCrjnoA+Nvc91nGM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=jajtVam3AXdw6lYvxWAmL7cURTDlcgqhk58f87e1lEKi+XebpeMAbLSrVNF+9rvlx /Vgfps2mFSNKuSyOn/DUI9z0t9WlFTwAx5OqVuboWTmDPRWTMl6Djv340PfA4JaI9b iCVc6saS14YlazKm61QXbrx7mS3BOUpjo6fOZM08= From: Philippe Schenker To: devicetree@vger.kernel.org, Shawn Guo , Sascha Hauer Cc: NXP Linux Team , Frank Rowand , Rob Herring , Krzysztof Kozlowski , Fabio Estevam , Pengutronix Kernel Team , linux-arm-kernel@lists.infradead.org, Philippe Schenker , linux-kernel@vger.kernel.org Subject: [PATCH v2 14/23] arm64: dts: colibri-imx8x: Add colibri pwm b, c, d Date: Tue, 14 Mar 2023 11:24:00 +0100 Message-Id: <20230314102410.424773-15-dev@pschenker.ch> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230314102410.424773-1-dev@pschenker.ch> References: <20230314102410.424773-1-dev@pschenker.ch> MIME-Version: 1.0 X-Infomaniak-Routing: alpha X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230314_102430_549946_7F3DDE63 X-CRM114-Status: UNSURE ( 9.12 ) X-CRM114-Notice: Please train this message. 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 From: Philippe Schenker Add Colibri PWM_B, PWM_C, PWM_D to the module-level device-tree and set the status to ok on the eval-board. Signed-off-by: Philippe Schenker --- (no changes since v1) .../dts/freescale/imx8x-colibri-eval-v3.dtsi | 15 +++++++++++++ .../boot/dts/freescale/imx8x-colibri.dtsi | 21 +++++++++++++++++++ 2 files changed, 36 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8x-colibri-eval-v3.dtsi b/arch/arm64/boot/dts/freescale/imx8x-colibri-eval-v3.dtsi index 1d0bad085ad4..68e34516961a 100644 --- a/arch/arm64/boot/dts/freescale/imx8x-colibri-eval-v3.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8x-colibri-eval-v3.dtsi @@ -51,6 +51,21 @@ &lpuart2 { status = "okay"; }; +/* Colibri PWM_B */ +&lsio_pwm0 { + status = "okay"; +}; + +/* Colibri PWM_C */ +&lsio_pwm1 { + status = "okay"; +}; + +/* Colibri PWM_D */ +&lsio_pwm2 { + status = "okay"; +}; + /* Colibri UART_A */ &lpuart3 { status = "okay"; diff --git a/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi b/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi index 778f2f43a8c0..61033b79e44e 100644 --- a/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi @@ -259,6 +259,27 @@ &lsio_gpio5 { "UNUSABLE_SODIMM_184"; }; +/* Colibri PWM_B */ +&lsio_pwm0 { + #pwm-cells = <3>; + pinctrl-0 = <&pinctrl_pwm_b>; + pinctrl-names = "default"; +}; + +/* Colibri PWM_C */ +&lsio_pwm1 { + #pwm-cells = <3>; + pinctrl-0 = <&pinctrl_pwm_c>; + pinctrl-names = "default"; +}; + +/* Colibri PWM_D */ +&lsio_pwm2 { + #pwm-cells = <3>; + pinctrl-0 = <&pinctrl_pwm_d>; + pinctrl-names = "default"; +}; + /* On-module eMMC */ &usdhc1 { bus-width = <8>;