From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) (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 D3D6B1D0DD4; Thu, 22 Aug 2024 19:59:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=156.67.10.101 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724356798; cv=none; b=Gm6zI00WXPy4CLTicPtvW/ZgMzwS+aSj6cemCQzmEJD3HeAyB/gnrCHYCGsw/5KdArfqZ8NMqw3VP19P1XYX7TsExzXBEf5MomMc3p3/Nub0Wcpf8roatSn91EGJF8kJ0NX8uWIP3X2IBMrBJyqvVkhKslhect7JSb4hGXCEpX4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724356798; c=relaxed/simple; bh=jBkO5qhBZE1Eo4ADj3N6Ul4IbW+ARljKSut5JJfQXGA=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=uA2NZl2HEMr3YFqkZp0oh2ZwO4gPnZL32iNJFLikpy26SEZpChAPov9e65Qa5HVKrcMJtc1JQkA6/lfAVpKetc1wZoa01K+i/uXosPfLRzeiN3bg7Q3JXg9PQ5g6aP+C3YitJ+m62dsn6psnwgVYZz5D85Dvzd0Si4JW+DScmIU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lunn.ch; spf=pass smtp.mailfrom=lunn.ch; dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b=dD6kJZJG; arc=none smtp.client-ip=156.67.10.101 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lunn.ch Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lunn.ch Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b="dD6kJZJG" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=tFNNGh/KNaC2hf6KXw1cxUc96BM6VzspMmCt769Gxoc=; b=dD6kJZJGzqIgGioQoFYODjBUKd uzPvqUSTJSUIcLJeswYLjuoVlXeARDWNVD2fuTEssEzlQG3VehSzROgPJdtvEkgMr5Wh8Ql/x3b9s KMUR+qaDW2GP+x0gk06zkHZt5UsUM8nYjdOxzUK0WT5Org9rH3zfPunzPaQ8Q39PWtxA=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1shDyI-005SvH-5a; Thu, 22 Aug 2024 21:59:50 +0200 Date: Thu, 22 Aug 2024 21:59:50 +0200 From: Andrew Lunn To: Imran Shaik Cc: Bjorn Andersson , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Richard Cochran , Ajit Pandey , Taniya Das , Jagadeesh Kona , Satya Priya Kakitapalli , linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org Subject: Re: [PATCH v2 2/2] clk: qcom: Add support for Global Clock Controller on QCS8300 Message-ID: References: <20240822-qcs8300-gcc-v2-0-b310dfa70ad8@quicinc.com> <20240822-qcs8300-gcc-v2-2-b310dfa70ad8@quicinc.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: <20240822-qcs8300-gcc-v2-2-b310dfa70ad8@quicinc.com> > +static int gcc_qcs8300_probe(struct platform_device *pdev) > +{ > + struct regmap *regmap; > + int ret; > + > + regmap = qcom_cc_map(pdev, &gcc_qcs8300_desc); > + if (IS_ERR(regmap)) > + return PTR_ERR(regmap); > + > + ret = qcom_cc_register_rcg_dfs(regmap, gcc_dfs_clocks, > + ARRAY_SIZE(gcc_dfs_clocks)); > + if (ret) > + return ret; > + > + /* Keep some clocks always enabled */ Sorry, but you need to explain why. Why cannot the camera driver enable these clocks when it loads? Why cannot the display driver enable these clocks when it loads. Andrew