Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2537926rwd; Fri, 19 May 2023 07:05:35 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5Am22VCRyZ7w8I/rrmtjgEQkKA9+moM1KJVEIWazMsKplWc3XvPNRvaeADWMU4W/371jWo X-Received: by 2002:a05:6a20:a5a4:b0:100:af1c:f6b4 with SMTP id bc36-20020a056a20a5a400b00100af1cf6b4mr2066469pzb.41.1684505135466; Fri, 19 May 2023 07:05:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684505135; cv=none; d=google.com; s=arc-20160816; b=LeaDlt1ijPLqBSX8KFk1Z+IHS7aaiEGYIFL2MQquJTusLCgP3puBnfF9aVCkDohzyY 1AFqazJzeRNKYqgngFID6fnGNq/BaYS0Q3zzr+9Qa42LdWFxV/nEQgm52n9XbreOXo8V 8wcrEs+GRjkIV2NeHooLZeyD+R7pav3W/Fz+olTPQoh9C1FOiM2oADSyPIXgW9Wg6IBz JJ2FvQpyira3hYII2cv0GZMUlrPtFGbh5v4zeGVrXosM0oTceOBO/y3fzSw5sn3ZWoIA ptlAPAviD783UsiOqphQWG6Eb7zLOFOz8xSd0rL83iOdZC+vvasRPSBMLw9kINid6B14 OnXQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=nmgJycNROPGnZViUxKiIYQjBbUEkBDSOumMQkglQ3kY=; b=zs6XIo0ZpPiOzG//tSQ5k4ekn+Hxegoc5tNPpZbQgFeylvgBMAdHRyF7O+8CQSe4GB KxhLTQi0V3fnYBfV6u72JitQJZTO5yw8XndS4LosmtGqWCtLu5w2aTAy6RpJH1VWn+a+ uFleeug/V3akyHxTJTcJsoycrocpTYaHk3yxmNYKlVeKe5J3g9hyZ6qQA2rBPV3yHZtz 96YBOUErFmczujBHfJTpojFcWIYCdUQNU0EPg4RV9m2Ak6QdLChoK5h1EXypt6wb4o6q CLdBOCiDhy8pm/alLJH7hHRgcGCPaTc1hJ1GvQc+ZpdxIO1GqZcTjRkfPr5hENL89Rp8 VeWA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q14-20020a63750e000000b00534913980acsi722817pgc.854.2023.05.19.07.05.19; Fri, 19 May 2023 07:05:35 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231906AbjESN5l (ORCPT + 99 others); Fri, 19 May 2023 09:57:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36866 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230220AbjESN5j (ORCPT ); Fri, 19 May 2023 09:57:39 -0400 Received: from verein.lst.de (verein.lst.de [213.95.11.211]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4D2E5CA; Fri, 19 May 2023 06:57:38 -0700 (PDT) Received: by verein.lst.de (Postfix, from userid 2005) id B229168C7B; Fri, 19 May 2023 15:57:33 +0200 (CEST) Date: Fri, 19 May 2023 15:57:33 +0200 From: Torsten Duwe To: Xingyu Wu Cc: linux-riscv@lists.infradead.org, devicetree@vger.kernel.org, yanhong.wang@starfivetech.com, 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 , linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org Subject: Re: [PATCH v4 1/7] dt-bindings: clock: Add StarFive JH7110 PLL clock generator Message-ID: <20230519135733.GA10188@lst.de> References: <20230512022036.97987-1-xingyu.wu@starfivetech.com> <20230512022036.97987-2-xingyu.wu@starfivetech.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230512022036.97987-2-xingyu.wu@starfivetech.com> User-Agent: Mutt/1.5.17 (2007-11-01) X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_NONE,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 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__ > > +/* PLL clocks */ > +#define JH7110_CLK_PLL0_OUT 0 > +#define JH7110_CLK_PLL1_OUT 1 > +#define JH7110_CLK_PLL2_OUT 2 In U-Boot commit 58c9c60b Yanhong Wang added: + +#define JH7110_SYSCLK_PLL0_OUT 190 +#define JH7110_SYSCLK_PLL1_OUT 191 +#define JH7110_SYSCLK_PLL2_OUT 192 + +#define JH7110_SYSCLK_END 193 in that respective file. > +#define JH7110_PLLCLK_END 3 > + > /* SYSCRG clocks */ > #define JH7110_SYSCLK_CPU_ROOT 0 If the symbolic names referred to the same items, would it be possible to keep the two files in sync somehow? Torsten