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: 13754494 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 6AD9DC3DA64 for ; Tue, 6 Aug 2024 07:20:38 +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=A+fkwb7tH7+dJqAFoJPtx64QruRrhcUH6ktYyYlCc+Q=; b=yz0/5ZYiZn8yn81KyDaNIGzwDv jyR3owXwMZ4+2Uri99Qs1tWm3/acUcKzmHyUkeDDDX+8niE8tkTR+DkoopqNIq58xNRzwomSNG/Ro Nv2PYHxKiAYU3QUFVNp4LxFqWoMNQjLsO4uAnLgD+6+WGvUEmWVxpXsCZxZ+nQf+7b0LE9LSkEsaA v0mk6WqPn+t3F4di2xjQqlo32n2BIAkEQ2etLcZbrNt88jjmd6KhW12tIkzwpaS8xxJliZNegCvnP z0Ya8BtPbaQOGJ3fb8Rv9a/5O5Bma23rZsEEGd4IuREcG4nLWtKD5NdCC6TG8UgukkREJpsb9JabH dOqAKr8g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sbEUb-00000000lWV-3MLe; Tue, 06 Aug 2024 07:20:25 +0000 Received: from mail-westusazlp170120002.outbound.protection.outlook.com ([2a01:111:f403:c001::2] helo=SJ2PR03CU001.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sbETG-00000000l4c-10zJ for linux-arm-kernel@lists.infradead.org; Tue, 06 Aug 2024 07:19:03 +0000 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 Cc: Phong Vo , Thang Nguyen , Quan Nguyen , Chanh Nguyen 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/2DB9sSwEHSZTYEfVmhTZYKhWiTM/UWcEqFlqIiRGVUKH58OEiO3YFcFJ/iDQ1dplDU0yWH5yPIyPe44to5jlIowMMTtrD66D3z/lVY9FVinbfOYeYh5LYu+3JdWlZ3VhdDPBh7xt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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: 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-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240806_001902_305458_C2CC7D35 X-CRM114-Status: UNSURE ( 9.11 ) 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 --- 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 */