Received: by 2002:ab2:710b:0:b0:1ef:a325:1205 with SMTP id z11csp868031lql; Mon, 11 Mar 2024 23:18:44 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWOnm6j8CwhP9YqPEheFgaW1lAsdNFVuENkkQvnR78BBdAiY1Xl3BdBvQ9IG0hC6gDBEvc5u9dhBRdneQMAWCe3YfAFiyzwr6MdkF9g5g== X-Google-Smtp-Source: AGHT+IHGmuYtKlwysJyJvvKog8yqCoRleM9nCVdwD2Rg+h9G1cgx8dvcIJcRmIKS2RPZgvtbQTmB X-Received: by 2002:a50:9999:0:b0:568:1907:a48d with SMTP id m25-20020a509999000000b005681907a48dmr5774764edb.11.1710224324402; Mon, 11 Mar 2024 23:18:44 -0700 (PDT) Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id s15-20020a05640217cf00b0056829fd2bd5si3311144edy.596.2024.03.11.23.18.44 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Mar 2024 23:18:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-99873-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@wiwynn.com header.s=selector2 header.b=x2NhRcqZ; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-99873-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-99873-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=wiwynn.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 00DFB1F21240 for ; Tue, 12 Mar 2024 06:18:44 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 661895C90A; Tue, 12 Mar 2024 06:16:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=wiwynn.com header.i=@wiwynn.com header.b="x2NhRcqZ" Received: from APC01-SG2-obe.outbound.protection.outlook.com (mail-sgaapc01on2068.outbound.protection.outlook.com [40.107.215.68]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D7A905B5A6; Tue, 12 Mar 2024 06:16:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.215.68 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710224202; cv=fail; b=e3uQ0QGIBF2ln+mR50soLyD5foUXsbosQgmxkvYceomtos21GsbBtDTRWFsqRXhrjDx2xbAkhmBaBIJ3IFl3oRkCjU8iJurOhtpdIrahdZgaV7jBOUjfpnCHyIjEesGFpsGFYV+bqUpGQP/tvHsdgyvTD8UIHjK/RlHp8NoYi5I= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710224202; c=relaxed/simple; bh=AEp8CYHJMbeBTPwsJ1U65YhzMyQOty5RxBynGL33Uf8=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version:Content-Type; b=gCR+L4ustzv85Ty8tGVLIhdc3FeMXSZ13hB5IYSMWFnpbuCVbE3GiF/hFzxBHxB/zxlVcGVDmoVROpb8cCOhDOVFZkR7kl7/+xlyUpJ/rfQwXgOGArfVuCAS6ZlgJdIlkysQzXhDt1xNrvmND3fKWNLIgFkG7rw4rjbgAxyJ6Lc= ARC-Authentication-Results:i=2; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=wiwynn.com; spf=pass smtp.mailfrom=wiwynn.com; dkim=pass (2048-bit key) header.d=wiwynn.com header.i=@wiwynn.com header.b=x2NhRcqZ; arc=fail smtp.client-ip=40.107.215.68 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=wiwynn.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=wiwynn.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=nKY/aDj6Fy86d49px4+rTjiRCRCcQspYMPMa7FacjvFbbCrJAcvHBDnCwr8ITZM7i54CqAorSaUw5uK2SChKbL305DTF+XJbvHg6iyK483CAg4C7XPa506VzPjcaNo27UNey496DFfXHEgxIZos+0S+zaokEu3rsO8ds+TwFaxb8xOsJx+uJci5s6SERSHofjnfVGuVx9NsrA88pP5fzzlZD7oyL41qTuUFI3/NdaxR4I88SFi8vRqSdRkCk2G674+IDNIbOenopiJBATrRlBLETjD6t01t//94JdrWFmk6xWgINelMKg3WV2uZ7i4A3dz8zhyixYw1ZO26ZvwniCw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=DosD6Mfg6HM5skGoPJsT5gKYffO1qIysmMfEeqUA3og=; b=SC3LW7nG5i3vlyNBfwMtXMLxdPXs+YvtGB/wSGsEZ0VH0gnkv3zcC01VB0Xj2c2SPeDaU6hthy/vyKmDFeJwH7FHuuOEzcib7Kvi1QCnmOX0Sa9yVmdHZT942st4KiFMloWeO5XC1Uc7gQgaBVHUYJSGm4hU6Q1CLHpyBpEMmv4YqhSTc4bj5y6cOGRiu7m11MHcndiLvgTXqzM3B9YEHDZwrRZE77ObvV0albwMq9cHu4Ure29W+Cs+ENU1ra55D0t/PFZ99xwpgvj0XAV08aPV/OmssYYMNkr0TTSuF8xtGTu03nauVe82UW4pxfQG69BzoqLTK9pK1F0z72dINA== 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=DosD6Mfg6HM5skGoPJsT5gKYffO1qIysmMfEeqUA3og=; b=x2NhRcqZfB/gWAIG+w3MF1xt4tUeNpDwBUR9WJU5vHgKAuiat5Yps4GBIqKIShqsjNePnKNl1VbEyh2fECw4MydKriheNIkAI+mNiyJOVqzRhbIsAtYMUuRT7HVNz8TkTkobKFi5esa38rGOSA7yw0OrEEmrAdJvTsPVjeT+g/yEgSQLaJnIOrbqTUOYlZwC08aBnZ85Sky/Nfq5c8fVtyK4z7jLz7IcRuxbytgPYZH9w5pUlqf1iOgzUzcvXm2fd9CTuSVIWqxZ2Q3SPFxv988xMhmUQFZMya+owqBZPNiOTpzDZBI+ekzr1snAa0jDsFGyh3iAg8vMH1vVg+wrLg== Received: from PS1PR01CA0009.apcprd01.prod.exchangelabs.com (2603:1096:300:75::21) by JH0PR04MB8037.apcprd04.prod.outlook.com (2603:1096:990:94::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7362.33; Tue, 12 Mar 2024 06:16:37 +0000 Received: from HK3PEPF00000220.apcprd03.prod.outlook.com (2603:1096:300:75:cafe::76) by PS1PR01CA0009.outlook.office365.com (2603:1096:300:75::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7362.36 via Frontend Transport; Tue, 12 Mar 2024 06:16:36 +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 HK3PEPF00000220.mail.protection.outlook.com (10.167.8.42) with Microsoft SMTP Server id 15.20.7386.12 via Frontend Transport; Tue, 12 Mar 2024 06:16:36 +0000 From: Delphine CC Chiu To: patrick@stwcx.xyz, Rob Herring , Krzysztof Kozlowski , Conor Dooley , Joel Stanley , Andrew Jeffery Cc: 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 v6 10/22] ARM: dts: aspeed: yosemite4: Add power sensor for power module reading Date: Tue, 12 Mar 2024 14:15:42 +0800 Message-Id: <20240312061556.496605-11-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240312061556.496605-1-Delphine_CC_Chiu@wiwynn.com> References: <20240312061556.496605-1-Delphine_CC_Chiu@wiwynn.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK3PEPF00000220:EE_|JH0PR04MB8037:EE_ Content-Type: text/plain X-MS-Office365-Filtering-Correlation-Id: ac55aa41-b136-4d69-d29e-08dc425bf905 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 7C/fKVCkEJJZpZJsOW6Xyg4iq2aSUEZn1fBgtYYjhDRAbX0K1fKnm367zI11GVe/UrNpyGLxueDU2GxqyvoVxs4Q9JDuaYp5PZOqHDoL68aN15rgVKgy9ip8aERKVsx0TWMz3A6ZQ4wHCuN7/lZ+2V6BDq85CTmCmV6Ztl/CLbS2Z01fLGR/0KRIuw4NCPaZ0soA7ptg9MhkNL8Gmec2Jk5NvfraDvWcnaP8NkuATLODv/6omi20yP/0XGpAS0SD6sahcsvXucLppC8PN/osuR/uu7knkw3mfgud461o7+O22eHVsACAIUN9GeZ7rKgeOqzv2v4DQ+L2w+HpDcEbZ12xoOz8l5S4X3p+HJk/VDXfZwX+ILDsk4UBXRf3B0q8xLCrzKjQVXQHREP4ztlAP4fQda9+8uqX02QxZetkwDlIn47ZF3v1sDw0p+BrAnAC+ATyi0TYxsx+tYil8G8SBrDlhZCkagsa7W75D4hVsNGsXvh3V17f8l6HjNnGF/Pq+Rn6dx76xdiXaGjJLpuCrmdiaTzY49qUyoVNiYwGQrWmjaWc1cO1e8ifpf0vP84Jqmlepzk5I0p/VQTZilRcYpwY2sasCNl4Z5lLtIFc8YzQxNl0gtKjyuNEd0vETkc+Z/huqKldjlXF3FseLABKkuJdTXWQv1pg/wfSvsOrS0bUqzhwYwIkPpariiwwLi/i/yh3P2WRnVYOhB7i6DqHwlPoznZG6ESSymygBGnpY6dSvpQTbv7gEomez9AmW2L4 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:(13230031)(36860700004)(376005)(7416005)(1800799015)(82310400014);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Mar 2024 06:16:36.4945 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: ac55aa41-b136-4d69-d29e-08dc425bf905 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: HK3PEPF00000220.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: JH0PR04MB8037 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 4b23e467690f..e8d7eb7ff568 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 { -- 2.25.1