From patchwork Fri Jul 19 05:58:39 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: 1962317 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=wiwynn.com header.i=@wiwynn.com header.a=rsa-sha256 header.s=selector2 header.b=oKTen0wY; 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=linux-aspeed-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)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4WQJv567Hlz1ySl for ; Fri, 19 Jul 2024 16:00:49 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=wiwynn.com header.i=@wiwynn.com header.a=rsa-sha256 header.s=selector2 header.b=oKTen0wY; dkim-atps=neutral Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4WQJv555J3z3fS4 for ; Fri, 19 Jul 2024 16:00:49 +1000 (AEST) X-Original-To: linux-aspeed@lists.ozlabs.org Delivered-To: linux-aspeed@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; dmarc=pass (p=quarantine dis=none) header.from=wiwynn.com Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=wiwynn.com header.i=@wiwynn.com header.a=rsa-sha256 header.s=selector2 header.b=oKTen0wY; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=wiwynn.com (client-ip=2a01:111:f403:c400::; helo=hk2pr02cu002.outbound.protection.outlook.com; envelope-from=delphine_cc_chiu@wiwynn.com; receiver=lists.ozlabs.org) Received: from HK2PR02CU002.outbound.protection.outlook.com (mail-eastasiaazlp170100000.outbound.protection.outlook.com [IPv6:2a01:111:f403:c400::]) (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 4WQJtW6ttBz3dTT for ; Fri, 19 Jul 2024 16:00:19 +1000 (AEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=giZTT2qpoC0lHzJtB2ZFGHFwM38hLlTb3NuV95T6nHO2rOV2FnEqQ2lpdMjPzTTWB96/wEeihvNHwoHnYzsRBnK+2oTkv+q28iAoJl64niDWiXWNHtuju5UBYOkFoHDVybNwgt1o4WrXXooeCcZAqF9+MukZ/VzBwx+22Po2AX3rEbEXcwZ0TMRco+6M3GfKvYmWV8CEH/j2T+jBWKF+bzdKZyaBCr7HuToR3R9+15qaydQRG3COrpIqbKZDe0KaYASv7pW/yM1Zr9PNnVA6cswK0S/SEHvkBLeuCHmxiXDNxSA5MZFM/55dGCvnN7vNsICvC8YvbNoFkFJZB2wdKg== 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=S11d+Rgg5XKlgMlTPsawAewq2X5TMPnusGFqrYm+mrA=; b=Juc8XQAYcmr3QP1kX8bm7xNaxEnFkeh5Gn1Zpf+Gvu0PoaCWFcauUTQtvvHC6MCEahiNkfP+Gc1Rhzy7Cxn5ola0IGnjmC3+fqotl+QYh6D2M59bQue1c02lDUM1OHhcq1+dpPYLZIl4mveMZ/guWxdqWhIKhVkRsnhnabVtl0GMuaJx/ihgQYcbDKt8DlGQmHSAVKTqYR5EiieWhsyyr2bt02Xalzyve9iWae2WKtAci7Jl4hXcswOtRTHLzqWLNgaevK5MjQ9v1kEHUAGKMm9FTmcLe7FKHrQ7qNnVHVaRsRJdbINITT3bg+ksHW1zmmWPLLL4usAAna94tgdraw== 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=S11d+Rgg5XKlgMlTPsawAewq2X5TMPnusGFqrYm+mrA=; b=oKTen0wY5j3uYwuYI7/jD24SMDCf8Rm2Yfv987F830FtPz62BMa1x6MEnxjWbB8x05SZ2HmlmsGcIuRLniTGPy0ifAwlxsfJFuj9bH2/a2WU/vG/uX6h/E7My2EDRBBXEUjRZyInPnKgtL02rLX9FC5zKq8XHb58QGgitfhSEl8otGDUTJeiWqrUq6/NcNmuQkiOngBXmgRPf7lwRnERSW4ZXltybETvgQyzDhAZLPN+oLB89mxeoStJKZc0oPDHZJO2nLQ0e1Kdh/jjK/jdHQHTaSPJnzqJORrS+uMyQR7NlvJWPXxbXxIWGr5q/PxRAlIHykRRKcyHEh5t1lbL2g== Received: from KL1PR0401CA0036.apcprd04.prod.outlook.com (2603:1096:820:e::23) by SEZPR04MB6657.apcprd04.prod.outlook.com (2603:1096:101:e0::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7784.18; Fri, 19 Jul 2024 05:59:56 +0000 Received: from HK3PEPF00000221.apcprd03.prod.outlook.com (2603:1096:820:e:cafe::22) by KL1PR0401CA0036.outlook.office365.com (2603:1096:820:e::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7784.17 via Frontend Transport; Fri, 19 Jul 2024 05:59:56 +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 HK3PEPF00000221.mail.protection.outlook.com (10.167.8.43) with Microsoft SMTP Server id 15.20.7784.11 via Frontend Transport; Fri, 19 Jul 2024 05:59:55 +0000 From: Delphine CC Chiu To: patrick@stwcx.xyz, Rob Herring , Krzysztof Kozlowski , Conor Dooley , Joel Stanley , Andrew Jeffery Subject: [PATCH v10 10/27] ARM: dts: aspeed: yosemite4: Add power sensor for power module reading Date: Fri, 19 Jul 2024 13:58:39 +0800 Message-Id: <20240719055859.4166887-11-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240719055859.4166887-1-Delphine_CC_Chiu@wiwynn.com> References: <20240719055859.4166887-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK3PEPF00000221:EE_|SEZPR04MB6657:EE_ X-MS-Office365-Filtering-Correlation-Id: 18577245-fb9d-4505-3fd7-08dca7b803f1 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|36860700013|34020700016|7416014|376014|1800799024|82310400026; X-Microsoft-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bxQEL9uv72jDvQRkPEbB2D3ixLpyq5rSNDGzdHX/w+Ab5IBdG4ygUCA1ItXfRQanWltpPyDQbyVo7KAtGg+wVle48E12CLv6BogHgL14oyjYJ4rpzrTaNetd/iMtlOUd7nFEtdpXlux7ea0JvSzjBX+TGjnDXvfJNECXJcurmjPTDwYellz1oCvf3nxHlkDZlZ0/v74YHapNbGui/C9gSz3dCDqq7sBeOOsXd+c93czeyQrr6J/OSJ/Y67K6SzscEHfC0DgLQafSMpjVRvId85Dc17W0C1EJo0qpai0Fp0PDiHH3enSAGv8CfeoZHKgBNp8Ob9+xdo0Se2vpTzx8AQXL9pHNOn+s+OedrFwoFhx/E4p2dtHKFzq8A7S8+qyrAzySf4AoOz4l+DpDBD 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)(34020700016)(7416014)(376014)(1800799024)(82310400026);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Jul 2024 05:59:55.9387 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 18577245-fb9d-4505-3fd7-08dca7b803f1 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: HK3PEPF00000221.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SEZPR04MB6657 X-BeenThere: linux-aspeed@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux ASPEED SoC development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-aspeed@lists.ozlabs.org, linux-arm-kernel@lists.infradead.org, Delphine CC Chiu , linux-kernel@vger.kernel.org Errors-To: linux-aspeed-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Linux-aspeed" Add power sensor for power module reading Signed-off-by: Delphine CC Chiu --- .../aspeed/aspeed-bmc-facebook-yosemite4.dts | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) 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 92733a8ecf0b..2ac872878acd 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts @@ -906,6 +906,11 @@ gpio@23 { "HSC7-ALERT2-R-N","HSC8-ALERT2-R-N"; }; + power-sensor@40 { + compatible = "mps,mp5023"; + reg = <0x40>; + }; + temperature-sensor@48 { compatible = "ti,tmp75"; reg = <0x48>; @@ -930,6 +935,26 @@ eeprom@54 { compatible = "atmel,24c256"; reg = <0x54>; }; + + power-sensor@62 { + compatible = "pmbus"; + reg = <0x62>; + }; + + power-sensor@64 { + compatible = "pmbus"; + reg = <0x64>; + }; + + power-sensor@65 { + compatible = "pmbus"; + reg = <0x65>; + }; + + power-sensor@68 { + compatible = "pmbus"; + reg = <0x68>; + }; }; &i2c12 {