Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp12743534rwd; Fri, 23 Jun 2023 10:03:08 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4B0ZbkcffEHqvDoJlbdjwY2DLqQhE5XJQHP+ym+chCjNqZiab88970C4NchQUjEnVmlmEg X-Received: by 2002:a05:6a00:cc4:b0:666:7866:ece9 with SMTP id b4-20020a056a000cc400b006667866ece9mr22739333pfv.33.1687539787802; Fri, 23 Jun 2023 10:03:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687539787; cv=none; d=google.com; s=arc-20160816; b=Ope7NdW4WA1kCe5kij/m29wA3LjmSkdGgyxu2Nkve7U/xel56cxEdvXR/mwoYYFPXt i/w3mwKCte4lBzAqECf/jXIChbs3sCqDJ0zRyaS7+grMNEE5nWJQpjZ32+zNUNfVOCts /qvTJ3NBtB7InR70EdP0pQM+kmwQZoHJnMJd580mqC4+Wr1GfWSWVgq5e2WTpQZaGIg/ xGXtypLdiKIYLBPjmV2UWavF4dAz0Dtx0KHnwjChpmoUvqWP+Xs208h0P67a80x+KVk7 YZ1iEz0rMA+cvb6R26npd2a7AMQHedfLnWTwJowgwUMYiAHBqrNXaot5YLtSqEl6SlTG 6zhw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=xXowspfkaGV3rm3+jyQ0sYNHWfHNRMqyQaKHhMB3nho=; b=xhh4Na8u5Ee7EPrMV88ej1UXsjsdiRuPDNlEqGI474HDJTZA+Q7/D8JGsiRva7XpOX rkgVRmbBJE8pi0g0S4fWVhTbPwPJdDDNPRtUudbmQjeaFyHvy7TLRizA+f7hTW4L0Wxj FTi+QGuy18vZztq/ODSU1AuTNAgJrffzd9loPIwcJ6HlzQ4aV/pnUEci1m6hx1NtchtE 6FE2k2Kc1oY5DuflVmT/sWgBwh0n5AowMV2KhE8t2srytaWmX1T+obLQwkDQAaPo+fmz 6vSOneLEwbbr6B31HH2eFXpcoi3vlgzUEAzybRMYvNBXx/6RINmjfc0NZ3en5WdtvUwq 5zOw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="od/tS904"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k137-20020a636f8f000000b0053fbb36fc65si9203129pgc.382.2023.06.23.10.02.36; Fri, 23 Jun 2023 10:03:07 -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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="od/tS904"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232169AbjFWQHG (ORCPT + 99 others); Fri, 23 Jun 2023 12:07:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35884 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230501AbjFWQHE (ORCPT ); Fri, 23 Jun 2023 12:07:04 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8C2DCE42; Fri, 23 Jun 2023 09:07:03 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id EE0C061A9F; Fri, 23 Jun 2023 16:07:02 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8D333C433C8; Fri, 23 Jun 2023 16:06:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1687536422; bh=PzZ3EmR9MICcwpoqTQk53g/RvLGwPzf3GIaDJYYrG/M=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=od/tS904+6jb8khi59PK5j771y6tflzReQ2ngFWZxeUWfzcSsPpGaHiBYmOKseW5/ r1fPB7hhaMzGXqsSyZ6bOvJMXsaN55xEKfFHyoVHNGAsBcfiBF+mTMFB8cNKo3KAd9 c+DD8xSIHYJglw9pqz8RKIp8+ZseIVKgBgZZruAJ5MwovkURFZYKPiW9g/c1G6Q4qX fBEiS3tASRhmRQbHh3iP7lbIAuXh7JZyFvWlmkOMzQPwfviNMPSFvL6oYWu0aQByW3 moRZPAksI43uzoHzHBIkChKDE/gHqkbK2WVOAjN8eCj4e6eAHgwd3aXaDxh7xNr0Nb 47Xx5yvq3jamg== Date: Fri, 23 Jun 2023 17:06:56 +0100 From: Conor Dooley To: Aleksandr Shubin Cc: linux-kernel@vger.kernel.org, Thierry Reding , Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Paul Walmsley , Palmer Dabbelt , Albert Ou , Philipp Zabel , Cristian Ciocaltea , linux-pwm@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-riscv@lists.infradead.org Subject: Re: [PATCH v2 3/3] riscv: dts: allwinner: d1: Add pwm node Message-ID: <20230623-budget-helpless-32f82537ab40@spud> References: <20230623150012.1201552-1-privatesub2@gmail.com> <20230623150012.1201552-4-privatesub2@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="Ac7UQ6ZCF2/3CB3I" Content-Disposition: inline In-Reply-To: <20230623150012.1201552-4-privatesub2@gmail.com> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 --Ac7UQ6ZCF2/3CB3I Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jun 23, 2023 at 06:00:01PM +0300, Aleksandr Shubin wrote: > D1 and T113s contain a pwm controller with 8 channels. > This controller is supported by the sun20i-pwm driver. >=20 > Add a device tree node for it. >=20 > Signed-off-by: Aleksandr Shubin > --- > arch/riscv/boot/dts/allwinner/sunxi-d1s-t113.dtsi | 12 ++++++++++++ > 1 file changed, 12 insertions(+) >=20 > diff --git a/arch/riscv/boot/dts/allwinner/sunxi-d1s-t113.dtsi b/arch/ris= cv/boot/dts/allwinner/sunxi-d1s-t113.dtsi > index 922e8e0e2c09..50f0f761527b 100644 > --- a/arch/riscv/boot/dts/allwinner/sunxi-d1s-t113.dtsi > +++ b/arch/riscv/boot/dts/allwinner/sunxi-d1s-t113.dtsi > @@ -127,6 +127,18 @@ uart3_pb_pins: uart3-pb-pins { > }; > }; > =20 > + pwm: pwm@2000c00 { > + compatible =3D "allwinner,sun20i-d1-pwm"; > + reg =3D <0x02000c00 0x400>; > + clocks =3D <&dcxo>, > + <&ccu CLK_BUS_PWM>; > + clock-names =3D "hosc", "bus"; > + resets =3D <&ccu RST_BUS_PWM>; > + allwinner,pwm-channels =3D <8>; This fails dtbs_check. Please test the dts against the bindings. Cheers, Conor. > + status =3D "disabled"; > + #pwm-cells =3D <0x3>; > + }; > + > ccu: clock-controller@2001000 { > compatible =3D "allwinner,sun20i-d1-ccu"; > reg =3D <0x2001000 0x1000>; > --=20 > 2.25.1 >=20 --Ac7UQ6ZCF2/3CB3I Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZJXDIAAKCRB4tDGHoIJi 0ujpAQC9S1Qf2IoZ2/nZ+UM8pJ738bDHZNGyp2kiplAXDx5RkQEApyOUmbmCe+3t jKF64KxbfxaQqYDdmqlocslEhgq9XQo= =PG6i -----END PGP SIGNATURE----- --Ac7UQ6ZCF2/3CB3I--