Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp6069440rwb; Wed, 18 Jan 2023 00:17:22 -0800 (PST) X-Google-Smtp-Source: AMrXdXuRecimVi89sD+TmNdvDmS4slViiSP//T3iIwfKFDwKiPV2huR0NmK1AirU7MbnUWpzcqbc X-Received: by 2002:a17:907:2c65:b0:873:971:4dd with SMTP id ib5-20020a1709072c6500b00873097104ddmr5199126ejc.44.1674029842233; Wed, 18 Jan 2023 00:17:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674029842; cv=none; d=google.com; s=arc-20160816; b=P1+Gc289mQcgRy1t51E3OWObL+Wtzh3bbu8b+0c8cKWeogdztkAYxmp0XZGkRO0UOt aP1VLX6VsjqhwgUA7Y0qDw12dRvUfZN0okL81vk4yC2RjvxvBRSJmja8AuEoOjWiYPkp nZ1Bi1Ccf/WZmomkd63QLjd+7eVO7+uIl9gaoXOJNaQ6NnsqZoO6H5J373eroqqZP4LH 2MV45ZGT046VS+6qxxsOJD0e88i4eDYOps6O7ZqmcHSIFEMzVTeWbNoQMjpf2V9z4y93 33x7YagLyuqhsqf1MeaFGIAUV9AsvlrCou28E+ybKCHdyYQESYt9Vv99tpETFOxQrn+r cjeA== 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=Gr7w5OTE1nabLAu8redOekWfFURbIqh7pl3dhZw7x/mbsNU9KDUphyovRbwBtzERBy 3NHdj/QY0i0BSg/hXeXV4YMM49oy47KS55GgMEHZVxOKmpbhZLu5PZ7uubCfltQ9nX7U XrJdCIkGlNXrNdNUhsg1WMl2Miyc63rKPBpA6I4JOlv/jDSuuCv0Um63n6A2abgHpiCO OfcBJD9eH4/Y4CaqkrV6hkv43JXuKEZLwzBexr4N1FAN0uzVoceVA3+wPGXxblwpEQgN BgsFUAU0GpHaxJ/7/E6beMRgZuDZ4fxlArDcR72fdrAhs0EcHcZhSVYE25Eq5q5OIMYk USEQ== 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 cw16-20020a170906479000b00876a2339b76si2393181ejc.400.2023.01.18.00.17.10; Wed, 18 Jan 2023 00:17:22 -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 S229978AbjARHzZ (ORCPT + 46 others); Wed, 18 Jan 2023 02:55:25 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50098 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229470AbjARHx2 (ORCPT ); Wed, 18 Jan 2023 02:53:28 -0500 Received: from mout.perfora.net (mout.perfora.net [74.208.4.197]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 71E4431E31; Tue, 17 Jan 2023 23:27:36 -0800 (PST) Received: from toolbox.int.toradex.com ([213.55.225.137]) by mrelay.perfora.net (mreueus002 [74.208.5.2]) with ESMTPSA (Nemesis) id 0MTjFe-1p9Lff1kqO-00QU41; Wed, 18 Jan 2023 08:27:16 +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 v4 01/17] arm64: dts: freescale: imx8-ss-lsio: add support for lsio_pwm0-3 Date: Wed, 18 Jan 2023 08:26:39 +0100 Message-Id: <20230118072656.18845-2-marcel@ziswiler.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20230118072656.18845-1-marcel@ziswiler.com> References: <20230118072656.18845-1-marcel@ziswiler.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:EibaPIfpv7KUPNuvZPNxGfELWGIEYyNvgVLXWedKZBWRUH2mkKx qu08SPQFa0Wn1YvL3Z4ExZ3b/09RjOytzqHHLWCg1mILHvfrO+pzu7TP3tAzAr9XBhJ7cw4 58+pjhlvi9hjuDAVFPpPR7GGFvNOktB4iRKepZ58ZxJV2yaLMZfgq3ZND6354mwGAlRiSSf so4XlEmo5ZGFu5TGeOlkQ== UI-OutboundReport: notjunk:1;M01:P0:NY9Rj/Eb4ko=;yP8Fg9T26Pfdk85MYd4tId1mGfs 8SefZeJKRjl0hx18VMwHmDEMziygR52WWVmYFi/0t15LczX/ENSgcsLsEuTXtN8l27+ry0UQ0 r8XxQZ1h1kkWvK2Cski2Auy46lwTTEj43oER+PeeWXMEupt/TXIj7+dInyQhmuWQbYcClFbyE pY9OEv6BbWjubFyAFmbgtss4BQWmOvGpwbHAPQzKxx8F8jkcfYVYQQSIfgILDuWhziAYXv/aY oDq/rs15wMQrpv2xkN9Sj1YRCT//gCccImw1apL1Gzf5mf/IvZ5ZrxY4lkNdqSQbuQzmGNNc3 GOtK0VGfpIzfSiDHyjfxP6TDIRN+OaY3UrWBizx+YS9X+OEx02y03tMaV8iBJkYFX8FHS/nv1 TOLE9vBfpNyEn1XldMkEDxfGzCnWePr0lOIE5BX1sTbIsarriF2qX7/XFQ9/aokZzj9YhdX9R kTX3xyeKB+ePniQq1ftX2WTYtO7n8rlgWCY20yuXODq0kquKXnLRfPPtF9bw+XLjYNtglLLtS L74UKjK3Sp3p92CqIJT+WzZzPaaA/X0eVa4NmlMRE55JEBHXZLNGPNBoAvSTrbCp5bzjw4IF9 T4facesZZdiKENitZrK0ekMlSlECCJUqrOk/k4wntjN9H2MBFalmb9/5rAbebk0rCnXBGQloj L2dVGh/4uYX0acf7CF25Gud3uzb9cxZrR0MA0rQL4A== 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