From patchwork Mon Sep 30 07:04:59 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: 13815594 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 C9295CF6491 for ; Mon, 30 Sep 2024 08:30:32 +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=5i/bZoHyJSmMZJxO/mPyILNKiTIbi6Pc5Yof8O1IPjI=; b=ftD0NW5/3twk/lieTcIsg4BPTA RAtEbCiiku9jWSzRT6R+bvrEQMJsEKt/94r3Unv5BmQaTU+3HutT+M6Rp3YlKoydqYZOI5XdWj4JM K2zPdsq82LuK9CfIeSP5G7Bm77ztwmPM29UlJNh91altAvPKIdZkkxfFRBO9cQLfT399VLg0gnwlW fv0GinDasOOxFKCkDLWdrhjx9DDLOhjlngRHrZeW1dJaTITRamLYLfzt86DDYJlQ/tQ9QA59iKlGa gGt0U3Dil9JwGLYNRCWNQ1G3FdLah7B/oDF90gKnvkY0XAE3tbByQ2B6mCAVteVrfIcIVU1qCnLBY 5SDPEViw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1svBnS-0000000GKeV-3c5t; Mon, 30 Sep 2024 08:30:23 +0000 Received: from mail-sgaapc01on20621.outbound.protection.outlook.com ([2a01:111:f400:feab::621] helo=APC01-SG2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1svATR-0000000G7b8-2Pdb for linux-arm-kernel@lists.infradead.org; Mon, 30 Sep 2024 07:05:38 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=GWpY+X0sDZUvMYfm4IU7QTi7xYg3ppgnZwP7wTAGrXScvkkSRqPtXlwEEchmmXrAL2onqp0p4c42bPlvX3ly6MHAXzZlVGsNdONvHLy9FZAvpbNPwtNa1ukSsAAoLvg9Cyz5A11xdnb4k1HKjkaN7L/ROX9GMThNq7W7Mgg8KLcXAoUOYCKcmppQnkTnr9asKyrpA6caUW7Kxizv3ea+Q+91K+NiMFSPgQY5CxywiIk1CPWyCAd9WBr+fjBPtxLl8g0o3LB0ykR3Z5Ujt5JbO9LNr05hhZUTfFLgnhGoXB97Dus9oK5Az3SghmbfhsKIQS02lxMNwwqmHboqvAOj0w== 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=5i/bZoHyJSmMZJxO/mPyILNKiTIbi6Pc5Yof8O1IPjI=; b=R/tWfHxS7GMUrU4BO+qJx3MzUAENUKWPDjBonkchBdpv8SnsFrQhneFGUqlRD9lKx9LldlXvz829b1xC8DMwA4TY3TFzyEzaUb2Mtq8IuYdgPscb/oc1XU6ND+EiN2YX4wmAJ4W0DeqCTyQ2KO87Y7QpDwm4tR4gq8v8dmztrhUWOANRsbDgvQXXbQYKqed6fH33aP6VDnKrZKwP+Z8v1W7hN6RV1TZqeL0a9ag5/r4Ec1e6LrTQ2DHxUg9O0OkaWgG7sa8HCZWOBw52TwKvB0NYC4sl/2hDUJ8Qwtg9VYNYAxV+0AcwSsy/lhLO9tL4AqQiiyknsb15LQv0U/Qr2A== 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=5i/bZoHyJSmMZJxO/mPyILNKiTIbi6Pc5Yof8O1IPjI=; b=OCtoybFyj7Y2nTGSyV14TyNds0RuxHjwp7RyrH1EIaCWWDd/sj+knep254GW7CKhiYdsRKVQTrXhi3jdu/DEIK0dX1PEObp8z3V3Q1s0bmvKF1bJ42FB5i4JWukbXZlrg/4ubnI6d8a75vngTpEnCoR6LXKtaPsf4M1Uqmji64wCabHtHsVlhJ9K0msm79av0DaO8+qPeESXDHyKpgapY4eraC3sDc0qs67Eb6Ahvs79zM3v/k+tB9jjJKN5JSHIYujJuaYa97YG5oGPmNZhwmKajFTkQwKDfk9lmlH69YocmyfcL7EU5ATm5y5Sm/9Z0On/IfZJekCGBMBmMcnctg== Received: from SI1PR02CA0050.apcprd02.prod.outlook.com (2603:1096:4:1f5::12) by TYSPR04MB7284.apcprd04.prod.outlook.com (2603:1096:400:475::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7982.27; Mon, 30 Sep 2024 07:05:29 +0000 Received: from SG2PEPF000B66CD.apcprd03.prod.outlook.com (2603:1096:4:1f5:cafe::66) by SI1PR02CA0050.outlook.office365.com (2603:1096:4:1f5::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7982.34 via Frontend Transport; Mon, 30 Sep 2024 07:05:29 +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 SG2PEPF000B66CD.mail.protection.outlook.com (10.167.240.27) with Microsoft SMTP Server id 15.20.8026.11 via Frontend Transport; Mon, 30 Sep 2024 07:05:28 +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 v1 8/8] ARM: dts: aspeed: yosemite4: Add i2c-mux for ADC monitor on Spider Board Date: Mon, 30 Sep 2024 15:04:59 +0800 Message-Id: <20240930070500.3174431-9-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240930070500.3174431-1-Delphine_CC_Chiu@wiwynn.com> References: <20240930070500.3174431-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SG2PEPF000B66CD:EE_|TYSPR04MB7284:EE_ X-MS-Office365-Filtering-Correlation-Id: 9029b5d4-ccf0-47e3-8ffd-08dce11e4461 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|36860700013|82310400026|376014|7416014|1800799024; X-Microsoft-Antispam-Message-Info: HSOdtiy39268n7G+r/9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SX3alGtTt/VCPcI6XKc50y2dmjmT7jaSFoDT/bPPVafbCuSTmlnrFISchQxqKPdfPpbgXEzXtSRW3WVSMzdA6AnwLAH1JQWRSQNaNbOyLPIa5G7icXF9jryy2urAyKEELhLF68y/WAuYwGtTMAxDHPK+mhsVsbG5npMYTKU1nqqwKDoH5ZbMSt76gt//+QB6WKpVw+7t46FZqDmAv8Px/uwpmjHoqi8XSDDh4f7bbiviVakF+dfKBcmDT5skxrUwQ2XlSHoRm8F0+FNOeKDm0xzyyt72yOEhXTly8xNv2N+DHKARoUaTVwCYcyN18434euK7oHC3l6Izmdg3kLZRauV+Mdmp5vyTHjDWS0x3gs9RFnuSEikmjXz6JDVkf/oIf73BT 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)(82310400026)(376014)(7416014)(1800799024);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Sep 2024 07:05:28.5562 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 9029b5d4-ccf0-47e3-8ffd-08dce11e4461 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: SG2PEPF000B66CD.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYSPR04MB7284 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240930_000537_641076_9365F368 X-CRM114-Status: UNSURE ( 8.82 ) 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 e235ff7c7a9b..ec2d8a783ac1 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; }; @@ -1128,29 +1130,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>;