From mboxrd@z Thu Jan 1 00:00:00 1970 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7C6A1E7D0A6 for ; Thu, 21 Sep 2023 20:04:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230016AbjIUUEb (ORCPT ); Thu, 21 Sep 2023 16:04:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48590 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229972AbjIUUEU (ORCPT ); Thu, 21 Sep 2023 16:04:20 -0400 Received: from metis.whiteo.stw.pengutronix.de (metis.whiteo.stw.pengutronix.de [IPv6:2a0a:edc0:2:b01:1d::104]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 428808D9DF for ; Thu, 21 Sep 2023 12:59:16 -0700 (PDT) Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qjPpO-0003Ut-6U; Thu, 21 Sep 2023 21:59:10 +0200 Received: from [2a0a:edc0:0:900:1d::77] (helo=ptz.office.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qjPpN-00803g-AH; Thu, 21 Sep 2023 21:59:09 +0200 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1qjPpM-003iAi-Ts; Thu, 21 Sep 2023 21:59:08 +0200 Date: Thu, 21 Sep 2023 21:59:09 +0200 From: Uwe =?utf-8?Q?Kleine-K=C3=B6nig?= To: Fabio Estevam Cc: thierry.reding@gmail.com, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, robh+dt@kernel.org, linux-pwm@vger.kernel.org, devicetree@vger.kernel.org, Fabio Estevam Subject: Re: [PATCH 3/3] dt-bindings: pwm: mxs: Allow passing #pwm-cells = <2> Message-ID: <20230921195909.ulpoqvrixocwqou2@pengutronix.de> References: <20230921184348.290261-1-festevam@gmail.com> <20230921184348.290261-3-festevam@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="zvqknlzx3hklllpf" Content-Disposition: inline In-Reply-To: <20230921184348.290261-3-festevam@gmail.com> X-SA-Exim-Connect-IP: 2a0a:edc0:0:c01:1d::a2 X-SA-Exim-Mail-From: ukl@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-pwm@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pwm@vger.kernel.org --zvqknlzx3hklllpf Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello Fabio, On Thu, Sep 21, 2023 at 03:43:48PM -0300, Fabio Estevam wrote: > From: Fabio Estevam >=20 > All the in-tree imx23 and imx28 devicetrees use #pwm-cells =3D <2>. >=20 > Allow it in the schema to avoid warnings. >=20 > It is still possible for a devicetree to pass the third cell with the > PWM polarity though. >=20 > This is similar to imx-pwm.yaml that allows #pwm-cells to be 2 or 3. Alternatively switch all devicetrees to use =3D <3>? That's what I'd prefer given that the PWM supports both polarities. Best regards Uwe --=20 Pengutronix e.K. | Uwe Kleine-K=F6nig | Industrial Linux Solutions | https://www.pengutronix.de/ | --zvqknlzx3hklllpf Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEP4GsaTp6HlmJrf7Tj4D7WH0S/k4FAmUMoIwACgkQj4D7WH0S /k6/sQgArIOAvS8VYqdd//skjrkrDRwEC7caykl2brTnBrGTCbXLcN1xx7Ljc88H aLmjOFELi93sxjsGM5mcg5hQOg99fveuUKYLTQ/TpHmfPmT512SLRzeqPdMXmXdT twpDtmtpu5/L7LhFrpnU9+KKpi3f3JFCVAOzp9p4VgITkMvotRlnIh8xgOoMn+XU t/Rc3vylQ2Mqxrmsll4RJ3926JIG7OUAQ5Bpx7bWXNmzy9IdLe7zIIiGwLtEHhRH war+bneWv5+4r2clmniafrhnqlxuI9PuMGuvg3Ab+KKq9LyoWCekNeTzDc2cNn85 nmMPSqbFBE9dwk6cig1WMkJFbS3KeA== =6VPi -----END PGP SIGNATURE----- --zvqknlzx3hklllpf--