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+jOtO8VoSUdeodZihy3iRcZTuK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TR:;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+LnCHeJpHG9gBIJpxSqwLhC2kJhoj8IHg7K24SiwkrNonxGPHEu0Sf12/wowpWE7CLY7YkkRNZC596uD3gziq7NUpLFTtvA1MQaw1dzDM7GVrFObDs/FVcu4X5sKk9VzHZ/y4gX9PjSTAIAWf41vJO2ZiBTuY2HHM5y/pOnJ335rNn6lJtrnkv1jW7RZZLmpza8aA9Xkchp/KaXPUE/x7pVbfxs+uvHoHVuBQ60YFQNJoOXPSGnH7SYCP5qncgrcxfOIoVpXHFoJm5iXXrNWXSPCPLwp1XzS2xVFgWtLDGBPHA3SeKNMzjb7CjtUvSjFIf92Hfo+PF0vQpmts9ulzX0IQoPmS61MvSORy92xU7U5YwgvGMg307hjvEEvBDMXhOufdXNC4sh60x3FcdqC3pQKdycXW/THSMZCbF88xaKDj004Etr+WRxJFb38YbYDw3EaXRvA+A54Q5h9K4liOEGEgYrOkHrqkRo4dmoiCVmzyfWjG6BbvMUv3z5Ksfz6hCV73pNQP5Hx4EFKyqzcdFLnIwzIuc1K1ho9zwuTJD5lAmA/8RfWatwWJdhiGB7tTRg6dkQgUCPr6X9k4mjwCTpLMqP8W/ET9i9t7wESthwHVNk7WKl34k+Rxd1Ck0h8GJYIDHBD02o+mPY4Q8ftN/pc+vXmVIhqJpTFa2HoXxLQMNAfj2cjM9WYVYRY1oYYs7W1zmK4xZW5FTyk5a1S4ceuZ5qYVSLmGntwTj7O/Ncles2R9Nr9FP6tcMMr+EjrSwrVvSUmEx+qD1aFjP71AGB93VNw7umTIx3wgbWHcxv3XvCe9HTA0q8RPOyOU4iHMZod4dRS931QoOLOaIvqXLkDwaIKThlHJWi4tV68QwjLaiq6tuUZeEiC1d3cZPTN8WDvCxjwLrlC4NlE8QhReD89ycoj7y8yGpdhqZkLTEPEV9ZqbX3yBUC8D1z3JDisQYyq59vWiCpQkevG2axGZNb1yOxiAd0/DJ5jQePG7BLlyVsJhxRPCWPZM587U+kv1bw0VOG4/GB11wM/N0ICtEVd5k5X1Wr4XGOPAd4PfpLbqxSo4MEWrX7u06hOnEx+KMqJuu3cAb2XiyehbQkZZZoCKeU+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 */