From patchwork Tue Sep 10 05:47: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: 13797975 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 96D19EB64DE for ; Tue, 10 Sep 2024 05:49:36 +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=8/XIy7eVuZj3SBMDgfGePU0xugPwcgrgy3mDvSWNc+Y=; b=gCn8TsyGM8RiT4s4UC/GElwYmw I4foyaOs8HDS/QTetmJE31DeuSowyH2oOu4uNRavi4YFz6U/BjgeBtuuSfTDoR6wKPs7ChLZP0GSv QG7UiF01r3CaxCUuZTCHxcb3MevanC7+aFm1Hp0yHk9gMlDAWKGtl9z2tmW4gLio3ivg/moNQx+9i Xrxm15qch0bQvulVGCQicO9naUPzBqYk+n513PEDhKEszEUT3tLFzeIpdaTDA0VKNqxHmqoDFA8sw zjnYFJcazdjjwT3CUB03MNOFVii1bqdeOpOvhqlWMXc4XZk72uGfFa55T7YI5IDSqiTAm6qju8FTp Rq6EB96A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sntkl-00000004MrT-0RGg; Tue, 10 Sep 2024 05:49:27 +0000 Received: from mail-eastasiaazlp170110002.outbound.protection.outlook.com ([2a01:111:f403:c400::2] helo=HK3PR03CU002.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sntjY-00000004Mco-3EgV for linux-arm-kernel@lists.infradead.org; Tue, 10 Sep 2024 05:48:14 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=DLZDecJU/8PFrTYV8I6rRaKS2MB06Z7u3yElNxK07As+Jp87vuCbA9kjqJCuolh/J24MMvWNkJGYdd5ZHwJbtyf1cdM1YNDdB6/GIHFD14u8kwBTDxBbqV+i0YAVruch/2YyoS8lUKua5Tn2CYlFgHh8llwa8wIsx1dSW75cS7vGelobIALsWEoO3zHnMPRyyY1AWF00QnNDzx8LSOoYBTEXPTbQFMBHa+knpNBCCn/gKWxYpqUXy//iRFOuuLTIPLD4YM6B4oYKlYY9KR7xzoNaGSDD1U98KhpV5yLy4hpO9WoDS/dTDmVBqz1VJ6ig8XCoq1mP0NU+58zQ5X/A8g== 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=8/XIy7eVuZj3SBMDgfGePU0xugPwcgrgy3mDvSWNc+Y=; b=AgT54oemzdE/eGpUtH54NP7C0X2o12P3nkOs/Jbbyn0KtQuk6h3yOmVnAf1bBJOvJAkdn9kGw6V0kDXE9TzOAB99ft9EyvrIZ2ewb8l89mzFgvKldourVwTeyElBbr1pdERkcWKO1qgrh3wEOQwoT/5bwmq6ytA0NAOXSHvUJLXq+QU7TCN3BUGD9VJMiu6jjEUXmmGRUhMN2zvNPoKQmIcyMi2bo/0wGLaPK3j+butaiLpAEoYglgUnimGuwX+pusAB3j7EpWge3EXHsc6cUE81e5NSHztUfSY2MBFChIcqkjEYNahUx9rp0G0eae3DVzypfvRkg+QaqbDqzROjnw== 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=8/XIy7eVuZj3SBMDgfGePU0xugPwcgrgy3mDvSWNc+Y=; b=CN1I/H4Ws+ugbJj97VQSXKEUyNQUFkYH374wc1zdA/STLbrKQaKtgAfubPeMU/cNTYJkCGZKmCrwJtcoh/vlB6bKu1cNPUFZWj8bR+TpEjFjzO8U7bliYHa+VzS2fD8BxJyUaes7KkY0FinJLnJumP/swFZrWI4zoQQbpMlrspoh1wSG7CHCkFkBFLsZUx6mmQlIJnWWCJ5/aSN/TS8PZOhMDr1q9dKRORdWLXM22LeorDjMiDH+hzeOTvas4RjpTv3zVEPKYR+SCTu+3Xgb6IUscoRb3EKqY2bXPYanB5UXAjkourAblY7pLi4I/ROC+f0J7nfC2HGMOtcj4zl42A== Received: from SG2PR02CA0130.apcprd02.prod.outlook.com (2603:1096:4:188::8) by TYZPR04MB7179.apcprd04.prod.outlook.com (2603:1096:400:451::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7875.21; Tue, 10 Sep 2024 05:47:59 +0000 Received: from SG1PEPF000082E5.apcprd02.prod.outlook.com (2603:1096:4:188:cafe::97) by SG2PR02CA0130.outlook.office365.com (2603:1096:4:188::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7939.24 via Frontend Transport; Tue, 10 Sep 2024 05:47:58 +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; Tue, 10 Sep 2024 05:47:58 +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 1/2] ARM: dts: aspeed: yosemite4: Revise to use adm1281 on Medusa board Date: Tue, 10 Sep 2024 13:47:50 +0800 Message-Id: <20240910054751.2943217-2-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240910054751.2943217-1-Delphine_CC_Chiu@wiwynn.com> References: <20240910054751.2943217-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SG1PEPF000082E5:EE_|TYZPR04MB7179:EE_ X-MS-Office365-Filtering-Correlation-Id: 1c6583dd-d057-49fc-a905-08dcd15c2050 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|36860700013|82310400026|1800799024|7416014|376014; X-Microsoft-Antispam-Message-Info: hGU/yN3V28y83Mrn8EmvvrsCCMgod9GDE4M7PbK5q+j/RQbPbnwvJn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qmp5n85+lxf5vLpyQTwPR+HtwQGV6KhdEoq68Vh29Qp+8mcM+8+y3+OhSO0C/fIeyD27nJ4EAQGRRglHpFZ0nSrKyffHIKMvhNLJA8N+B6wgU92Ci2K0iuY2wec5wqu1wKsz3XMVCcRZcWYL2S2QVEjKDNVci35d3+VvoappWNn/87eYO5KNa4/EkeQguyWUiYg6SUQ1SgwEAEX9OJhRkWaXY9ih30N2URodwLnt/jhluV9kJyp1sOvfxFxkqcT++4gW4T85Cdnn2PAiaQFBM99SlvRP5tdXUYb1sOLeYqt5l8NwJEnftCJX2iu 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)(1800799024)(7416014)(376014);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Sep 2024 05:47:58.1933 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 1c6583dd-d057-49fc-a905-08dcd15c2050 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: TYZPR04MB7179 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240909_224812_837997_2C381B4D X-CRM114-Status: UNSURE ( 8.76 ) 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 Revise to use adm1281 for HSC according to the hardware design change. Signed-off-by: Ricky CX Wu Signed-off-by: Delphine CC Chiu --- .../aspeed/aspeed-bmc-facebook-yosemite4.dts | 24 ++++++++++++------- 1 file changed, 16 insertions(+), 8 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 98477792aa00..08d32e42286e 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts @@ -130,8 +130,9 @@ mctp@10 { }; power-sensor@40 { - compatible = "adi,adm1278"; + compatible = "adi,adm1281"; reg = <0x40>; + shunt-resistor-micro-ohms = <500>; }; }; @@ -147,8 +148,9 @@ mctp@10 { }; power-sensor@40 { - compatible = "adi,adm1278"; + compatible = "adi,adm1281"; reg = <0x40>; + shunt-resistor-micro-ohms = <500>; }; }; @@ -164,8 +166,9 @@ mctp@10 { }; power-sensor@40 { - compatible = "adi,adm1278"; + compatible = "adi,adm1281"; reg = <0x40>; + shunt-resistor-micro-ohms = <500>; }; }; @@ -181,8 +184,9 @@ mctp@10 { }; power-sensor@40 { - compatible = "adi,adm1278"; + compatible = "adi,adm1281"; reg = <0x40>; + shunt-resistor-micro-ohms = <500>; }; }; @@ -198,8 +202,9 @@ mctp@10 { }; power-sensor@40 { - compatible = "adi,adm1278"; + compatible = "adi,adm1281"; reg = <0x40>; + shunt-resistor-micro-ohms = <500>; }; }; @@ -215,8 +220,9 @@ mctp@10 { }; power-sensor@40 { - compatible = "adi,adm1278"; + compatible = "adi,adm1281"; reg = <0x40>; + shunt-resistor-micro-ohms = <500>; }; }; @@ -232,8 +238,9 @@ mctp@10 { }; power-sensor@40 { - compatible = "adi,adm1278"; + compatible = "adi,adm1281"; reg = <0x40>; + shunt-resistor-micro-ohms = <500>; }; }; @@ -249,8 +256,9 @@ mctp@10 { }; power-sensor@40 { - compatible = "adi,adm1278"; + compatible = "adi,adm1281"; reg = <0x40>; + shunt-resistor-micro-ohms = <500>; }; };