Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2560609rwd; Fri, 19 May 2023 07:20:23 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6oncl3kvbDMbSIDbCZl3O6rNUk2z12DDj1TAe2xrDRq09aOLOYu5lNNZ3AFN6Rb+Q4lBtI X-Received: by 2002:a05:6a20:3d04:b0:101:ab2:eaa8 with SMTP id y4-20020a056a203d0400b001010ab2eaa8mr2689460pzi.18.1684506022934; Fri, 19 May 2023 07:20:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684506022; cv=none; d=google.com; s=arc-20160816; b=FLzAp1qaLZGB5Cnrz97VTbW58BrgKzgAFs8mxsRslhpVwi/RB5zjiVLJspbs+5sJRR t5wzSeo0pUxvn3spq5yLSm4GdTtggTWBu33iCfHgLT3VYeCe+7RJzujFHr2jHF1Fyk/x AKHmQLPNbuIoQXmShA5tnLfDnFi8degyqLjXaXKNwF7SIbAca/xmngTmD2e+rsNzz2i+ 9v+O5Qwm7SU4aqJUlUPEbL1WfJtdHoO8h2k890GJG6cWDc2Pv6Sxln6N0E/vdv7DASSZ KzV638Hg82RptrTcwHT4+9KX0ngEq6cIxRym7I+rxe7O4A0jNBr1T8VHUK738o4BBb94 S4cw== 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=FygULvWGhu05FTceDr3JhAMy7icA8MOrvWNQ8fElXV0=; b=nLrCcs9WVEfsIozZvJQAUz9Yua+HGmS/xPio1NSG/KgPlEq70C9frgr/Y29h5UpNum rRn+cvw4voRenoCjNDR83hsbT4LQf+p+fz+I0pXfwdah5wdKg0EINfvYKYALuQ+EIIiT JpHMaoW8pXVO6INUSw3RsN1tj31rnfk84nkvJ2TxOOPZEaFV4CxZUH/hwavMFC5OwrHZ 4Tz8HsW2iw98Xj+5zBK2akgt7v7/YaOuYaaonkkg3sL8kQbaak/ZYP0nHLloCPxSVac6 gobbagI4s63ILprHrJjSp7sPH943Lyb7e8UKKYS/2BudfwJSVIltKZKJBs7GHfvzZDHI UTDg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b="Pl/L3pHa"; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z6-20020aa79906000000b0063b669ec9a0si4124961pff.103.2023.05.19.07.20.07; Fri, 19 May 2023 07:20:22 -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=@microchip.com header.s=mchp header.b="Pl/L3pHa"; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231726AbjESORU (ORCPT + 99 others); Fri, 19 May 2023 10:17:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45514 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229546AbjESORT (ORCPT ); Fri, 19 May 2023 10:17:19 -0400 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.153.233]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 183CAD3; Fri, 19 May 2023 07:17:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1684505837; x=1716041837; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=Sd2VkJX17zpiW/S4Qia53jgvQaRUOiUOyM2LVozEYUc=; b=Pl/L3pHaS6SX7mqzkGckGzxeTL3AOZUBNfFXbwsKlmFNC44TewMUPMqq x4/s/OhAr2ewR/yU8lWeKqLybP+O8lUmczxR1B6tPuQCf1VuHDYWLhB/E sOHR53XkqQ9rrEK2v2uymdF5TL0YxGa09XaZpr+xvAFTmqIfMN6YuEpxK pEfjAIMvsIGNsz9B7YJoyuBVYfkzZzjUOmQwGBomtTC80tW7BJiIoyQaE Z+v9voQmAYfhRtTObZQO7993CSUzdAqPSdWcPUa9pP8F4LaHyyaeFg6Bt 34aw6A6V5pFTPKx0sHAPRSkk7OWzsJu2ZvNlNNYXvUsa8BUpJulnZ9G6i g==; X-IronPort-AV: E=Sophos;i="6.00,176,1681196400"; d="asc'?scan'208";a="214610741" X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa5.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 19 May 2023 07:17:16 -0700 Received: from chn-vm-ex02.mchp-main.com (10.10.85.144) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21; Fri, 19 May 2023 07:17:13 -0700 Received: from wendy (10.10.115.15) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21 via Frontend Transport; Fri, 19 May 2023 07:17:10 -0700 Date: Fri, 19 May 2023 15:16:49 +0100 From: Conor Dooley To: Torsten Duwe CC: Xingyu Wu , , , , Michael Turquette , Stephen Boyd , Krzysztof Kozlowski , Philipp Zabel , Conor Dooley , Emil Renner Berthing , Rob Herring , Paul Walmsley , Palmer Dabbelt , Albert Ou , Hal Feng , William Qiu , , Subject: Re: [PATCH v4 1/7] dt-bindings: clock: Add StarFive JH7110 PLL clock generator Message-ID: <20230519-smokeless-guileless-2a71cae06509@wendy> References: <20230512022036.97987-1-xingyu.wu@starfivetech.com> <20230512022036.97987-2-xingyu.wu@starfivetech.com> <20230519135733.GA10188@lst.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="R4Qg/wX5CgaesNEQ" Content-Disposition: inline In-Reply-To: <20230519135733.GA10188@lst.de> 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, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_NONE,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED 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 --R4Qg/wX5CgaesNEQ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, May 19, 2023 at 03:57:33PM +0200, Torsten Duwe wrote: > On Fri, May 12, 2023 at 10:20:30AM +0800, Xingyu Wu wrote: > [...] > > #ifndef __DT_BINDINGS_CLOCK_STARFIVE_JH7110_CRG_H__ > > #define __DT_BINDINGS_CLOCK_STARFIVE_JH7110_CRG_H__ > > =20 > > +/* PLL clocks */ > > +#define JH7110_CLK_PLL0_OUT 0 > > +#define JH7110_CLK_PLL1_OUT 1 > > +#define JH7110_CLK_PLL2_OUT 2 >=20 > In U-Boot commit 58c9c60b Yanhong Wang added: >=20 > + > +#define JH7110_SYSCLK_PLL0_OUT 190 > +#define JH7110_SYSCLK_PLL1_OUT 191 > +#define JH7110_SYSCLK_PLL2_OUT 192 > + > +#define JH7110_SYSCLK_END 193 >=20 > in that respective file. >=20 > > +#define JH7110_PLLCLK_END 3 > > + > > /* SYSCRG clocks */ > > #define JH7110_SYSCLK_CPU_ROOT 0 >=20 > If the symbolic names referred to the same items, would it be possible > to keep the two files in sync somehow? Ohh, that's not good.. If you pass the U-Boot dtb to Linux it won't understand the numbering. The headers are part of the dt-binding :/ --R4Qg/wX5CgaesNEQ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZGeE0QAKCRB4tDGHoIJi 0j9qAP43YVrZEKNRod6kOuBIre1NM1sSrB1fIk55f7+4mLNEYwEAlTvK/m1TazZN R+GITt0fWp/eotW4VJ7EN6IC8v3C3QE= =BbP3 -----END PGP SIGNATURE----- --R4Qg/wX5CgaesNEQ--