From patchwork Wed Sep 18 09:20:03 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manojkiran Eda via B4 Relay X-Patchwork-Id: 13806734 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 5666BCCD192 for ; Wed, 18 Sep 2024 09:21:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Reply-To:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Cc:To:Message-Id: Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date:From: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=eeJFuaxmJ0JWZgKVL9Bp8bqHW7U0rpAowqo6QvJDnAM=; b=I11dpArgg5gylAK6vFlsQJFmqz W4Zg/MqJTNr+e4hdbX6BFfxt/5eHfcKCw9dF9V1YVZBQ1zjyF4gK7IunI0ikzMNxV3YA2FT18tRB6 MK548X+opIXkCR56ek5aHiopBgq46m93q2UdwyBXgpFJl9pjcTL261QOo+nMzyGrKZNIsPadMs5py GTUyGJKp0mn+l/xFQ2ffGHAPJVwmVsCj24/XVXfBaHEqUPuM21eTqeUuowHNiMyaqHlBiB7wlovts pTYerCBe4fRCH9the/XRZDNN9/pBBC9d/xfkmuGOSsl4HgFVCs2p4FvsuEeIDaxevdS6Seb1bLco4 ZWyV2DmQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1sqqsD-00000007ukv-1FwX; Wed, 18 Sep 2024 09:21:21 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1sqqr6-00000007ufm-2GOz for linux-arm-kernel@lists.infradead.org; Wed, 18 Sep 2024 09:20:14 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id 446455C5ABC; Wed, 18 Sep 2024 09:20:07 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id A2314C4CECD; Wed, 18 Sep 2024 09:20:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1726651210; bh=2IPuGsFVx6i3IPlbaxYG1lBF+gtjjtT/tgBzPKncEKQ=; h=From:Date:Subject:To:Cc:Reply-To:From; b=fC06XVHb0/Un4jdSh1HWBV7i/wmL1z2RxPkGk8bOlKg9AfKs01BfHtIzPEx+yuwTl lBs6hYpXEK09I/sWdZSYTDA2yePX/1dUhQZTnoj2tMWdUN/lh4368Ri1SXjyMo6M1U kGaeqrLxMYiNpHBuyUFq1li+i6nrob1V4+sMThYJezPS3HFbjkfgAtg3KbWaHQHctu Opi3Fjbl8UDWlH75eCxCulPgpszA/eymt9iVSA4RifTcA6eJ8gFCF2A7X3yy5b7oiA NdQNBtNgCQCg2joM8bqJn34ekUqhqnZYLWe0o77gcwGZ6Xd9FicrH1FxU61poWlcED j6aJEIM8xkCKQ== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 971C5CCD193; Wed, 18 Sep 2024 09:20:10 +0000 (UTC) From: Manojkiran Eda via B4 Relay Date: Wed, 18 Sep 2024 14:50:03 +0530 Subject: [PATCH v2] ARM: dts: aspeed: Enable PECI and LPC snoop for IBM System1 MIME-Version: 1.0 Message-Id: <20240918-dts-aspeed-system1-peci-snoop-v2-1-2d4d17403670@gmail.com> X-B4-Tracking: v=1; b=H4sIAEKb6mYC/43NTQ6CMBCG4auQWTuGlp+qK+9hWJQywCRCmw4hE sLdrZzA5fMt3m8Hocgk8Mh2iLSysJ8T9CUDN9p5IOQuGXSuy/yuDHaLoJVA1KFsstCkMJBjlNn 7gEZXzuR9actbBakRIvX8OfuvJnlkWXzczrtV/dZ/y6tChe29Nn1b2NoU1XOYLL+vzk/QHMfxB WL1jDLKAAAA To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Joel Stanley , Andrew Jeffery Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org, Manojkiran Eda , Ninad Palsule , openbmc@lists.ozlabs.org, Eddie James X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=ed25519-sha256; t=1726651208; l=2124; i=manojkiran.eda@gmail.com; s=20240917; h=from:subject:message-id; bh=PhsAWX7PZUt4OM1Bw10bIDsLdGTH2xpjWLavU7+Q4Tk=; b=czWKIuxWc7LaxglC3n9wJmLebajDF5jrdBsRa+IlENMLoNzE6kVM3/qJqWPjuB3Y/egwdDuqB JNNjTtL1XS5BICAZswrBb/1tOEriGVb3/1DQfw2KkhL3/sE8CpMpgrM X-Developer-Key: i=manojkiran.eda@gmail.com; a=ed25519; pk=DhQ/NRPeyE1WOxUmafF9Oy8LLco0c8CCeTN+Ef6q6Ts= X-Endpoint-Received: by B4 Relay for manojkiran.eda@gmail.com/20240917 with auth_id=215 X-Original-From: Manojkiran Eda X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240918_022012_754577_F660A2EE X-CRM114-Status: GOOD ( 12.28 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: manojkiran.eda@gmail.com Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Manojkiran Eda This patch enables the PECI interface and configures the LPC Snoop for ports 0x80 and 0x81 in the ASPEED BMC for IBM System1. Signed-off-by: Manojkiran Eda --- This patch enables PECI and LPC snoop functionality on the IBM System1 BMC in the device tree. The following changes have been made: 1. Enabled the PECI controller (peci0) by marking its status to "okay". 2. Enabled the LPC snoop engine, configuring snoop ports at 0x80 and 0x81. These changes are required to support PECI communication and LPC snooping for system monitoring and debugging purposes. To: Ninad Palsule To: Joel Stanley To: Andrew Jeffery To: openbmc@lists.ozlabs.org To: Eddie James To: Rob Herring To: Krzysztof Kozlowski To: Conor Dooley Cc: devicetree@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org Cc: linux-aspeed@lists.ozlabs.org Cc: linux-kernel@vger.kernel.org Changes in v2: - Added ibm system1 in the subject & added upstream mailing list as well for reviews. - Link to v1: https://lore.kernel.org/r/20240917-dts-aspeed-system1-peci-snoop-v1-1-b967fb3a6735@gmail.com --- arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-system1.dts | 9 +++++++++ 1 file changed, 9 insertions(+) --- base-commit: ca2478a7d974f38d29d27acb42a952c7f168916e change-id: 20240917-dts-aspeed-system1-peci-snoop-725c70f4a485 Best regards, diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-system1.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-system1.dts index cb3063413d1f..738a86c787c0 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-system1.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-system1.dts @@ -464,6 +464,15 @@ &kcs3 { aspeed,lpc-interrupts = <11 IRQ_TYPE_LEVEL_LOW>; }; +&peci0 { + status = "okay"; +}; + +&lpc_snoop { + status = "okay"; + snoop-ports = <0x80>, <0x81>; +}; + &i2c0 { status = "okay";