From patchwork Thu Feb 2 15:32:11 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcel Ziswiler X-Patchwork-Id: 13126408 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 478C5C64EC4 for ; Thu, 2 Feb 2023 15:36:13 +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=l7mSwHinCimLji nTZ9umNs9p/Fll+8+b2mAtoOzmDd/43+ejAqIKhtUFjcCUdtI9idKtwfHIHj3rr5LqrsOjduo0DRk WEXcck92oaXluiMMlIZv9u1++Rs8twFd6McWf2NRziMqtAdzDKdX2owH39EYH9XhTR4NypRFro3KB 6ghP9IDcpPPlwTU8DPLay8n39s+a5zZSwgzG85QPAoYsuDYyP3WddNdzZCTX5aPaXfCn7HgK4fPPr f1hB+yywyLr4n+0CY0iKwJfmaAdaN7NJ9LkukFw4BLgPGb68wvgw9e6sgJhoWee+zgnWpMZZRPybc uKXJp24R6mw+F/VprmWA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pNbcC-00GQuW-Ml; Thu, 02 Feb 2023 15:35:09 +0000 Received: from mout.perfora.net ([74.208.4.196]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pNba2-00GPiT-7V for linux-arm-kernel@lists.infradead.org; Thu, 02 Feb 2023 15:33:03 +0000 Received: from toolbox.int.toradex.com ([213.55.225.17]) by mrelay.perfora.net (mreueus003 [74.208.5.2]) with ESMTPSA (Nemesis) id 0M39aj-1oWry30hGx-00sz0K; Thu, 02 Feb 2023 16:32:40 +0100 From: Marcel Ziswiler To: devicetree@vger.kernel.org Cc: Liu Ying , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski , linux-imx@nxp.com, 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 v6 01/10] arm64: dts: freescale: imx8-ss-lsio: add support for lsio_pwm0-3 Date: Thu, 2 Feb 2023 16:32:11 +0100 Message-Id: <20230202153221.197308-2-marcel@ziswiler.com> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20230202153221.197308-1-marcel@ziswiler.com> References: <20230202153221.197308-1-marcel@ziswiler.com> MIME-Version: 1.0 X-Provags-ID: V03:K1:/3RJuaQoBjtUwUKz+nDD7+GE854EU7GBR4gjXNFi5ueDkOxctzS gmucpCYqGteiDZ/WaeBabBzOV3wSQyLPMxf8+lcnWETWqz9i8M6C1UhAp0x35T6XEXy3CoC 7j47iwnpzoM1QJ5sBdLtDlBE08KPHy6OR4XglMbwl6AElKaNez91O/5bQjQOKm9gTbGF4c3 sWeg6Npq0u87jFJBD+0sw== UI-OutboundReport: notjunk:1;M01:P0:CdllGzO/KKI=;g5OTIPUWXlGue6WDE3Wg7WC6lPy +XMia93+0arns9YhUXtQkSc/JuTb6UVee8RIk9d7UORc6/UeN7/E3XAUsnQbTwQ1gb6xXSxzu eFwBN1CpvlIXDkO3OXQop9owNG4hVyG0NeJHs8a7xOE9RKp6+vahPxC7Xl9Qn1k5vmTVdp3Z0 mZZqjHkd5jFkHmI9Xwq9omAnPzNEhq4/2OHIegfkpyUZd79UCMLF7dM6x56iWGsDr0PwkfjpO 6YgWV9gAC3EO4wKv0BTSixbCcb67rrE9GOhQBmz7P4KRHsUjQZzBal+AEmlybE5xefce1lUkT GTKcJukAN4Nvwjhn/tNmFvDMOA0yZMN66rXd5CC67tEXIAok2OEqmfmMPoPkRFVtFloZIZNRz DxNEbbh2FJCYay2SBhY8LoexCAFgFuORt9y+S6CxWYOn5D87VzD6uN0welw57yqRxlKc2Rb5b 4OVwSsTXVFQUBHaI/eF7rbm2N+JVW8XhDPU04ocgeb/z6ii0hTTk1MR0DgCfpu+Dft8NdTtcd q/RSwClcpsSGsTTqxCQsTIPzj9oxeZzuA63K7bjIvHDu0aQKD1iyHT/E0il8SRlngCAA1CJeJ DS1ePhzlvjhxU69ODFj72IbSr4wRNae6zd9U/0QXc6MpDz4djJ47rgXLH328L5Dkfti2aVCWL uYWaN1SpYhApk37dQS2nEgIcO6akL14CNI8+r3oOBw== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230202_073254_393079_088295D1 X-CRM114-Status: UNSURE ( 7.60 ) 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 = ;