From patchwork Wed Jan 11 11:05:52 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcel Ziswiler X-Patchwork-Id: 13096429 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 6DC9DC5479D for ; Wed, 11 Jan 2023 11:07:40 +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=Tkuh0fx/sZ96Pa1h/KD+Fe5b/Cb6zp+/I3D0dgh5GEk=; b=bHroJBa7ZqVUfQ LvPAnnlLtbaRk45yMPhwmFfyHlPEV4wMzKCj6l6Cts2zA8LCidUJ7I2sMiJejewjoiukFEmquqFud f/oucTVMwa8A2dMdKK3J4cbdO4ZPlSavynMGkYdhHMUxHh5gtTd+THq/nWi/NhHVOtL1nb0m0/NAX KbLs8QgIFNGCNpOKvNuDb9Ee7ElAoKPvWJZ0MDQwXR7xi3JZ29Q4mXfGguXwNnIREFzQAIkGlytio 6Ceo7YnVIr9wZolQdgFCVIttLE1wPYkv206DspopKuZc8rtR1xL3EW80Y/KgzlReUxPpAaMGecYmh 2p2/XlMURqNZIXuWt3Qg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pFYwI-00AyaX-2Q; Wed, 11 Jan 2023 11:06:38 +0000 Received: from mout.perfora.net ([74.208.4.197]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pFYw6-00AyWk-O3 for linux-arm-kernel@lists.infradead.org; Wed, 11 Jan 2023 11:06:28 +0000 Received: from toolbox.toradex.int ([31.10.206.125]) by mrelay.perfora.net (mreueus004 [74.208.5.2]) with ESMTPSA (Nemesis) id 1M1ZMF-1pD5A234bT-0037hc; Wed, 11 Jan 2023 12:06:10 +0100 From: Marcel Ziswiler To: devicetree@vger.kernel.org Cc: linux-kernel@vger.kernel.org, linux-imx@nxp.com, linux-arm-kernel@lists.infradead.org, Philippe Schenker , Max Krummenacher , Marcel Ziswiler , Fabio Estevam , Frank Li , Krzysztof Kozlowski , Peng Fan , Pengutronix Kernel Team , Rob Herring , Sascha Hauer , Shawn Guo Subject: [PATCH v3 1/6] arm64: dts: freescale: imx8-ss-lsio: add support for lsio_pwm0-3 Date: Wed, 11 Jan 2023 12:05:52 +0100 Message-Id: <20230111110558.349460-2-marcel@ziswiler.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20230111110558.349460-1-marcel@ziswiler.com> References: <20230111110558.349460-1-marcel@ziswiler.com> MIME-Version: 1.0 X-Provags-ID: V03:K1:p3y0IoD/kv/u5zrRkogZsSYst8Pdn184AoDmgoH++h4hZTSnX5T gJfSzsPqJfRn9MY+IdqnURYoKGQwNknP9gTs/eTEWrf8ijByH6vOCj1+FN8+ijZS/sGUniI stIoMYPbCS60gxMVy2mZyGo9PBntGISbtsWwaABZJ1hh+Szuf6WkfubAs98RtPA+NxFCL82 5lmkmL3fj0SKzPugojoZw== UI-OutboundReport: notjunk:1;M01:P0:x26iAMs7bZY=;dzzJqx92cMzoUM/FvD62tI9sAv+ tpzK0nLMLvt/xdTT33mo2RlqcsF/I6+qY4BwYm1Hu+U4lVfU6E+/AaJsYqkjwaD/+WNTQC6hf 89e7JnJ2eL55BsyVdxIlsQvKrTyX/wU9I9JK0YNc+Ed6phtkLsgTBOyWv3cTF7UFc+nsOumbU pwyFfm0J545vTQq/wts0RKyFh+Fo3x7OFpnUz/Ie785iZiwbKOjP8C9TQCDQPYOv6XTonCi4a cgTWKayYd/OYS6nCaUcT2fdXaovVOzcNeKWjN5erfGYdoI3HM+pnfc0mxDJod/uXYjG3/uHoc mq4PfXuqegmm80ej+/ZOAexZMLqHrvd5HGlG/JGJnKMgd1hfLWAOz1C4jzNjPietVC6OVkYOG 9bJlyvOKbCvrDOrgEMuG/FG7dmNAqIcUbzbmyswNYXuTX1mwfzzhMdkT73kZ0Kr83rpPtkBOb XrJ67vwKPQg3NNFxe0yhcSKmiOZWurHcteVSYUIAXy118EbvEh28EOObqbb84E7IGFFKWSehO mAUTT7/MQpc1BaSnw+RfUjXN5z2nyOptinyUHfaFpvNZVodajXW0WE7ZQtQill8Ru4FYyNWAC xH99wETviuHLcK5UktHdTz7US+bDTW8xqQZmc71y5/I8Op2IYvmDZfQWQfYXZRlSD7JRhjw8J KLXrCXSyD+roJmtDueY3fRD+sL9GXaij8zHyQbJPAg== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230111_030626_891861_7D4147B4 X-CRM114-Status: UNSURE ( 7.82 ) 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 support for lsio_pwm0-3. Signed-off-by: Philippe Schenker Signed-off-by: Max Krummenacher Signed-off-by: Marcel Ziswiler --- (no changes since v1) .../boot/dts/freescale/imx8-ss-lsio.dtsi | 48 +++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8-ss-lsio.dtsi b/arch/arm64/boot/dts/freescale/imx8-ss-lsio.dtsi index 1f3d225e64ec..62b7f7a3e1bc 100644 --- a/arch/arm64/boot/dts/freescale/imx8-ss-lsio.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8-ss-lsio.dtsi @@ -28,6 +28,54 @@ lsio_bus_clk: clock-lsio-bus { clock-output-names = "lsio_bus_clk"; }; + lsio_pwm0: pwm@5d000000 { + compatible = "fsl,imx27-pwm"; + reg = <0x5d000000 0x10000>; + clock-names = "ipg", "per"; + clocks = <&pwm0_lpcg 4>, + <&pwm0_lpcg 1>; + assigned-clocks = <&clk IMX_SC_R_PWM_0 IMX_SC_PM_CLK_PER>; + assigned-clock-rates = <24000000>; + #pwm-cells = <2>; + status = "disabled"; + }; + + lsio_pwm1: pwm@5d010000 { + compatible = "fsl,imx27-pwm"; + reg = <0x5d010000 0x10000>; + clock-names = "ipg", "per"; + clocks = <&pwm1_lpcg 4>, + <&pwm1_lpcg 1>; + assigned-clocks = <&clk IMX_SC_R_PWM_1 IMX_SC_PM_CLK_PER>; + assigned-clock-rates = <24000000>; + #pwm-cells = <2>; + status = "disabled"; + }; + + lsio_pwm2: pwm@5d020000 { + compatible = "fsl,imx27-pwm"; + reg = <0x5d020000 0x10000>; + clock-names = "ipg", "per"; + clocks = <&pwm2_lpcg 4>, + <&pwm2_lpcg 1>; + assigned-clocks = <&clk IMX_SC_R_PWM_2 IMX_SC_PM_CLK_PER>; + assigned-clock-rates = <24000000>; + #pwm-cells = <2>; + status = "disabled"; + }; + + lsio_pwm3: pwm@5d030000 { + compatible = "fsl,imx27-pwm"; + reg = <0x5d030000 0x10000>; + clock-names = "ipg", "per"; + clocks = <&pwm3_lpcg 4>, + <&pwm3_lpcg 1>; + assigned-clocks = <&clk IMX_SC_R_PWM_3 IMX_SC_PM_CLK_PER>; + assigned-clock-rates = <24000000>; + #pwm-cells = <2>; + status = "disabled"; + }; + lsio_gpio0: gpio@5d080000 { reg = <0x5d080000 0x10000>; interrupts = ;