From patchwork Tue Aug 6 07:18:05 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chanh Nguyen X-Patchwork-Id: 13754496 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 4B585C3DA64 for ; Tue, 6 Aug 2024 07:21:40 +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=ACeujd4hVsAXohzRwGgsWDFhkxGWEIWPCVCXbd8fTso=; b=k7O0NksKY8/II59D/AKWwj+x0F /RSM1hnufut7F2pf1URq2Lj73m45JJPSPXVoXW2mahT4KyQFQIClhiwTpPpATJ4rXNRn4/UNk6JRq uz+kLJl41LW6/+xHu/zVQd2mYuAduty62wx35W+q+EVHudcUEj0OErksA0yfaN9l/T5TJ67njPaxA POUtZlxx4T7NW2f9OU9KeNeGVV7VfJFtKMmWBFRKCkRv6ZHuYv15yHQjL9Fk+e1klcfHzgrTfIV5o aVqWwmR6HEOqFfpftXP7epU1tPg4yAR8bjLpwSg+hGtLjeKwE9A0RDESZxy9LZFRi19sg90Afcdfi v2D5kr+g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sbEVc-00000000lvA-3dlZ; Tue, 06 Aug 2024 07:21:28 +0000 Received: from mail-westusazlp170100001.outbound.protection.outlook.com ([2a01:111:f403:c000::1] helo=BYAPR05CU005.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sbETN-00000000l96-29J3 for linux-arm-kernel@lists.infradead.org; Tue, 06 Aug 2024 07:19:11 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=nA9dDy3TXEiNrmhON9JBw0P+FJj9IQjBCLUNJ08MT0MHI4oRJ1s5bDKnSNkgUac11dxgIO4XV613KiXs0Q128YteuJAlWO/htpk7inysGx+drvYqCAHQ+lY06a/0yWmW1fttAbe6KQ76K11wGUe8jkA+vXXTsjVREtJi6zMj4FF76iTf7EWuJ4cYE81DnGxUYyA69MmrpM0VJyaCUIDBkxbaYE+I3UqZB77Srsm9RuxOdR0WAcZBo2tiZcec6T3Y51eIdSwNd1kcbsUWM0EM2M+jVMgNOGwJIIg37YoWwdJNIMAL+8lLfo7wf0wPdxVlwE0USwzBjGWEuXidSBGyeA== 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=ACeujd4hVsAXohzRwGgsWDFhkxGWEIWPCVCXbd8fTso=; b=LORi2iE9Jm7DtqIAPl0gfhp3ouKXIkmvNf5esEaAAjRlpP24FrrC+d7aBcAsArIXiD7uN0u6tLDGvM/MgbWkFGC7N0Ong51HBjAh0VJEYksJwBzdmBuDsQbGOHhKRtnrOTo3rTM4c95lwEofyExUtqYM9SwqdSIiiQIlAJlzqSVpSuoIa/UydtUV8AVcgjYfoEPOTLHH8gDlkmtW+iFbIV6fpzXtFHPxAJ6Phj0PcIjUXhZqYBYd4LkGxOdM3mWaPmdGiV3ORd9MOlFGLNjHv/TWwxeU6xV3chMJzfKamVVYK5+fwUjlDAR3PP8GFYPc0RZe1I0v8feqED2Efzc+6g== 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=ACeujd4hVsAXohzRwGgsWDFhkxGWEIWPCVCXbd8fTso=; b=COpMedOcU2zN4LJypnm8rtFEIC5YJTh0ZdALrh4kzCpB83aD8M8M/vEXcrYkYxPQShp+CEoKNyffQcIfuG/9MZyQJPdgAE3kV9XRycf1hszGR1eBIKAj3FBWjOh//uTayRstJUtQaOozpAbYq2t3aZulpZG03cTcfQrt7aYa0Nw= 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 BL1PR01MB7770.prod.exchangelabs.com (2603:10b6:208:399::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7828.25; Tue, 6 Aug 2024 07:19:07 +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.023; Tue, 6 Aug 2024 07:19:07 +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 v2 4/5] ARM: dts: aspeed: mtmitchell: Enable i2c10 and i2c15 Date: Tue, 6 Aug 2024 07:18:05 +0000 Message-ID: <20240806071806.1666550-5-chanh@os.amperecomputing.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240806071806.1666550-1-chanh@os.amperecomputing.com> References: <20240806071806.1666550-1-chanh@os.amperecomputing.com> X-ClientProxiedBy: SG2P153CA0026.APCP153.PROD.OUTLOOK.COM (2603:1096:4:c7::13) To BL3PR01MB7057.prod.exchangelabs.com (2603:10b6:208:35c::16) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BL3PR01MB7057:EE_|BL1PR01MB7770:EE_ X-MS-Office365-Filtering-Correlation-Id: 98c14a19-69dc-4642-5bfc-08dcb5e80f1a X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|366016|1800799024|7416014|376014|52116014|921020|38350700014; X-Microsoft-Antispam-Message-Info: 0SLAvVDvGqUVFUBDbpLBecHIh/5IMc/RxsuXZfOO5OfM2f24sm9c8mQZi0vx3BHnT5r4ag5sqk8hmDzezG4gMVnJSWemkjtK+NS2TDoCBQUy0ZAY6nfv09nuQ5Wloyh1nyszai0VtOxvzyZHULYYJmgh9Ccw0oVCKQwbtFvSqhbc/Iz7IWmeMbSBMDWWSkt0ULQSjK07WLjS4I60isv/9jOBurYCSBWrtfWLMP4uGd7jfnobQdQYtMT4+RBvpE7q3/HZQ6xToOYuAh5Cs1e4cfXtVSp/ID/VquISDfbC5UtNKr0ueNUA2bJ55PegDKNbjIq4DJB2ICwmiwgWbyOv67MVnYqXaJh4JrCUzmQiqnPq/d/+RK9I8tIi5UQkGW0XG3vyS7o8MDJmvF2zc5cYUWS6ejwMLMCvYnJoqbczc3o+1Wg9taez3Xj+Q5+QZshMqBjGpx8ypUaIV5Aj076YYYwddm3nKSF+XQZcdVRIv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13230040)(366016)(1800799024)(7416014)(376014)(52116014)(921020)(38350700014);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: Lfy/nQlrQHVnmoppfjNNfr+s0drZ1yU661NB3t9FnYy0dC/jJE74BVtB0kho/dwa2Msm4WvtL724aEka51cQY8x0S9oxaA7NKuUuaAbu5FaCy+zCIGupvpf4sVm5xGWn8b22I7dvVHZDm0kW9vGiMfzSPK6Q7VySfCQjj6OEvBT6VKioBdA7ZQA9SR/nOpymm/j/gRln4PFAnYhoq0eTVZpHZAT40Vust4EeWGxexzvVhrxZN0ooLsa+0rMlitiRVcVDLxhHvT6OOOj/SPCp6QMDDclElclcitQ+lYLy/6NFDWLkm3R8n3x22X3tAqlVwzY+nmM4oVWGO9/GJNa3SL8/YQEPbYRzTHJol2EtjEU1VV+vt8BaGAe0BK7Ox2JNVGfgpVjS2VVicdkbvoR/4LNOhhaeM2st8yIgF7rN1IrzU1Z4zkdKWAgP4WihlYDhmQtL/eNpH5TYmKTn1HTCML7aVbLlbE13IpQquMDJtMxvWHr04hPgakpp2mdr/PVCp4bErKultxYDA5V3M0pyJIkoFNZbJsRRh8734ORFDc3FwBmjyXmo4fzbxC3eGnLM9nus5CJcU/Duucr2WEhABYf/3YI2x4lheRjQbWMwdxOisaJUXetF1blgiGwp5lM/KaR70xvgpXuzYG51xvbxKu1lBHk3HeprfOQ/z3xvccZVJxYyjpCSYw7QNBZzkCs94xo1vYe/SZjf5THOzZJ1iGFaYZSOJeJrHgLzxLQLNF2M/J9FJcea/kdAtfghX6oJPcsW9NHJpi2NmgBaq3S5Lr/Hdal+3K2VcsUHo1K13hqjbGLa4DOgOV27DQwBv8miMzBYKHtI58SJzb2fRkqDBNAxxWWQnzEkBPc6je4mqiXvtSEFOlp8vghYfQe3USc8aO1jBbdZn8ZS8kW5V66/If29b9YZzr+x4tN+piNWWyd+gYx92YX+D8fPhbSCB8sOhOIbmaoaSPPk/db/YAKP2U8MOyCQ/q/2Zky/mNEpwQFNz62ay3AkJuMHtguOmICyf4sBAo86/CiP10AhJtdT2C75CEL8SW4RISLw7MW99cOt+L9yZ60dEGIrmow1ODKA6UnY53qPbjMV218/TprWX7+4mmfX0P2VCQQI/U834NWtU/jAF1rHyDhb6icEycLKVJ2eSQXeVhrHqcxIiyRlMxayhOra0cz2K3URag2ry/wPV44wFBS5NiL6E19JusZGjQ0TF70oIS/Ve5k14H/qGTqldkTWJlknn4vAcMep3XLuSls6DP3LfnOexlsUubhTB1ERrc4mPzQeh8QaFkDIP/Ibh8EAVEfG8ZEHJnrY/5vsPAlSuMnxpdlcsnESwccs56I2Ilt1Xf4sCH76Cwhp/pJyPWw3k00b7BR/GCogmh+dXFAEfw/56FHm1o06MZVKTcKgFAWBBvJLvj6F1kSjdPJ3cz6P48NqsrMTOpnuV445jrxhGKBdWSgJtftH9IEEnAcboUcyWKdObFGQcH5Z/lNngPnBPXOGEnzjD5Bctt2q10iQsEi+zwgyemrVLOVnYYcWLvj3gKZ9I5V9ucflSFRV7MeZtV4YuNwchuiYkIS1IzJFFfCiEjIMHIDBxwrWJ2e2ysE5nfx5HJBTF39LMiUJjP7usqNSCL0mu5nhJKE= X-OriginatorOrg: os.amperecomputing.com X-MS-Exchange-CrossTenant-Network-Message-Id: 98c14a19-69dc-4642-5bfc-08dcb5e80f1a X-MS-Exchange-CrossTenant-AuthSource: BL3PR01MB7057.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Aug 2024 07:19:07.5043 (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: 5BERRhw9VebnYFErJcJ6SfRg97JGopepM4BxBW0HCJD3tZYJVj+WftpxZKPg1RlYMdcDWkuoDd76iYgNfvV0pHHVjQ92TGH4oHSctwov/UcEa1prLJG7rTCUrAHPTluJ X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL1PR01MB7770 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240806_001909_574475_484A03A5 X-CRM114-Status: UNSURE ( 9.70 ) 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 --- Changes in v2: - None --- .../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 4d2f6e5348ce..3111f23e56dc 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-ampere-mtmitchell.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-ampere-mtmitchell.dts @@ -890,6 +890,10 @@ nvme_m2_1: i2c@1 { }; }; +&i2c10 { + status = "okay"; +}; + &i2c11 { status = "okay"; ssif-bmc@10 { @@ -912,6 +916,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";