From patchwork Thu Jan 26 11:08:24 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcel Ziswiler X-Patchwork-Id: 13116930 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 DA70CC05027 for ; Thu, 26 Jan 2023 11:10:22 +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=DERJpxQJsUhLwq5d8REqaqLQT4B5V6nwMzLjr2yc7G0=; b=aXaq48EVIs8Lf0 uEIe5la2gjxHpgP6yS+gShkRpbqH1q1FUAOROijCgf5dPXLtSuNkYfvzikTUaZM1ll4kCpWpUyGSA buy6r8y6CWkE7mbztGMzpYWB2zMEZyEgdxaWjfJzITLg9LSBE6DiTS2uab1LqTtMhc8sub3n0Q+eg jfGdwJewYybaNJ3ZIPhaY82KFv55jY7DTWxmsR7Kas4okOae60w5vt5JQZITxBRTEUCCChcM9ARnM NnGvaAZvpRxx5eIr6q5emTKn8hQjQV6AO+vw9zEmGxeRYBwZaY2/ZyohxIueMWGHVgnS/WL0UUCZH x2j3PyK1VHfLMruNbYPw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pL083-00Adty-49; Thu, 26 Jan 2023 11:09:15 +0000 Received: from mout.perfora.net ([74.208.4.194]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pL07z-00Adsr-SC for linux-arm-kernel@lists.infradead.org; Thu, 26 Jan 2023 11:09:13 +0000 Received: from toolbox.toradex.int ([31.10.206.125]) by mrelay.perfora.net (mreueus002 [74.208.5.2]) with ESMTPSA (Nemesis) id 0Lx9WJ-1ob9iP2moj-016g4t; Thu, 26 Jan 2023 12:08:53 +0100 From: Marcel Ziswiler To: devicetree@vger.kernel.org Cc: linux-imx@nxp.com, Liu Ying , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski , 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 v5 01/10] arm64: dts: freescale: imx8-ss-lsio: add support for lsio_pwm0-3 Date: Thu, 26 Jan 2023 12:08:24 +0100 Message-Id: <20230126110833.264439-2-marcel@ziswiler.com> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20230126110833.264439-1-marcel@ziswiler.com> References: <20230126110833.264439-1-marcel@ziswiler.com> MIME-Version: 1.0 X-Provags-ID: V03:K1:DYzAsXLYntW0PlxYbyCZaZMvE1st9DvQVP946Oz8OMXgeRrza65 sU10WjYLNQ64+tS1f1c/Z0rj/xGAyfvxy/m8biUul5v/iKtBFuQSvXqceBUq/dJp0fV5Ynj 1xaCBiTBm2/z4Z8TZ6yA8nKHsaodhEa1c0j8CWI5ZKeIYToEhvebidm4qHZSbaVQ88C0cpJ zLxgzLVdkZpr3W1ELBv3A== UI-OutboundReport: notjunk:1;M01:P0:qq8kEcB8Zko=;bCqKU9Plx1welAuRyTP1PyOwW/y gN1XKoVwbJsLQE8POp/4Fdfyq4MDmyP42JJvdso4iTGarwxoGtsF5ZHYIgUP8uOxcgInj/Ios HIzSprR3LR46L7RZ781HQDPzLxF8KDhOWboc7PjtthON3B2xkKF2tiedNgmLFFtGoyOq2i4LB IAjHN+43FyjbC8DE6/NBYGJskfIIFVWZHY1w4sjMeOvGOkZRElGSjypu3dU30tove7T+HKaKh iaFJcEoECna1//ep9mNCKpaOxy3PmBGidQmN8Dx6tMLMj/vv32EJV4dvPlPMi1l+QfYsTWyVE kDgtVWLHXXlD/UCIj7uXma9OYIOx0Mm8NNlF4iFs+8uFeIi2wTtTQYZfkQWfDFMSs7dmqevU3 WTbP6oCQQQDUcEw7QgQb7ZKNzptsk0F1MZSaI18mGTpfWFecMG94L1JMUgdCUQ04Ny9rYTDJI G0nr2JkmPt+9b5Rbprpgaqa+vFRzv3H0alOcFzKWRcORkxNfg/xe7pMi2iX7AwV0KMmkjIX/0 ctfAPmoc3g/4E43ndT3nfyhANF5T1a3c9HGBW+D2RGLbq1brjtYXeCWDvgK4qRKS5QeRMGzD5 HrgZx4KDsE2uT/VxF8ibCA5AGB1DOuYDHfjnjO6Oessy9wZPZgC9kt6hyniWwjBkRc+RpTIgb XgMsB9/7YEqJAapErvQt6U6ZYXVo58serTHfgU1iHg== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230126_030912_007673_7AC5ABBA X-CRM114-Status: UNSURE ( 8.21 ) 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 = ;