Received: by 2002:a05:7412:b101:b0:e2:908c:2ebd with SMTP id az1csp2675735rdb; Wed, 15 Nov 2023 07:35:02 -0800 (PST) X-Google-Smtp-Source: AGHT+IFQ37ZP7pQP/6gYzbfUqKdnCAXgeT4eNcsYKKypUUA2VlomTWLgOHAjhtrPdZcLhc1to05b X-Received: by 2002:a05:6a20:d429:b0:16c:b5ce:50f with SMTP id il41-20020a056a20d42900b0016cb5ce050fmr10518166pzb.32.1700062502302; Wed, 15 Nov 2023 07:35:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700062502; cv=none; d=google.com; s=arc-20160816; b=bZpkyovTuOPhonc20+2hOCeneAwGn8utaIMKV6gBR/O716yz7Rj7pKLqfPPMFsNWqh Pk5GVwjoP9D5MjhM9LzFgKX5Er2+PqIRSO7VaL0Y1qdf6Bhj0GXpFQTvf3LRp1JI4jtc XbJ6lZ1ilFnMQVRICciNzJVPvSJ2xNQM72J41Hz3u3OlVvTMO1qmPh3PKOgcFTgEjchm 2VsEVGk5rwIqqDrGXVjemY3KcGWy+Y/phiSbQtxPfJWIzr1iDI6ok/YXk527EbFiYu4G J9OfW43NYhkdDTOw3e9Stm4iJHpI+L+ZSv1eKp7iVww/9yYWtP4ei8Nmter9LSFW4Hyt d4qQ== 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=Xv89sNlXLiY8ybrlQebBUkTEZns4BV0XFtiRXDcdpqM=; fh=t0aglCmhrzjEKX4OFt+7oWilXMtklnnLYv0+hq0HyeU=; b=oqKyKFOWR70Y5XBrIuid8xBswHcm8hFlYxz0dqJBYTKIINcb0L7eH2+ZGEJumBjDd0 n3JlGQDAsPylXXxCIISlBh/PTmg2BLCVlepuMt2FZNYKEt4ZcxMWEhm+m/puiNmJWRHv bL7mx/5M+9/9i0jepicMn/DJPAGV8oeBrKOs1eo3TL3hAJw8+HrchkK6YiSbvy2x8osI 8y9HOq5bWzaRCCx+CoD4Qknm8EwNxWFc0A5jF/7Nvd10f/Q4srhaeF5y1lh0jvDAWjsv ZTXPFeg0LyBM/nd9f4B+DlRD0JVrSUKiPLr8qOeJIPgUynbNItoZc8WSaEKXR2TNI6jW pyNw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=uk5xbh1Y; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 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 agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id ik22-20020a170902ab1600b001cdf0388455si9940374plb.111.2023.11.15.07.34.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Nov 2023 07:35:02 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=uk5xbh1Y; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 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 agentk.vger.email (Postfix) with ESMTP id 5EDEF8023A34; Wed, 15 Nov 2023 07:34:50 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229822AbjKOPeY (ORCPT + 99 others); Wed, 15 Nov 2023 10:34:24 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41262 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229457AbjKOPeX (ORCPT ); Wed, 15 Nov 2023 10:34:23 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A09A5C2 for ; Wed, 15 Nov 2023 07:34:20 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id F31F7C433C7; Wed, 15 Nov 2023 15:34:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1700062460; bh=liyVVxI+t71I+vY5uI83Hmd86EuxG1knRDKO8hE8oe4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=uk5xbh1Ykg0ULD8pxMCIhGDb1yfEo17ac6HO50HCdD6Ll+DweurC8oXNMTMk8tCLw fUMvNqVvTWKLVb3pHAxPFS9xGMepJRsElQLDUszpSv4mEp48DB9HCNv1dJuMnnEDNO uf2gbOIdN/2EWLGv9TZNZ+0VQW4VQMPpkVqpEghylPJNN1ac/wkjayiSoQaYdGGR3y XmzZxCgHLlIt0t0vl7Gs1vdj/9av4wR/qmTsxTnkudn632rXv+6SLSejnpB+UO4aFy eq2Kc8wWRpbfcL0sjBF/sP0VA1wZM5T8aRB2HtOyfqKsQ9qIPhk2P6ECUhVKoNiB2L BBBSLMZRacqWA== Date: Wed, 15 Nov 2023 23:21:57 +0800 From: Jisheng Zhang To: Drew Fustini Cc: Conor Dooley , Ulf Hansson , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Adrian Hunter , Paul Walmsley , Palmer Dabbelt , Albert Ou , Guo Ren , Fu Wei , linux-mmc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org Subject: Re: [PATCH v6 5/7] riscv: dts: thead: Add TH1520 mmc controllers and sdhci clock Message-ID: References: <20231114-th1520-mmc-v6-0-3273c661a571@baylibre.com> <20231114-th1520-mmc-v6-5-3273c661a571@baylibre.com> <20231114-starring-swarm-0e1b641f888c@squawk> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-1.3 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 agentk.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 (agentk.vger.email [0.0.0.0]); Wed, 15 Nov 2023 07:34:50 -0800 (PST) On Tue, Nov 14, 2023 at 05:30:26PM -0500, Drew Fustini wrote: > On Tue, Nov 14, 2023 at 09:27:44PM +0000, Conor Dooley wrote: > > On Tue, Nov 14, 2023 at 04:07:59PM -0500, Drew Fustini wrote: > > > > > + sdhci_clk: sdhci-clock { > > > + compatible = "fixed-clock"; > > > + clock-frequency = <198000000>; > > > + clock-output-names = "sdhci_clk"; > > > + #clock-cells = <0>; > > > + }; > > > > If only you had a clock driver to provide these... > > > > Is someone working on a resubmission of the clock driver? > > Yangtao Li posted an initial revision back [1] in May but I don't think > there has been any follow up. It is for sure something we need to have > in mainline so I'll take a look at getting that effort going again. Hi Drew, Based on Yangtao's version, I cooked an updated version in last development window but still can't complete it and met some issues which need the clk/pll register document. IIRC, the document was released a few days ago before soc tree frozen. It's nice if you can continue the effort! I'll read the sdhci driver soon. Thanks > > Drew > > [1] https://lore.kernel.org/linux-riscv/20230515054402.27633-1-frank.li@vivo.com/