Received: by 2002:a05:7412:40d:b0:e2:908c:2ebd with SMTP id 13csp995474rdf; Wed, 22 Nov 2023 02:48:01 -0800 (PST) X-Google-Smtp-Source: AGHT+IHlUsdfSVCKrVKN8oUufFC/1/P0NapWUnujPyHcJ9sKPA6oZW5UUuQPfbPFTChgBlDq7uUY X-Received: by 2002:a9d:75cc:0:b0:6d3:1d04:54e with SMTP id c12-20020a9d75cc000000b006d31d04054emr2282022otl.10.1700650081685; Wed, 22 Nov 2023 02:48:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700650081; cv=none; d=google.com; s=arc-20160816; b=qH/apuEIwvnNv6J4arjX4eAfSvzk1dBpg5gv+kZPtc+lgODVq9E5Si64KtOnUkBe5D pS0oIbu2Wt+HAFELifz76prwDPuyMLSTJohd0oo2usMsS7eblBbeb3LNuGkVMmQgG6fI h/pwcDQ1lpwLqxfgUX1fztr9pHN3suhYbQQm2ZA87rmFQTBMT+73wHnrWzFkBj5MNNVn EWQBf9ubs5oePjyPg8Isy7UnBUr39TyEa0TdHKAw5QY6BTnd2ycx3pqaXm45oS45jIe9 40sxKQq1maflVkxHf8UHMeENA+vJiYBheVUY676PrpFNnkuVT6EuFMLsG+yQrTSeeQvJ QCdg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=EivNr+/IA9QMsMf88VokRs4l9XqtSnUpw7bxIohGx9M=; fh=jShedw1RC1aJnaf4forjVY6JgIJELktXj4cAhSaOYHs=; b=YBFhbC6Q8KwNwhHFX6pQhWO7XQ2Jv14C/MoHcuLfWMd57vP2LfQirdCR1+d65oZFUV /BEOby02CurfAHSyw1se18b6vHYtl3pRossz7U3e+2gZ5EyusktxHmGTFrEHMqp3RzLW mu51BUW5Ochn7PXlKSCUKOT4TYGaPad6Ll9qwft/Z9tRUEosJ3P9rxR/rV+kHigqJd8F 57jWkubXArR7cpjGcdfgjdkC5wD+ScfRSLx8mzP7LRjGDr9le6jE5bK+5cBCbkdZ+n4p psIjPv/fJyW8ojSHtKts/k9eCVjEt2p0VLnLax1qAJpurYDmpalr3P8izl23PVjsSkNw xMGQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=PgjivSZB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id a65-20020a639044000000b0059d25cedc79si9622842pge.767.2023.11.22.02.48.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Nov 2023 02:48:01 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=PgjivSZB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 8D0A9802B40E; Wed, 22 Nov 2023 02:46:22 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343740AbjKVKqE (ORCPT + 99 others); Wed, 22 Nov 2023 05:46:04 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37002 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343826AbjKVKp5 (ORCPT ); Wed, 22 Nov 2023 05:45:57 -0500 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B7FFE19E; Wed, 22 Nov 2023 02:45:53 -0800 (PST) Received: from pps.filterd (m0279862.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3AM4gbNh007210; Wed, 22 Nov 2023 10:45:37 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=message-id : date : mime-version : subject : to : cc : references : from : in-reply-to : content-type : content-transfer-encoding; s=qcppdkim1; bh=EivNr+/IA9QMsMf88VokRs4l9XqtSnUpw7bxIohGx9M=; b=PgjivSZB9l6zIBUrduUJ64vn+jLJYKaoZYDTTQdapd69vdy4/MaMZYKIDW117G9C9AXQ GBuBvTWU8oIKyPg07YoQhlVT2P3tnL8ojcgjhh1/8ZXIilLcYN3iwi/ifrQjgAX/k24j dQeBRVO/vl6Ha5+ZGZ88zbeICfg7Afs4/NxBHEt3lRcPd40fm9v8/6Yj7yqijQm5DiQn wWWANrUe1jBTpVbon2vRyHMaAKZmpcoOYDEZhJujqBrQS2md/51ek6qrUZRP9CLN/n8x th8/r7wu6dHMP+NtmOsvhpgCvm0v9JpIlJ9bsygIdzdIpktQsptcwpPg1QgGNQbYMASk sg== Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3uh8mw96bb-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 22 Nov 2023 10:45:37 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA04.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 3AMAjaBU015075 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 22 Nov 2023 10:45:36 GMT Received: from [10.216.2.74] (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.40; Wed, 22 Nov 2023 02:45:28 -0800 Message-ID: <2e86be1b-7923-431c-8220-a17af14a457a@quicinc.com> Date: Wed, 22 Nov 2023 16:15:24 +0530 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 3/9] dt-bindings: clock: ipq5332: drop the few nss clocks definition Content-Language: en-US To: Dmitry Baryshkov CC: Krzysztof Kozlowski , Andy Gross , Bjorn Andersson , Konrad Dybcio , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Richard Cochran , Catalin Marinas , Will Deacon , , , , , , References: <20231121-ipq5332-nsscc-v2-0-a7ff61beab72@quicinc.com> <20231121-ipq5332-nsscc-v2-3-a7ff61beab72@quicinc.com> <43376552-7e79-4f34-94ca-63767a95564b@linaro.org> <8bb79735-3b5d-4229-b0f4-bc50d61fdba1@quicinc.com> <2e357fcf-5348-4fb2-b693-2d6bb4d58b21@quicinc.com> From: Kathiravan Thirumoorthy In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: DotD8CUEhKcshAbHAxghHCCAWRzGQN7- X-Proofpoint-ORIG-GUID: DotD8CUEhKcshAbHAxghHCCAWRzGQN7- X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.987,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-11-22_06,2023-11-22_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 mlxscore=0 priorityscore=1501 lowpriorityscore=0 clxscore=1015 mlxlogscore=459 adultscore=0 impostorscore=0 spamscore=0 bulkscore=0 suspectscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2311060000 definitions=main-2311220075 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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 (snail.vger.email [0.0.0.0]); Wed, 22 Nov 2023 02:46:22 -0800 (PST) On 11/22/2023 3:53 PM, Dmitry Baryshkov wrote: > On Wed, 22 Nov 2023 at 12:19, Kathiravan Thirumoorthy > wrote: >> >> >> >> On 11/22/2023 3:42 PM, Krzysztof Kozlowski wrote: >>> On 22/11/2023 11:08, Kathiravan Thirumoorthy wrote: >>>> >>>> >>>> On 11/21/2023 8:36 PM, Krzysztof Kozlowski wrote: >>>>> On 21/11/2023 15:30, Kathiravan Thirumoorthy wrote: >>>>>> In commit 0dd3f263c810 ("clk: qcom: ipq5332: enable few nssnoc clocks in >>>>> >>>>> Where is this commit coming from? >>>>> >>>>>> driver probe"), gcc_snoc_nssnoc_clk, gcc_snoc_nssnoc_1_clk, >>>>>> gcc_nssnoc_nsscc_clk are enabled in driver probe to keep it always-on. >>>>> >>>>> Implementation can change and for example bring back these clocks. Are >>>>> you going to change bindings? No, drop the patch. >>>>> >>>>> Bindings should be dropped only in a few rare cases like clocks not >>>>> available for OS or bugs. >>>> >>>> Thanks Krzysztof. Will drop this patch in V3. >>>> >>>> One more question to understand further. In IPQ SoCs there are bunch of >>>> coresight / QDSS clocks but coresight framework doesn't handle all >>>> clocks. Those clocks are enabled in bootloader stage itself. In such >>>> case, should I drop the clocks from both binding and driver or only from >>>> driver? >>> >>> That's not really the reason to drop them at all. Neither from driver, >>> nor from bindings. You should not rely on bootloader handling your clocks >> >> >> Thanks, lets say if those clocks are not needed at all by OS since QDSS >> is not used and needed only for the boot loaders to access the >> corresponding address space, in such case what can be done? I >> understand, at first those clocks should not have been added to the driver. > > First, what is QDSS? Yet another acronym? Qualcomm Debug Sub System - which compromises of various debug infra like coresight, DCC and so on. > > Second, if they are not used now, they can get used later. > Thanks. I will drop it from driver and leave the bindings as it is. Thanks, Kathiravan