Received: by 2002:ab2:b82:0:b0:1f3:401:3cfb with SMTP id 2csp531031lqh; Thu, 28 Mar 2024 08:46:46 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXiHzlVEprEc5PUMyVuvnwLVfiU2rcVdhKgMg++5YuhCGFwp6COMK9XSxQKh4l1Fom76x6vYntgitsfHIgmNZuphlXau2mEiOOU0gHCYg== X-Google-Smtp-Source: AGHT+IHvx7pQPbIuv4YxwOgXIfaz2Gx6P9xBAsDuRymbFslpWWirdbsEg8mB/q9k3t7ULq+I2Qo2 X-Received: by 2002:a05:6e02:783:b0:368:a176:cf3d with SMTP id q3-20020a056e02078300b00368a176cf3dmr3510098ils.9.1711640806163; Thu, 28 Mar 2024 08:46:46 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711640806; cv=pass; d=google.com; s=arc-20160816; b=LWlNNTG+6uvArmj5pxkHXqS42AkOnKCDuGkZO8oF5TxD320V4X5PpF25C2ckhhVpif OLSXiNa41+3UOU2xGUIM0BcIVduGrIOnbLkBhZy7izLzYveiFggqTYt2U0TJAvwJUU4e uYOmilD9GEkS5jFvRr98/jHa1QkN38ojy8A/jyk8LsemZcyW4k1DGoBrnVG7E4yYIwmT gNNfY0ZGkwNNsHg4W7lMe6k5nkdp3a+eqpuf2Bo+BWXfCDhyAqNQzw9T+WvWdffUsTbw 73P9smcE5IgrYnTg1fs1PFGg9Vsy2AnsbUwNHoqyNPNK72mx/kUHSQh212P3ue0Rad5y f2Ng== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=0kw6tv+CfBLwGFmD+qjN98pht/E+hjDACTYZmzi+PuY=; fh=4WUzvZJHMzLExZ5m9sXSyHEXbhBdEdKcEF+7My0wmfo=; b=pvTZnPgnzhspTOivS2xE0uzEpgqJOyvue4wYTMy5apbXLMnbKH9qPwHmfD+wcBVtZd S0IJSoD9CXnUa8wp0ava2xVJwQE8Mi+9QhypWxttfNk1BYWDnn7hLyOTG+s0tDCSXIKc S0RsRSB68a+n4Ph6sDp6lg5M7wTNRrdnHwLSHLml5N2XsurcjOFsxcF5pz1FqEVXU71v KhanjFW9IFJ9Xam875Wo+Zs/7PUpcg+rInKr8ruD7IUBy0U/S3F3+1y6Jq/0TmpjOP/o +ZlQQ7p9sZm/mviSVra+iHiu0H8YIDlwxSSRNzTz4Nigs6mIlrU0vqsmZrhEcSOuYenT QN9g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=YgIbWE6t; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-123171-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-123171-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id t62-20020a638141000000b005ced6c45233si1603137pgd.712.2024.03.28.08.46.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Mar 2024 08:46:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-123171-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=YgIbWE6t; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-123171-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-123171-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 5DBDAB214C6 for ; Thu, 28 Mar 2024 15:43:59 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CB7BB130493; Thu, 28 Mar 2024 15:43:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="YgIbWE6t" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 E348F12FF7E; Thu, 28 Mar 2024 15:43:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711640585; cv=none; b=V0oLBfyuLX3vOzw565s3Qr4vAnP7bQf4tcdrcyCxRzzLKwqrijWNyZiKLudoDKnUwwfplNJVOqPFN1CcZUTtjNsnF+wJCDuKJXl1SXk6t4nDLHSKz5hfCV7fhDq8qus/aJRMrp9RHEfaWnk6UsVJa30cqanYlrS1djiOAu79GjE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711640585; c=relaxed/simple; bh=9kfih4GziNloY13pj2SzxAv8FlxUXsugtc/f9w4BBQQ=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=jGFbwOVAbq1o4DfuDF/pv4uxUjosGjfuIcIJ2qmIdXhK5YB/bDqtee2Xcw958/GgKPKez0q7n1M1JzmBceQ7Pdacsz6gz2JD3JV9ym2aNUVCIq3nNST8qTS/5P2uYrYJOm9hgrCfIxBg3r4stwtfB1UkQ7K6VfIhorPD8rmv6qI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=YgIbWE6t; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id B60D6C433F1; Thu, 28 Mar 2024 15:43:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711640584; bh=9kfih4GziNloY13pj2SzxAv8FlxUXsugtc/f9w4BBQQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=YgIbWE6tg6ywCDIYymzV4GG9CfkY1CuiIoxIzFYcTpxYCRJoIsL5Iy9Sw3gUjjOaa 2q1y04KWshUMud5cB+HjLMd0yQ85QgMD2yOnr5skY0uVS9XbbiXn2RaiCVsn7qs8Wy GdlI4PHuUwzk+XOs1QDhNoQNswYTC030RMhrHxDV84jHIeRJgpY5ZhdNaXxCAFI6yP T64wg1AgZ80l/fOHkNMljoNv1N2ArcyWZw7P3bfgjs2sl0HfWuaA7IjexpdNzn+R+A BatXoSe+jg249pDnJMK0/o4CnkO7zjOrjgYY8WOq+BVu5cgzpCMd3NaZKJo8qTNUgZ x8Z3y40JfAGQg== Received: from johan by xi.lan with local (Exim 4.97.1) (envelope-from ) id 1rpruM-000000007vv-1mQA; Thu, 28 Mar 2024 16:43:15 +0100 Date: Thu, 28 Mar 2024 16:43:14 +0100 From: Johan Hovold To: Krzysztof Kozlowski , Bjorn Andersson Cc: Krzysztof Kozlowski , Johan Hovold , Konrad Dybcio , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Mark Brown , Dmitry Baryshkov , linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/5] dt-bindings: clock: qcom: add SA8540P gpucc Message-ID: References: <20240326140108.21307-1-johan+linaro@kernel.org> <20240326140108.21307-2-johan+linaro@kernel.org> <7bed14be-2850-42b0-abb4-43aad25a19cb@linaro.org> 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: <7bed14be-2850-42b0-abb4-43aad25a19cb@linaro.org> On Wed, Mar 27, 2024 at 09:54:09AM +0100, Krzysztof Kozlowski wrote: > On 26/03/2024 17:40, Johan Hovold wrote: > > On Tue, Mar 26, 2024 at 04:59:43PM +0100, Krzysztof Kozlowski wrote: > >> On 26/03/2024 15:01, Johan Hovold wrote: > >>> The SA8540P platform is closely related to SC8280XP but differs in that > >>> it uses an external supply for the GX power domain. > >>> > >>> Add a new compatible string for the SA8540P GPU clock controller so that > >>> the OS can determine which resources to look for. > >>> > >>> Fixes: e60b95d2b687 ("dt-bindings: clock: qcom: Allow VDD_GFX supply to GX") > >> > >> I don't get why adding new device support is a fix. Commit msg did not > >> help me to understand it. > > > > Yeah, perhaps I could have expanded on the problem a bit more here. > > > > Hopefully it's clear if you look at the cover letter, but the commit > > referred to above should have added a new compatible for SA8540P which > > uses the new supply so that the OS can determine when it should try to > > look it up and when it is required. > > > > The Fixes tag can also be dropped, I admit this is not clear-cut. > > Some sort of short explanation would be good in the commit msg, so Fixes > can stay. There is an explanation in the commit message, but I agree that it could be expanded. After talking to Bjorn about this yesterday, he convinced me that simply treating the supply as optional is the right thing to do here. Apparently it is possible to us an external supply also on sc8280xp. There's more to the story, and I don't have access to the documentation, but we'll go with the simpler: https://lore.kernel.org/lkml/20240325081957.10946-1-johan+linaro@kernel.org/ for now. Johan