From patchwork Wed Mar 29 08:32:35 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Delphine CC Chiu X-Patchwork-Id: 13192102 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 ECBB3C6FD18 for ; Wed, 29 Mar 2023 08:34:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=VKioe6OkskMIvCD2Be1MVY1+MSnY22y2BPv7+g1C50I=; b=cYY7RS1q5FQfG7 9V6ZTbGVCoMhmSZ3WUZP9M4mVuCpGEwbj7gK/ZuEquqiZwjx3zexeiNd8Ubyo70FdNt6X7sDuA1Cs QK6ENOlEWgwuT/rOcVgsafH6qd055313M5kafsMwjG9DfR1gmadvfTmTWEIxn/MK1K1/NRuYBvy9i MO5xa2i8+ePkj1Bdy+wIUxdMeg1VmDQXK1scUtlaK++CNdpCQk2FUEXIkD00DEuHqjeRQAK0FPV13 58n1u5VxWvgD+82TnTmhSe245emQ7oU/nJc4RvEIHhCTMc+nw0Uhtb4erFZg+JOilvuFRytZS70P2 VFrwr6VdfPFqqovzqClw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1phRF1-00H7Yh-1V; Wed, 29 Mar 2023 08:33:11 +0000 Received: from mail-tyzapc01on20622.outbound.protection.outlook.com ([2a01:111:f403:704b::622] helo=APC01-TYZ-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1phREw-00H7Wx-0o for linux-arm-kernel@lists.infradead.org; Wed, 29 Mar 2023 08:33:07 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RqkQHNxijfyrL5qgBOUM89NheDNa6u0U8k+kvubSsyjWPzb43Cgnn9ZlNMRF09TEr/hHfAE8Jd0JhQQQ4bAzm43yzyo6ho7mh6AH0aUJlZ7nqMJS9m8ACsKbTvmyNLnZBZqf0z3xW3ldB1oRojka79zBi9V+9YHX9bjj46Aqbfvj3VpjPfQ1tSBYayP9sVhNgfFrP/q9zUs08dwoVCFa/ZBYrY1cxOkENCN7MyOILUx1CLOlwKeDjyV+RJ/TQGmboiR2A4LgDjof4yalKuJD7H98YuOzxTEIAiOtHEFPdudr3iUKcseSTG/46XQ0bt+SY7fklUz8k1nTmfktfgWlLw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=sascvLo2rdBCIEtoEy2cWF0vHOGysjj0sN9RW5zPPvs=; b=TXUMuw30/U91hSp7TlvMmuMTJ+u9NDQr+JSoZL9FVEWtCsdRV4G2DDwxBcIkSJ4+GW1UJEwQXDX2GUbgwpqtXE7q30I3UDjsSjpUpYJpHzPua/mNuuZuuyRxKwdDFD7enILC8+L+zgJEUU2KUDSFe0GYWkFsuK0scKpOvWmazrgkxV/T06pIMkYr3xofjvYaPLa2I6YqRpnRIBzRqfS36xMbXOaCNXZl1Y2/xKmUpR1fi4fUn2BZ6HT9hd6MDnpoSumv1V1bP4cHTK0mr0qC+023CBatR+s8fGgAMwqo1DhvLx27SMehiC+Hfyz70yz0ICGUbEZL9rpfMKO0TAeyJw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=fail (sender ip is 211.20.1.79) smtp.rcpttodomain=stwcx.xyz smtp.mailfrom=wiwynn.com; dmarc=fail (p=quarantine sp=quarantine pct=100) action=quarantine header.from=wiwynn.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wiwynn.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=sascvLo2rdBCIEtoEy2cWF0vHOGysjj0sN9RW5zPPvs=; b=kB7M/rY7akZnPD8OOJ0n8ruI7z7HIP5S/ajDayxrcCDYfvEywghcE9nz/VLRFHeyvpzYdd9ICOwOmarW4BdYZJrH7BpXNlwP2xFkdP4xHTrqKA2Tc8zc1HIEEGqqalrXCtc7grwPyPIpk2HDsWm/GcEEFks9KMxQPI2gaMS6rhrrO4heCUWlTlJVf5uny9/Zh4WAUMNoGLqW1Jaq4d29UTF37Gu5aLQhfSjuhSF+q10RqcXu9WZOaM77Pk6bGdRd8IgP9LwGgUVYUbeWYnQusb4BqXdLiYrtmMCipyz5dzeIjoURn2ZAGIGVBgVOAmur+0lLZp9fVo0lwdvx7g8VKQ== Received: from TYCPR01CA0090.jpnprd01.prod.outlook.com (2603:1096:405:3::30) by SEZPR04MB5674.apcprd04.prod.outlook.com (2603:1096:101:46::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6222.34; Wed, 29 Mar 2023 08:33:00 +0000 Received: from TYZAPC01FT042.eop-APC01.prod.protection.outlook.com (2603:1096:405:3:cafe::62) by TYCPR01CA0090.outlook.office365.com (2603:1096:405:3::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6254.19 via Frontend Transport; Wed, 29 Mar 2023 08:33:00 +0000 X-MS-Exchange-Authentication-Results: spf=fail (sender IP is 211.20.1.79) smtp.mailfrom=Wiwynn.com; dkim=none (message not signed) header.d=none;dmarc=fail action=quarantine header.from=Wiwynn.com; Received-SPF: Fail (protection.outlook.com: domain of Wiwynn.com does not designate 211.20.1.79 as permitted sender) receiver=protection.outlook.com; client-ip=211.20.1.79; helo=localhost.localdomain; Received: from localhost.localdomain (211.20.1.79) by TYZAPC01FT042.mail.protection.outlook.com (10.118.152.183) with Microsoft SMTP Server id 15.20.6222.22 via Frontend Transport; Wed, 29 Mar 2023 08:33:00 +0000 From: Delphine CC Chiu To: patrick@stwcx.xyz, Rob Herring , Krzysztof Kozlowski , Joel Stanley , Andrew Jeffery Cc: Delphine CC Chiu , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 2/2] ARM: dts: aspeed: greatlakes: add mctp device Date: Wed, 29 Mar 2023 16:32:35 +0800 Message-Id: <20230329083235.24123-3-Delphine_CC_Chiu@Wiwynn.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230329083235.24123-1-Delphine_CC_Chiu@Wiwynn.com> References: <20230329083235.24123-1-Delphine_CC_Chiu@Wiwynn.com> X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TYZAPC01FT042:EE_|SEZPR04MB5674:EE_ MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: d2cd55cb-ced9-49e6-5fdb-08db303034ea X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: MrvpB73rmAlgb/DWLHYzmRnM+9U/fUgIy1Mlj/e1A95wlABYZ7aPuyhXDMhdWgLz1JwQzfdho/PbSS9xVsE8Nj7Eb+ZBpWfrCIY6PW3ovjIApGBPzdyKjiy3B7ya/YHG37Wi/HEjXs8V0GqrAT2PRAhkn3DRltkiJhubmSohJVMIZvECFgnZbKLbnvCGbfdIIEq+HqW82NyJ1eJjH1fTh+OFpdMCrHv0Vw7yyKIMz/e0iOGBFeN31gu9TqH2Ubs+GADz99qouBwEEDMCW4oPErrAEF5pnm22qWEST1+gR1Fo0zH8ADe+QAU+QjumpBFntk64oEXaNRs26QYM9uQBIo9PATHzccI3Qv4L5hxzfDpk15ZnqHC1dF5G/AqP5MS/asmpCmd1gf3UA6GzuAChazCLPE/RDxt9T4aX/J4vyzvfTdr2tbKAG8DPz/942xwLXtg3qgS5IP96dVOfITOYT9KYs+71WQFqJT/50Cq/eXm47XSc6Hnr3edMPvR7ekIIMIgcCcdIZwnq218Ah8lhFhOnUI6GA1QDxaFIYq/+Pr5k89WgCz3H06tUekzwt21vb23YhfZam2hJhoaAlarEc5RkBflExM704s6IbrTP1ktBzAdUeuriEahbArCBJvWWtp1WW89q8PpuqTjHrfTs22DTaqAQI7F3hIFNUyTkOok= X-Forefront-Antispam-Report: CIP:211.20.1.79;CTRY:TW;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:localhost.localdomain;PTR:211-20-1-79.hinet-ip.hinet.net;CAT:NONE;SFS:(13230028)(6069001)(4636009)(39860400002)(396003)(136003)(376002)(346002)(451199021)(46966006)(36840700001)(956004)(2616005)(47076005)(186003)(336012)(26005)(1076003)(6512007)(6506007)(6486002)(82740400003)(6666004)(70206006)(36736006)(110136005)(36860700001)(478600001)(70586007)(41300700001)(4326008)(8676002)(81166007)(356005)(82310400005)(36756003)(9316004)(5660300002)(2906002)(4744005)(8936002)(86362001)(316002)(40480700001);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Mar 2023 08:33:00.3333 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: d2cd55cb-ced9-49e6-5fdb-08db303034ea X-MS-Exchange-CrossTenant-Id: da6e0628-fc83-4caf-9dd2-73061cbab167 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=da6e0628-fc83-4caf-9dd2-73061cbab167;Ip=[211.20.1.79];Helo=[localhost.localdomain] X-MS-Exchange-CrossTenant-AuthSource: TYZAPC01FT042.eop-APC01.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SEZPR04MB5674 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230329_013306_289949_88F0D534 X-CRM114-Status: UNSURE ( 8.97 ) X-CRM114-Notice: Please train this message. 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 Add mctp node on I2C bus Signed-off-by: Delphine CC Chiu --- arch/arm/boot/dts/aspeed-bmc-facebook-greatlakes.dts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/aspeed-bmc-facebook-greatlakes.dts b/arch/arm/boot/dts/aspeed-bmc-facebook-greatlakes.dts index 59819115c39d..2f83693e4f85 100644 --- a/arch/arm/boot/dts/aspeed-bmc-facebook-greatlakes.dts +++ b/arch/arm/boot/dts/aspeed-bmc-facebook-greatlakes.dts @@ -156,6 +156,7 @@ &i2c8 { status = "okay"; + mctp-controller; temperature-sensor@1f { compatible = "ti,tmp421"; reg = <0x1f>; @@ -165,6 +166,10 @@ compatible = "st,24c32"; reg = <0x50>; }; + mctp@10 { + compatible = "mctp-i2c-controller"; + reg = <(0x10 | I2C_OWN_SLAVE_ADDRESS)>; + }; }; &i2c9 {