From patchwork Thu Aug 1 09:12:11 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chanh Nguyen X-Patchwork-Id: 13750030 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 1D0F8C3DA4A for ; Thu, 1 Aug 2024 09:14:12 +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:MIME-Version:Content-Type: Content-Transfer-Encoding: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=lepgMtzYwEzEMD37nLWPujz3Rl7I6dpjLG3jeX2qi8A=; b=qqVQUFIif/tgkJScz0MbjM/+UN fZngtKN4wIAHx9qytvfse6SA9JRIBr0L3sR81ZWo9YozgtSEDPuc5fSd2yFr8F6z37Uly4Raokpy0 miMM18TIcp984vMu8K/1q2aqXUcYatFV6yyVjVGWHJYrFbkVPpCDxiZgSW2Zk4kAdUQi2ZMIrs7Gm LU9KyWXO3pgxgt8j+ZkDhXLSJAMD5Jccm+N4yPHzaVsilMNxy1PzOtiQv1L7HHxlHHJYuDL2to+e8 dc4Uxj1w9zmeDHwZoAk5xbJjgQooaIPy10Tsi3l7po1m9dJBX0yZ0/1vzHKFR/sRN+aAJuamVCXyl Ix2DIiWw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sZRsl-00000004UdV-2H1U; Thu, 01 Aug 2024 09:13:59 +0000 Received: from mail-westcentralusazlp170100000.outbound.protection.outlook.com ([2a01:111:f403:c112::] helo=CY4PR05CU001.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sZRrr-00000004UL4-13rU for linux-arm-kernel@lists.infradead.org; Thu, 01 Aug 2024 09:13:04 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=ofe7HhceEVVrDwxBUQh2VArDzB5E5mi9L29blWyF9oFxrcxcVZPMnxv3qnLj6QTBXRtBTkv3d02b5quN4/n86mNkuyeKUxAveWaEBsOzuq3Ym+KiN/Qupr1jw410pO8CW+XEatjCvbcOGJ0Gk998ZxeXdp452A5GPPUJcUlwPpH8yGX3Ij5cqhfcQvgRsYd8B98hubW0lW9CG+N+gKBNF7+B/TvK+Pie3VaLnooZP7GwpaVDkpC6IFZ7SPvTyOWVVc4kjYCHGOl8aEpBn2GM1O0VwdkDKWLtZxteklx1/MYOUCBuJocpiQ3drg3qEhHccUkyym7Z9+tza+Av1Stiag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=lepgMtzYwEzEMD37nLWPujz3Rl7I6dpjLG3jeX2qi8A=; b=xvxHahSHAvGCeBAowjKYO7i3FmgEdTNMDq/7mErxrTc0Pec5PKautHcJd4p6cgrsMFpapHgHQQKq02zToYHAL8zUttmQ8u+AqvF3zRE+wLbB6EjYbXMD8oCTERqk87Z1HLrARw4yfxe3oSdNBHYHwoiNtBa7JhZLhAVfKi/4zUni+uANgwazDpaHwbO4KkIIIX/ZcVLn1MRoo0Wz1ini+tamY4K1tECLHfgognQdB6I2f9CfSCOUM56P99ylqXs1dC15E8QkZK6Kdv9wvBV5XedpugEgo7IwK4clrVFRf6cgW9Uc6h4Ifahd3zW38shgHfDyvl8uY4k0kOVNL0U7sw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=os.amperecomputing.com; dmarc=pass action=none header.from=os.amperecomputing.com; dkim=pass header.d=os.amperecomputing.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=os.amperecomputing.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=lepgMtzYwEzEMD37nLWPujz3Rl7I6dpjLG3jeX2qi8A=; b=vJNFYNx+u4S/TjYwYOSohlfOI37JlNZz/C5AQXAhGIdYuYfzU/0mzW87Imvwo1O2XktSv9G4dogQmAuEVeDLh0Bog9kMfG1KSCGbg94rv1NWDekym8fLvrqOo3p9zQia2TJSygFOENgA4Ktx1Hh/QrM6wAdbtJicfpXFevSF8gs= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=os.amperecomputing.com; Received: from BL3PR01MB7057.prod.exchangelabs.com (2603:10b6:208:35c::16) by SA1PR01MB6640.prod.exchangelabs.com (2603:10b6:806:1a4::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7807.28; Thu, 1 Aug 2024 09:13:00 +0000 Received: from BL3PR01MB7057.prod.exchangelabs.com ([fe80::b69e:5684:ed7c:4d09]) by BL3PR01MB7057.prod.exchangelabs.com ([fe80::b69e:5684:ed7c:4d09%4]) with mapi id 15.20.7828.021; Thu, 1 Aug 2024 09:13:00 +0000 From: Chanh Nguyen 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, OpenBMC Maillist , Open Source Submission Cc: Phong Vo , Thang Nguyen , Quan Nguyen , Chanh Nguyen Subject: [PATCH 1/6] ARM: dts: aspeed: mtjade, mtmitchell: Add OCP temperature sensors Date: Thu, 1 Aug 2024 09:12:11 +0000 Message-ID: <20240801091217.1408809-2-chanh@os.amperecomputing.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240801091217.1408809-1-chanh@os.amperecomputing.com> References: <20240801091217.1408809-1-chanh@os.amperecomputing.com> X-ClientProxiedBy: KL1PR01CA0105.apcprd01.prod.exchangelabs.com (2603:1096:820:3::21) To BL3PR01MB7057.prod.exchangelabs.com (2603:10b6:208:35c::16) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BL3PR01MB7057:EE_|SA1PR01MB6640:EE_ X-MS-Office365-Filtering-Correlation-Id: 70e8009d-9ac0-4b1a-6cca-08dcb20a23f2 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|376014|7416014|366016|52116014|1800799024|38350700014|921020; X-Microsoft-Antispam-Message-Info: Envy13s2Cl3Ftb8fmttqj4mM4L5BUC2JN4ulNBL/yd3/hKs0m9NUddXFV7cUFSn0q+zbhEaOynRD7xacNMr4mKys1reae32RTJvS40RIsaRRLQR5AyGqcaG5iQlZ3Hov8B+tD0INCoXhZcpkjxeYWBRnu06Vq0t1gy9xeR/Lt3TjtZ7ZJMXGa/jtqkWYbrFZ73EHe91eRGsXvM0lai31VzJH1WqsYv+ip7HoTwNtwabc45d1C8I8sOv88vS8/v6O8iKv3irTroOj1wg5Qip2Gsdqzm4uv1O91LLQSJKr9ctTANH3C7hx/pen0eCbHXEr77aOoXV1ObovfxyL+QosVIJmgf0gCoXW19r52dKCVxvMIFd20RRGknESSNR/Wv8F0GX7mcbcN7CDW0KYrbfCLF34Pl87X+micAPdONuTlxShasTL2XiGREbzejpL8zsMQxvUGFOW6Oxr9INfcLrTeHlTKCT1HKG8/7e/4bZCDbp5/aVeMQWfCVLLpcroZDDOcXuat07btF2oAxLWzsOaiqMKZl59Ti5nzSpidWjN2C9PfhuInHEgqMeBfb9n5b+dECt5i55Jyt/huFWrCusKdiBDQl+3TBwXwryEEGwAn8QYxh8ZaEf7BrqNJyW1sZ854l+qya1gBHcCXBf76rWLuHeViId+ZH/WGizLPoeXJxZYXPWUhoBk0DpZoZMNMqAU55fl05cSzvxqzW6GxE0kf9RV4T4ijfe1z5pBGp34SgnF+7F9+oIVRz06+NonvkVx3rkEgRu1o3WgixRjv+xTliNLTYDAQkV6c0E80bYgEo4Y2BMT9JY9IIf/3YXRlbtWYVgUkuzRptv3IEX+Oljjpq043+W73hw5zk/Nd082vrTLguIxGDrVMOB+sGlEOEYE8G6Tz8MgtZgO44A6yiksZ3kucunwc2SX4VGTvHirHlcumQlpAOg54houn45gfZDZrRgnU/b5yT5mgvFzrcA359hh8VFTeiJX2x0+T6aUl1bqrO0+GNq89OBL+P0yGrlTMrnQYOocFiAn1ccNjOV+s12HDBWsuaQ99b0qXyjaakZRYgxm0Ge07TGEiMrRL0tVhLBmtsAPPInvnMFOZ+voPQP5BhXPeVR46JW5r9UxVQbHzkIz5vSHOfaCTqaZ1kvuAnWUJiReVzk9r4LL8Vs5uYA3nndG8/TTWZwEE3qhM0stev856QJNGjkYidWVD65IdrWEU858HSxxAzZ4eJu5W5nbyImNoboTsaWS9SeOW1cl8IYt4sDjDC15JCght9AMrTiB/PyKzyOCyweC+Qtx5cZgtJHkAUm9biCP/61cKktykkpSp04D9MsAeu1Q691ey7XFkUVQ6QVtPJ/OgEMO/WJi0yRjt2BBoN8DremVfvvfSq7CYGnUHUgOHRnWJNI+bDk+VfF9PEA3S9fJbBm9BXIHuuHZ8HYqShnuWMWub88= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BL3PR01MB7057.prod.exchangelabs.com;PTR:;CAT:NONE;SFS:(13230040)(376014)(7416014)(366016)(52116014)(1800799024)(38350700014)(921020);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: y8gMMveHY4q8GzWpq0OJusU3unIfal6jPxQ3W8AGLv2piUP/M23AdoII98LOW6PzkmF3yS2EWemo4KRPKsq0w9g9S037sZ1Fw9x+TmJL5GoG+4NZgqydjDxeC6W+H+jR2SRL/9hETOi/OWkYP/JpRhD2spVJScUNWLBdbTHIzPANx17hkWrrNFXJryYc7cDf2tLeuneyVHlBYrfuffxX8F0P7Wwr1BLzUYec7fzOLWVunwCI5IO0U6eggYK9M/xnUbtipWr4kWeG4psUPMtLiFkO/Q6x3KkdrRY53GfvwR/cZXPMb30paVffWT4HioPcs0eipmNAi1mk8Yh2Bcs7KBmmtXxD98EHbjIScnKzPqc9LhW+lHl4mlO2Sq845XsLf/o7+e//q8Q1zT/b+ajZskaB378sRSvZ1nzFcPlwF5kvhskVLXLfEB5LrSF5a5CanKFon9eWNFe2vAZOEz4QRnY8u6HzNkWiOKggnq4VUr01gxz/rPrQNw1AF7n1Ijzj8QVGPSAk4MxLzQSO4g/QzjnhkO46aMPBmPc1WB/xaaEbkhUMI6rwv1ZNEbbiwIGw0BRFgu4LD6qzjnR0X8v78IogyQ2skK7DfUubCkiNPTQGi8T2B8gQdUCt8ve4mJeXveXluYIMhcEmAWYtbKDRVfpIvQuBbqpDhpLZwkp4e9cSf8ALBMHEQgp0KjqcEXbZeo3LjDfupAMnVrZ5iCswLpIjEFe492xav3hfc7LbJGoP1dz7AM+LX3+uVctQv6/lrjdcFdGHvoFvkFD47GrfxM1VpUe3hbBKqNhtobvo9pJ05h4A+UG23U6cA9m2cWmV5N25NfZaKIyTV9kSZ9CwwAi1WeiJhYIZpcJJxveMwWhCxLsz5ee9i8Rzt/KVkxMV92lngYTnCnVIvt8//TsTGGDoRpZGJG/XfKCKAuJc3ofr+JQJ5ReoGnNuQbVhrlPTe16Qwp77QbaPjGc2dDfi/ydfYvGEYbI2lV1y/sNd6juLCA3O9ggfxARLtrfz2r7WgYZDZq3vLlHrpyNhkF01vnAa6+eHJthvXi4MNJ/XmMU4E+6vr1o5jpgsObYJvNj8gZBlOMM3cSi75rYZXNLW4b+ARTKG6OH1ThB3AR8djMQj3Wi5HRCePNdsMAPOazHqXtH1Upv51kNkIcS3y62vcjxTdFL/FevPNToGF+QI7Ti+o8xp1VJUMSwmjMhly/d96S46fe4FOKTggdmZijplsm9Gk92LWW2C3ELw6U3xg1p8THS8cyFKWvyKDZAwj49GMvaAdCZJcNj7OR/QMLgUXBrP9SfNhMiHnIYzGd9X9yCsCF/9wCi2djGt6tIn14W+fC7K5Dt4lonzJo5XvPjypd7KXrgsxwJ+r3WuncjwHO3rc2bnrWdocW56qMg8mohMl8IbNbyaO2Au8V83kdAgR+wmLyFA30y9kOLUeyqM1N7rkGPGfHVKgZDn/cRK+kdt3PkmXZPmibNN/LsqBOmHbLAw/u+2junQ8ouoFH/QXNvDxbVDxFIwNs9TAMHHOdVAuXSpbSy61xXlvQxt5S0WOQBEDkUgg1vx4+IZ3scKmiuhi5oC/4Ttx1/R7gKNzddZgyX20Pv/YXtYw4TWpbkukOZbmxuASkhFT17lvrbGFT0= X-OriginatorOrg: os.amperecomputing.com X-MS-Exchange-CrossTenant-Network-Message-Id: 70e8009d-9ac0-4b1a-6cca-08dcb20a23f2 X-MS-Exchange-CrossTenant-AuthSource: BL3PR01MB7057.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Aug 2024 09:13:00.6175 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3bc2b170-fd94-476d-b0ce-4229bdc904a7 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: X3h9E0IXAtcz3aexkUg7/B3D847LJaZtEi+KeAakdECSRVZpU5eU4DzhTMzO43hMFyOdf5ODrzyywMupz8sqENl+BumirlijPbr092QVNu3EEaa7asAabxB/IXPvQdKq X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA1PR01MB6640 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240801_021303_320321_7768BC0D X-CRM114-Status: GOOD ( 10.22 ) 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 Define I2C alias ports from I2C Switch 0x70 at BMC I2C5. Add the tmp421 sensors via the I2C alias ports as OCP device temperature sensors. Signed-off-by: Chanh Nguyen --- .../dts/aspeed/aspeed-bmc-ampere-mtjade.dts | 16 +++++++++++ .../aspeed/aspeed-bmc-ampere-mtmitchell.dts | 28 +++++++++++++++++++ 2 files changed, 44 insertions(+) diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-ampere-mtjade.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-ampere-mtjade.dts index 8ab5f301f926..8102f41d1d15 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-ampere-mtjade.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-ampere-mtjade.dts @@ -49,6 +49,11 @@ aliases { */ i2c80 = &nvme_m2_0; i2c81 = &nvme_m2_1; + + /* + * i2c bus 82 assigned to OCP slot + */ + i2c82 = &ocpslot; }; chosen { @@ -420,6 +425,17 @@ i2c-mux@70 { reg = <0x70>; i2c-mux-idle-disconnect; + ocpslot: i2c@0 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0x0>; + + ocpslot_temp: temperature-sensor@1f { + compatible = "ti,tmp421"; + reg = <0x1f>; + }; + }; + nvmeslot_0_7: i2c@3 { #address-cells = <1>; #size-cells = <0>; diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-ampere-mtmitchell.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-ampere-mtmitchell.dts index 3c8925034a8c..3a97e88278d5 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-ampere-mtmitchell.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-ampere-mtmitchell.dts @@ -15,6 +15,12 @@ aliases { serial7 = &uart8; serial8 = &uart9; + /* + * i2c bus 30-31 assigned to OCP slot 0-1 + */ + i2c30 = &ocpslot_0; + i2c31 = &ocpslot_1; + /* * I2C NVMe alias port */ @@ -515,6 +521,28 @@ i2c-mux@70 { #size-cells = <0>; reg = <0x70>; i2c-mux-idle-disconnect; + + ocpslot_0: i2c@0 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0x0>; + + ocpslot_0_temp: temperature-sensor@1f { + compatible = "ti,tmp421"; + reg = <0x1f>; + }; + }; + + ocpslot_1: i2c@1 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0x1>; + + ocpslot_1_temp: temperature-sensor@1f { + compatible = "ti,tmp421"; + reg = <0x1f>; + }; + }; }; }; From patchwork Thu Aug 1 09:12:12 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chanh Nguyen X-Patchwork-Id: 13750031 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 A3639C3DA4A for ; Thu, 1 Aug 2024 09:14:39 +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:MIME-Version:Content-Type: Content-Transfer-Encoding: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=w2cG5/l28GcvEsPNyOU4yn6mhhEg3Q64HdNLcRY3/hM=; b=3h9FQ/vIppLK1SzWkxV2OUUboe WYQAtWkpzYY/EtokH//1mz5kMnXkVIZjLF4f/d3o7sgEth+BvQ3jLYNjENZoVndkaW8CeKkHyLaFS Yv1yhA6uFMcUN44KLx9GBAP1NLpb9oxNfCUIjSFgBfba+nnCPK6TsNoinoMTPLvXTJl+a/mAYQ7bO kbt/Uv/wFV1nVaupmXkdZtKyrNMHPL26tDZSQxvUq4s8Dx7a6hT9h6nLB9biv9648Dcfe6cfgreHC dG+tFS916D/GNzgSLkzV4OMYMLDRlAooM2eJKfoY4cY6n5rF8feJpOAAgqsUfn2BggQ9qpTTux6l3 T4B7ceiQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sZRtC-00000004Unu-43sc; Thu, 01 Aug 2024 09:14:26 +0000 Received: from mail-centralusazlp170100005.outbound.protection.outlook.com ([2a01:111:f403:c111::5] helo=DM1PR04CU001.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sZRs4-00000004UPk-0brE for linux-arm-kernel@lists.infradead.org; Thu, 01 Aug 2024 09:13:17 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=BECTJpJDsGLxGfcNeKwNdfUkytODixQzR8aikbR2m7BS0iw4Xvv5QTzc6E+TU9IXYq3ZdFtd/aa+4tJv11hKwOLfzVvcPwqSt4btceWuoopUmHaGJXMYAEmGZYlzce592qtD5o95I15U1z0HBM3PTAe+OYaeJEiuR2JJv2Gn2WwIpAvYc+F9LrDHWb1FybxmTSuCWKzPLjvviqTNwSMjm1skzzrzqkJ3sUKN4XW6kvxsACwlAd9i7ZzTnranDgxN69EkjhjjDPxM+AFYOiQx+xQRElCGyFDO+eoNnzhpKWWvXVdR9CoiFt9/WmZZfCTbFhNmABTEbBnUiNW++sRymA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=w2cG5/l28GcvEsPNyOU4yn6mhhEg3Q64HdNLcRY3/hM=; b=dBpkBBqmM2seKxfvO/RwOPsEqToiQeRpptgwlt009jvkVEX0LR1yjxbNpVZn0KzULtnBoTEkNOs/A4dM/gKCoRbeGicvK5faDwH18fvdoTPtPTNZi8DrGLH1aO4JlnR0+sTIPgsVtv3E/mefo+Gw4eH/tv9fYEZIDjSBbkTwLChQeIHvTKAsAxvcHFv1KLVuFSwMqPaR2zCZ/DAtBj2TogsVxMVfInEpUFdhliJqGAuy8vGgHjTzmRQU2y4tuSYeA5K5t9HEofZXJBTfpKj+97O925xxxxEq8R6IhU9f5f3AfmS1mwWFAAbvBlpSUnpdR/lcXwC9WUkLL8I+4+3XNQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=os.amperecomputing.com; dmarc=pass action=none header.from=os.amperecomputing.com; dkim=pass header.d=os.amperecomputing.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=os.amperecomputing.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=w2cG5/l28GcvEsPNyOU4yn6mhhEg3Q64HdNLcRY3/hM=; b=cY8WnntkIlLEK32ULRY3gO96+Et/3YMMz7ELikOrjKpPy1oac+I+wkD/igX/psQhDGHqtvgq5oyXAsrTKa69b7h9yQymZvgHMYyv8t/Ept8ihvgQyPNNigT95GYAFVZQiyckh/bQZsyIk8Y7CrVFH1ZWgcce7Gz2V1tZCVYryQE= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=os.amperecomputing.com; Received: from BL3PR01MB7057.prod.exchangelabs.com (2603:10b6:208:35c::16) by SA1PR01MB6640.prod.exchangelabs.com (2603:10b6:806:1a4::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7807.28; Thu, 1 Aug 2024 09:13:11 +0000 Received: from BL3PR01MB7057.prod.exchangelabs.com ([fe80::b69e:5684:ed7c:4d09]) by BL3PR01MB7057.prod.exchangelabs.com ([fe80::b69e:5684:ed7c:4d09%4]) with mapi id 15.20.7828.021; Thu, 1 Aug 2024 09:13:11 +0000 From: Chanh Nguyen 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, OpenBMC Maillist , Open Source Submission Cc: Phong Vo , Thang Nguyen , Quan Nguyen , Chanh Nguyen Subject: [PATCH 2/6] ARM: dts: aspeed: mtmitchell: Add I2C temperature sensor alias ports Date: Thu, 1 Aug 2024 09:12:12 +0000 Message-ID: <20240801091217.1408809-3-chanh@os.amperecomputing.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240801091217.1408809-1-chanh@os.amperecomputing.com> References: <20240801091217.1408809-1-chanh@os.amperecomputing.com> X-ClientProxiedBy: KL1PR01CA0105.apcprd01.prod.exchangelabs.com (2603:1096:820:3::21) To BL3PR01MB7057.prod.exchangelabs.com (2603:10b6:208:35c::16) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BL3PR01MB7057:EE_|SA1PR01MB6640:EE_ X-MS-Office365-Filtering-Correlation-Id: d04b03e2-98a0-46c9-d1f4-08dcb20a2a15 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|376014|7416014|366016|52116014|1800799024|38350700014|921020; X-Microsoft-Antispam-Message-Info: 2Vjhyp7sLpXZo4+4iIyssFsl5oc9TdQOJkKSV6JSMVcHNl/ARpgPoHRnSY1TG6LqLgA+wuO7DxYOXuQ++q4lpPI/0EGQnfD5QnUnGGObl6/eHAguYl0/cZ+PQKAw08In5Ss2ziS2zbBedSd+SsJ7QIq6RE//qJAiHno2qfFQs44VvK9lOzOiuQmaUewQqRNc7FNbeyVs0Tp2FVjiLupybCob8g4awNvcGAoDoeZVqYK3ldorZ9bpz7S4K8IP6RqUPHSO5cT8zhVrztCweQ3GjBxAXjBJIOIdq7mJG7WaVqLJBSofvrebrv39VXCrbXiEhFoPP1q0HXnzAgpaggcDGu5nS8r+F+fpsybVt6DN5F8fVCxSZYLvD8dElmV3+XVNdWZG5Bvf+CzMhcMU0pqZJ8pNGZGXDWz9rCr68I5bYp0ypQEoRCPcz8WeBsPXm4f4P+jOtO8VoSUdeodZihy3iRcZTuKsDIsmQTAQxrYcED/c7ERCYE2uIBypIGb4TbbiJkbCsTnCJ2w0Eq9BinnuOJoxRDLuhA3nt4f9ExIGvhOyQ6lYLCm+AmIi52onmMlfk7IEnndIkLB+ESrR4wi0GnirwD5pZyfSZOGZukHmSiAJQukg2lIdiDmEn2m2qNzz1/yy8+wbJbD+PZCJL4998JKRAsGiZ6o1rMIfQ1MY0yixNJFI5vsMGsXgWIT4d6LlnVhWERHdzwh7qsyP+XG8J+R7UGXL0qJYjjyhmKcDCj8gQDGupAGBeiSl8Cz8zP8s4n6PV9u5eUk37pPkuY/Edj38yHQsql9SyEnP9PA4DsF9cRzO05MK+dElkHNZ/3QR5fTPg8CbqKDvsReLQE7kdvfrSoIb3XtVonZlFMAEPCsFSXilajdYLVNpXD8B6rTHjZt5Oo0FG/VJsruUSkSyzzaiu0dQyWQyQ1S5zxiGzvrdeUL66gMn4ze0ONQL0sMhRy+/ERT7KXO/YKydfyNj4rd6PHg4UyPesHPW8Hf1qhPHEG8eXimzjsL+UbOmiyazL+XDtU5waZXd8jLiXukVEqs+//mCDswU3AK33oyVEgAl0C8JQvqFkpmr/MnYYhffbA68HqUR7j9rgzTUMTdpXiYksqcF+SuRrV85Ij+oDDhJnzLkqCgyjC4rqtS1geXmVsIkAzzprzi7L8tgClpGoxsltgKVz1DzrFDTdmx5BP/bEtM5lk34rYFgRQTzYiMAedJElGrxeYHfqW3j9NL3c4cIBy2CE0VOiYZ/qLrXse5iTbOG8ldjaw17pYe40V9FsogxWIgdYy3JZGrSn067oETlsJ7ErI8sgP3cbnv4uNA1irfB9I5pdGJ7uDb+v6EwGal+lBSOzyQElnoq0/VPWFdCWc9Y0MIRBQl9Y4wrhEMnC5YhmtSmqRqZP0q05sU/aaHamBOM/krdUccsn4exLqZbNkJfK8lYgOnsoVcincw= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BL3PR01MB7057.prod.exchangelabs.com;PTR:;CAT:NONE;SFS:(13230040)(376014)(7416014)(366016)(52116014)(1800799024)(38350700014)(921020);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: g9UhenPremTC0rmKcSdoTLKYfNIy2bC4nEoYukFHJATv6207sNYI/ejPz+yEMfXRsC+KzUXk84FgFaxaejVow+A06NcZwKUsMYWw9OXabbJnDIEoK8j+U3bZH6PLwuzsoQzUrYJderB6we0rSdqINjpc3JCSJGf7f8lR+D1B1dnUblYkWp4SwXNDgSWmvrO4tsMDo/rxut5e8Y7qkZX5M4e44+pKpe6CaC85HSp6aTmjsaawPdjmYlJBiH29Lo8/5fsxUUa7DcZ1XOAi2p2HgNH4jrzhtI0zTrddd+LnCHeJpHG9gBIJpxSqwLhC2kJhoj8IHg7K24SiwkrNonxGPH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eU+V/cO/qF+SLf85uBTIwLILuWSVTqjy3YNienFwocH3k2vfaLk4uH0AEOM8EbiQcsHJFTowemFssPZveSkOdxXHaaAkk1WqMAundd4t5LLKeS7D//Oe/3gfDSPBtCcNmt9FZvIPqmfe3xdrcAVHGWMlz+wZNp2ytwmJa51dwvoOxuICai23TdRCrCdjBHnI3zQBAAwOLJ8SkHLqG99ydSMlo3vPkHVcBEbencMVIFfQg= X-OriginatorOrg: os.amperecomputing.com X-MS-Exchange-CrossTenant-Network-Message-Id: d04b03e2-98a0-46c9-d1f4-08dcb20a2a15 X-MS-Exchange-CrossTenant-AuthSource: BL3PR01MB7057.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Aug 2024 09:13:10.9477 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3bc2b170-fd94-476d-b0ce-4229bdc904a7 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: AGO0lTi4CZd3FQ4MjAnRBBmoQPG0Hrrold7KE3FY6rFA0wJyQNgK+B1AMbClkGwkelP8RNmk3k1HB/7jn3+EjCwMV1fhagQj+cWxOTN4nX4E4usB8FrPb9qyZko87i1D X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA1PR01MB6640 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240801_021316_212671_AA3FA78F X-CRM114-Status: UNSURE ( 9.33 ) 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 the I2C alias ports to read temperature sensors via channels of the I2C muxes. Signed-off-by: Chanh Nguyen --- arch/arm/boot/dts/aspeed/aspeed-bmc-ampere-mtmitchell.dts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-ampere-mtmitchell.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-ampere-mtmitchell.dts index 3a97e88278d5..1679911e4fd8 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-ampere-mtmitchell.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-ampere-mtmitchell.dts @@ -15,6 +15,14 @@ aliases { serial7 = &uart8; serial8 = &uart9; + /* + * I2C temperature alias port + */ + i2c20 = &i2c4_bus70_chn0; + i2c21 = &i2c4_bus70_chn1; + i2c22 = &i2c4_bus70_chn2; + i2c23 = &i2c4_bus70_chn3; + /* * i2c bus 30-31 assigned to OCP slot 0-1 */ From patchwork Thu Aug 1 09:12:13 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chanh Nguyen X-Patchwork-Id: 13750032 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 5C7C4C49EA1 for ; Thu, 1 Aug 2024 09:15:08 +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:MIME-Version:Content-Type: Content-Transfer-Encoding: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=K7+3m9yXzv8Xg1HthSbsK5nBsSkPpK3mqLA5BEckVZU=; b=HlbO4Fp2baXCH2n90BjdR7ga21 psdJzwrBk4Wu+ngs6+8VE7+3T+j1XV5w88oyQsV/7sqHo8z7Q7nxJBGVetYAs1tedad/IQYnG5L9N XUQIQtoZL//YU89j96YNDaSQSJYmakXk0zSIlyxEEhY6pkYpi/f7/tZOZwpAnYKQKqNYhX/NSHDDj hUjhnX1a5IJrzoHngrRVKzP7HmJTSranE8dWvOgHqgMlB+5rgYp8MhDbg9tP363uiqg2iwPV0PViB yd7PoYaFr+2AoeGCjnJbgOR/QlRD3o02Bxbtk1zoyvFXHF3sFU8WDKYbqiPV/2oC+vy0OW++jQx3P EaVyZQpg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sZRtf-00000004UzI-1a5U; Thu, 01 Aug 2024 09:14:55 +0000 Received: from mail-centralusazlp170100005.outbound.protection.outlook.com ([2a01:111:f403:c111::5] helo=DM1PR04CU001.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sZRsB-00000004USC-2dvz for linux-arm-kernel@lists.infradead.org; Thu, 01 Aug 2024 09:13:24 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=oBpp7SSm0OYbdBxWUA3wI1wOPg1uucOO2UxmjtbGerXWypb/AvuNZnxmJ4PeCwvtWr2e5Jp+bv7BX3t4SKBvbJUD0uKuSYJouGyxWRDwXOzzhVdTzFpIp9lBrLlNeXWeC2nCu3+XfvQPf1lHU11t0I4dYTt64Vswl+qY4NkVw/JPMzXU24RXY7h6FN59bjZhP6yIbAPFsORbP2gxjjmVVA30hYbCO8k3IBxT+z9mmgOs3LRAiAvqYqwbYYIVqd5ix11ma89AucdtUmyhr7qVkE3O10KDZxFp/O+aQWuMiAzfKF7LHAnvWAS2Mmn/y7AvZpV5z5hq5nrfKoltkb6VXQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=K7+3m9yXzv8Xg1HthSbsK5nBsSkPpK3mqLA5BEckVZU=; b=WJJXFnbY/5lGY84m6/ly6yRzk/Gtvu3ZrpauscfoAZO1oiRUdr8ZhpSWwXeNggLqaBfJsCeMrF6UZVoJkzugixSGXrWR2DGJpGisgEERFM6JPMblW4IaIG/LCs1pPwEoWw5uij3JFNtxH0oYl7Xq9Y46rCqmf5jyeis8q3HUP3kqlAKQxdriFOnKoVNZIEfWlPxeNKOw9IDyoalyM6+68f+bmh1WI9MMSr0+Z0wWZIJIwqq7yno07TADJ0YXhODajUSQONS+jZwSyPmTXTHYeqxIGOg/NknZdLoYpsyk6/f35HewQstnVzGrFoKdl8tNJBoetvduyr20P/DL9xu/zw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=os.amperecomputing.com; dmarc=pass action=none header.from=os.amperecomputing.com; dkim=pass header.d=os.amperecomputing.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=os.amperecomputing.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=K7+3m9yXzv8Xg1HthSbsK5nBsSkPpK3mqLA5BEckVZU=; b=T5EinH7zo48Dy1mpNR24QaJ8Ow+C5gsAWueWYE7vujRTs9U31wbtgK79uMTS73G6tVR8SDbQtc6vlsm8Q9hfq79mZ2QTZMgWKssC1UXLKH+mnYgmerxRdKwJhYMZrZSKzyjQ4o9hT4p0VAyaVkbMFUkKp1oSA2SltqzlQXj+N8g= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=os.amperecomputing.com; Received: from BL3PR01MB7057.prod.exchangelabs.com (2603:10b6:208:35c::16) by SA1PR01MB6640.prod.exchangelabs.com (2603:10b6:806:1a4::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7807.28; Thu, 1 Aug 2024 09:13:19 +0000 Received: from BL3PR01MB7057.prod.exchangelabs.com ([fe80::b69e:5684:ed7c:4d09]) by BL3PR01MB7057.prod.exchangelabs.com ([fe80::b69e:5684:ed7c:4d09%4]) with mapi id 15.20.7828.021; Thu, 1 Aug 2024 09:13:18 +0000 From: Chanh Nguyen 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, OpenBMC Maillist , Open Source Submission Cc: Phong Vo , Thang Nguyen , Quan Nguyen , Chanh Nguyen Subject: [PATCH 3/6] ARM: dts: aspeed: mtmitchell: Add I2C Riser card alias ports Date: Thu, 1 Aug 2024 09:12:13 +0000 Message-ID: <20240801091217.1408809-4-chanh@os.amperecomputing.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240801091217.1408809-1-chanh@os.amperecomputing.com> References: <20240801091217.1408809-1-chanh@os.amperecomputing.com> X-ClientProxiedBy: KL1PR01CA0105.apcprd01.prod.exchangelabs.com (2603:1096:820:3::21) To BL3PR01MB7057.prod.exchangelabs.com (2603:10b6:208:35c::16) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BL3PR01MB7057:EE_|SA1PR01MB6640:EE_ X-MS-Office365-Filtering-Correlation-Id: 16b20f38-2846-41b0-d9ba-08dcb20a2e56 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|376014|7416014|366016|52116014|1800799024|38350700014|921020; X-Microsoft-Antispam-Message-Info: O2AlX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/oHvwo9CNj3BMuTzI5T5GtH/P1eIq5tZzloe83fh0oBuAu0XcUFxu55MfkXzIc2LzmjbR9+UpWfgSmLIB8hJWG81Y3ERcIYSjI8UKaNGyy0aJS5O1hxusUoJ9x4Hm4/OX+lPrRiwI/WDe3GtQxkyT/eGIpS1oykVhoQOSJl1XsRHOFovDNG7vtppwUpHndtxDg7FEz4vkcuBSKPlwNjqmLK3ebdAPWthzJU5EFoETJyjrvn98zkjBWTsRZ4sP5Sp37dy2GaYgpUybs9sLTwuKSe6cKpPnQKTKeNd9o9nj8kYuMEBmv/jDubuKFV5ij/KWCN329mOlFiO2FPaI7XUUvgfNpbMKFkQ90B7t23H4xWKdeovy28rs= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BL3PR01MB7057.prod.exchangelabs.com;PTR:;CAT:NONE;SFS:(13230040)(376014)(7416014)(366016)(52116014)(1800799024)(38350700014)(921020);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: rXehol91NFiOGCmSh/G7skUYw6lAi3XwB+rYYeaLvwNEWZgYqMd9yZj5dwI1KLEHHWJdhbBWqNgyquKbdG4gK/h4nZCb+tC90MF6Pt+ntU5ydurqb+nKQ0yLFHsu90Nb4fusOjc/Mg4kHBle/0mh3364vyEBPGHqwWDMkmB/4HDhOWalhaP0k7BorPBNbW12OY/ZkLBKMqbbTLi3gsnKrioWXKWzjNXrZANpprTdAoIPU0dryfbsungl1JsZbGFVTInWIjGGOkDD0mUMe52UnbB8oPWp1LSH6XjMTuSiQGGlqbqRZEupW9QwkhMOzsz+uoRxbncKcIFuPoewexjj+ocygKvS/6Rqu34oVOCQJeFbGxgEGnCNdCga/SIrv9KO8VWRfv4gdNnee772Rj47acFeUJdLiBNpQ9HCTF1jkjop/f968hRxYQH+WpFF9ChN5OrcVgOyXW6RMcfYMhoNzihCgg/37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+GPGij648u3sQ8QW2Qhs7eRpodGahOX6TDo0++8rWdezaj5RoWAjYl7N+eewnKP0/VvVQ3aH2B9/mihnkLZutI= X-OriginatorOrg: os.amperecomputing.com X-MS-Exchange-CrossTenant-Network-Message-Id: 16b20f38-2846-41b0-d9ba-08dcb20a2e56 X-MS-Exchange-CrossTenant-AuthSource: BL3PR01MB7057.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Aug 2024 09:13:18.0595 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3bc2b170-fd94-476d-b0ce-4229bdc904a7 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 5sE38NM49QCbEuP/RwwSv0grI/ytZXf8FZegtzO9aG5oLJL5tIufbLLJHdmXwGKGwkfd+B49tf1Vm3jEIbcD8qgxpZZbpFPRqHRtS2V2ZzD92rlifQSDBUY2pyOgtj1U X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA1PR01MB6640 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240801_021323_696005_3FDF2E8B X-CRM114-Status: GOOD ( 10.34 ) 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 Define the I2C alias ports for the riser cards. Besides that, it also adds the i2c muxes to switch to the i2c alias ports. Signed-off-by: Chanh Nguyen --- .../aspeed/aspeed-bmc-ampere-mtmitchell.dts | 52 +++++++++++++++++++ 1 file changed, 52 insertions(+) diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-ampere-mtmitchell.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-ampere-mtmitchell.dts index 1679911e4fd8..0703b77e438b 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-ampere-mtmitchell.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-ampere-mtmitchell.dts @@ -29,6 +29,18 @@ aliases { i2c30 = &ocpslot_0; i2c31 = &ocpslot_1; + /* + * i2c bus 32-33 assigned to Riser slot 0-1 + */ + i2c32 = &i2c_riser0; + i2c33 = &i2c_riser1; + + /* + * i2c bus 38-39 assigned to FRU on Riser slot 0-1 + */ + i2c38 = &i2c_riser0_chn_0; + i2c39 = &i2c_riser1_chn_0; + /* * I2C NVMe alias port */ @@ -551,6 +563,46 @@ ocpslot_1_temp: temperature-sensor@1f { reg = <0x1f>; }; }; + + i2c_riser0: i2c@2 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0x2>; + + i2c-mux@72 { + compatible = "nxp,pca9546"; + #address-cells = <1>; + #size-cells = <0>; + reg = <0x72>; + i2c-mux-idle-disconnect; + + i2c_riser0_chn_0: i2c@0 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0x0>; + }; + }; + }; + + i2c_riser1: i2c@3 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0x3>; + + i2c-mux@72 { + compatible = "nxp,pca9546"; + #address-cells = <1>; + #size-cells = <0>; + reg = <0x72>; + i2c-mux-idle-disconnect; + + i2c_riser1_chn_0: i2c@0 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0x0>; + }; + }; + }; }; }; From patchwork Thu Aug 1 09:12:14 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chanh Nguyen X-Patchwork-Id: 13750033 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 F25CAC3DA4A for ; Thu, 1 Aug 2024 09:15:35 +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:MIME-Version:Content-Type: Content-Transfer-Encoding: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=TEAMIZSt7FrVaixxyF9pUvNAKZr4WBobZRYkXKGkH+Q=; b=d4zMtGqlVCVHmkSqbBPNZYBHw6 Eo56+31cbbque4A6GcWYQA5i6nsxMVoiu+hYklqxJPDQIM8DZ3qdyjEtTjavnksOet91wg/YjnI7J GmsjHFznkviD2XPZNNL9S7DIk0J8DTZo43eMWBQlLI0fnXS/ruPWVYJVo3jCvpwshCSgkL+taX6PI Lpsdv0FGF92z0VRCtOU7KXHMtHbH/0XBAPBta9MudJRBCBxt3jfS3d74LOA8f1maUrNT/rMnJpOxj FHWLE/qwgnD9PqGncBc+GpTVCwmKoRoaTicnUlehNlWdrZkfuK3wID5y2GuGn+mnmlXL1+I2sla0i hqyzkIbg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sZRu7-00000004V9o-0XbC; Thu, 01 Aug 2024 09:15:23 +0000 Received: from mail-westcentralusazlp170100000.outbound.protection.outlook.com ([2a01:111:f403:c112::] helo=CY4PR05CU001.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sZRsG-00000004UTk-49K1 for linux-arm-kernel@lists.infradead.org; Thu, 01 Aug 2024 09:13:30 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=KtIFFA9xl1fOPNVTBHApItL3BVFsLiAVURUEr5Tf/ixk6hr5n5pgA/FZsCjGo2FuTya2HNGL2MXHT+jhVlGq7YK9Dla2j/acrni1uplgyTqcjtsz+hZttGdQCfDhCM/u+8I1zdsxk9pH4/bBjISbDbjJEnybp+HqZFZlPYwf7hutrmmxJQEItyv34nNbiAR54TDV5p3I8Op10Mhbzj2mzo595c6mygiKkqdmFxsWBJaCHoL2SR4r72WWUVci8ee9i9GPdfN42dCvR72jk5hTA45iJHJV7kz+m0jtYYLn/RERD04qK4IJ1BLUVF/GIeffwFGMLov7e3J+FkYlMX9rKg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=TEAMIZSt7FrVaixxyF9pUvNAKZr4WBobZRYkXKGkH+Q=; b=HnulbP86xxALkqeEfyN1PjVP4r3ROhs9fSUsWRztNmp7BvlIsSzMHeU2zWD8iLaTPylPUUFdKQuTxMZcpBQz+anBzu3IsZPuFCI9oY0aTpvzPYQrwt4gXNd7mAUu2yS27xIesSbpTrc4v9PjkWKipY4D0TwwluUY5GMAU/DvWPypE5HP5QGaxnPeFD99ni3oYfEvT2dql+wFs8stmvb9PXNenP3LsmLCkwVyM1YeJa230daxM0gj+Mqjoo5Qc/8XOAON49wXkcyCr3P4eBbeC/BqBflkge+8a2IYAUBp3uoWctwxcqzQwzYYozhRRvn18P0f5WI1N7XEW7u1JTHcCw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=os.amperecomputing.com; dmarc=pass action=none header.from=os.amperecomputing.com; dkim=pass header.d=os.amperecomputing.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=os.amperecomputing.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=TEAMIZSt7FrVaixxyF9pUvNAKZr4WBobZRYkXKGkH+Q=; b=PdLgwphbXvPkmrWbp+/LE0x8O5ldPyY3ILODvDZnTaXiVPR1jDaHQxgl4vZVCB1MjWdrBalWe1ZvN+oqE/6UJLZu+guwD0NXxMlcGEoGHiWDngbjqIjq+r67yOHMgjoFNwfuByDULZDBrsD6CnP4ROYQHxzBsgJrTeoY7cGOZMU= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=os.amperecomputing.com; Received: from BL3PR01MB7057.prod.exchangelabs.com (2603:10b6:208:35c::16) by SA1PR01MB6640.prod.exchangelabs.com (2603:10b6:806:1a4::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7807.28; Thu, 1 Aug 2024 09:13:25 +0000 Received: from BL3PR01MB7057.prod.exchangelabs.com ([fe80::b69e:5684:ed7c:4d09]) by BL3PR01MB7057.prod.exchangelabs.com ([fe80::b69e:5684:ed7c:4d09%4]) with mapi id 15.20.7828.021; Thu, 1 Aug 2024 09:13:25 +0000 From: Chanh Nguyen 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, OpenBMC Maillist , Open Source Submission Cc: Phong Vo , Thang Nguyen , Quan Nguyen , Chanh Nguyen Subject: [PATCH 4/6] ARM: dts: aspeed: mtmitchell: Enable i2c10 and i2c15 Date: Thu, 1 Aug 2024 09:12:14 +0000 Message-ID: <20240801091217.1408809-5-chanh@os.amperecomputing.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240801091217.1408809-1-chanh@os.amperecomputing.com> References: <20240801091217.1408809-1-chanh@os.amperecomputing.com> X-ClientProxiedBy: KL1PR01CA0105.apcprd01.prod.exchangelabs.com (2603:1096:820:3::21) To BL3PR01MB7057.prod.exchangelabs.com (2603:10b6:208:35c::16) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BL3PR01MB7057:EE_|SA1PR01MB6640:EE_ X-MS-Office365-Filtering-Correlation-Id: 5b841f42-98ed-45da-cfab-08dcb20a3276 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|376014|7416014|366016|52116014|1800799024|38350700014|921020; X-Microsoft-Antispam-Message-Info: GlEV83d9120gQoARlTTxnWZY8UdQUtXoaQUlUldUOVeMyd3WY06hpOKzk++eUVN1Xb7OVC/qyXOZDTTfp8EhiFGf/imhOE2OF7el8CJV3weZSlvbpgeDq1wJPxdqlss51wCVEIlhGVF4O2Med5vGBDTMlPHfxP+oabVb+m9c7TQ7NeAhgfdz5VCQ0GJjzW8EjLVQIZcQHWaXS2Y6AO63n9sBjYHpE/el2GOYGOZpDD2Xr85iyp43GuXpX8/OepNwJXPBqkvxZLg1Wx49OWYQkGfic00q0EAHbTGkOsJYr1lP4XqJvHUznweXnb9REMOhwwh0z+YF1xINfXNpearnInrEYmR73FasMJYPyRE0UAD/I+0iJ1HGBhpQkBPsmmHEcSCkeEMAcT8ViSe09X4+ig/uNf9NlTC4AHQT+wc4s5ctMPnhMAcdZhZB/waC5g7PS7gpFlmbbBaQxL9yQYFbfJTpRbX58QFUEh+mDqAJT73DxLfNxaEjdGf40Sd9AlYeh1xph8N0VO6d5WFL+rNsn/72JDr42uwK4bq2CLsU4GFu9IQZ2kZoPci0u/mE7UdYNPjyUZl03ZdU2cOfKmpvMtyIS6cqqcxwPmaNW4EjZcBcqJoS3PCzb/9FQ/Rq0h7E6fK2vXmc68x7gxR/kxTVV6jStac2J7kAUtp/pl+M41Hq83VFKx53MW/dXas4UAedW07jT2Mn4xNHktyAHotQTfZyYvQ/ixfx1FNcm0b73VpaeWXNCgp+/VHj9ZXajngK+tR9KTAzZAwzEmvMNecKKBOEEYYTVMCs7yu7RAVRWiuPAEM/hSEsakuN9mMYGKCf00nJ3PfJbEQ7ZN1SDJLfaWYI+f0RFp+rMYlbbfXVO6qBKZBjK+gziet6KSv+Dvp2Oc8Kn9cG6UT8AVdEGenKNTGDtstH4WCpqpW/7eJBibccFYbAQysnKcC2vgePO9D603A3zDE6Rp9Z8thiJv6WiL7KxftvymjFkS2UJ0lcD2uM3DuYlRBQplc3B/aoLk4Y1HLH2FjO49ztb2igAIJ9UWc+X35t6Pd7Oe7QzP4owvV+YW8XtZV4Md1AFoUQ04uq2pcg67CBJVTJvi4fT7txApUBV7Cu3DqLgD2ef93ifZVPCRK18PVZmHPK2+4C/s/HEvhsMwYCAF6kSZdMXkETROkSG/AxVkfoIY7yddPayR86XyLrF3QDgfOwAn6AObsjszlRNFyCYgZChHsXjEQEUbzms85rgTxgGERNDZ8IG6FKTcJVKXJ2vAyzeXHopTacOTMJ+tUSj72/BwLVxgckRGlgja667egFsWr8rtC4GgefDXTdNUnDEJ7+kGt5DeMQE2B01uzNgQ0grHCbyJnMaDLGxs+fmX8NloDOOR7hHnzF+TNhA76MuOfTDBECpsFc5GH8zvUa5od7Bp4LaWx860vxVPRV5RrrH/KfaJGWhWI= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BL3PR01MB7057.prod.exchangelabs.com;PTR:;CAT:NONE;SFS:(13230040)(376014)(7416014)(366016)(52116014)(1800799024)(38350700014)(921020);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: vAOIFQh+VG7O1maeswumn3CzZAwS/1v4T2wfC2I8BbpzUCnj70Mh2oVpqv1zNOY70WLqKKqL0EuE9jcuRoo3kCvkvljtT4hxiwqfL2Ver5K2ZjKgqsLL6WjwB9qFLmtC1NaVLJDirQ5LwOZudjFz87fjse4ym1gQEt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c1XJF/Yy/t3zE+kchqw5xwVjp8EwXvUckCh8Hc2C7kQN4gqR8KYX1EywvHmOZ9N+LeDMiwQWSgAAnGysO/kZX/8KhdwTLZw3OGRS/KDXFumxvdm8xHEkP0+jz+ox7SPNYsMQVPUl8wsYbPdzpEDn1o+uVU110p0SCsYcal9evJP2B2VTziC8xn+XWDqZ2Yl7OtdN+3+3ubFjqhoOn1yIRZ41i8VUH8dFuzclAbtMM1j067Er9fMqZClwgpsFK571N59RzR53X+tLWYntQf7ggSSjy5q+g8uwPnwFfGdJYMZQRzHmkv9CfulO0Yq+v7CVdRoipuaEatRo1v+Q+RCTJMG7ciCQNxLGbtBzdwpAWokpuDNHgHyiZGo+/Fbv4lwe5j5wdraiAm4= X-OriginatorOrg: os.amperecomputing.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5b841f42-98ed-45da-cfab-08dcb20a3276 X-MS-Exchange-CrossTenant-AuthSource: BL3PR01MB7057.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Aug 2024 09:13:25.0272 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3bc2b170-fd94-476d-b0ce-4229bdc904a7 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 4OlSda4sbVjkQZxzUgSaE6RwcHJpalvusJovJFWD8Frs9/SM7k8rIiOZnJhdEHdVtI4pIARlKoai6LWcDuujHWWf3zK2XnYJwXChsFs5NaVeKgLziTMH9Hib1FzvL8EL X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA1PR01MB6640 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240801_021329_052396_EBCF8F70 X-CRM114-Status: UNSURE ( 9.32 ) 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 Enable the BMC I2C10. Enable the BMC I2C15 and add the GPIO Expander as a child node. Signed-off-by: Chanh Nguyen --- .../aspeed/aspeed-bmc-ampere-mtmitchell.dts | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-ampere-mtmitchell.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-ampere-mtmitchell.dts index 0703b77e438b..119e82637023 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-ampere-mtmitchell.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-ampere-mtmitchell.dts @@ -878,6 +878,10 @@ nvme_m2_1: i2c@1 { }; }; +&i2c10 { + status = "okay"; +}; + &i2c11 { status = "okay"; ssif-bmc@10 { @@ -900,6 +904,25 @@ bmc_ast2600_cpu: temperature-sensor@35 { }; }; +&i2c15 { + status = "okay"; + gpio_expander1: gpio-expander@22 { + compatible = "nxp,pca9535"; + reg = <0x22>; + gpio-controller; + #gpio-cells = <2>; + gpio-line-names = + "fan-fault","psu-fault", + "","", + "","", + "","", + "","", + "","", + "","", + "",""; + }; +}; + &adc0 { status = "okay"; From patchwork Thu Aug 1 09:12:15 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chanh Nguyen X-Patchwork-Id: 13750034 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 9E920C3DA4A for ; Thu, 1 Aug 2024 09:16:06 +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:MIME-Version:Content-Type: Content-Transfer-Encoding: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=IyCcqeey3/GYM3KxVJiuA8Bate08JQiFrzuKF4pa0uM=; b=QUopaL9VddMVdIcNPVT08CKKM6 A6ZEuV2thYOcYDZD3ag72/dDvA7zW2i5ayXJnP/oIRFA/QEwCyM+v/uHnwp39mdsDRQWy7S1HuLwK vQosAW4QvYL8jJWRzq3Q+IIIU+bC767/pxhB+KEhAjxCMV/3o5ptwUFw/RxbUb9jQ59AVx8J6ZXFC 55MsY9ebop8Ove81LzvuHcetUwfjPCa5MwZnU9dqvx07OsCxJHZ3ZPsN+dChW8GingoOC4HQp0WzZ dtkVT0yRygiMUl2Z3uLg19/vRspshQKZBvVIncBWKk5v2bsDOnLx8Twt/7O1pDLwJFcF28sXrE4SF J2pqxH1A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sZRub-00000004VM5-0eIa; Thu, 01 Aug 2024 09:15:53 +0000 Received: from mail-centralusazlp170100005.outbound.protection.outlook.com ([2a01:111:f403:c111::5] helo=DM1PR04CU001.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sZRsM-00000004UVD-04KO for linux-arm-kernel@lists.infradead.org; Thu, 01 Aug 2024 09:13:35 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=YhwfLs7xCARdDt4N8utHcQnME3USA06kdz0u7zv7Yjat1SoH4ruv7Kxa04nY7DyUUYDM00e20XrqhvLBCJaOK6AO16WVeA6Cwe2rpeA82r4BlaNNta0V3m87Cxq5KPj9qiL8v1vJV208zZDbLLsaJ7jkUqKIk8wtDAu7USzgJYisV48/YkjpgUj/u3XjMjH5kABId4YSYfqrlq3tNJdQlh1Bxm7aa6QpOSTuBNplrkEjLFfEPohjwCrhalZkkUISBPpEP33UDvEWgbzZg5xzyyGaNclle4B6UNzRp6NMm6MKbI2kbd6aqdx8FPLzb+9m9Qa8b9QF47UqtDn5V1MvKg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=IyCcqeey3/GYM3KxVJiuA8Bate08JQiFrzuKF4pa0uM=; b=LTh6kbSApsjhK+UmBMD2/QZW88n1WtgTEnrmB2Xao+jFBoiVxW1PbquEk1TcziAvkWjSnI4mn9geLlcyp3tEgXwxUJPQKJDwpv2Ub9IS5dWguFZdhQOBwlvta9GJZK3Hbi6PjgW4muCBDa1Cg9xOSmhg9WBSVWwx76zd6TM8Tl3PUlzZd6icjGcxNGtBV/pMtfWOdslkTKwnj14K18SzT+iBjB1EOUMDCj1UxzpeMArPbeA7C/KAtg3NJdfIPV1LcfAMRJwuvQUeIhdcZ2O/tYU462PHAcwmaCnOdsoIVtfZtCNFK6G93s3BdpM1itiuDX6kiOU3j2A4zIH48ov5Ow== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=os.amperecomputing.com; dmarc=pass action=none header.from=os.amperecomputing.com; dkim=pass header.d=os.amperecomputing.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=os.amperecomputing.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=IyCcqeey3/GYM3KxVJiuA8Bate08JQiFrzuKF4pa0uM=; b=SMdOCZxLgUH7VxV28g9AZNCDo86jaXT8KyQjvcd7/MUaJ/TegLQqPM26vwBnb53jgvUGv/4xRuD16RM43Ubus5UJt2LUkOURB/cqkvZt7mUmJQH9qdV/so/KWu4MAuGlZKucWfLu0TlEdkMEYFWJ5vl1/zBgs4KtVBF2xd76uZY= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=os.amperecomputing.com; Received: from BL3PR01MB7057.prod.exchangelabs.com (2603:10b6:208:35c::16) by SA1PR01MB6640.prod.exchangelabs.com (2603:10b6:806:1a4::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7807.28; Thu, 1 Aug 2024 09:13:31 +0000 Received: from BL3PR01MB7057.prod.exchangelabs.com ([fe80::b69e:5684:ed7c:4d09]) by BL3PR01MB7057.prod.exchangelabs.com ([fe80::b69e:5684:ed7c:4d09%4]) with mapi id 15.20.7828.021; Thu, 1 Aug 2024 09:13:31 +0000 From: Chanh Nguyen 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, OpenBMC Maillist , Open Source Submission Cc: Phong Vo , Thang Nguyen , Quan Nguyen , Chanh Nguyen Subject: [PATCH 5/6] ARM: dts: aspeed: mtmitchell: Add LEDs Date: Thu, 1 Aug 2024 09:12:15 +0000 Message-ID: <20240801091217.1408809-6-chanh@os.amperecomputing.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240801091217.1408809-1-chanh@os.amperecomputing.com> References: <20240801091217.1408809-1-chanh@os.amperecomputing.com> X-ClientProxiedBy: KL1PR01CA0105.apcprd01.prod.exchangelabs.com (2603:1096:820:3::21) To BL3PR01MB7057.prod.exchangelabs.com (2603:10b6:208:35c::16) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BL3PR01MB7057:EE_|SA1PR01MB6640:EE_ X-MS-Office365-Filtering-Correlation-Id: 2f23cfe0-c978-4632-6e04-08dcb20a368b X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|376014|7416014|366016|52116014|1800799024|38350700014|921020; X-Microsoft-Antispam-Message-Info: 03PI/hzl/fPLXYNsF72Z14ASL3GNtOo6ynI4Vg+1SRATtZgsAL30Ejp8A8TSMIL5ROPtg8e72K5jAlzu+H5arWzEEGcw2Brg1CQEOymvY6KUEN4fWPFP+5Os/cGOuN+wADEsMOAgwQtgV0syZv+9wsrAZsEGgvah4PGKLf4DuSUUrtmFUM57yDF6jaYBh1rc9/1m5HnvrD9P8k9FYuMs6NpOF/9NM8PMwIWHei3Vt9TzwF+W9M7+Kk7PkFDT9unyJZiqypTucsYb7uJoajV4jYtS026oHQ/1ds4qonenRVcPu+VaWio4/NFM18WYaeBh020G3PRC/Folo/VkA1GpB4gMvCS/qqaortcwUmU3ne3ryHxf02LGeVWHR4urPP5wZUXapKlgnsyDASbl3zzDfD7Cshpkmj+z1xE5y3Z4zZnQKSObQioTjr7Ij0c8BlG+mhLq3qjHlQx7+oIpl3MdqkhK+946xiOBPci7z342vDW/VvKWFR8sWQfdf12VWYLYRPZkD+v5EWzpOCkNiw+W/bZYg9833BnCmdQQw6ixv70pWZm6krh6bgvmuR7DSoMKbs3pNR57gU0IYhPXe4vD8DxHbmFJEHoz36eI3DlB6FaqTmvky5zdpShAqxeVSM487Y2thilN80XbHInFqO6H3vTOL7z6+voviVZMyznBguHQjttTan9lKhbgqurCgcB7sWhYM4Kcxb5GadA8PlVHmiUJEeqbWEJbP5SkqAm1NyWMlBFCq+kQg66txn8nUGRa8kAXK3bfnR6gkNFzenIl3RjJ2TZph4Se0beLy76NZVDFWphjgn4InNj+EXy4frDx1580+/r8Wm67E3AZ89iiNQcTJ/T1L06VdvsixPd03GunD/PTpGzjCrgj53CM3GzzZUv9JuS6YX+KXgl3oHS5emlXc056u+lGIKnLzmygDvuXaILuwZk1lBYpK3SrgLuYtq0wZWxACnELiXSXcK9d7QzVqqAamq8g+XFf8BzFZ3BHYUw+ZQbpbzXMJOhD7VRbmaMsP7W20zBBxtz0WFOY/jbfbNxIHuU3zBcCPHK8IFAvYP+exL71AkXR41H5lNlowJdvVzgP5rttB9friZc1DctHp13MkTmFRgdmRCqoVtRcm5v4ETJXKmm9mUY+JO752c0CSvhuryXhmgJMnF7/0+FBSnAaODiPAOLH1It0g5ApfQf/+YxwcHjicpyu86stshIAeH+p33zv8UOMZXYmuUJAN4wBsbrksbmsMjksSrzIQDjYlZB98xBmCU2aoOP4H0+D+O3C0roFhILPf8ywYes99/tT1qL1bmv9NZSNfJWGJHjG1/YZh1Ew4fyAjz6LhpRu6A5cI0zdKQZ288qjVM/49zGceoNTWaLlaSRD8SWjRoQd48lLRz2VZS7ZsKIs6WKhysWS2avPsuFqBmIV9JDHQUzjMRyCClJgheVLlTQ= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BL3PR01MB7057.prod.exchangelabs.com;PTR:;CAT:NONE;SFS:(13230040)(376014)(7416014)(366016)(52116014)(1800799024)(38350700014)(921020);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 0put3qPj70wD5wIUZIoi9e1RDXYDaJStpZz9F3Xe1y2Soi2ET+gmCdLkFMLwOvlQpG2J77JHvzYXGbhSbaA4eHbjN6/2F6HuKtEE3ZssVrRajIsrV9giUrYhdCGRZG4yGSNO+z5VYeMttQqP6Tvha9yjQvtlxA50TYtd42e2Kd8R/2o1aHTztC4nsrs93IBkyr1iT2zw07qkCj9E64ER/AwjOtQuA4xXYkdnCp7l0I18opBtHoMg8k/KDaiZ+2Ee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G8ZJHAnM8ugz4TivkeUVKajLuFeCI9YlJ6AICeAkAO8jXlGQq8JykpTIiiES+2jyuKwtL5FYXCdZLu8Okrgvr2i4qArw/TY0uv8NLrrZsMDVuhFIDrku09jYeiPjMVF8V16zSc/4wIIlls1m9btObJnB/wIMTillFwEyaVW7bePxAk3B0et00uS2nhaIzfx4lJN4Sm2CMjbHnh/i9HuS4IdW5lEM0dZ5au/2vvuAzNQ9zYGCOruowFT5K+kW85PTKLm+G0vVJ8PaC9e2yQyhR/UVGJIaRTtfezbjH5k3ee1lce/GH/m9ChgPQ= X-OriginatorOrg: os.amperecomputing.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2f23cfe0-c978-4632-6e04-08dcb20a368b X-MS-Exchange-CrossTenant-AuthSource: BL3PR01MB7057.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Aug 2024 09:13:31.5755 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3bc2b170-fd94-476d-b0ce-4229bdc904a7 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: Oy7u7OdYptnFboKL8/RzVfsbLmz1wMys2xHs48Vbsc5u5yQwE+4DSHwNQwFKTQaBxsxYWlPVFkZeLjk0+3bBw9Txp25p1kc31V9Av4VanjG0LtN0FcYdGsg1LkUOge4y X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA1PR01MB6640 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240801_021334_102262_2EFBE607 X-CRM114-Status: GOOD ( 10.65 ) 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 LED nodes as the gpio-leds devices. They are led-bmc-ready, led-sw-heartbeat, led-identify, led-fault, led-fan-fault, led-psu-fault Signed-off-by: Chanh Nguyen --- .../aspeed/aspeed-bmc-ampere-mtmitchell.dts | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-ampere-mtmitchell.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-ampere-mtmitchell.dts index 119e82637023..093b746c010f 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-ampere-mtmitchell.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-ampere-mtmitchell.dts @@ -113,6 +113,37 @@ vga_memory: region@bf000000 { }; }; + leds { + compatible = "gpio-leds"; + /* + * Use gpio-leds to configure GPIOW5 (bmc-ready) pin to be reseted when + * watchdog timeout. + */ + led-bmc-ready { + gpios = <&gpio0 ASPEED_GPIO(W, 5) (GPIO_ACTIVE_HIGH | GPIO_TRANSITORY)>; + }; + + led-sw-heartbeat { + gpios = <&gpio0 ASPEED_GPIO(N, 3) GPIO_ACTIVE_HIGH>; + }; + + led-identify { + gpios = <&gpio0 ASPEED_GPIO(S, 3) GPIO_ACTIVE_HIGH>; + }; + + led-fault { + gpios = <&gpio0 ASPEED_GPIO(P, 4) GPIO_ACTIVE_HIGH>; + }; + + led-fan-fault { + gpios = <&gpio_expander1 0 GPIO_ACTIVE_HIGH>; + }; + + led-psu-fault { + gpios = <&gpio_expander1 1 GPIO_ACTIVE_HIGH>; + }; + }; + voltage_mon_reg: voltage-mon-regulator { compatible = "regulator-fixed"; regulator-name = "ltc2497_reg"; From patchwork Thu Aug 1 09:12:16 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chanh Nguyen X-Patchwork-Id: 13750035 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 4E8BAC3DA4A for ; Thu, 1 Aug 2024 09:16:32 +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:MIME-Version:Content-Type: Content-Transfer-Encoding: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=0c/fcbXuJ95WK8ViA4Q5b5IphYpU8bZcqUT3kXw8pt4=; b=yKEnRNi4/sVr6S+WMeHFJtNgb0 UTD5a/NydH+lwTgfi+OBbelDBggbw8gTsPbkLfcD9zSduMlDwvJjkl/hQDkxa3qqGWgERGCJJw1p5 QOYNSITw8hYjOwT8XBBuylrA6vBPfLdr70LQ7YumMroSG0nuXAqfgRtBBmM+YzUfHdpxS+Rkp9PZ8 80toxbtR2iesKMYtMNj0PgjV9uTURNgJjU777cd15lO+uCLQ02PJzWdVawfzoivk1JXFGnM3VmaLk F9PXkuuAaNnLG3A9/mAWV8dxFR5dqT2NJd1j0h7WxTJ60DDSfCqaN+wVvlUWTeTn0qbJvAyIwkUmZ cW7Keduw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sZRv3-00000004VWQ-1BPi; Thu, 01 Aug 2024 09:16:21 +0000 Received: from mail-eastus2azlp170100000.outbound.protection.outlook.com ([2a01:111:f403:c110::] helo=BN1PR04CU002.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sZRsW-00000004UYe-2nbr for linux-arm-kernel@lists.infradead.org; Thu, 01 Aug 2024 09:13:45 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=wTMUF0jR4OpsQkYYgGytLsWxArCJHeRB765EhXB80Ss+tLezKyTuxdT/+e6+Ja20hHgydfbJx7kyvW2kcaO2baSHOaD5SqfjDT1AZIGA1ZhwHiwQfbM8rF2YsRey7Fhs9wFiMZIQ3JccbutmudgFzZdYSzrzOWrHxEfUlpPVPxWVVWiQUNBzg/ipSVuuljrgnt7bGgFcLGFKwgH6Tm86zdYw0VKvMBHQxb9D1Rw739ipgD0rFQeiUukxLxY9awaM4kPbhQofksLFIa+fweOsExRAKJXyvFXcFnvDU/unttpWHUN089OzWfQscNJPkQTQwROPLgFum6kdX9VOtCbNow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=0c/fcbXuJ95WK8ViA4Q5b5IphYpU8bZcqUT3kXw8pt4=; b=IYUdrM/G9P4uFAh+L9MoM/dvYOgyM/MltdOpwT+yWIW8rk6U6jJtUJXgVhV9LxOr1hNmekYrKaGSBxA1iv6qO4dCyxtOj/S1xpJWZlnKHdJoK5ThIm3605WsWzPpF1A0PMz0O46r08Oz27QOxovLH6b5AW+w1cfLjhjlx8RfUAxbFC2atAP0j1miyTpH37tX6Uh3PID0ZZT+MY1j0LN+uiP0IOMIkB7AD3k+yKZl21Lnspeg3ulUodZSLathkiZzvJ31rUZREirDRXnCHG5KNyzlGoTB+5nJTX3+Tfwvl2btssH5TruG9Ji6HskZpRvo6BfqWQBR3nUWo5rvQyQJ6w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=os.amperecomputing.com; dmarc=pass action=none header.from=os.amperecomputing.com; dkim=pass header.d=os.amperecomputing.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=os.amperecomputing.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=0c/fcbXuJ95WK8ViA4Q5b5IphYpU8bZcqUT3kXw8pt4=; b=rX8oEnHS+AVKey3jK0ywxs2DHhXwEIO78p7wXo34gZ2/t0PSfll201afaaddyc3F1Is1/fbgPR1tqD8eXq1xaEtQB/EBZpQiChwB3O2fg/ilBCqVof3aQc6FAcCIxYfrm11npqcb5kt+iOcQ+56adKkl+8dkWYsq54MJXMFNEkM= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=os.amperecomputing.com; Received: from BL3PR01MB7057.prod.exchangelabs.com (2603:10b6:208:35c::16) by SA1PR01MB6640.prod.exchangelabs.com (2603:10b6:806:1a4::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7807.28; Thu, 1 Aug 2024 09:13:39 +0000 Received: from BL3PR01MB7057.prod.exchangelabs.com ([fe80::b69e:5684:ed7c:4d09]) by BL3PR01MB7057.prod.exchangelabs.com ([fe80::b69e:5684:ed7c:4d09%4]) with mapi id 15.20.7828.021; Thu, 1 Aug 2024 09:13:39 +0000 From: Chanh Nguyen 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, OpenBMC Maillist , Open Source Submission Cc: Phong Vo , Thang Nguyen , Quan Nguyen , Chanh Nguyen Subject: [PATCH 6/6] ARM: dts: aspeed: mtmitchell: Add I2C FAN controllers Date: Thu, 1 Aug 2024 09:12:16 +0000 Message-ID: <20240801091217.1408809-7-chanh@os.amperecomputing.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240801091217.1408809-1-chanh@os.amperecomputing.com> References: <20240801091217.1408809-1-chanh@os.amperecomputing.com> X-ClientProxiedBy: KL1PR01CA0105.apcprd01.prod.exchangelabs.com (2603:1096:820:3::21) To BL3PR01MB7057.prod.exchangelabs.com (2603:10b6:208:35c::16) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BL3PR01MB7057:EE_|SA1PR01MB6640:EE_ X-MS-Office365-Filtering-Correlation-Id: dbe69685-7027-4e73-86a1-08dcb20a3b13 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|376014|7416014|366016|52116014|1800799024|38350700014|921020; X-Microsoft-Antispam-Message-Info: LWtS36GROvIKxGtMYQOvrRAdrgkVcxDi/2tWAT4RhFgLtnD5tRQSloF25m1MhahYzJYu/GQ8WXwh6Nt/jYh6kMqDGXdE7Bey28EgYKUKPVxL1f1C1wLOcWqVTaz4DP19y+GfOSdDXl+a9++3T/GfMuqFhTdNTpvO99IwA0Cf07ZekJbZI69FB/rvyBD1G3mwdmtE8E3MvVgSndLgmjGY2MFVh1Dx9hn18Al+aNl28T2hAdbj2XgWk5/Yxh4/IWgpXd3mgaWMUCEfa45lpJUD9OMQZMYWplv78dSL/QkZGOEg13tdvDlTL2xt80s4CYzxsLcsapwWfUyVwW3T1UZjIr8BCtqZNqU992oskrGg3rp/2J2gtJQccJy4I9w5Sl0cGbKrMVtDvBaMtYw/Gsd262sdgO11lyCMBy82Yfiu9VEvNqijIBUWzDY208thzAMt/AKDUaA/jSOYjx0w4CE2rGxeDbfbSDQ88rXa7eHmindGaG/jijWEhcELVz5EqtiOPx4NPIDm7XhhlKmCaaWAuhe6MNGDAH+mlH2s5WRh2YXEvCrAdHIGTuAyG2FNHfyp5IR8aEKjFGiAZoxfa/kVu1X/sJKD8O4li0AMz8JRmmeJZd0p7Bz3yIPIN6TN+7BVyHOWrDhTyrPm4OiEBO+xlN5FSZ6Aw3iqBaPQptFkpfhIFLIR6+q/9VY8UjILRsER+hKFvl+d8cckUMq+MWQjPvU9d6TpoTTezy/9KIQXsz6fZEaLbeEI916zMVdHOJu9lyyoksb/yiQuLlkbZzvwjamP+lclVHi9Qyi0ZMq/XT+O1eAEjuho4brE/J7tPeruHMunH4ba0qZiN68WcTfpcgMEojeRXrE8z659TcLG41IZEtAeQRRCnxtiTE9DKJPeiPxyIh2j9mjttzfexYeO5IdhYTeMy64pRkRYwtpGhCw9o+LfbxAA2UMbgo0JrO1H/p4uwRUvhl+hEPJSWKvVBFRkH6Kx2GKwAP0eeNuPGEMbWQdoyW4eNelOvU9IDzvn3Y6Jx93/xNu4TXLSAkwRgkWjd+C+aQqqrkOgutSoiOfofS2j/jvYl97U6Dk+MuCvW+2zzINJNQo9db8kc7LT7Q9ZMFyh1q5+qTi+CDqTBGR1c2kpk23yY6fYybi4vWR70av92UHbyvt2KrofqIwXE4ilvEFOSz12pVKWsRJr90A9AtraK0/1TORzKkdrt0UPXXI8i4GS97fzXrZ3s8WuVVZuedEk9kmPqWLCG2zbGDlp6/vbozIqy70rDSydcZSOdmv/cPVA7a6rkAEXSIkBBZBcYQ28QRWMS0aDsyxiG/HooDU4eUGWqfuqUititapvSvdspXqZmbWcmtCaEylFPbWGxL34PFaeNrfohusSE+/LX77QKq+Xc70RWfcxEWZx+iFqxwl8pI5CpON5WXnC1wXRszctb4etJJKMbH50uCs= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BL3PR01MB7057.prod.exchangelabs.com;PTR:;CAT:NONE;SFS:(13230040)(376014)(7416014)(366016)(52116014)(1800799024)(38350700014)(921020);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: zH2XYcExDtAnrdRqwmbj0So7jzomvCw6dRvZL6inmEG5GHedRrlx+LWmMajL2wt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N2KpQnVslfmJBM81AqEBlIwuaeA74tJfLJbtEHqGVTK35+KYKqltoOnEjDFXFqNt02unx8rpkEyx/jct9oy3Bxl3UVyphmW0dOFb3skA482LQ9ABFMiwEedoySq4TK3OvUpbwnnJrkP4wMj53IgU+CYafAqCRoPCqc4d7d7mCHt4DI6+XspiFPb3bHcbCI2HMP8ovsP7P60J9P6NK1YTqk5PsUxSWmdGe0MoHbDE1jecSCCgILbjziLIT+GKysDeHgWanVkBVCjc/P7YRTHojBJw+tDRQj/GT68Qf5m0Gu4luonIdxOt++2SocI8a+1YNjPegN0SAG+DzTw05rP7x+atsGLNZHRWyRTSMnY/aA+w9Nt3j9SntPY8qng48xUrrXHoXyYlNgH/I8oyqJzSoCWs8jRpbze1MhDd2tfV9D4NcpKSMPqoggmeJCus4ffNNPTcitpIELu39r6GAIH7FF2tH57H3UxWpFmtuGvC4+f/38Q9bIJoQY= X-OriginatorOrg: os.amperecomputing.com X-MS-Exchange-CrossTenant-Network-Message-Id: dbe69685-7027-4e73-86a1-08dcb20a3b13 X-MS-Exchange-CrossTenant-AuthSource: BL3PR01MB7057.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Aug 2024 09:13:39.4751 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3bc2b170-fd94-476d-b0ce-4229bdc904a7 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: hgL2TlKdaph/nBWgNPa9QEMcL2v7HK1NENukbeFSlNr7x2h2n/sDuQLADJaAoM5dbu+7BsDUtxoXALvT0z7FPUmRgZZp4NNJAvQdLjcDoT83wIyaFMKdToDJ3lgZhHFt X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA1PR01MB6640 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240801_021344_734047_A0F0B66B X-CRM114-Status: UNSURE ( 9.34 ) 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 the MAX31790 nodes as fan I2C controllers. Signed-off-by: Chanh Nguyen --- .../boot/dts/aspeed/aspeed-bmc-ampere-mtmitchell.dts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-ampere-mtmitchell.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-ampere-mtmitchell.dts index 093b746c010f..b3e7a306901b 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-ampere-mtmitchell.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-ampere-mtmitchell.dts @@ -672,6 +672,16 @@ bmc-ocp0-en-hog { line-name = "bmc-ocp0-en-n"; }; }; + + fan-controller0@20 { + compatible = "maxim,max31790"; + reg = <0x20>; + }; + + fan-controller1@2f { + compatible = "maxim,max31790"; + reg = <0x2f>; + }; }; &i2c9 {