From patchwork Thu Aug 1 16:01:33 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: PeterYin X-Patchwork-Id: 13750697 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 7ED46C3DA4A for ; Thu, 1 Aug 2024 16:09:04 +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=TZerIoXWpmeFjNZ89XzWt5hzWG UhHBY5A9oFt1fCfzqSwlOJlxvMz4jvmJmqQTBApWYLmqPB3EGeOens9+yNwicsA4HR4R7CTm2ImYA VBYNNVQ6ucbTlN5uMo4VoCYOzOx+cBy+LSS/zedRxyleccmLeQuAmomCCdFpP+zvIVwJWfkEroaCG cYzKGVcP3IcHjqtjV9Xy//0VaBDzoNG5hKbxToQ9PEYDYrzwbR5CZKVKOhIcXmBfjPxlGDRTkrlLE eTrgCqYsbtyvLCXjs3GVpuRsv34lFKRAbHEW96kLtxnkiO8HAw+Twny885j8nljScI2hncWiHgzDb +VzSuN3Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sZYMJ-00000005zGB-0Abt; Thu, 01 Aug 2024 16:08:55 +0000 Received: from mail-pl1-x633.google.com ([2607:f8b0:4864:20::633]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sZYHe-00000005xYo-1nNh for linux-arm-kernel@lists.infradead.org; Thu, 01 Aug 2024 16:04:07 +0000 Received: by mail-pl1-x633.google.com with SMTP id d9443c01a7336-1fc6a017abdso47884205ad.0 for ; Thu, 01 Aug 2024 09:04:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1722528246; x=1723133046; 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=J+WfIvrkpSVS6erMHgTRXYUcGfQINRec94IJJWxE8csTKVxEDPvl3TcaAN0MmBii6Z jZkhSl2uQJgXb23uRki2gRdYw3MfDDI8E4/wmlFfhpiUxmLcenMgDiB9zraO75dh6s0H nmfUKA1hD1fuyq+0+5Iq/174K57OUxw4R3NqMFNaZxu9kdXVvxolE6iuv4rbGC6DPZUh JG0VuONTzGCGaGzy+r8idkfJLacKfoI+kcrPGamz3DmuALKhWOrd2tkLLanxyTUy+wFF X+DCADERW0iDjhhwPBBpvB6J45JD+qe+YFtpO7+he2rPr+HyReyiLQHtw6P6pV41P9BB 120A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722528246; x=1723133046; 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=etY4TbePHvAwuVfsJxpoLvnQLBMHsxYAavvo0m5tU1FuP5DHJ15mkpfcjL2mhOD/rG TDcaaxlbvcJTO3K6Wk377UNDThwh1F2GxcFHkFGkBAo+BKzw060URRcBv9CaauaRwW6Z OYROrJPJkLUFncOygRkJ2vjG/HCbdtVwMuEAIPI4RVawEgzJ0NIhmS/tCcCimCjtJWMa iHCjgCVLOpL89oHF01GiVznh1qnP+ikdCQezfun8auspYZ47zvMBIEcorbku1xu+poAk 5w9TArr3x/KwZKkD7bqAxiF6zGKzYwNGBcZI+W+us1g+4pZPOChngPHfdvDAdrS2m8ni 3cmg== X-Forwarded-Encrypted: i=1; AJvYcCUymv4vJRbZNoDjxfLu1U0QCBw8H3PlXbW22WyfTlBOj/j+uz6O/+uqxCWpzPYSfglXFz5oju4bfI7uzKFkGAD/nytU+5YyzM5Y0E/aHg1QvHUUiZs= X-Gm-Message-State: AOJu0Yyb5VsIUB+4RUVuAgCh6sIZwxfogna99C0FB8NvzzBiVBkw7HUH N5kHIqcnq8ICtJTx+aYafGcjm31SdCsisy8uR7t722uvkJsBQGXV X-Google-Smtp-Source: AGHT+IEHZrIuu9OOWAbdOXoUsSvEIMIF2LGmw91wiJQnNRv7S4gMKbaWOSTWTPf1B+BWzPSqb6QiUA== X-Received: by 2002:a17:90b:274b:b0:2c9:5ecd:e3c4 with SMTP id 98e67ed59e1d1-2cff953e8b9mr833249a91.35.1722528245351; Thu, 01 Aug 2024 09:04:05 -0700 (PDT) Received: from peter-bmc.dhcpserver.bu9bmc.local (61-220-246-151.hinet-ip.hinet.net. [61.220.246.151]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2cfdc4cf181sm3535268a91.37.2024.08.01.09.04.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Aug 2024 09:04:04 -0700 (PDT) From: Peter Yin To: 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 v3 09/11] ARM: dts: aspeed: Harma: enable mctp controller Date: Fri, 2 Aug 2024 00:01:33 +0800 Message-Id: <20240801160136.1281291-10-peteryin.openbmc@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240801160136.1281291-1-peteryin.openbmc@gmail.com> References: <20240801160136.1281291-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-20240801_090406_484941_CD31BF08 X-CRM114-Status: GOOD ( 11.16 ) 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>;