Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp406386rdb; Tue, 5 Dec 2023 08:33:00 -0800 (PST) X-Google-Smtp-Source: AGHT+IGrPaYn+auTZvMAPaXlrcgM3rIRJtLJI3PVDSF2RYSpVBP8j2Vpsc9aIydetfff4Wbf3bGl X-Received: by 2002:a05:6a20:440c:b0:18f:be6b:5b85 with SMTP id ce12-20020a056a20440c00b0018fbe6b5b85mr207799pzb.125.1701793979777; Tue, 05 Dec 2023 08:32:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701793979; cv=none; d=google.com; s=arc-20160816; b=VtngpvS/bLyWJNDmA/nVkbShW+pKI076naBdekPwzUYLNC+F6XpGN/KnCfDpoSjTCz FUcWxALooihbfbiYelkH9cyC6W1Hcelqy3Kbk6kljz8kGd99gkR5S6cOQg9HYe3RBfBW oPAQ9tsyhab6DyadpqSllTDDmLISK/HRDHM7V7jWTSwLy05RGrd353R1ZfXlFX7y2rf4 ZkIHe3xTBHIhK7dRnhlTLnrlSTdYRbmuSEqH1jk0eNiyojxjQ/WyiSoNhDezzZ2+VZwT prGsGTGzAsIkvzVfMgqwUr/lI17cIFRZXNoG14+m7X7dMXmkT8Zh9iyFndgYi8BeWBoI yNHw== 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=kuNavEoqZD1WZjlqqQT3/W8SQcoMXCfBxSUiANMAUAg=; fh=JIqnIULXWLC12CXuBnd2+WHJLfFoVXE8W8GNcQjE+xo=; b=dtdwhbZMYS4mFnCT+0WV7MbwiwtW9axilNTlkMdf78PBm8g7Xqnu0aj2f2JwXKYqWx Gnl/dj/o/wiiKxCDVWrc8PgW28wnNVNU4Lc4BqMUIKuzMRli2fDY36pD+H6LAyIgHKYt wvF+LKb/d1UXCQWWlY+B2xnbmufy6qCBuZb7IKOLGk4+ZK1GBmz9g5bTC88hbNu7NB4t 1Fl1lUjuRSRhplLctaqzmkRrdAaQuFNqy/3+owI2zqsMbZ7rzGoLK+7YhTImLTnWi0EE 7BUFi7a/Y6Av6jZT9QXIkb3n/CDTTbUxjhhzuhQwWISz2hmJz20aQ9uTbNxALy4CUWts dwWg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=fh8Mf5MC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 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 pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id p9-20020a17090a868900b00286864c9cdcsi128444pjn.125.2023.12.05.08.32.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Dec 2023 08:32:59 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=fh8Mf5MC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 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 pete.vger.email (Postfix) with ESMTP id 4EC9A809B9D0; Tue, 5 Dec 2023 08:32:51 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231807AbjLEQce (ORCPT + 99 others); Tue, 5 Dec 2023 11:32:34 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43712 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229643AbjLEQcc (ORCPT ); Tue, 5 Dec 2023 11:32:32 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6E7C09E for ; Tue, 5 Dec 2023 08:32:39 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 75421C433C7; Tue, 5 Dec 2023 16:32:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1701793959; bh=7Xd0bOmFkvL1Xm4beaBl2rncR1EV0Oppge74zfAfREY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=fh8Mf5MCDI9Bf/S2LS1zOdREXb6hQ7G7NtKrQqUDmPouWiiiV87ICHQ5IG5oUDf/t jsvXuZxqjjY6lR1EEKMRqgrVAwlwdG5bRDhAvffkDG/PtB4PmgwAPRqeD82xoDwHjC wv2FTKfKs9G/ihmOFCypY5TdB7TjZTTauwTNSQAIOl9y1PWD1eh+BJDYyVSTSIZLGo aIEZ+AP/oxuUKQvdr77abhgyK6QW5OZ3ex7Vy2Z4z26zxwm+W8T7fo++gbKqVOqp0r 2necfwtFfkoW8L7jdwMnME+QIiovWCDV7ax9cOmji1sINtGKmsuW9us/tAt9Z8HZ+C MKhcGCBoEHQ6Q== Date: Tue, 5 Dec 2023 16:32:34 +0000 From: Conor Dooley To: Inochi Amaoto Cc: Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Chen Wang , Jisheng Zhang , qiujingbao.dlmu@gmail.com, dlan@gentoo.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 1/4] dt-bindings: clock: sophgo: Add clock controller of CV1800 series SoC Message-ID: <20231205-chump-ravage-2c5478289421@spud> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="y1dM/5FzzPQUk+3F" Content-Disposition: inline In-Reply-To: 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,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.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 (pete.vger.email [0.0.0.0]); Tue, 05 Dec 2023 08:32:51 -0800 (PST) --y1dM/5FzzPQUk+3F Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Dec 05, 2023 at 07:55:50PM +0800, Inochi Amaoto wrote: > Add definition for the clock controller of the CV1800 series SoC. >=20 > Signed-off-by: Inochi Amaoto > Link: https://github.com/milkv-duo/duo-files/blob/main/hardware/CV1800B/C= V1800B-CV1801B-Preliminary-Datasheet-full-en.pdf > --- > .../bindings/clock/sophgo,cv1800-clk.yaml | 53 ++++++ > include/dt-bindings/clock/sophgo,cv1800.h | 174 ++++++++++++++++++ > 2 files changed, 227 insertions(+) > create mode 100644 Documentation/devicetree/bindings/clock/sophgo,cv1800= -clk.yaml > create mode 100644 include/dt-bindings/clock/sophgo,cv1800.h >=20 > diff --git a/Documentation/devicetree/bindings/clock/sophgo,cv1800-clk.ya= ml b/Documentation/devicetree/bindings/clock/sophgo,cv1800-clk.yaml > new file mode 100644 > index 000000000000..388be5bfa163 > --- /dev/null > +++ b/Documentation/devicetree/bindings/clock/sophgo,cv1800-clk.yaml > @@ -0,0 +1,53 @@ > +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/clock/sophgo,cv1800-clk.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Sophgo CV1800 Series Clock Controller > + > +maintainers: > + - Inochi Amaoto > + > +properties: > + compatible: > + enum: > + - sophgo,cv1800-clk > + - sophgo,cv1810-clk I'm not reading 1000s of lines of driver code to figure it out, what differs in the programming model for these two devices? You should mention in your commit message why the cv1810 has an incompatible programming model if you are adding multiple devices in one commit message. > + > + reg: > + maxItems: 1 > + > + clocks: > + items: > + - description: Oscillator (25 MHz) This could just be "maxItems: 1". > + > + clock-names: > + items: > + - const: osc You have one clock, why do you need a name? Otherwise, this looks okay, thanks. --y1dM/5FzzPQUk+3F Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZW9QogAKCRB4tDGHoIJi 0o9zAQCmOjmMPcxdu0nlCDz31Yb7QgwLZbyW5hjYhZ1s15DzuwEA9fvBJ4d6Kv7U eqy0tSDErlKmjaG62DnG2yCeo+DUTQQ= =bleb -----END PGP SIGNATURE----- --y1dM/5FzzPQUk+3F--