From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (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 D1EAA2FF144 for ; Wed, 22 Jul 2026 12:23:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.133.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784723007; cv=none; b=kyjV9wYli5VQsIDyL0++/mD+W3uXpL+4z9odwGVUY/QazDivbYMsakhHEBcRUr/hssgcTxLXY27DpWc4WhIKD0Z3tN+n3VSeDZZ44Do+MPvbooA8elwSdpZyVqbRc+7lPBnNDsTQWcZLww5oHVGsWkCevxnPORJfq1TF4NZFuJk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784723007; c=relaxed/simple; bh=wM97kvcRUSThzd97r/23TdUXo2jWwfEOWZ3NBcj9pu0=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=CRAXfIqgo7cjrj0qxs74gSWy7pHEINtQGB5z0zpk4YQNB7zMPnBKHCWxHLntZ9FGTQB9v4gCjZK8x1dN4LwdDkXUcaK+vQ1UJBsn+BGKRP9d1U9xYCrGigRd2Al0+U29ql71mg1gSRJmU7PRZ1K5m0+ZAv+EFyQ5Kv5w006ePvc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=JC9c3dfk; dkim=pass (2048-bit key) header.d=redhat.com header.i=@redhat.com header.b=NmCCi5vV; arc=none smtp.client-ip=170.10.133.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="JC9c3dfk"; dkim=pass (2048-bit key) header.d=redhat.com header.i=@redhat.com header.b="NmCCi5vV" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1784722998; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=bTaDFtvYba+0BY3a5BGkT5Gc+0ou3yxmeYhSlSYsXDE=; b=JC9c3dfk/uWAoJ3nTitEUAxX0ars4tBLbDAdZBYHER7MvZg+gjydyZSHfwh2aJZ6uPHhW5 nzOLGj9bXoM0gaQGJ0yTKdaE7tgEtrWTh6vsuhYJkCKRMUyQ9yADJdBXCa011pXAl/CWV7 iDE/YI0lwbuQBbXXqlcdHqo1MOnulNk= Received: from mail-qv1-f69.google.com (mail-qv1-f69.google.com [209.85.219.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-296-xC7P47GdNGaQbF0nV3TLOw-1; Wed, 22 Jul 2026 08:23:16 -0400 X-MC-Unique: xC7P47GdNGaQbF0nV3TLOw-1 X-Mimecast-MFC-AGG-ID: xC7P47GdNGaQbF0nV3TLOw_1784722996 Received: by mail-qv1-f69.google.com with SMTP id 6a1803df08f44-907a1e04111so53857106d6.2 for ; Wed, 22 Jul 2026 05:23:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=google; t=1784722996; x=1785327796; darn=vger.kernel.org; h=user-agent:in-reply-to:content-disposition:content-type :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to:content-type; bh=bTaDFtvYba+0BY3a5BGkT5Gc+0ou3yxmeYhSlSYsXDE=; b=NmCCi5vVq4EvamBjRSX2NCJG0hnAwh0Y336Y3sx/XSQQKBBG4ccRpBAiI/N2UcksCz z5w6lnFO5r3k53OEOvxu8MhVaHgKHnsNRPAlup9fuRvb38H0sY4qPgb5XSxTMYy0I/y1 7DerbjwyDhq5HuF+k5GVaT7zZKsO/mi+XCksQ+oVW2Rotl6Jk09Bz80jpe5ZZbp8B0bP NXNGV3A4k/tB6A/7u1W3YmNMl6lH8ma1LyDtmFzT2gh3feljyajkeON2wrwwYRzGMYEB 3PmPHuFJ1mw0p6uOvXAAgGTRXkI28CL4QZe/SwaSdU/PGAAG4uj+cwP2lUnYA67GtDJy sjbw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1784722996; x=1785327796; h=user-agent:in-reply-to:content-disposition:content-type :mime-version:references:message-id:subject:cc:to:from:date:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=bTaDFtvYba+0BY3a5BGkT5Gc+0ou3yxmeYhSlSYsXDE=; b=K8ZgqT+J2fWM5jmLS7pVphFLyh7737l6BTTb7B1O8igkRYADCXqHYNHJG/7dTghs5c NbRvizadULECFRUkHO2lFltPzrdjM5GcX5g+SW84r3dpuXyFUh4a/Q6WaHX/AwWcVK3A SQvoEHeQgGMrqsDZoBVHgVoUa1t6gZ2LuBSexruXyDSrgv8p4d6A502Rt/m26uySG5vc sGJvrEOlNl/gbVuGE+gR+cii4Qdop5ro9wNUq78N0v3OjwF4tdufPpfiJXgezUj04fZP 60JAT7mUc7cXiTWps6i189779gj5VbxnJdh5EF88y80gGsCvV9pO30hjv/+PhEPyw7dA rLhg== X-Forwarded-Encrypted: i=1; AHgh+Rr7ivLBPJKLDO6tDx7iFiOWQd9sHvAhzA7EncAvLzpiSUmyjGWjLoXzCLqSZPP4LqWDbKzPofp8JaHcEOE=@vger.kernel.org X-Gm-Message-State: AOJu0Yw3P7lIMurplKtJrjE9mT29ZoRJyDwGCATBAd2Axlm9gfob8TbF 6oenjcTh5t9JuKXdLc8Sttk32ctVf2Rr/u+uyufX5ICpSmTQuE4kI5IwaScASYCgB6ugmCTV6o6 6+D9Om+KEC+12WYwQzSvBw/mrNy7pyUhoUHnDd78lFdFsc9vV5AmHuW1ewatXK7VDTQ== X-Gm-Gg: AR+sD10NcCW9yLhiO5wF/LRb0Wr79QDjiddfCj+DPIeIZT8m3skDIpRvvKxNa00tuW9 P6wLjBqe1xIMOqdjALybHkEtXNJXdmROasAhCTdlW25iKrg2iT4gUAHVxtXdov1BnaHSyjR9XS6 mWbx/LSEdu7ltyqq6bP0mdYUjDiwgMQ/MYJLJsyV8g6eSCoJX7ph/fbOozXAx8fctmPVk6Qh5f7 Iqr3iI/z+OpPO5uDN9af3d9X5dwgnyv5Dje13hi04kcUKtWvrNVqeyth+hW+8YFj0RBQJW9GJnu kt8hm6ZdK2zD+f8TnNyAIyzQDD5LNUjc+oNB9KMJ/pN6J+HuK+hyDT6b6jx3nHraYKr9tmkskEU o2JsxnaQUVVumCbURG5XKGJACwaZnVU7Ft0U= X-Received: by 2002:a05:6214:5095:b0:906:2b80:4684 with SMTP id 6a1803df08f44-9077831647cmr253619016d6.3.1784722995987; Wed, 22 Jul 2026 05:23:15 -0700 (PDT) X-Received: by 2002:a05:6214:5095:b0:906:2b80:4684 with SMTP id 6a1803df08f44-9077831647cmr253618666d6.3.1784722995525; Wed, 22 Jul 2026 05:23:15 -0700 (PDT) Received: from redhat.com (c-73-183-53-213.hsd1.pa.comcast.net. [73.183.53.213]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-907bffe6994sm7978246d6.35.2026.07.22.05.23.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Jul 2026 05:23:14 -0700 (PDT) Date: Wed, 22 Jul 2026 08:23:13 -0400 From: Brian Masney To: Joakim Zhang Cc: "mturquette@baylibre.com" , "sboyd@kernel.org" , "robh@kernel.org" , "krzk+dt@kernel.org" , "conor+dt@kernel.org" , "p.zabel@pengutronix.de" , cix-kernel-upstream , "linux-clk@vger.kernel.org" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" Subject: Re: [PATCH v10 2/4] clk: cix: add sky1 audss clock controller Message-ID: References: <20260720051505.1252774-1-joakim.zhang@cixtech.com> <20260720051505.1252774-3-joakim.zhang@cixtech.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/2.4.0 (2026-06-19) Hi Joakim, On Wed, Jul 22, 2026 at 01:45:52AM +0000, Joakim Zhang wrote: > > > +static void sky1_audss_clk_gate_disable(struct clk_hw *hw) { > > > + sky1_audss_clk_gate_endisable(hw, 0); > > > > pm_runtime_put ? > > No. Runtime PM is handled by CCF: rpm_enabled is set when the provider has PM enabled before registration, and clk_prepare() (as well as set_rate/set_parent) already calls pm_runtime_resume_and_get() on the provider. That runs our runtime_resume before clk ops touch the CRU, so extra get/put in the clk_ops would be redundant. Doing get/put in .enable/.disable would also be wrong because those callbacks can run in atomic context and must not sleep. OK yes I forgot about that. Yes, I see it now and agree it's not needed in the driver. I think do the two other minor cleanups I mentioned and I think this driver is good, at least from my vantage point. Brian