Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp6849242rwl; Wed, 22 Mar 2023 17:09:06 -0700 (PDT) X-Google-Smtp-Source: AK7set92vdsFJOybslCQddTEXOM9NobPAy0eVfOURBj5NvOCUnN3+djLk5WNDUHrY5ClYUUFZRG8 X-Received: by 2002:a17:902:dac7:b0:1a1:e93c:8937 with SMTP id q7-20020a170902dac700b001a1e93c8937mr5488789plx.35.1679530146440; Wed, 22 Mar 2023 17:09:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679530146; cv=none; d=google.com; s=arc-20160816; b=ZL1f5GgVeEOk+D8UQvoFnL1LLPfXAEGPYKWHvW9e4x8bdyuLD3JnZZQkV2vbraDzt7 ttsRr/usl873aSLa9MFQZoPud+zX7/ozQPtiQIA1cr85WSQcMNuRS26nwG0dgk/J8Biz q+O9fkh3+/brkZQHd1eb60inYPBNqhgdKiJXrvRytbQsjyFfSHOVNRmBZr04C9QOlfgf /G+F+kUVS4qO8V386P+VA+EeWX7nWM1BArJYka0nNoH4yblHz2ijxNtb7i9kbqS/DkR4 3W/k1D9bjmt13F9NwRJto6laezsh1Mlatc/bFQSQ56FwdiFh+vZKWw4ikRwz43BYotD/ MKKg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:date:to:cc:from:subject:references :in-reply-to:content-transfer-encoding:mime-version:message-id :dkim-signature; bh=y9U/5hZyFfh0oQkHVBhuHaZSSNPer4aXYq7GpolG5rU=; b=eC3+tS/yGlgmLINJ2HeS1kiMj3Ez60Ed6YXaU7+kt0YzuDP69CqpW1vfTFTsCbk7PN 8Zpapy7yGrRG63x+DIwg0VfEJPMGhvBL7sqjvqnEXiiLxZZc/8cAQMRMlC2jVwk24JEZ vW1wiDk0lPp2HYAN0w1Kc0UStkqB7zA+fMphSnLVA7mx9L21qd3ZpYNY5K+o7Nux6OAk vKVvb/96KoIYZ6bDhT2ZObVC6PpR4gtImnF9TCwjnzmUNws7uRfh0hXeS5CC4ckFO1T3 sAtTFr1lguKsewsr68XPdtccy9w0eP1DBV7EuxCCICeKqQSaUCwfjtHNq+vqot2MDgAK hfnQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=hlTMsxws; 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 y9-20020a170902700900b001a1809e22d6si15741440plk.130.2023.03.22.17.08.54; Wed, 22 Mar 2023 17:09:06 -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=hlTMsxws; 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 S230179AbjCVX5g (ORCPT + 99 others); Wed, 22 Mar 2023 19:57:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56502 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230150AbjCVX5e (ORCPT ); Wed, 22 Mar 2023 19:57:34 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8552F305DE; Wed, 22 Mar 2023 16:57:32 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id DAB0462351; Wed, 22 Mar 2023 23:57:31 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 30014C433EF; Wed, 22 Mar 2023 23:57:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1679529451; bh=y9U/5hZyFfh0oQkHVBhuHaZSSNPer4aXYq7GpolG5rU=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=hlTMsxwsdHEPbcZ0FHd0U3HCMN+5KMbB4GdzyMoynPPZs7M3Qulola3FMclIzMBGy MA7IFAqYndlH8nBQt2vxK/XtVd/DEocK2WNMBtztWjrQrEjTcaf6mKYAaLYklXaw2Y ccaJGUBIm0ZGvP+2ZkucdrrfK0BsWLYn+hV1JDOU2MkkKVEq4lBB3SYKqS55TF9w8K g73lN0U5uwtbmEX7W6uySdtlT0wnOrAoWPGY88DPUrYN4Bj2pgcF9sJo6QorusZx4s 0pnDosayty3cjQPJ1PXT23JXZKQmywKg0PkvASpPD/i+jZLydr4DxMcWmW1qVJkh+b 8aJmkhStClcSw== Message-ID: Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: References: <20230320103750.60295-1-hal.feng@starfivetech.com> <20230320103750.60295-12-hal.feng@starfivetech.com> Subject: Re: [PATCH v6 11/21] dt-bindings: clock: Add StarFive JH7110 system clock and reset generator From: Stephen Boyd Cc: linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-riscv@lists.infradead.org, Michael Turquette , Philipp Zabel , Rob Herring , Krzysztof Kozlowski , Palmer Dabbelt , Paul Walmsley , Albert Ou , Ben Dooks , Daniel Lezcano , Thomas Gleixner , Marc Zyngier , Emil Renner Berthing , linux-kernel@vger.kernel.org To: Conor Dooley , Hal Feng Date: Wed, 22 Mar 2023 16:57:29 -0700 User-Agent: alot/0.10 X-Spam-Status: No, score=-5.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI,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 lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Conor Dooley (2023-03-22 14:53:37) >=20 > This leaves me wondering which clocks are *actually* required for a > functioning system - is it actually just osc and one of gmac1_rmii_refin > or gmac1_rgmii_rxin. >=20 > I really don't want you to have to go and spell out every combination of > clocks to have some sort of validation here. >=20 > Stephen, Rob or Krzysztof, do you have any guidance on this situation > (assuming I've not made a fool of myself)? There's probably something > "obvious" that I'm missing, as I am sure this is not a unique problem. >=20 You can always use '<0>' if the pad isn't connected for that clk input. It's not great, but it works, so there's an escape hatch if you need it.