From patchwork Tue Aug 6 07:18:03 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chanh Nguyen X-Patchwork-Id: 1969346 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=os.amperecomputing.com header.i=@os.amperecomputing.com header.a=rsa-sha256 header.s=selector2 header.b=dwTdc/FH; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ozlabs.org (client-ip=2404:9400:2:0:216:3eff:fee1:b9f1; helo=lists.ozlabs.org; envelope-from=openbmc-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org; receiver=patchwork.ozlabs.org) Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2404:9400:2:0:216:3eff:fee1:b9f1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4WdPqs5nCZz1yXs for ; Tue, 6 Aug 2024 17:21:29 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=os.amperecomputing.com header.i=@os.amperecomputing.com header.a=rsa-sha256 header.s=selector2 header.b=dwTdc/FH; dkim-atps=neutral Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4WdPqs53Yyz3cyg for ; Tue, 6 Aug 2024 17:21:29 +1000 (AEST) X-Original-To: openbmc@lists.ozlabs.org Delivered-To: openbmc@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; dmarc=pass (p=quarantine dis=none) header.from=os.amperecomputing.com Authentication-Results: lists.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=os.amperecomputing.com header.i=@os.amperecomputing.com header.a=rsa-sha256 header.s=selector2 header.b=dwTdc/FH; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=os.amperecomputing.com (client-ip=2a01:111:f403:c000::1; helo=byapr05cu005.outbound.protection.outlook.com; envelope-from=chanh@os.amperecomputing.com; receiver=lists.ozlabs.org) Received: from BYAPR05CU005.outbound.protection.outlook.com (mail-westusazlp170100001.outbound.protection.outlook.com [IPv6:2a01:111:f403:c000::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4WdPn93BPYz3cSH; Tue, 6 Aug 2024 17:19:09 +1000 (AEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=rAVcts2Qyj1OZvFJbtYxIS08exBr4IYJC1cXcwsPmeXjsdjOP8mIm9JnvoEu4dVv3p0k4DoGde+QpbdChgj6AuiqvFkI6rjjmu1Qu9Z0IDtNL2QueE7qTTM3D1kcFg/ajXyBewKRgWc1g+wZe56fBYoPkmpihmpd1FqVUpxzxuBLs13Jg4eQX2o26N5YJQZurOsMogg9sR4eW5h9DdDLEIo+VZZM6Ch3CaQds66nF4hDn8KPjPr8LcxdWZ13yhcXQLb4sCsV035ceLgSJnosJ5iFiD3dDhL4s34upLpunE3uMY7QYDvYUrT3uONit83V4WvV1K6Sdx5hiJ05jp/y5A== 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=A+fkwb7tH7+dJqAFoJPtx64QruRrhcUH6ktYyYlCc+Q=; b=utx3GkXKaHTwSTxWs6uENKcZEsbIxDuwH7lIgrsq0iafO/ES07hQs3oobUDNTxSNr0k1G0SANkdiTMSuEkdZaQ+gBkP4jwtd1pe03x69YRahDfC8+RRzjjaaIqtfSu2UjwKyNhBmK8Gt0eTVKwDIa25I5Mevp7Z9/tKN0uCwehcFGDVmFDfwQ3bhadI+k3Cbfex4kHWxCH3ysmk3K58wubfTNSWRIsUA6mr4LNC6MWPyxfC6rjX2x+2LkwW88CRqVltML4ysNA/lqK1TxxGJoS6jRauGLegoasITrnMJfhPyNTTA2buTTuEQ2YoVp9PsF4x9AKehceWtFyquh0jfbw== 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=A+fkwb7tH7+dJqAFoJPtx64QruRrhcUH6ktYyYlCc+Q=; b=dwTdc/FHDv408MU4PtiZgjOohD6gluOaN8h86zSizOKEoSgKRu2dnSWrAMDPoA+7+3KSY/ni7ctkFMLeTJpS9e9CcbGFMbhv50JOkgKxPd+Y3bp20K+h98+in5Eb1p7euiEtfuitnyBNCnPs0cbZLcaQa8cTA1wlmzqoqWbmDRM= 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:18:55 +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:18:55 +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 Subject: [PATCH v2 2/5] ARM: dts: aspeed: mtmitchell: Add I2C temperature sensor alias ports Date: Tue, 6 Aug 2024 07:18:03 +0000 Message-ID: <20240806071806.1666550-3-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: d20803c5-72c5-475b-bfa1-08dcb5e80802 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: SVssY+eoUD+8hXCiBCc2GOqirfxrR9QYxG1kS8AI5b7n9hxqB1fcuuUQ08L23HgI7goDiMnEJlu68zSuWLDB++KV6KXhXODJnR1PIw2zt5RzRmemAW/T5ZChdSZviwysUOpurVcuccrqJDIwQ569hDFaryQJt4mscSqB4tSHmngouA7y1sH5APIjOdJzcQd/pspjL/woe8rAj79EY4CCd9f6aE09h6rxVYuJ9LC085vSxkLl8Zy5mkoLz4WzUFfqLXB7xGj+0aO0SSQSiYj7fEhjtFKuPlBbArOiaMPhAgjvwiq3g9RdD0BRQEnFO7VkCOE23fzwQjhHkl5xrbmFprl63KzY/2DB9sSwEHSZTYEfVm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nQoJ58= 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)(366016)(1800799024)(7416014)(376014)(52116014)(921020)(38350700014);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: NYWW5Hya38pKhf8IouwHDsH78ClJ6NDHhkO09di7EQKhLC2hEtf2JixMN1PxXWYAQu8lar3rGKGWP2KVZ8yMqJgHdSDWiAnfTFBVunxgbb0nxCuVn22hkR2MCaW6VPsc++D2I6ZRxEmxXpCwX/DLoJsH+fETmCYnz2wZ7C2GMrxooSYnLlH7CKAXpfMcIK8pkgnFn7BJe69MTeivaCoHxXRaH0un2AG4H/KRxgRMFzgPe+C1XU4BkFwWBYYQrBMrLRkofcectLFVKeGxzskptR9cAHwZYisrOKMhR3VNTNavJjJUkVfzVdbrhHeookjO+BTqcW0J4crVxUqsep83twGgoZyJxCNPfe02D5Pi9DAAC648KALIseM5zH7E9RSL4q/JRcwzTi2XDuSgVxz6C/pwq9IBC6LAndDQ0yNHvkDHSXFx9rELJjgv1zTlcAHLj3NmCAw9GixFBdh5um+jmoC0GAQ+dQiEP2CQuE2/58kxGq29+T/7m67xRTHUPTG9TucjUk2NZ5uJL26pDhvlPuszp1BCHKToT+J5j4BpAH2rkGX5nL26APxO/3eCp6Xy3shL983E/yb3r82skn8nUTfwEhDpid6Ux72PcZjnnwFo7bvi5I7QEIJutKm2DZb474ap+EMBmeyzzGeCrd2DCLKcbpJxNCxv03n0rc0pXoNPbW6ME8dGto+s5sF/UHsKxQeypCX5SezXD98+9/gGGf9pnlNCSLnlG3UbE98RisphGlgPLpRPj/JbUhdbwFtljU7x0ITkHW6KLLDHbahjev/O/MnBrPZuDJUUu55NGehWUR6gvSPsRjpGbI+hWSjW8ur+nMZQsAKf9Jfi0smczfpBeGAkienR8a9RutCsx8D0BVddR+hzcXgRNVsSAtJVxQrGjYxSHckps4s5D1K1wQPBDxF6uWs/nVnLSwT7pKYWkXniQBe3xte0CEkxOX4tLeEzDciFWm6wxqAaPdQ78useelDYHvHW30dSF/0bIP30ATy3J1AcGYwSHIeR7edukqSpv7gMQ/FNlWGuRQ3dw+GSroOIo75eawzgpoUjxfgEDeuvLMSIKj3JuFk3eDtkVOCjRQiYxv8s5z3KCGbBXPFGuy8qrcROGackZyveEuWHWQ3EaEBF2zkESo+W9zePqOMPUFspqH29WVLjWPMG6sGWtWLON+dq0Yj4prb3O+ySrqyU9LnG017o9z2XC12WoZzRVpzHRR+f5cXbTHLci2mq0ebMqD/8fZDYWZnTfSvqxMGHIG4PXuefnvj/vIU5C2rlVhy9vXPYkK3Ap3s1QKbsTjll+rNRKX+3zZNuBoAEDBaQt8Dv4C6EDoLSZjWUvUlIDO8bwocZaPckxhbp/wl3989e64DGO1wvhQov9ZwY2+pltJSa/AZDoSmRHI92uiyQdOV30CL5godTKnx1NoT0G3A2H5FwYy1Q+dfszXxBtmr5o4AqvPKqXBx9Yn0LUsHa0K7lptZ4uEY4WktDd7ct3tHv43S6GXQyKTeXEOl+bkd8TLBRZgCYdx1M5YuuVuCtim3v+k/mbkt4bfpwLgTtotHZolRt3Uu0tUIEavBQmZtRC9OeS/N6/etCUOvjpAfiRh8qd0XQ+Omuzn75XSUTZG6h11AX+zJUXRsDkeY= X-OriginatorOrg: os.amperecomputing.com X-MS-Exchange-CrossTenant-Network-Message-Id: d20803c5-72c5-475b-bfa1-08dcb5e80802 X-MS-Exchange-CrossTenant-AuthSource: BL3PR01MB7057.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Aug 2024 07:18:55.5311 (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: bhfxIB3AuTwezP4Itd7yS8oRe2aVARQryFtJOfEsGVuSpsjRRznnRnCEiZxG/owtDG9dw3wzix+uDcN9ENv/2gTpzsi1YEcKZLGlwpntfNb8JcYIgz8X1BzGmxaBInv6 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL1PR01MB7770 X-BeenThere: openbmc@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development list for OpenBMC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Chanh Nguyen , Thang Nguyen , Phong Vo , Quan Nguyen Errors-To: openbmc-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "openbmc" Add the I2C alias ports to read temperature sensors via channels of the I2C muxes. Signed-off-by: Chanh Nguyen --- Changes in v2: - None --- 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 */