Received: by 2002:a05:7412:f690:b0:e2:908c:2ebd with SMTP id ej16csp1058204rdb; Fri, 20 Oct 2023 07:22:51 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEnShB7lvC18iYjn/+Z2ii4G8r/23as5UxeIa/m6V5cWu4P4NCu+7ORfvOiVZpMcbHj4GoL X-Received: by 2002:a92:c8d1:0:b0:34f:efde:ec7c with SMTP id c17-20020a92c8d1000000b0034fefdeec7cmr2266049ilq.28.1697811771326; Fri, 20 Oct 2023 07:22:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697811771; cv=none; d=google.com; s=arc-20160816; b=l/y9geqdZG6FMLpa7LENqJdDBc4bDCV9lDFvqhyHpBJ7iZYQc7kcmVNL+UbKAsEeax gXAFw+TnLq3wt8KAn7Vs+45ofYXr7SgH45LRuaF7jWo6R2SF197DQaUt+NKZpdq89whb Fccg3k9XNhyeJGMjq227qV0B4UTlMy6A0DS3qDfSWRkX9kmaLWefOPuDzyz6jEm99awv HXIxfvwgEr839Ft/EvjzHQgha5NA7vudKG8/5gjoqM8hoFdoNmjaZIPdR61sSQDrUS0D dyqfyFyor0GItQE+fIX/Ay5h6CFYtlueEGK2GK9NJ9Ejz59/HUWmH2ZCzDskshJ5rQkG 0ZSg== 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=8gBV52egK8Q1vkt9nKLdCuRwKFHTBBVq8DUsWDW+Z0U=; fh=I1wwNmMccsjYP3QYRAQ4yPl86bVOfsrxouAYn6m+xyA=; b=Y2DvEBLZLPh0Uz/XHmURUgkX6f7BQZowh2ErsxOZFQg6yrBggrdynYt6L4xHi19Haf jlrTGVz5VQdJllWz9GxVLot20b70ZrtX0kI2wXBP/14MDKdnW6gxEqXbX73rkwORMHIK PTHyDarrkEG3MPWgx7rweNsXQfuZTke1T5l1reaSRJVlNyKn1YyDuORAAOjWM6PrXteg tdAjEnEw+GtMBqB5shSxlApW/NI4ddmmlF1m17ywffcXtc2Bq9hFr+P6Xq08zEuHIT3c wOYJZHwC+pvWqiYmRM170RNmXjSIEZCibv/hNarxVnwpfky5gGJ6dXiKP0zY+O3J3D/3 Wm3A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=fNnUhRbK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 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 fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id t71-20020a63814a000000b005b106cd44casi2079748pgd.145.2023.10.20.07.22.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Oct 2023 07:22:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=fNnUhRbK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id A4705832B726; Fri, 20 Oct 2023 07:22:43 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1377526AbjJTOWa (ORCPT + 99 others); Fri, 20 Oct 2023 10:22:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51860 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1377477AbjJTOW3 (ORCPT ); Fri, 20 Oct 2023 10:22:29 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5E682D4C; Fri, 20 Oct 2023 07:22:28 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E1A46C433C8; Fri, 20 Oct 2023 14:22:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1697811748; bh=y3RAlabMY9JfTgyKPsrGaRZGjnShxDjVRxHtg+L1yjA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=fNnUhRbK+JboDV8tfL1tmzlR4KdmkFxGZ73HsT6T66jO+mArOuodvbWbdQvugMyVl Dq7rD4NAo4a+nX5l9vo/xDgXyVjhicQJ6tXnyz2xNEeB1WbDH0CWzTBipTJ5AhGvMJ lumjTMwCPLR3cTD+qu+QujvDiZNiRZCXtGn1uS+x+BVS4vhEnhB1zSf8l7T0Qip7bl HAwscskfBoTQSNfQtRyM5FSGOgVm8KbJCinUfMsPU2Q5bFKdobS4ww92urYT4nG+0K zh/U9isAFFV8AvrmNxR8I5gYywJsB9NdEo2ahVN2eYGV+MdaWlV3moxDsOzApP5mfP 1f+njzJbKZLTw== Date: Fri, 20 Oct 2023 15:22:22 +0100 From: Conor Dooley To: William Qiu Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, linux-pwm@vger.kernel.org, Emil Renner Berthing , Rob Herring , Thierry Reding , Philipp Zabel , Krzysztof Kozlowski , Conor Dooley , Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= , Hal Feng , Paul Walmsley , Palmer Dabbelt , Albert Ou Subject: Re: [PATCH v6 1/4] dt-bindings: pwm: Add OpenCores PWM module Message-ID: <20231020-giddy-fidgety-f070ef121ff2@spud> References: <20231020103741.557735-1-william.qiu@starfivetech.com> <20231020103741.557735-2-william.qiu@starfivetech.com> <20231020-barley-rosy-92c3688cd515@spud> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="3KQTc1pnS1DLeim4" Content-Disposition: inline In-Reply-To: <20231020-barley-rosy-92c3688cd515@spud> X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, 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 fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Fri, 20 Oct 2023 07:22:43 -0700 (PDT) --3KQTc1pnS1DLeim4 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Oct 20, 2023 at 03:21:15PM +0100, Conor Dooley wrote: > Krzysztof, William, >=20 > On Fri, Oct 20, 2023 at 06:37:38PM +0800, William Qiu wrote: > > Add documentation to describe OpenCores Pulse Width Modulation > > controller driver. > >=20 > > Signed-off-by: William Qiu > > Reviewed-by: Krzysztof Kozlowski > > Reviewed-by: Hal Feng > > --- > > .../bindings/pwm/opencores,pwm-ocores.yaml | 53 +++++++++++++++++++ > > 1 file changed, 53 insertions(+) > > create mode 100644 Documentation/devicetree/bindings/pwm/opencores,pwm= -ocores.yaml > >=20 > > diff --git a/Documentation/devicetree/bindings/pwm/opencores,pwm-ocores= =2Eyaml b/Documentation/devicetree/bindings/pwm/opencores,pwm-ocores.yaml > > new file mode 100644 > > index 000000000000..0f6a3434f155 > > --- /dev/null > > +++ b/Documentation/devicetree/bindings/pwm/opencores,pwm-ocores.yaml > > @@ -0,0 +1,53 @@ > > +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause > > +%YAML 1.2 > > +--- > > +$id: http://devicetree.org/schemas/pwm/opencores,pwm-ocores.yaml# > > +$schema: http://devicetree.org/meta-schemas/core.yaml# > > + > > +title: OpenCores PWM controller > > + > > +maintainers: > > + - William Qiu > > + > > +description: > > + OpenCores PTC ip core contains a PWM controller. When operating in P= WM mode, the PTC core > > + generates binary signal with user-programmable low and high periods.= All PTC counters and > > + registers are 32-bit. > > + > > +allOf: > > + - $ref: pwm.yaml# > > + > > +properties: > > + compatible: > > + enum: > > + - opencores,pwm-ocores >=20 > What does the extra "ocores" suffix add, when it just repeats the vendor > prefix? >=20 > > + - starfive,jh71x0-pwm >=20 > Krzysztof, did you approve this generic compatible? >=20 > And the whole thing looks like it should really be something like >=20 > items: > - enum: > - starfive,jh7100-pwm > - starfive,jh7110-pwm > - const: opencores,pwm (assuming that the opencores,pwm compatible represents a subset of what is implemented on the jh7100 series) --3KQTc1pnS1DLeim4 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZTKNHgAKCRB4tDGHoIJi 0s/HAP9VaJ5WdJWYuB+hx/HBT2bzsFHQFABLh7Gf7UltL5GDvwEAvAd8PHGeD+hI /NZSW+d6MZdv9Im1y532IWKhqIM2Hw8= =nKRH -----END PGP SIGNATURE----- --3KQTc1pnS1DLeim4--