From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B6255370ADE; Wed, 10 Jun 2026 04:33:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781066005; cv=none; b=JNP/Cx9Ohsj0d8YNf3nplnUxI4Qg4Zo95yn1RTJxUBzwsgupTZeE5wpGg7Pk/XNLPBBgsjdhVh3DOedJIDQxP5dAIV2zxb88r/f72z1PVrwZo84lIcOKZik+XwcDvjLXEuyc1y7a9asLbt4MahrvfjZ4gBGF4TPhtJl36qvzbMg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781066005; c=relaxed/simple; bh=8laxQoJT2lNJwHR3JwIshfZrBXuOnFnyYIPjA73bC3k=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=L28FKbExDer1Zqx6ZiRrCqAt2hZMrLI7L3a/ykp8tKHuFzrj5Bo2vqBagiCG/Ms10hpeSdMkqJU+W7hS9/NJVRQ6imSwcqBlg7rYfgQw5qV24R1vdOyyqO4AsV2YHcCtjYcTR2dT1uxWy9eeZK7fh9JPL9mVNe64F8VfiG1HTto= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=NEoNRuHm; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="NEoNRuHm" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 020371F00893; Wed, 10 Jun 2026 04:33:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1781066004; bh=oXYfUS9iAnPAsRhuciPrR5ndvfboUA5NSi/Wj0ODlDA=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=NEoNRuHm4G3lOhwacyNXbaBQqHrh1KHHYSnPmxbF2pO3gzLvNecXW9RqfuRtvavNR kCqQ2xsdcbbYwLCHtOqYp4dajl2MbsnCLkHk5qJ8ky4sbFj/KJH88T0VDjNYT11t8B 7ohqtNPGTJAYnV2tUYCcGH8nd7k+/O4zRcrU6r0ip1d1GvBQecEa3PobFqQ7/drA0M 5gOJ3ZNlrju7JiplgapmU8c+tbPufpIpSDp7pShLMDW6pbUm8Fk19TDboesVTu4U4X l2p2W65uiqCXIspXWUtzZ75EaYRw5TcEm2fCDBQ7GMQ+9EBlDPtt7MBX7TzVe8Hot5 yvgHY6+mS/87A== Date: Tue, 9 Jun 2026 21:33:22 -0700 From: Drew Fustini To: Icenowy Zheng Cc: Guo Ren , Fu Wei , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Vinod Koul , Neil Armstrong , Greg Kroah-Hartman , Paul Walmsley , Palmer Dabbelt , Albert Ou , Alexandre Ghiti , Jisheng Zhang , Philipp Zabel , linux-riscv@lists.infradead.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, linux-phy@lists.infradead.org, linux-usb@vger.kernel.org, Han Gao , Yao Zi Subject: Re: [PATCH 02/12] clk: thead: th1520-ap: add support for MISC subsys clocks Message-ID: References: <20260507081710.4090814-1-zhengxingda@iscas.ac.cn> <20260507081710.4090814-3-zhengxingda@iscas.ac.cn> <93b867c1b7f5526cc25cb04f838432cd752f5981.camel@icenowy.me> Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: On Mon, Jun 08, 2026 at 11:15:39PM -0700, Drew Fustini wrote: > On Tue, Jun 09, 2026 at 02:01:43PM +0800, Icenowy Zheng wrote: > > 在 2026-06-08一的 23:00 -0700,Drew Fustini写道: > > > On Thu, May 07, 2026 at 04:17:00PM +0800, Icenowy Zheng wrote: > > > > The TH1520 SoC contains a MISC_SUBSYS clock controller, which > > > > allows > > > > controlling of USB related clocks and MMC/SD controller AHB bus > > > > clocks. > > > > > > > > Add support for this clock controller, in order to enable USB > > > > support. > > > > > > > > Signed-off-by: Icenowy Zheng > > > > --- > > > >  drivers/clk/thead/clk-th1520-ap.c | 64 > > > > +++++++++++++++++++++++++++++++ > > > >  1 file changed, 64 insertions(+) > > > > > > > > diff --git a/drivers/clk/thead/clk-th1520-ap.c > > > > b/drivers/clk/thead/clk-th1520-ap.c > > > > index 3a6847f1c950f..24f785f0b329a 100644 > > > > --- a/drivers/clk/thead/clk-th1520-ap.c > > > > +++ b/drivers/clk/thead/clk-th1520-ap.c > > > [...] > > > > @@ -1609,6 +1663,12 @@ static int th1520_clk_probe(struct > > > > platform_device *pdev) > > > >   return ret; > > > >   } > > > >   > > > > + if (plat_data == &th1520_ap_platdata) { > > > > + ret = devm_clk_hw_register(dev, > > > > &usb_suspend_div_clk.hw); > > > > + if (ret) > > > > + return ret; > > > > + } > > > > > > Should usb_suspend_div_clk.hw instead be registered under > > > 'if (plat_data == &th1520_ap_platdata)'? > > > > Do you mean misc_platdata? > > > > Yes, this is an copy-n-paste error that deserves a fix. > > Hah, yes, I also had a typo :) Assuming that gets fixed in the next rev: Reviewed-by: Drew Fusini