Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp10904899rwl; Mon, 2 Jan 2023 10:04:19 -0800 (PST) X-Google-Smtp-Source: AMrXdXvBYOMZNAVHuWOVzKTh0TRasGXEpazvHj7G8YsXjqweY1gflCWfNuQDLXs0G8TvrVStPgq/ X-Received: by 2002:aa7:9154:0:b0:57a:7140:84ae with SMTP id 20-20020aa79154000000b0057a714084aemr36896880pfi.9.1672682659153; Mon, 02 Jan 2023 10:04:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672682659; cv=none; d=google.com; s=arc-20160816; b=GDF1Tsb2OjH0C8hqztRDQiPI8HwP7MepjEc50DMzLCI83Un1MaQJd7fkTBDE6sII72 pb5ILo7LxUjSvO6t5sqiguxa8MrLUPs3iWg3tG8FT6fCSM8C5mc2MYvUF6aF2HndkPQV HlMNARvM5kGSJCAZMiDkdKxU61YCYZI3QxtapZP3p7rV0LgeiJ72WolHwHflw0TiS+N6 tYu8F9axChFUv4Dtg4aWf2qD8/XAV+LKgBauslqNp0RJUIc5qGuAFuRZHuWJExVnXWo4 sLH022aaD9UU2g73VB5P4B3GuBvZfqQ97iBtVQwuED1Aj7G49luyBb4BCFh/zjOm3zZJ K95Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:ui-outboundreport:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from; bh=6NcJMB50RWZPDZSMJOMN4tOMqEZ5gzcqFUP1yJzMXI0=; b=ZVSviIvJFMLE7VDHXeE5e64CFkFoivDiFi1zIlCMQKWCFa190iAXT1jRX0mqHvLxrq 30qf8KTVAUa9w+Hnq1PotJUEJU71FlhU49+ZW/5XFXllxO9VbttYpoy8r9x3f4Mbl9Fd 9SJvHohVZe4XxObjheS/BXCejf1sAgNp63wvksZMd29dlJCXXbtRbG0F99sDjtKWyFn4 k8CVm1dV9YP1UXQF7lJzJn0bUOCxJukr4gm+qEILsb7MAxasMchTuKcElODHNiNrn4ph ZPWV1BOW8Qskeqfd/653SBMr62syNy0WBVtvcCeW2vtINWFHUR6R1fAXXKIvuiu3MujI wlAA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id eb19-20020a056a004c9300b0057ce4b5d624si29749336pfb.111.2023.01.02.10.04.10; Mon, 02 Jan 2023 10:04:19 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236516AbjABRLp (ORCPT + 61 others); Mon, 2 Jan 2023 12:11:45 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55452 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236595AbjABRLC (ORCPT ); Mon, 2 Jan 2023 12:11:02 -0500 Received: from mout.perfora.net (mout.perfora.net [74.208.4.194]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 201A95F4E; Mon, 2 Jan 2023 09:10:52 -0800 (PST) Received: from toolbox.int.toradex.com ([104.59.205.51]) by mrelay.perfora.net (mreueus002 [74.208.5.2]) with ESMTPSA (Nemesis) id 0Ld04c-1oUZCY3QDg-00iGew; Mon, 02 Jan 2023 18:10:31 +0100 From: Marcel Ziswiler To: devicetree@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, 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 v2 1/5] arm64: dts: freescale: imx8-ss-lsio: add support for lsio_pwm0-3 Date: Mon, 2 Jan 2023 18:10:18 +0100 Message-Id: <20230102171023.33853-2-marcel@ziswiler.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20230102171023.33853-1-marcel@ziswiler.com> References: <20230102171023.33853-1-marcel@ziswiler.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:h21lIyVYKz/bo6KJX2h0v+41TuDI/KYU4WoQMv5amhvFQbtN41m /jEvshjexIOA3o/RzunTg8qdstuDwdXcwYRI4dnrlzgh8gUbA3e5/+6zXC5nxZB86eUxDg6 H9YC6oWNhxOIbsg33a+aV8PUuUaAqwhk5EgW0cZsARRxR15Kj4xVRV0taSugdf0uGS73icD 6Oo1aAYs9Y/6IQ1b/lfiQ== UI-OutboundReport: notjunk:1;M01:P0:C01kr2S4BaU=;tLJf4/6JxFNR2R+Y+pYf38xpO++ xQwZ8TnOeUCf6bTFsHx10VBOIhyd1gpuVyfXKZ2Nt/+UQdXGP3uG1bZLa0sRFOSOa3pK01nU5 668hZ+USDTILb564uXBIURqt3rjx67ne6cNH3Npz1sVufw2rUj1bQwaXx1CJP4zyT4L9e4d+e vLBluis/Ftt79Gb/iu0To2B5VAkpwsSK3Sh/rP4OoIdg4L9/6jY6ZaoBmdQGxo16qi0m8z33d vqX+jBP1SIQ6nipuEHYZDDSCE0zAp95hESNwWiCkozRnpVkSl5VbIOQG6wFQV6Yr1UsM288DJ fGsFCF9dyrQ+qBSLxVdr66dmc/vH3q9sniXEWXYxeS43J5aMDs+V27lznI7NJDhRhXR9PlHsU XROmFxJuZ5M/zsHi7JjmJxiWkl6qZLars76uz9XlaBN5qXgCp0hnxktuuqjFOnRUO5/KbwEpB I+XwV20EMCfH39TqrUsYJd4DvOJJ+bhBFfIr3mmGS0ArqA6Ukuf7IhjaIAnqaxKwqzmmGDpQA 1+dK0CyUxIFWwQv5PWrPvtXmb+15FeswOzo9OM5g8eNz39jkhuYODrRJOB+qawWGGbH209H6G hN5JPCA4yXlBvVHxKKKZMjRCm6nnLxgQruUt1/unlTcFo2/Ra8MmJXNMX5vlqDCuV5P04NS8O n3ePctfTs3Hkr2tV6WX7y5rGYnqdGpIXn9/v0CalaQ== X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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 = ; -- 2.35.1