From patchwork Wed Mar 8 12:52:50 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philippe Schenker X-Patchwork-Id: 13165685 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 91A33C6FD20 for ; Wed, 8 Mar 2023 12:59:39 +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=BPwAa3a24oBjiEQEYLdw0Mf5Uo/xKiBLZtMqyA4UX50=; b=exzGEajrkcngeK D516+jWdDRX9YVd9IxXlK8jb0qaWaKzAmY00raLkQahtB70NcRMW6ST6ZJ/BF2m733IUhjwKYIsXu UGwvfo0MsryhrVS0afkoy2b7QruMj8QB7kO7d4+WqfFRh8FOJSDBlgWCMhD6ayEMhqnckj7mtjZqs pk4HkqyNxTRHL8/VjptyDnpAKLPaEQl7yxNoXbZruxwiwPgh1Y7GHYXb7XoBLu0TPag+rYO1VAVBd 13Vw4+WTxIABoP+ZvImePECy8LuNdquzqMmUey6xVVwg1YEcMsPTWvlobhGFPsBL8m+Cqq3TN0ZUD w31G22WUgn2ok+OOqsyg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pZtNL-004yzv-So; Wed, 08 Mar 2023 12:58:36 +0000 Received: from smtp-8fa8.mail.infomaniak.ch ([2001:1600:4:17::8fa8]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pZtIF-004wGB-Gm for linux-arm-kernel@lists.infradead.org; Wed, 08 Mar 2023 12:53:24 +0000 Received: from smtp-2-0000.mail.infomaniak.ch (unknown [10.5.36.107]) by smtp-3-3000.mail.infomaniak.ch (Postfix) with ESMTPS id 4PWsgJ1XnbzMqs7l; Wed, 8 Mar 2023 13:53:16 +0100 (CET) Received: from unknown by smtp-2-0000.mail.infomaniak.ch (Postfix) with ESMTPA id 4PWsgH5C43zMslsF; Wed, 8 Mar 2023 13:53:15 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=pschenker.ch; s=20220412; t=1678279996; bh=JXingivvb7re9pagMlQsVFdFYwLAWOaPZ43ldOrpBVA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Hd9ky80NPbUHCYLIp5NSLNVK5GRSGqWjIra8CyYkHy8B70PC9BUiCoUbvbGIINihE f0/SScb8T8q1I2Uu7mLcBuzEZy/MBPNyjjLLr54smfY2xBLODmmNrcs9vGuIzRI1ke yqQhOO0//nWMTontZQhO+8yls45NirzOuFkKwgYg= From: Philippe Schenker To: devicetree@vger.kernel.org, Shawn Guo , Sascha Hauer Cc: NXP Linux Team , Krzysztof Kozlowski , Rob Herring , Pengutronix Kernel Team , Frank Rowand , linux-arm-kernel@lists.infradead.org, Fabio Estevam , Philippe Schenker , linux-kernel@vger.kernel.org Subject: [PATCH v1 16/25] arm64: dts: colibri-imx8x: Add colibri pwm b, c, d Date: Wed, 8 Mar 2023 13:52:50 +0100 Message-Id: <20230308125300.58244-17-dev@pschenker.ch> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230308125300.58244-1-dev@pschenker.ch> References: <20230308125300.58244-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-20230308_045319_742926_150AF83E X-CRM114-Status: UNSURE ( 9.63 ) 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 --- .../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 77222d76bd95..625d2caaf5d1 100644 --- a/arch/arm64/boot/dts/freescale/imx8x-colibri-eval-v3.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8x-colibri-eval-v3.dtsi @@ -56,6 +56,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 b849b378b017..180a1d940b8d 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 { pinctrl-names = "default", "state_100mhz", "state_200mhz";