Received: by 2002:a05:7412:40d:b0:e2:908c:2ebd with SMTP id 13csp986594rdf; Wed, 22 Nov 2023 02:26:46 -0800 (PST) X-Google-Smtp-Source: AGHT+IE4rmfjZ6KkkQ4lRSaxrKNboZeyQ0smHJU38spfFDKyrYtJCLeZCcNzgLM/G3dkGiL4w2sc X-Received: by 2002:a05:6a20:7f95:b0:187:440b:6e40 with SMTP id d21-20020a056a207f9500b00187440b6e40mr2038556pzj.17.1700648805574; Wed, 22 Nov 2023 02:26:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700648805; cv=none; d=google.com; s=arc-20160816; b=naxysoEZc3KQgXp4rOnamVN1zLNiP+Yc8/AlwqgdMdKCtA4PTx1T3DA4jRHkQFHjmA TD4RBDxuONyJUpIdZrnPlMmzokuFo3lyal7AGRmGwGMfKR4ixl1VVIDx1v4K8kJIlSqi 0AoMqhskBxvhK981TzB4r9OmDtK6h7j59XCglPkg4yU9vobttOdz51zwQn+Tx7ss0e5w huYfHIpd3i6W6moYdkPmvcRPhDwrSGlwnelAL0ZVXFLQBwYc1qcD4X0E9vMNKx1Zm8gC NIX0YAEbacQkh9VhavqlyIH7xc0HihgkAlHe5R0LLxDukPFBDx1JWppiahESCr7D6ekT g4/g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=I7gMOHwNYsVWl4dwh/EUGgSpYS462NusQClxQC3GVRk=; fh=HBWC/lAw7kt4DPrszsSdsWZKeFqh2Y3clS/hPQhUjrg=; b=y2brkGOjVXaX7DmfcFljHlqqgmo2Ip4DK80D76TPNdd8N5zhuW5n7fKhG3HcAx8jia 7NDx6UOmOleHTSqtzbl5QqLrFyaB13DhdASOjxcTibv5dJ3jKNyvwANy/dMQdsJDZvmW 3EWSCOjqmw6SMoT8Zj5/HV5q+1CGbqFlMXsULKC6gJORbHuLgF/BjP+p42FIyLKI9lJi BWLJXsN1UOlAlK9JpZizDkKp3lqcrRDNFFK0oSkw5XFvwpp9FL+LgrMRiNPldHkYEl4c nE4tbDuAtv0y5vbhmhjCbCLb1LFtjxc0TynTpdWvj2acfxLSh4aE9gwewFa7AcWMVsEt OZyg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=LgYmFJSb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id u137-20020a62798f000000b006cbac4c84bbsi5758486pfc.388.2023.11.22.02.26.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Nov 2023 02:26:45 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=LgYmFJSb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id BB45B8031B1C; Wed, 22 Nov 2023 02:24:07 -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 S1343928AbjKVKXs (ORCPT + 99 others); Wed, 22 Nov 2023 05:23:48 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47636 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343850AbjKVKXh (ORCPT ); Wed, 22 Nov 2023 05:23:37 -0500 Received: from mail-yw1-x1129.google.com (mail-yw1-x1129.google.com [IPv6:2607:f8b0:4864:20::1129]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2E7CFD54 for ; Wed, 22 Nov 2023 02:23:33 -0800 (PST) Received: by mail-yw1-x1129.google.com with SMTP id 00721157ae682-5c9ea2ec8deso35770707b3.0 for ; Wed, 22 Nov 2023 02:23:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1700648612; x=1701253412; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=I7gMOHwNYsVWl4dwh/EUGgSpYS462NusQClxQC3GVRk=; b=LgYmFJSb/3nz8eiMsF/B5bX/GPhQkeU1ohg13CnA3OJq8zTxtpONoj9UHFD55lhS19 YRwYiHbQ0WLcqPxVHYkM7hIZViAfIZbqMpCMTmI3TmRFcw9RoyPRHqsVPm1sZqb9KZOl tc3eOF6EIZgeRZIkf8TZnMaIHbApNpWtWjaJCprHMtRmmK5yjcWh9/MC5VIpyL/ZRAEs Ex1JI3a7aFrP2aILklZ5ETS2LCc3ZcyWqHtSq3dqKxED005xjHYSNv571wtkDp9O1NS5 KCUEyma4cO1Oxqg5t49nxm6TOWobcyqwc+/gLxVTLBmFt0W8PDslsqQTRni8qTJnJj/5 MZJw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700648612; x=1701253412; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=I7gMOHwNYsVWl4dwh/EUGgSpYS462NusQClxQC3GVRk=; b=ZDSPZ+px7SrzWkD/h08JwRlh5lluRPNk8r8VTorucghAt8ylvCHiIQepPjrZUAd2SS 8h80anZ+gdMFoGx3QEfnDkzXtDPSoICMZm4FqJPA96w1atZAReFbKzbCZl34qoNsel3r /ijcsqdWlPJKt19lUqMamQXa++5YgbtzYL7+7c1t2jNe0bgyuyKCTB3x+t3R+mEgnweh QdhzzTPQg6t9ynDvtei85RXv6ZWPF9NfAQ7744u8ByJUk56hi49G+BhC235GWshtb2h0 1U0BWs3nnd27I6pC01V3SYgFBTTB7Ugr8745mcTKP6oJbYnzMfbjpswMUBhj3/Uu5O5h JUDg== X-Gm-Message-State: AOJu0Yw0lhn9gWCRU5PR9dgQbm1pxHiqE0ht8bLcNHJg61pBLsj/SEfY iLt5Tu+o4/HsH5m1f8NNf9oXvNe7faXlIPUMrxwmXg== X-Received: by 2002:a0d:ca4f:0:b0:5a7:c8fa:c620 with SMTP id m76-20020a0dca4f000000b005a7c8fac620mr1651335ywd.0.1700648612368; Wed, 22 Nov 2023 02:23:32 -0800 (PST) MIME-Version: 1.0 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> In-Reply-To: <2e357fcf-5348-4fb2-b693-2d6bb4d58b21@quicinc.com> From: Dmitry Baryshkov Date: Wed, 22 Nov 2023 12:23:21 +0200 Message-ID: Subject: Re: [PATCH v2 3/9] dt-bindings: clock: ipq5332: drop the few nss clocks definition To: Kathiravan Thirumoorthy 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 , linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, netdev@vger.kernel.org, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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:24:08 -0800 (PST) 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? Second, if they are not used now, they can get used later. -- With best wishes Dmitry