Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp2533952rwi; Fri, 28 Oct 2022 08:09:47 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5cfb0898sCRlh5uyIzk0241QK5j4bPYLQO1BQQM4+5dYGPj/WOdcB0DEx310mL4nK4KwF6 X-Received: by 2002:a63:1765:0:b0:457:8091:1b6c with SMTP id 37-20020a631765000000b0045780911b6cmr30231pgx.208.1666969787041; Fri, 28 Oct 2022 08:09:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666969787; cv=none; d=google.com; s=arc-20160816; b=07cTPS1Xc0fHulRO7RS2Rxw1qmcNQgMzVNxjIN5Y/o5O/QPqTgz3/5hZoqAdS7tPn4 mGZvu4g1MoT6ZXtHpc+T6MD6HV59jOsGQcQEQdQzzj9zYTstZRjSXaDhxDy4JSamllfU TMEZaX++Ptd5u9MqJXqlGj2auY/TIE/JpeIU8hbGIOyGgkO/b/+II+FavfpntzSo17o6 /PBcRugvxK3fxVW7owMA5I7G7XlXQ5NkG8RepOzwRN5mNPSimU+7vX8vIqFUTD3bKXFJ zTUzYDmNyHBYDo81+M+bvOghh03ynGDQ4SmIeYI/V9o6TjTTfvLomr1K+mPP+K8hn8do 9m2A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=Y9/qrH+0Scl9mVb7RzrEbwCqAkBnNDDp+J+SENcY520=; b=SAaA2YUpozGMvDqZrr2eacVmplNc6KRzGEPOvAyA9xyMqcda/XNROuUpFUfiwBh/D1 +yunPcKlYp+JG+pZgs7sAl+L7P0RvV/Dcy4zLm2Th4hHI297pr/7dKKfIo35EVeN6iDS jBFLqBtLVocYpZTZymmpYRJUCxoI/4cv7lMKPByTIHnKdRiG0889KBd6/qzlB72HJ7G/ dY4w8My5qwEjOlGu9bqtna87NDK79a7uLDX3zj0j+PR0qjfx5ADSVrmKKKL6zbs/luTm zs9f+7n9VF6vPE15uxRDzGmpYU0GGoC4NZ4uN57Lc79/nfLuKkmhRbMGBbgSSXf56lJ9 16Bg== 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 nv12-20020a17090b1b4c00b0020dba4e1b21si6806022pjb.0.2022.10.28.08.09.33; Fri, 28 Oct 2022 08:09:47 -0700 (PDT) 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 S231162AbiJ1PAA (ORCPT + 99 others); Fri, 28 Oct 2022 11:00:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39586 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229648AbiJ1O76 (ORCPT ); Fri, 28 Oct 2022 10:59:58 -0400 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A45394D4EC for ; Fri, 28 Oct 2022 07:59:57 -0700 (PDT) Received: from ptx.hi.pengutronix.de ([2001:67c:670:100:1d::c0]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ooQpq-0004Td-OD; Fri, 28 Oct 2022 16:59:50 +0200 Received: from mfe by ptx.hi.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1ooQpq-00016w-CK; Fri, 28 Oct 2022 16:59:50 +0200 Date: Fri, 28 Oct 2022 16:59:50 +0200 From: Marco Felsch To: "Peng Fan (OSS)" Cc: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, shawnguo@kernel.org, s.hauer@pengutronix.de, devicetree@vger.kernel.org, Peng Fan , Fugang Duan , linux-kernel@vger.kernel.org, Clark Wang , linux-imx@nxp.com, kernel@pengutronix.de, festevam@gmail.com, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH V2 04/15] ARM64: dts: imx8mp-evk: add pwm support Message-ID: <20221028145950.x2afo6dyyx5722xx@pengutronix.de> References: <20221024031351.4135651-1-peng.fan@oss.nxp.com> <20221024031351.4135651-5-peng.fan@oss.nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221024031351.4135651-5-peng.fan@oss.nxp.com> User-Agent: NeoMutt/20180716 X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::c0 X-SA-Exim-Mail-From: mfe@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 On 22-10-24, Peng Fan (OSS) wrote: > From: Clark Wang > > Enable pwm1/2/4 support. > Enable pwm1 on pin GPIO1_IO01 for DSI_BL_PWM > pwm2 on pin GPIO1_IO11 for LVDS_BL_PWM > pwm4 on pin SAI5_RXFS for J21-32 > > Acked-by: Fugang Duan > Signed-off-by: Clark Wang > Signed-off-by: Peng Fan LGTM, feel free to add my: Reviewed-by: Marco Felsch > --- > arch/arm64/boot/dts/freescale/imx8mp-evk.dts | 36 ++++++++++++++++++++ > 1 file changed, 36 insertions(+) > > diff --git a/arch/arm64/boot/dts/freescale/imx8mp-evk.dts b/arch/arm64/boot/dts/freescale/imx8mp-evk.dts > index a4cddc5a8620..316390f917a4 100644 > --- a/arch/arm64/boot/dts/freescale/imx8mp-evk.dts > +++ b/arch/arm64/boot/dts/freescale/imx8mp-evk.dts > @@ -406,6 +406,24 @@ &pcie { > status = "okay"; > }; > > +&pwm1 { > + pinctrl-names = "default"; > + pinctrl-0 = <&pinctrl_pwm1>; > + status = "okay"; > +}; > + > +&pwm2 { > + pinctrl-names = "default"; > + pinctrl-0 = <&pinctrl_pwm2>; > + status = "okay"; > +}; > + > +&pwm4 { > + pinctrl-names = "default"; > + pinctrl-0 = <&pinctrl_pwm4>; > + status = "okay"; > +}; > + > &snvs_pwrkey { > status = "okay"; > }; > @@ -583,6 +601,24 @@ MX8MP_IOMUXC_GPIO1_IO12__GPIO1_IO12 0x146 /* Input pull-up. */ > >; > }; > > + pinctrl_pwm1: pwm1grp { > + fsl,pins = < > + MX8MP_IOMUXC_GPIO1_IO01__PWM1_OUT 0x116 > + >; > + }; > + > + pinctrl_pwm2: pwm2grp { > + fsl,pins = < > + MX8MP_IOMUXC_GPIO1_IO11__PWM2_OUT 0x116 > + >; > + }; > + > + pinctrl_pwm4: pwm4grp { > + fsl,pins = < > + MX8MP_IOMUXC_SAI5_RXFS__PWM4_OUT 0x116 > + >; > + }; > + > pinctrl_reg_usdhc2_vmmc: regusdhc2vmmcgrp { > fsl,pins = < > MX8MP_IOMUXC_SD2_RESET_B__GPIO2_IO19 0x40 > -- > 2.37.1 > > >