From patchwork Thu Jun 27 07:00:11 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: PeterYin X-Patchwork-Id: 13713879 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 5A50DC2BD09 for ; Thu, 27 Jun 2024 07:01:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To: Cc:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=U9MVRVw78cAnGxBai+z1t3GEr8C1bFmf/TOYviQnigs=; b=PZ93KmCFOf5kMyjBOBK3cTuZwD YdciCwEIPKPlmMxtvEj6KJpWqH1cx4knebEe9nbV34zdBGY1pui3rnSRGo7ZRyq8zgCMPaJPp09xx +8FEdICVNWFf60c0o1zbOy3ZMG5etKNjbXAD+VlAMJD3NUl+8ktXjyUe5SCK0KuQUGboPNh8tSCNP NbekATEUklCi5jP0LjxzUJ4u/dTaQMLIRhaJZ+lgOhmHWG2UwxCtChWFSAc72obN9ffNZ+Cc9GlY+ e5azt5VHEN3r9C34JpLS1o0ymHvBS/IId3zo1IDl1Bi5Ne3kvAMoShDtrSFYM+UVk1RUvon18sUXj hPOVBUOw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sMj8S-00000009TBY-0BHr; Thu, 27 Jun 2024 07:01:36 +0000 Received: from mail-pl1-x631.google.com ([2607:f8b0:4864:20::631]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sMj7k-00000009Snk-49Yp for linux-arm-kernel@lists.infradead.org; Thu, 27 Jun 2024 07:00:57 +0000 Received: by mail-pl1-x631.google.com with SMTP id d9443c01a7336-1fa55dbf2e7so29895055ad.2 for ; Thu, 27 Jun 2024 00:00:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1719471648; x=1720076448; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=U9MVRVw78cAnGxBai+z1t3GEr8C1bFmf/TOYviQnigs=; b=a4ipPMVtmQW1YrMG6diQDj0J6947Tg09YWCp0aa6ycbzcWnGE1NyrBKZ4bX1jUe1yR 22BB6fQ2OYwRhZ1v5uYbBWNK66xav9LkMbMX+MVJZzorLgDOpOepPbhGTLbObuJW4JjZ bHMtLK5bjNqjKvjnnxjg7foccKqlCS/v6XocRl7RQLsTAUSWhY+4LqpURIDVI03t3adZ +bpQWu/vwjvtT6aBqOIegZBIS1dWoRh+R9QLGtttT77ixrsxpnVOOCVW65/n4c6bZYjc 9Nq0hCg00kceiemUiCgeyPbVrRz3GL8Ih8BeopHsYFWqHYaoS0ZlYiDQu4F+zDNAy8GF s7DA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719471648; x=1720076448; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=U9MVRVw78cAnGxBai+z1t3GEr8C1bFmf/TOYviQnigs=; b=Vz+91c18B7zYHPb7GEusETFAJ4tB/5WBJLlEIcMTuwR2fbjONB33OpofiEYEwd8g2N o2O7lEC3DUQdHh0qU2A1zLRLHNTWv+8AOCafrAorcXBSXJTxy/Oxwviqp9rjOJOkNL+E rNUNsZT2/gg2u/Q8BZ2FuN5+A7AW9AkyOsok3B5jstBqbCHaoRvFRDM+fTV2YkAln9za 4FgOnNFksxJFq/dDQ4fipVQHk+3dEdD/uAQTtuwsTPCSpgghtiJDZFR5xDvnnokwDC0V nCT0pGcwEziDgDaC2na6mnrv1j/fIbkT8UV+7w3JvJNZum0wAhEYFWpmauQwfY0qNxmU zfCw== X-Forwarded-Encrypted: i=1; AJvYcCVaefD4n6lM54CmE+d2QnP8VXCdyaxfZpBllP1obxuoD8ByDRTdJQUTLJvBPBiEpxiZh/IbatVqAFTlgiVGT1JgU6Fh/PstUmQ4N1olzKWbnWCpmUE= X-Gm-Message-State: AOJu0YwWOdSzLUtuTij+gWT3argnE5N+04ilWRiqnf3VH70N7H+MIySB XF/I2tc0KxHvKhyQP20/dj9SdOtAuy9NLSoN6Tyl3W6Fkj4SmI06 X-Google-Smtp-Source: AGHT+IGXmY3tDD4kOoK590b8I1gWP513ZKXgFYDLyB6WZ9qTeS1eg//qn2jcgZjuPF1yVeQ0Bm3g2Q== X-Received: by 2002:a17:903:32c4:b0:1f7:2a95:f2d7 with SMTP id d9443c01a7336-1fa15943813mr148693425ad.59.1719471647926; Thu, 27 Jun 2024 00:00:47 -0700 (PDT) Received: from peter-bmc.dhcpserver.bu9bmc.local (2001-b400-e306-713d-05da-7754-dfb7-477a.emome-ip6.hinet.net. [2001:b400:e306:713d:5da:7754:dfb7:477a]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-1faac997ed1sm5962145ad.211.2024.06.27.00.00.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 Jun 2024 00:00:47 -0700 (PDT) From: Peter Yin To: patrick@stwcx.xyz, amithash@meta.com, 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: [PATCH v2 09/10] ARM: dts: aspeed: Harma: enable mctp controller Date: Thu, 27 Jun 2024 15:00:11 +0800 Message-Id: <20240627070013.2509150-10-peteryin.openbmc@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240627070013.2509150-1-peteryin.openbmc@gmail.com> References: <20240627070013.2509150-1-peteryin.openbmc@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240627_000055_113232_D23AEE31 X-CRM114-Status: GOOD ( 10.76 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Enable the mctp controller in i2c9. Signed-off-by: Peter Yin --- arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts index 0455475fbcff..0dd0566bbf27 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts @@ -382,6 +382,14 @@ &i2c8 { &i2c9 { status = "okay"; + mctp-controller; + multi-master; + + mctp@10 { + compatible = "mctp-i2c-controller"; + reg = <(0x10 | I2C_OWN_SLAVE_ADDRESS)>; + }; + gpio@30 { compatible = "nxp,pca9555"; reg = <0x30>;