Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp358388pxu; Fri, 11 Dec 2020 04:11:07 -0800 (PST) X-Google-Smtp-Source: ABdhPJxkcWHR5F0dmZ1JpxAVgAULBL6fFcwSGMoJhbEb6s2OePsgilZFzhjW9cbZkFBD31brs+x4 X-Received: by 2002:a50:d6d3:: with SMTP id l19mr11498705edj.340.1607688667263; Fri, 11 Dec 2020 04:11:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607688667; cv=none; d=google.com; s=arc-20160816; b=YS+naPDs2Swn88Y7orJy12TvejJI7E0K78Lg6WtMbXZTb2HhenLdhg4yPcs9JBVbHz rvDOtxKVtdgCMIE5Rr0zQTrpMtVTsx9J7VOYaNdAAy8yOsGBFY0hYyydWQ6n/Wjb/RoR uH++DfgfcXCbN6+xybH/ffYMd4yGoBzZBl5biLomOrwi9M5Gz0vW6auxawJ2bfoGlUSt 4NIlQMH2E9ojlSSLBf56NUYOT/uBiREqPR8OY14xLFz7ehX34t5AHHzEpFVqD/lPdlZX 2ADOErup8ZDiUMh7sHMAHbMeXCKTVpMJRgXH1pgB8Wq06CE8ow8XBZonjW6gZT1fKd9E 91ww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:message-id:date:to:cc:from:subject :references:in-reply-to:content-transfer-encoding:mime-version :dkim-signature; bh=peLBtIy3YBMm7K44Fa0Vf/2ZkTwX8xLd7jFZi14WWzw=; b=apmIiCM3egDSAmbdoN9reBi4ne0v2f+NruoUpnTJJ5VAnevFZXFTHS+ODyyCBAfJCT XhfUatGsxi/mPQ1q5woxJUKec/ucu+ZogUfdAFndS+bsDi0K4DvrsJIfwlu+aW0pTsY2 PBGdn2VlYgd09nhxXdO0Jtq7HWumTg+h5L+Qcq7RWH9UQcej87Sn9P6uJ19UG01UOEzZ EPMv11Tr88dZyvuyOfiNQey8Of0dqCHx5lVwaxjHxLoB2oN5NlB9pq31zt8JFcQgPkkn LOaqWYmlMR9RYMh1x/+VE628W6Nii/pqJaGT+2ymMKeYxrNtpqj7VOFEB0yAyq5cYYpC +g4g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=awr7f6t6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dt5si4226129ejb.639.2020.12.11.04.10.44; Fri, 11 Dec 2020 04:11:07 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=awr7f6t6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S2436598AbgLKHLq (ORCPT + 99 others); Fri, 11 Dec 2020 02:11:46 -0500 Received: from mail.kernel.org ([198.145.29.99]:58124 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390203AbgLKHLK (ORCPT ); Fri, 11 Dec 2020 02:11:10 -0500 Content-Type: text/plain; charset="utf-8" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1607670630; bh=MGUXROce7wJw4hhD3KZgPZmZ4OzT5bDJNT+Pgi9c7SY=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=awr7f6t6dc5jBE/GCZuvqFO0r83Pv0kF/xc49jBYWAss5UHpOU2OrhOON37mzUAnb cnD6THNBI1fSAI8JdE/jA/t7KpYDTMk4PbP+fpAUS8uxHHO/WDX/GcOOX81u5kP3Zr JDzby1YBEdoJXuqAjkwRN7ZSSKSQ4k5uHA7df4/LRotGrV0hjLq7/vbBgg4UJshN29 OygonCS83i7+FwFxsoHHnWgsg8FbvIqDoGkYFSEomQZl/OxgqP7KXSslHkdVBYfakX 6LRpZ9h3xqokwyDjhP2PrIRnHXnzj7XW9o7qE86Tdd6fQNC5hMtIKOIyPIECBhseVB yjoYiiyvd75ZQ== MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <20201211054349.GS8403@vkoul-mobl> References: <20201208064702.3654324-1-vkoul@kernel.org> <20201208064702.3654324-6-vkoul@kernel.org> <160763302790.1580929.10258660966995584297@swboyd.mtv.corp.google.com> <20201211054349.GS8403@vkoul-mobl> Subject: Re: [PATCH v2 5/5] clk: qcom: gcc: Add clock driver for SM8350 From: Stephen Boyd Cc: linux-arm-msm@vger.kernel.org, Bjorn Andersson , Vivek Aknurwar , Andy Gross , Michael Turquette , Rob Herring , Taniya Das , linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Jeevan Shriram To: Vinod Koul Date: Thu, 10 Dec 2020 23:10:28 -0800 Message-ID: <160767062876.1580929.14564723998233527816@swboyd.mtv.corp.google.com> User-Agent: alot/0.9.1 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Vinod Koul (2020-12-10 21:43:49) > On 10-12-20, 12:43, Stephen Boyd wrote: > > > +static struct clk_branch gcc_camera_ahb_clk =3D { > > > + .halt_reg =3D 0x26004, > > > + .halt_check =3D BRANCH_HALT_DELAY, > > > + .hwcg_reg =3D 0x26004, > > > + .hwcg_bit =3D 1, > > > + .clkr =3D { > > > + .enable_reg =3D 0x26004, > > > + .enable_mask =3D BIT(0), > > > + .hw.init =3D &(struct clk_init_data){ > > > + .name =3D "gcc_camera_ahb_clk", > > > + .flags =3D CLK_IS_CRITICAL, > >=20 > > Why is it critical? Can we just enable it in driver probe and stop > > modeling it as a clk? >=20 > it does not have a parent we control, yeah it would make sense to do > that. Tanya do you folks agree ..? >=20 Maybe it is needed for camera clk controller? Have to check other SoCs and see if they're using it.