From patchwork Sun Sep 1 15:57:19 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Francesco Dolcini X-Patchwork-Id: 13786544 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 45FCECD3420 for ; Sun, 1 Sep 2024 16:05:49 +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:Content-Transfer-Encoding: Content-Type: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=T42bUGqwk0p0W8pIULO87aKB2+HshwN8ZFTvo+g8NME=; b=Wfx9ih1zh8FwCqXnhajG5KS/pi ZKh0IlK0sqq7LJNs1rnDZSMAuNLAyFJ5r6FVeo9Z5LEr3CVsMbB0aXxV7SpeKLYoKLtOD5fw0fBBU ZLfZJl6ccL1MQ6/Zo2rdMMEw+p/ZR0vd8/HOBg+WP8/cvCY7s4aco6/qAS4fTWkcHqS26Fo0wx0YY /JVAc88NzfumBvnVLmlXosxDqOb+mmQpDfiQDSUqMvrgZx51JbmGizCvNh8g9R0uVsBi890SuD6qD qMkt0g2cyypMjPtvrvEhdfH6MRvz4HtsZFbRWkKbUmG2Wh7aBNJIQwWt/A5cdyPGR6FVpnaQGbr9n 5SqtHjrg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1skn59-0000000BuFR-0wDb; Sun, 01 Sep 2024 16:05:39 +0000 Received: from mail11.truemail.it ([2001:4b7e:0:8::81]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1skmxW-0000000Bsks-3KtE for linux-arm-kernel@lists.infradead.org; Sun, 01 Sep 2024 15:57:49 +0000 Received: from francesco-nb.pivistrello.it (93-49-2-63.ip317.fastwebnet.it [93.49.2.63]) by mail11.truemail.it (Postfix) with ESMTPA id 4AA5B1FB20; Sun, 1 Sep 2024 17:57:40 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dolcini.it; s=default; t=1725206260; bh=T42bUGqwk0p0W8pIULO87aKB2+HshwN8ZFTvo+g8NME=; h=From:To:Subject; b=YY/Gg36FfRdwA9fQZzCOEZqeuBUjKoE8OgOmMWVMHf1HrOhSUoV/BsVo24DkUi1HX DgiSn4PoeA+BQIdV0hCmFmTLCiHWm4u314UVh+GwkJpkHlJwZgceB1aIeY8MBpl1Z5 gl5WYVj9VjDuqIlrwH0aBgeccEh6+Y9egIPejKkmizJagdtsnXPshgXcsP7ZUhX3Xy bpXLyi+w7gS3ib5mJQDnKWiFlE+R/Jlzr7yzmd7Z8FqZAZPVEzN5Thw7jN4emPX3jo lriIUsw3nmIkxOG/uW5MTib3vZQv5iz9kGGmmRVSQhsJqBjoeUhjWc/ZXUm4yEMdNv 7xnEG8Xbb2cgw== From: Francesco Dolcini To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam Cc: =?utf-8?q?Jo=C3=A3o_Paulo_Gon=C3=A7alves?= , devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Francesco Dolcini Subject: [PATCH v2 08/10] arm64: dts: colibri-imx8x: Add adma_pwm Date: Sun, 1 Sep 2024 17:57:19 +0200 Message-Id: <20240901155721.7912-9-francesco@dolcini.it> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240901155721.7912-1-francesco@dolcini.it> References: <20240901155721.7912-1-francesco@dolcini.it> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240901_085747_062261_308E413E X-CRM114-Status: UNSURE ( 8.29 ) 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: João Paulo Gonçalves Add adma_pwm node for Colibri-iMX8X carrier boards. Signed-off-by: João Paulo Gonçalves Signed-off-by: Francesco Dolcini --- v2: no changes --- arch/arm64/boot/dts/freescale/imx8x-colibri-aster.dtsi | 5 +++++ arch/arm64/boot/dts/freescale/imx8x-colibri-eval-v3.dtsi | 5 +++++ arch/arm64/boot/dts/freescale/imx8x-colibri-iris.dtsi | 5 +++++ arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi | 6 ++++++ 4 files changed, 21 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8x-colibri-aster.dtsi b/arch/arm64/boot/dts/freescale/imx8x-colibri-aster.dtsi index 503aa5a90503..f7bbb2153ae0 100644 --- a/arch/arm64/boot/dts/freescale/imx8x-colibri-aster.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8x-colibri-aster.dtsi @@ -8,6 +8,11 @@ &adc0 { status = "okay"; }; +/* Colibri PWM_A */ +&adma_pwm { + status = "okay"; +}; + &colibri_gpio_keys { status = "okay"; }; 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 a2b2a0865666..f75499765d85 100644 --- a/arch/arm64/boot/dts/freescale/imx8x-colibri-eval-v3.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8x-colibri-eval-v3.dtsi @@ -24,6 +24,11 @@ &adc0 { status = "okay"; }; +/* Colibri PWM_A */ +&adma_pwm { + status = "okay"; +}; + &colibri_gpio_keys { status = "okay"; }; diff --git a/arch/arm64/boot/dts/freescale/imx8x-colibri-iris.dtsi b/arch/arm64/boot/dts/freescale/imx8x-colibri-iris.dtsi index 6d9d54d4e549..54393a0c5cbf 100644 --- a/arch/arm64/boot/dts/freescale/imx8x-colibri-iris.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8x-colibri-iris.dtsi @@ -22,6 +22,11 @@ &adc0 { status = "okay"; }; +/* Colibri PWM_A */ +&adma_pwm { + status = "okay"; +}; + &colibri_gpio_keys { status = "okay"; }; diff --git a/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi b/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi index cc1a0a26fcec..7a40a827ef75 100644 --- a/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi @@ -88,6 +88,12 @@ &adc0 { vref-supply = <®_module_vref_1v8>; }; +/* Colibri PWM_A */ +&adma_pwm { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_pwm_a>; +}; + &cpu_alert0 { hysteresis = <2000>; temperature = <90000>;