Received: by 2002:a89:2c3:0:b0:1ed:23cc:44d1 with SMTP id d3csp654062lqs; Tue, 5 Mar 2024 12:13:25 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUPXKFV/70cGw0dw3B+ar2xbGMiabYwkisuAq+3QElcVU3iaw+HhpLKUAVF/yJMNbi0d9K4E5yQQapwedDv7DJbyb9ylizAxwGxuaecsA== X-Google-Smtp-Source: AGHT+IFfJMFsl1C8g+7yiHueb9vKRmbHDRrgCVJxymHkCg5S71nIwHu9XWkMY+dQxWpEkYaHiVFG X-Received: by 2002:a05:6a20:8f28:b0:1a1:2092:8868 with SMTP id b40-20020a056a208f2800b001a120928868mr3543173pzk.1.1709669604974; Tue, 05 Mar 2024 12:13:24 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709669604; cv=pass; d=google.com; s=arc-20160816; b=IotNnOdY7x2+gDrcxQ9QElEwT/5XEBkiO3QrfGiOmjKPzlkI1SDE3syJAp6Cu3xvm3 juvbxczYqDFH8eWeahEOxmyNyijEKKAW3j4JKu4ghlmyKEcn8Las7UmdW9vtHCEPs7mU 3TK2HyVFitcGEp9mYjFheD3eAw1cVMuaJbp24D2/0VOQ4cRChEKiGgUiYgitbB5pGPVX /XEx90UclXiOEcnPLlbRhqm8dbV2Jjh/E5+n9BiRnAnfF1gx69N+ZdhhluKWUShqV0yy QXHDopmsk9C0MLT2XiIZVvIxhP10Qfkd2RQoN6Znog1Kf4LeuCuwjd5Z3JGpjCSadcS5 CJ/A== 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=zOIYj0IAZOqWa9oOWFupj0bOEV3znCcaW9mZbx6z1Yg=; fh=s4zmjnx/FpYlh6Aq1V0I5hKRJZodeY+A5dgQrFZQmJ8=; b=BYvm4dVURQuG9XxSpTsynAATiTtW8/ySMmMOf07m+UvwwbntOcPvt/Fx9orHGvRuz1 hUc2l44i2XO7ilYtolIQAFso23lFZduTcZOPAIZ7F2ndOggSg4jsz1kx+bWmtyGTBkln T2ZeAO9y79p1fE6Sts6xpD7tLatMRACxlm/wIXJZc9MjQiX2tvO7GI/6T0xhw96wTLSp nn8ME+jFmM/MYK3qpT3qK+Xt+LvF48bjU6rrKcqR/iQHlIGQs6SMHrqGXzR/YKDmbYq4 XCJh+su6Xda1waM3nDnP5lli0iW7CVZxvc0jvaGGW5R/u+1YQpbJx1Mz7k5sBQjj3ZEF Ik7w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=IkxCNDdW; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-92904-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-92904-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 e23-20020a656897000000b005d8bb422554si10427312pgt.195.2024.03.05.12.13.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Mar 2024 12:13:24 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-92904-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=IkxCNDdW; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-92904-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-92904-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 5D223B2A249 for ; Tue, 5 Mar 2024 19:41:56 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C28EA86652; Tue, 5 Mar 2024 19:41:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="IkxCNDdW" 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 CFB365C601; Tue, 5 Mar 2024 19:41:44 +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=1709667704; cv=none; b=YB6qvGElzLsaxJrwaLxDM5WkwBrtHp2AIivwWtUi7VwdTZW4X81RB8bqfdB62DyeX4ChtwoDOVImxQ1Rs30t8DfA7DkWpxWQ/huvhDLotAkt99bw65iaTLwb724dyL3i2puVwr0Pfhg2AveYFzWbqzKUilHSFGPclYS5GtSYd4s= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709667704; c=relaxed/simple; bh=wx1vWKZbAWVZSBpFlLvwCrtdSU8zvPw7WcOO3aQorXU=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=pgHTnUgoOUTAWz9W/yGd0gi84yVe5jK6Iwb5w7US8DG5NhxnxtNeLmiYq12i+V1VDVFiXaN3faYApMnEtiZECrULhaNruMK1btU+utGI3PFimWlS+oPdkygI82Frb4tlEEuFqzUTy32n6VxReR2jyFrLwsqNw1Rk88aLRjTL9OE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=IkxCNDdW; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6429DC433C7; Tue, 5 Mar 2024 19:41:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1709667704; bh=wx1vWKZbAWVZSBpFlLvwCrtdSU8zvPw7WcOO3aQorXU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=IkxCNDdWaI8fYdtiueCuY22sD6XWNp7UAhWO4qb0KMMbbj+ZtysXrjTvEvH75LftA /aDgMERyiV7U8cfIcRKbs3nkdFQyVi+3+5w2fMrxzdBRDQuACmS4wfKFRviKpPqRpY fvTJ5HT/tkPt1714aoPBXCNSa7roZA6GDeeTIDc2t+cv7z5NdVmEcIee7WulB9ftIG MAx0iZv9/KDOcUvDqhMRwzcCWm2OXvn0Umnx4pxLkMedzNRlmh9M+rVDj+HEuuxkGs KpUq8vi+oOoDLrEeoqovutliIwVxs/FBLihbPfnQL5E/hZhH/qr3bJN+2zKb/g6qdL jROjWWlBUTCaw== Date: Tue, 5 Mar 2024 19:41:39 +0000 From: Conor Dooley To: Shengyu Qu Cc: ganboing@gmail.com, kernel@esmil.dk, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, paul.walmsley@sifive.com, palmer@dabbelt.com, aou@eecs.berkeley.edu, lee@kernel.org, andre.przywara@arm.com, jernej.skrabec@gmail.com, linux-riscv@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org Subject: Re: [PATCH v1] riscv: dts: starfive: Remove PMIC interrupt info for Visionfive 2 board Message-ID: <20240305-macarena-fiber-f2460d371150@spud> References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="iNSctF24dp3Ivm4K" Content-Disposition: inline In-Reply-To: --iNSctF24dp3Ivm4K Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Mar 06, 2024 at 01:11:50AM +0800, Shengyu Qu wrote: > Since commit b2cb2ae22278f1918f7526b89760ee00b4a81393 ("mfd: axp20x: > Generalise handling without interrupt"), interrupt info part for the > AXP15060 PMIC is not needed anymore for Statfive Visionfive 2 board. > And this would cause kernel to try to enable interrupt line 0, which is > not expected. So delete this part from device tree. interrupt-controller/#interrupt-cells are required properties, you can't delete them. If you ran dtbs_check you'd see that it complains about this patch. If you just remove the interrupts property, what happens? > Cc: stable@vger.kernel.org > Fixes: b2cb2ae22278 ("mfd: axp20x: Generalise handling without interrupt") This Fixes tag cannot be right, a dts patch cannot fix a driver. The dts patch that incorrectly said this used interrupt 0 is what should be in the Fixes tag. Thanks, Conor. > Reported-by: Bo Gan Closes: https://lore.kernel.org/linux-riscv/c8b6e960-2459-130f-e4e4-7c9c2eb= aa6d3@gmail.com/ > Signed-off-by: Shengyu Qu > --- > arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2.dtsi | 3 --- > 1 file changed, 3 deletions(-) >=20 > diff --git a/arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2.dt= si b/arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2.dtsi > index b89e9791efa7..6bebabe3fa37 100644 > --- a/arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2.dtsi > +++ b/arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2.dtsi > @@ -189,9 +189,6 @@ &i2c5 { > axp15060: pmic@36 { > compatible =3D "x-powers,axp15060"; > reg =3D <0x36>; > - interrupts =3D <0>; > - interrupt-controller; > - #interrupt-cells =3D <1>; > =20 > regulators { > vcc_3v3: dcdc1 { > --=20 > 2.39.2 >=20 --iNSctF24dp3Ivm4K Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZed1cgAKCRB4tDGHoIJi 0ldpAQDM6/MJ6AW3Mku853cAfxzI/uGgUrvTKPGEQmOoeYSTLgEA/Ze1f6KSz1ll cylgQrIF7PnaEETKgv8q78LqOM8sbAs= =02ei -----END PGP SIGNATURE----- --iNSctF24dp3Ivm4K--