Received: by 2002:ab2:6c55:0:b0:1fd:c486:4f03 with SMTP id v21csp368213lqp; Wed, 12 Jun 2024 04:15:59 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUPERbqjjuZGfNdFg1SszQkacfUcqk2zMi1X4l+fTOog0rzO2ecord3JljoBd0fiL9wIPqjH3ioHlxahmDScs9ooloT5AKhnmKS9MIyTA== X-Google-Smtp-Source: AGHT+IGMsi9kzgB7wBMLpX0q40lIYxmm5dlj8+x8xFAM/wdxwd0FpMsI0pGbktGgW7jyexiucCxJ X-Received: by 2002:a25:2e04:0:b0:deb:4164:1441 with SMTP id 3f1490d57ef6-dfe68c0b30cmr1376729276.41.1718190959565; Wed, 12 Jun 2024 04:15:59 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718190959; cv=pass; d=google.com; s=arc-20160816; b=JD6DOWNPmzu9aDJZNnbXooG/Mz3i0ehRbwZjSdLLd5kMelP8IA7UZfTq5L7AZkyYYL k7yh/s3DM2XKSwGyoeERaCjqeDfDY4IYCiUSntgDHCEZ2mkKRMZn3hIlwdKi4eygBvmI 5Fgj3MvpAu17ZLCJ8thh8lNhdb6Ue1onWgqj8twdDq6sEJRQ1JmH5+CyIqXV8EXfb7VW h0J0EEt6gqDPFoqqmNcGks2ViBVYqTBhfxoM1DU3gAcqXz45lBeVqPm7In8ilOlp1Rzr 9+WbAQ2Iltr1e9yMulX9COCj+/pjVs0DgsaBC1kiA0UosfdeGm4oZG6Bi+xa2CQI81Tk taYA== 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=RVcTcs8tyxF+No1zrzxy6kX15r8oFeRCR48sQPv6bNM=; fh=RAm0PKuRpdXZ0ZxltlqbDdNhx/wBerL762kEn3FIiio=; b=zVRmMVz8V2/EqFbF1LKsydkZwWzWJgg2Gd2mgTqX2CRPMUqVIRBXhIPmCCVehIJx0+ hvjzFV8eV80mUUZ3MxzzEPVAxzLHSnyQw5LLu9EQ/eS9SNggu/HhuvQTP5uWvMp1eHg9 lW0fHyGz2qikcMMtGq052J2sUcyOxd1STiHNyU1JZGBp1NC2VS4jRCQXgkVThtxkkFon AuEbEUoFG4Omyzz/wqqvol+uezAR0KuMl499rye2FfCqMyrI+ZOkSRUe1J0oTKpiGCPs qOkHTqhWX56cj7a4ppcNTmz368RRCCg71kMAK4W9VjUtiOZQ75cxyKbFKOVIztmi7peQ 43qw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=fW3m6jnb; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-211402-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-211402-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id 6a1803df08f44-6b078648c8dsi80917256d6.230.2024.06.12.04.15.59 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Jun 2024 04:15:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-211402-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=fW3m6jnb; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-211402-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-211402-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id AF6911C214E4 for ; Wed, 12 Jun 2024 11:15:58 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7753016F0DA; Wed, 12 Jun 2024 11:15:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="fW3m6jnb" 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 997C4146017; Wed, 12 Jun 2024 11:15:52 +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=1718190952; cv=none; b=TRiTS8C1icnjlR3vmkhnkRuUCgKZ/+KmZSzj2YyfA35u5LFSwe4lno217iyG2/syx0ivxQ8FtNJdOcVoDjXpsL7m4tqEI+rw9O7DdakRX3OM5/kqh/KxmP+1K1rgcFbL2UeOFcLcVsBbT0rjewMxAUfOeoUJpXU3OTEyHf9AJL0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718190952; c=relaxed/simple; bh=7d24fUeZ1zP8SH2Q+34h24RjLG4meZy6sShN3SzAN8Y=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=hB6LhNBMJ1GlD7fHcKAUUC1Ta3a/BBJpdRE5jqV4NytPfi6FUCjFY6GgEggMyoOVw57rBs8Y7SrySZmCg1yOA5OKshfZCWOAGb6FJ3oCJkOepTDt9uYQb6zxEiBGx1swkzFYMHXS5cnpIXaRoVsp2ZyjCR+s3+wWivg26GOmaDg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=fW3m6jnb; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 16653C3277B; Wed, 12 Jun 2024 11:15:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1718190952; bh=7d24fUeZ1zP8SH2Q+34h24RjLG4meZy6sShN3SzAN8Y=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=fW3m6jnb3gneinc4H/B0Gtb06vZCOSWj6qjo8a5u9z+DZVcY/GWNQK9eWzO+n6jU8 W09bJuoYg7mhVUYy84Sy1mcgWgKHAxdaUu3Xqg5FXCDbDA0HKL4TXBEWp19cETU+oB swfc0FOlTdfZ5m6lPnxXT3btWIFc0ezWpwWSjU/AHyAl2XQCcVvG9EogMZ1PO5GnYP A/qmULkTeXu1I56u1ihWbrHQawI0Pivnoz7IeDiZKCvYwdIvd9lTN5VUO3RSuY212R NkzG9qSXU7QMXz9ILxMGruWywLWAITG4di/SDb7wI4IxFEfPspXSylnGA11cgL12/X cyUr/xA9fw88w== Date: Wed, 12 Jun 2024 12:15:47 +0100 From: Conor Dooley To: Minda Chen Cc: Rob Herring , Emil Renner Berthing , Krzysztof Kozlowski , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-riscv@lists.infradead.org" , Paul Walmsley , Palmer Dabbelt , Albert Ou Subject: Re: Re : [PATCH v1] riscv: dts: starfive: add PCIe dts configuration for JH7110 Message-ID: <20240612-italicize-cultural-a10b8a387520@spud> References: <20240611015200.40996-1-minda.chen@starfivetech.com> <20240611-irk-hypocrite-a53e98e6c394@spud> 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="Li8mNAUIEQ/ZV6y1" Content-Disposition: inline In-Reply-To: --Li8mNAUIEQ/ZV6y1 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jun 12, 2024 at 01:48:55AM +0000, Minda Chen wrote: >=20 >=20 > >=20 > > On Tue, Jun 11, 2024 at 09:52:00AM +0800, Minda Chen wrote: > > > Add PCIe dts configuraion for JH7110 SoC platform. > > > > > > Signed-off-by: Minda Chen > > > Reviewed-by: Hal Feng > > > --- > > > .../boot/dts/starfive/jh7110-common.dtsi | 64 ++++++++++++++ > > > arch/riscv/boot/dts/starfive/jh7110.dtsi | 86 +++++++++++++++++= ++ > > > 2 files changed, 150 insertions(+) > > > > > > diff --git a/arch/riscv/boot/dts/starfive/jh7110-common.dtsi > > > b/arch/riscv/boot/dts/starfive/jh7110-common.dtsi > > > index 8ff6ea64f048..1da7379f4e08 100644 > > > --- a/arch/riscv/boot/dts/starfive/jh7110-common.dtsi > > > +++ b/arch/riscv/boot/dts/starfive/jh7110-common.dtsi > > > @@ -294,6 +294,22 @@ > > > status =3D "okay"; > > > }; > > > > > > +&pcie0 { > > > + perst-gpios =3D <&sysgpio 26 GPIO_ACTIVE_LOW>; > > > + phys =3D <&pciephy0>; > > > + pinctrl-names =3D "default"; > > > + pinctrl-0 =3D <&pcie0_pins>; > > > + status =3D "okay"; > > > +}; > > > + > > > +&pcie1 { > > > + perst-gpios =3D <&sysgpio 28 GPIO_ACTIVE_LOW>; > > > + phys =3D <&pciephy1>; > > > + pinctrl-names =3D "default"; > > > + pinctrl-0 =3D <&pcie1_pins>; > > > + status =3D "okay"; > > > +}; > >=20 > > Do all 3 of the mars, star64 and visionfive 2 have both PCIe ports expo= sed? I > > assume if one does, all does, since they're basically identical? >=20 > Visionfive 2 and milkv mars are all the same. Star64 do NOT enable PCIe0,= PCIe1 pins are the same. This patch adds both PCIe instances for the Star64 though, since that also includes jh7110-common.dtsi. I think you need to enable these in the board dts files instead? --Li8mNAUIEQ/ZV6y1 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZmmDYwAKCRB4tDGHoIJi 0hRRAP9uJQeWEGeh7XescP1RuK/PppGYyYJPTZoCbrDpZU0wCQD/Q+mC+PcqoffH 44ymM0rcydKYlUsr+vX1H3OvOtKdnQU= =UKtv -----END PGP SIGNATURE----- --Li8mNAUIEQ/ZV6y1--