Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp7084585rdb; Wed, 3 Jan 2024 04:17:29 -0800 (PST) X-Google-Smtp-Source: AGHT+IET/1EwndXzsllVCjPtJFbWuSY2jIpXdwPISqx3FqqWeE9K7O/fBYlItkZSdKTy9gusvWu+ X-Received: by 2002:a05:6e02:1bc7:b0:360:906:21f5 with SMTP id x7-20020a056e021bc700b00360090621f5mr16845275ilv.44.1704284248898; Wed, 03 Jan 2024 04:17:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704284248; cv=none; d=google.com; s=arc-20160816; b=d0sfdjRow4XMEDa3ICttYni0wR+Nk6OXaPvK08tPP35M1i6VkyGgS3lRVJsoTb9U15 TFXdAnA1bFoeIuIEWbLeXVna4osR1y6gwwDWqg0AJ0a4ahobMuZhCCERvBLWsE/ERDx1 bKJzSqynGirMr1XheZRSdgR3ZEzepOti/iTbASk4QLtaIMJiGOqi8f0F2dFT3onP593T 7vP7CtBLJ3EEJYJlprNoEoBvG6tBRXQYeojcKJfVBO0oqXJzmeXEQglN2RQu7H5JGbZr 2sJS5hZVoCdjL+ueo7M+MBV3ZmzUg812hcO9IeW8eJPPqgFfSQroOssF1l4fln+0QOPW AkrQ== ARC-Message-Signature: i=1; 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:feedback-id:dkim-signature:dkim-signature; bh=tO+/ZwtPBhTkBucL3MQP+jVMBKPcHDEPNI5yeaQsy0g=; fh=0XMDpTZ+uZdR46e25ePFKftIdzRvmReaJ8l/FwqPh4U=; b=IYX7TUEeSEOQiy56EJh6YesaPOD7KJPqBXqdfhwno8EQVRARXxg263YVM11pGsIyp4 Z1J8t7H3DOx3rSbM8YM4585C6M2D56ZVZsqETf8iANaMDHszIk1GqDXyS0cZbzv+7xmR VB3VHcuCOhBEXlGahESHp73URRssFFdFAsUu5U+lEWJYzdWxsmc8/0pJu0O1Q2VvqUl0 xLl+pYHFwZFuTO/RKPbHD0crDW/pF+pR2C9Vlbi6FBL4P8Cc8/0Z8N2aIPbShDhNpIdO qQ/gEWXbZGP8yR9XojLl5ZrC8IgmDci/uLkwIVPP6YIon8+qnUkK9OfjFs6/8FAtYQXk 6E1A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@stwcx.xyz header.s=fm1 header.b=Ok9yJgrr; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=0o4Fwpm1; spf=pass (google.com: domain of linux-kernel+bounces-15499-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-15499-linux.lists.archive=gmail.com@vger.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 c7-20020a633507000000b005cdffc3c550si17526499pga.458.2024.01.03.04.17.28 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Jan 2024 04:17:28 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-15499-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=@stwcx.xyz header.s=fm1 header.b=Ok9yJgrr; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=0o4Fwpm1; spf=pass (google.com: domain of linux-kernel+bounces-15499-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-15499-linux.lists.archive=gmail.com@vger.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 AB77EB23045 for ; Wed, 3 Jan 2024 12:17:24 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5311618ECD; Wed, 3 Jan 2024 12:17:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=stwcx.xyz header.i=@stwcx.xyz header.b="Ok9yJgrr"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="0o4Fwpm1" X-Original-To: linux-kernel@vger.kernel.org Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) (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 EB30318EB5; Wed, 3 Jan 2024 12:17:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=stwcx.xyz Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=stwcx.xyz Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id DED985C01B4; Wed, 3 Jan 2024 07:17:11 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Wed, 03 Jan 2024 07:17:11 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=stwcx.xyz; h=cc :cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm1; t=1704284231; x=1704370631; bh=tO+/ZwtPBh TkBucL3MQP+jVMBKPcHDEPNI5yeaQsy0g=; b=Ok9yJgrrQNbTqq1quT9+5hA9+9 ydSTtfAOHyLVi+qmv0dvTmu+QSc5/94mxZ+UYSbZdYgRaPC5r3Jq7JqzXnX33CER OtZI/9s73E4+reNJJBcYui8BoEHTPdg0+05JeJ+aHESkRsMWC+/q0ETzYXdWVBDy /DFzr2K0R6ZRk7wdEEnPxLOa+K8Q20AgxW9j9QPt6PZCRDA9z3ZNnrWOwD+NwMYP 8hu2zhp8FnOIcOsCCMOx07i3t5YVPr+OoR1TkvNAbN7JgglBjY4F1iJz3IMrhh+7 rNHpfVotDWGP3qnrMrS5LsA5Bw1FQlwpi5FQbHJcF0k5akyIlG1XOt9fTR0A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; t=1704284231; x=1704370631; bh=tO+/ZwtPBhTkBucL3MQP+jVMBKPc HDEPNI5yeaQsy0g=; b=0o4Fwpm1z94GqyybFh7C7kMVDnibVGf34jRMCs7y9Dum yg/uaRM5JfDCeFkqYy8kO7OzUT8s9zDNCs/ArtPhotFL2oo3lI8lLgwnimhgM/y9 b0jokNtFJDGpBLyoT+laIs4PAOa1pj1RGOIYiaINu59wyZuydPjxRiBLZ91ljQ70 0LJVduSR7EM7k+/YWSrcKd7RO757sZ3/LlGDrn6jWF1h7Py85X0MGQ8190mgmtEe 0ZLkh1iUR5aP4ZpJMpsd7UDcbmmDADpoXAOlZ3TAEf3zMZRx/SUSlwPEAa8VJN3y 7JGpRyeXIhr1VaM9NTA2TzaIIHvGjoXaZKWGJwQXxQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrvdeghedgfeekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne gfrhhlucfvnfffucdludejmdenucfjughrpeffhffvvefukfhfgggtuggjsehgtderredt tddvnecuhfhrohhmpefrrghtrhhitghkucghihhllhhirghmshcuoehprghtrhhitghkse hsthiftgigrdighiiiqeenucggtffrrghtthgvrhhnpeejgfdtleelvdeftdeggefffeeu feevgeejkeelgeeujeevveeufeeigfeivdejjeenucffohhmrghinhepkhgvrhhnvghlrd horhhgnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhep phgrthhrihgtkhesshhtfigtgidrgiihii X-ME-Proxy: Feedback-ID: i68a1478a:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 3 Jan 2024 07:17:11 -0500 (EST) Date: Wed, 3 Jan 2024 06:17:10 -0600 From: Patrick Williams To: Peter Yin Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Joel Stanley , Andrew Jeffery , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v1 5/5] ARM: dts: aspeed: Harma: Add spi-gpio Message-ID: References: <20240102044409.3810873-1-peteryin.openbmc@gmail.com> <20240102044409.3810873-6-peteryin.openbmc@gmail.com> 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="4MieZFNir6FV4A2x" Content-Disposition: inline In-Reply-To: <20240102044409.3810873-6-peteryin.openbmc@gmail.com> --4MieZFNir6FV4A2x Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jan 02, 2024 at 12:44:09PM +0800, Peter Yin wrote: > Add spi-gpio for tpm device. >=20 > Signed-off-by: Peter Yin > --- > .../dts/aspeed/aspeed-bmc-facebook-harma.dts | 21 +++++++++++++++++++ > 1 file changed, 21 insertions(+) >=20 > diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts b/arc= h/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts > index 36aad01dda20..25ae044cd176 100644 > --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts > +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts > @@ -28,6 +28,8 @@ aliases { > i2c29 =3D &imux29; > i2c30 =3D &imux30; > i2c31 =3D &imux31; > + > + spi1 =3D &spi_gpio; > }; > =20 > chosen { > @@ -67,6 +69,25 @@ led-2 { > gpios =3D <&gpio0 124 GPIO_ACTIVE_HIGH>; > }; > }; > + > + spi_gpio: spi-gpio { > + status =3D "okay"; > + compatible =3D "spi-gpio"; > + #address-cells =3D <1>; > + #size-cells =3D <0>; > + > + gpio-sck =3D <&gpio0 ASPEED_GPIO(Z, 3) GPIO_ACTIVE_HIGH>; > + gpio-mosi =3D <&gpio0 ASPEED_GPIO(Z, 4) GPIO_ACTIVE_HIGH>; > + gpio-miso =3D <&gpio0 ASPEED_GPIO(Z, 5) GPIO_ACTIVE_HIGH>; > + num-chipselects =3D <1>; > + cs-gpios =3D <&gpio0 ASPEED_GPIO(Z, 0) GPIO_ACTIVE_LOW>; > + > + tpmdev@0 { > + compatible =3D "tcg,tpm_tis-spi"; Due to other pending changes, there is a request that all tpm_tis-spi also contain a compatible with a chip vendor. Please add "infineon,slb9670". See https://lore.kernel.org/lkml/ZZTS0p1hdAchIbKp@heinlein.vulture-banana.t= s.net/ for more context. > + spi-max-frequency =3D <33000000>; > + reg =3D <0>; > + }; > + }; > }; > =20 > // HOST BIOS Debug > --=20 > 2.25.1 >=20 --=20 Patrick Williams --4MieZFNir6FV4A2x Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEBGD9ii4LE9cNbqJBqwNHzC0AwRkFAmWVUEYACgkQqwNHzC0A wRlu0Q/+JCxoappGQgYN8XwykKfMvTqOKTOoH56HMD4//s7BZSAqhc663TqU+iSk GdF5fU6nXjga9rM/eh5t4HPBmptag+RnUIAYolxL3G5UoRaJs0Mk6k2qQzCUheZv +aIo5H1NDzurnUt4WXhpc07nVwQRlsu/q6+xPLrLfd2sVnHLRbGjfo9T+Q1w+9P7 bKsSfO8dqtfxIvHc4GRqQTJTprzpyJd9X3WC6PmeS5PEWuLzG5JDK4LzEjGHpEno ldZKmO7TNInpLA4TbeLzS3O1dHSPIGcqwAAzrkgZ1pJUZaTmpdoHKFgpIeYq5p+b INHCEaBukf20jwjC04FQaF3dif+zMlMUiRkDdZIQmc4RatAVWv5pkfj4hRqbnDk3 /1VOY6C3NKtu+1v7MOQsfuxwNrbrb20TQu5LWco9z1ENsbW5ngr6iHU/yx164UDs xy1HPRm7Y9wJUz3VmvQmvdUHNIQ6gAMGMnrk+4F69pUR5drmUtgDAxc1TTsUBklV MCj47BP+o1PNwT/UaScuQorCS8ffxk7tGOT4zfKLqQghEpLO/aKzaSk+V8k8hoRC pXbBmjXtyuYEp50RG5Uim4/PdoWX6Dm1Vfz6pE7t0XzcntXgwzPNgWYBiGwamhEL ajhb2hf4aXXIyutOcF+F2g/VSpRh1cJ8AFomfqW+CSLRWn9zXAY= =ZFb5 -----END PGP SIGNATURE----- --4MieZFNir6FV4A2x--