Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp3467353lqp; Tue, 26 Mar 2024 09:51:51 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXylLwA/NxjcOneK8WX6ZxtL3Q7ssiUVGV1Y2TLNhkayRUHfdGTc7r9o0g9JNprjRBbaEaiEyjaX0vePHpHQw5ljTxLHu8J2e1iABVSwg== X-Google-Smtp-Source: AGHT+IFmWoa4m4N5zMvykCFQH/uPtLdFYLsRlHD2wZaHAH2yiuzuExiD7uuPZolvAf89pTkEqTH1 X-Received: by 2002:a17:90b:33d2:b0:29f:f1f0:88c2 with SMTP id lk18-20020a17090b33d200b0029ff1f088c2mr409287pjb.4.1711471910848; Tue, 26 Mar 2024 09:51:50 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711471910; cv=pass; d=google.com; s=arc-20160816; b=LtvFRqc63x+9aw/wz2gdkoZ4R+9MMM4P/gTIDU0kxUjKYyWxu8GWKDM9dxvZ1VFt1y Igsmlj2xyewGpZwiPBvuuGa57q3m+r7/T4P6iX0MPSRUpl0AEs8GhPUJG6Utc0VV7J2x FC2jAym+zq2D7wPMAyjyo5itEwf7sh4z+sWkY4nJ8Bx5tUZRThmtqECXAgleMAHtt8HO 14C918x3MGV5ZEbcpWMDz4zSGtqVrABOSLNWFJgM23hXrpjTXcjnCjG6ivPrWyxg2mTi TGCS9jmGXDyUhmU1crPJXT3WHEIf/q+pOUaCVAcF3aNDkUDwB1VlkvOeLvu+rqW25/Dx 3X7g== 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=MwrTip4+lxcgqSKV5G1F0iyOaDVCsgckfOMv8lIiLVk=; fh=osnWtcYXOxLdK8qZKryTc5lIUHuRjoquxQrElH2HoIE=; b=Xu+Jv+v4+bAGYsL+clVd00ImO45S24izo+2hhiei+x08DFvzC80lKEnOHAwVDRKLSg wPWTYdCX5j2iQ8y0V9Mn3febhJpdci1PAWo0RKCsGiWjukw7+nVvshcc0f5j9VCf4W/o lecjKXx5sophaws6+HTRq5QcEy/+A82vLA3izsVHKYvosIVt3AgGW7MxRkltBe65p6Ke hwWYkruboTcrrkQcTL33fQR1ZIzORHWGqfPi/669HWW/sdB7qQ41nhxJZqfi8Ec6fScs m2OvcRicsZJ5PAzixKXNVB9Q0hrP77iML+GOmNAX7CKjOpt03NWj/QObglBnYHMBbvJf Vy3Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=sjbBzDRz; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-119506-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-119506-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id md15-20020a17090b23cf00b002a091ff1205si512289pjb.156.2024.03.26.09.51.50 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Mar 2024 09:51:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-119506-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=sjbBzDRz; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-119506-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-119506-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 4836D322FBA for ; Tue, 26 Mar 2024 16:49:26 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 281CA1D539; Tue, 26 Mar 2024 16:48:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="sjbBzDRz" 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 2FAF81CF8B; Tue, 26 Mar 2024 16:48:25 +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=1711471707; cv=none; b=UzT1aASCCd8ngyab4y9HgOTbhkrdJWJFfeP8Vae3CvwapcjuHQN3GJgRiUC7OV0g4s2dfPdcUR5/UQcE3VC+VpFq2r2JyOeroQY9BNQgdexkfcr4d7rqVvxm3eWBkEFPlFObdWmwbinpvwgUynZplwAfOWUJzJ5HIip+/JNMGaU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711471707; c=relaxed/simple; bh=AipqUP+M7Jnwp/SDpZmvtbFJFIMal7zQuQnaopnS11Q=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=bYBou/lNnm9bpK3tHvBEeqQVwqFUiEsF4/7cdhmuu+Et9Lnwq+SKegeknecPLWoD/cJlPGACirBDxcZq/sJQBL3hj6TD8WhfowaG2hj+W0enGyGZFzwu/DlaVLcqQ51peXW3ipGhOu9sIRoOkyceJuUM9nFDQ5MxANOu7ML0ZFw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=sjbBzDRz; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 930D6C43399; Tue, 26 Mar 2024 16:48:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711471705; bh=AipqUP+M7Jnwp/SDpZmvtbFJFIMal7zQuQnaopnS11Q=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=sjbBzDRzMkrc7jIyMo6ZXxhi0Pwi0Yzei7P3Ps+hJ8/LEK0nxJJ9qDfkKfsD95/U7 JPfhqGzZxNk74NoC+nefc9MsXe2Pwhh2MXbOStO9ZSCxCWFFOwEsVWAVbeYE3h4lvt 6TqvFn8yNaPv0oVy7mVO48vMyVbcjCjbH9fAjXXZOU1I/TLm362cCZmkDc9iu4v+GR pzFjGjg++fc8G25DBOmreUpSDlsMEDYq0kDUB7PMLNhaHElz5Rz/E68pYcuBzcBuBl HTiB3zHw7d/D9Hpd1EUEe0lwtZivw4gFON2LjlR58Iu2Szlq5R8uVmV1LFwwnkznJ1 UWLCQ5N9MrjmQ== Received: from johan by xi.lan with local (Exim 4.97.1) (envelope-from ) id 1rp9yU-000000006ed-0dnM; Tue, 26 Mar 2024 17:48:34 +0100 Date: Tue, 26 Mar 2024 17:48:34 +0100 From: Johan Hovold To: Krzysztof Kozlowski Cc: Johan Hovold , Bjorn Andersson , 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 2/5] arm64: dts: qcom: sa8540p: use sa8540p gpucc compatible Message-ID: References: <20240326140108.21307-1-johan+linaro@kernel.org> <20240326140108.21307-3-johan+linaro@kernel.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: On Tue, Mar 26, 2024 at 05:02: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. > > > > Use the new SA8540P compatible string for the GPU clock controller so > > that the OS can determine which resources to look for. > > > > Note that a fallback SC8280XP compatible is added temporarily to avoid > > any temporary regressions for sa8295p-adp. > > > > Fixes: fd5821a1a83c ("arm64: dts: qcom: sa8540p: Drop gfx.lvl as power-domain for gpucc") > > Signed-off-by: Johan Hovold > > --- > > arch/arm64/boot/dts/qcom/sa8540p.dtsi | 2 ++ > > 1 file changed, 2 insertions(+) > > > > diff --git a/arch/arm64/boot/dts/qcom/sa8540p.dtsi b/arch/arm64/boot/dts/qcom/sa8540p.dtsi > > index 23888029cc11..3b31a9ea3492 100644 > > --- a/arch/arm64/boot/dts/qcom/sa8540p.dtsi > > +++ b/arch/arm64/boot/dts/qcom/sa8540p.dtsi > > @@ -168,6 +168,8 @@ opp-2592000000 { > > }; > > > > &gpucc { > > + compatible = "qcom,sa8540p-gpucc", "qcom,sc8280xp-gpucc"; > > This introduces new dtbs_check failures. Please fix the binding and drop > the last patch in the series. I know, and this is done on purpose. I doubt anyone cares if the sa8295p GPU breaks for one commit in case this series goes in through the same tree or even for a couple of RCs in case they go in through separate trees. But we recently had a similar discussion about a bluetooth fix and whatever course of action I would have chosen here, someone is bound to whine. In this case I figured it was worth doing the extra work. But this is just a temporary workaround as "qcom,sa8540p-gpucc" is not truly compatible with "qcom,sc8280xp-gpucc" as only the former depends on the external supply. Heck, I even spelled it out in the commit message... Johan