From patchwork Thu Oct 3 07:42:50 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Delphine CC Chiu X-Patchwork-Id: 13820751 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 97FF2CF8565 for ; Thu, 3 Oct 2024 07:58:02 +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:Content-Type: Content-Transfer-Encoding:MIME-Version: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=V8EXqVr6Gzq+ihzDYW3k94hfHuot/FrKhwqin4FkW+g=; b=ubJq+op9rUdLvikw41e2sQv8bD A8ROxpq+rXOV2A+TWCh0+vuqmyw6X7Phg7kflyNLS8ZNJJXoUx+YdtezVImkvB2tzjRniRbFGs8fg clOyQh9CRIWLiXbjDffIYJmCZM6xCAMSTnDQi0rUgfqb2+rmR0yBfkYskn0mx+CZtiaz0tGCuR1Rv LMVusROXvKl/Kc3X9qnI60enVNW9NzzZmAhlWo5/0gXtA3T9+u/M+hEKfNIg+okpCgDGGEULlxCVK BWGFbJo1cEfY5HzpG9dA6PiUq3Rjt80A4D1/8pAtbJt71PQJxZg8sOzr+k8tDA7Ob5Yw2YoJR4es9 LgJeREwg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1swGif-00000008T1G-0nZh; Thu, 03 Oct 2024 07:57:53 +0000 Received: from mail-tyzapc01on20629.outbound.protection.outlook.com ([2a01:111:f403:2011::629] helo=APC01-TYZ-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1swGUi-00000008Q5m-0jYf for linux-arm-kernel@lists.infradead.org; Thu, 03 Oct 2024 07:43:29 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=fKlZeNrKhifSxne3BIsViC+io7+ufREj6T1qQMLpjiOLQl4eFKNy652ElbF3ZU1+CAOwAP0qORQkkThlSXwCNclB9IqoRilMXofgWuhSEMQEic9TJ9uJ60IltVMGP6krOJmQ0Nhgx7Xx0ckxUQTCBK5KWg9LSqt4Orw2/ovIVIcK/GK1Ljsq7jORr6QOHWq4eR9KMQMl7JPe+lJtIZqUGicDOMCqy026JzBLf8gIRfnN0ujBA9TjZzRDOwuBQuUh5mRZiD8kqtWyF94LbnXzjONQTge7gKv4y0fBtcIgMQ4RPFLAuoH1E1XPPXEGVAg74axPcO9En50d1EHEOnr45w== 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=V8EXqVr6Gzq+ihzDYW3k94hfHuot/FrKhwqin4FkW+g=; b=nuxZ2R7QwI+mk7TNuK/q5Zg354LHfhuv8+lTEpx8WcSBF8DAEv1Tq3+dXXa7dkoT9YQpcBerA5OzPyj1asekUCOyER/dFvbld1hPK7rMfsYxLQGnYzSicEqgLDhlxiigxDCtmbuJWp/aKLExy2il1RXmeOPe8ikXFEHUvyR4Fk/Fd6tUxzfy0dohvzitOfSK88TP0z46oAqQwsnqKMuwWniy+57K9Rw8JgXF6/pu1xdmCkUogNQKKDimkZPxaLxKDuNkEAZTTNHs8h+W6t+LRyvirtdMYHwuAW0Sh9s8p41cB4DA/WcP2R6FRc+lfx7+LwpP14YtF1akdnVTSvfH2A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=fail (sender ip is 211.20.1.79) smtp.rcpttodomain=stwcx.xyz smtp.mailfrom=wiwynn.com; dmarc=fail (p=quarantine sp=quarantine pct=100) action=quarantine header.from=wiwynn.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wiwynn.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=V8EXqVr6Gzq+ihzDYW3k94hfHuot/FrKhwqin4FkW+g=; b=iaGkzbMzywjUelh/cSPfDtdFIpbQN6Q5nBTH/PR66s7lFcqg05ooYiuDECzlFYuF6JgKl0Ej2fpB69/izCUmlfmVSjoPXGHav+CmfM++zdfY4sCa3W3KVXy/sFiTwpi2ko+Hcu1L/1ZqXge/ujLYpG7fgrZFoOQ9LulpE2pts7QEJxPy+NrT+RLyRBeBX5pXYD5djyERvZy5v6NAL3XJqL/evMlf+qG1DPzvy8S4AjRcQCI42kfoIkm1E5hXJdtRQeyOLRAe51/r5hYZyPg6vA52QO0GG48wFnrJucmEtWB0joktXhfY7Iknvlham/laSbztyhoY+jVd1cY2J3FxuA== Received: from SI2PR02CA0012.apcprd02.prod.outlook.com (2603:1096:4:194::7) by JH0PR04MB8155.apcprd04.prod.outlook.com (2603:1096:990:a9::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8026.16; Thu, 3 Oct 2024 07:43:17 +0000 Received: from SG1PEPF000082E5.apcprd02.prod.outlook.com (2603:1096:4:194:cafe::cf) by SI2PR02CA0012.outlook.office365.com (2603:1096:4:194::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7982.34 via Frontend Transport; Thu, 3 Oct 2024 07:43:17 +0000 X-MS-Exchange-Authentication-Results: spf=fail (sender IP is 211.20.1.79) smtp.mailfrom=wiwynn.com; dkim=none (message not signed) header.d=none;dmarc=fail action=quarantine header.from=wiwynn.com; Received-SPF: Fail (protection.outlook.com: domain of wiwynn.com does not designate 211.20.1.79 as permitted sender) receiver=protection.outlook.com; client-ip=211.20.1.79; helo=localhost.localdomain; Received: from localhost.localdomain (211.20.1.79) by SG1PEPF000082E5.mail.protection.outlook.com (10.167.240.8) with Microsoft SMTP Server id 15.20.7918.13 via Frontend Transport; Thu, 3 Oct 2024 07:43:16 +0000 From: Delphine CC Chiu To: patrick@stwcx.xyz, Rob Herring , Krzysztof Kozlowski , Conor Dooley , Joel Stanley , Andrew Jeffery Cc: Ricky CX Wu , Delphine CC Chiu , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 9/9] ARM: dts: aspeed: yosemite4: Add i2c-mux for ADC monitor on Spider Board Date: Thu, 3 Oct 2024 15:42:50 +0800 Message-Id: <20241003074251.3818101-10-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20241003074251.3818101-1-Delphine_CC_Chiu@wiwynn.com> References: <20241003074251.3818101-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SG1PEPF000082E5:EE_|JH0PR04MB8155:EE_ X-MS-Office365-Filtering-Correlation-Id: fd6e5f69-fe71-4236-670a-08dce37f0b63 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|36860700013|7416014|376014|82310400026|1800799024; X-Microsoft-Antispam-Message-Info: poy4lyke/PXCRrvCcOlH0wOSqjJoXbUnXOCNM8VMixg4V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q1BAKLCskiWOegU0VGcjQ4lKEVEbMHAMIAjRcsInrSJ/HqC1LXZjaHr7oT8NQbsPKs2s7u1yxW55kl7m67CWhojz4mlLid/VPLvfKAqC8YTrOM0lr9O74D59vpjMfSxMMhETVKTWcuEZ5eN2Lc4/yrOlLCCPknKfo2esva0TKnbxKEDaqxQR0//oyiJHuc+xwD/wqaySk2ZOn9WbIjMZVskmIwBf9tA3u0VkV8jVTKXGgj4CBRwaiGUdBdVsVJPgZWNRA3aTUjxFR1mo= X-Forefront-Antispam-Report: CIP:211.20.1.79;CTRY:TW;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:localhost.localdomain;PTR:211-20-1-79.hinet-ip.hinet.net;CAT:NONE;SFS:(13230040)(36860700013)(7416014)(376014)(82310400026)(1800799024);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Oct 2024 07:43:16.1026 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: fd6e5f69-fe71-4236-670a-08dce37f0b63 X-MS-Exchange-CrossTenant-Id: da6e0628-fc83-4caf-9dd2-73061cbab167 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=da6e0628-fc83-4caf-9dd2-73061cbab167;Ip=[211.20.1.79];Helo=[localhost.localdomain] X-MS-Exchange-CrossTenant-AuthSource: SG1PEPF000082E5.apcprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: JH0PR04MB8155 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241003_004328_240620_206EF39D X-CRM114-Status: UNSURE ( 9.01 ) 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 From: Ricky CX Wu Add I2C mux for ADC monitors on Spider Board. Signed-off-by: Ricky CX Wu Signed-off-by: Delphine CC Chiu --- .../dts/aspeed/aspeed-bmc-facebook-yosemite4.dts | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts index bc25c11df255..ab4904cf2c0e 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts @@ -34,6 +34,8 @@ aliases { i2c29 = &imux29; i2c30 = &imux30; i2c31 = &imux31; + i2c32 = &imux32; + i2c33 = &imux33; i2c34 = &imux34; i2c35 = &imux35; }; @@ -1100,29 +1102,25 @@ eeprom@51 { i2c-mux@73 { compatible = "nxp,pca9544"; + reg = <0x73>; #address-cells = <1>; #size-cells = <0>; - - idle-state = <0>; i2c-mux-idle-disconnect; - reg = <0x73>; - i2c@0 { + imux32: i2c@0 { + reg = <0>; #address-cells = <1>; #size-cells = <0>; - reg = <0>; - adc@35 { compatible = "maxim,max11617"; reg = <0x35>; }; }; - i2c@1 { + imux33: i2c@1 { + reg = <1>; #address-cells = <1>; #size-cells = <0>; - reg = <0>; - adc@35 { compatible = "maxim,max11617"; reg = <0x35>;