From patchwork Mon Aug 26 06:23:48 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: 13777216 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 3FD7AC5321D for ; Mon, 26 Aug 2024 06:53:24 +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=Lo2LnZejiHLnr3GYBrZTsuUBWpB3Ws7w5C5IaBMRr/o=; b=r6MaxhdGcEi0du8atfDhdxnqAf RDXFxfrcLCIdzjhLiETsdZ1i8pgpytIJitltFXU2ZdPAtzJkVsDHuoaFKyJfrX1US//tZyuFzkqjD UrT9smyEYbfIojnzXTIpXSSwv40BZRYnJtvLhxVuQ+n6aPFgbS78uXdt1MEKRngZ8wXzAJRaDpjUA t5YvJANcSlM2at56HFz1XPWsMBurmSTDancQyK7bY2ArGmT/AfFfO/S3cweUJ0gInYEV4LxsAdZkR IqHAsRqwKDPCQS2L+8Xr2te4Vemb4E7hBpOdtlIx921sUBVWcn6yyJHa3mUul+j3kf2d9uI1r0QT+ 0lNfUuZA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1siTbD-000000067oA-1vaU; Mon, 26 Aug 2024 06:53:11 +0000 Received: from mail-sgaapc01on20618.outbound.protection.outlook.com ([2a01:111:f400:feab::618] helo=APC01-SG2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1siTAY-000000060R0-1eOa for linux-arm-kernel@lists.infradead.org; Mon, 26 Aug 2024 06:25:40 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=amb6LNd/6XmGzjE/tkSZ96DhhPrsZ+QpknirIlYubCfwGVPjIM+6YpbTJwGW8WPNBZn7EZ/fGtDzRN3bJ/GnCSDGeKu9hItRShTK9IdOJLHau393j2NcS86ips0P52cftRwe2v2IfTiWkfgzWslzhz6JmiM/7n8O+zasA+KxcsEIxLDPvPelBSmU/vqpvunfW1QIxt96TGHD3MkuqEfYUmzpNQyEQmsApk6B7JreJAsWqi5MGF3VB+xRm5bjXaOQSBObv8DYC/Gn36CnP70IxMexufRQ4Go9kYFK+HLxBUTKOrfgG6DKAYJS9KDjjCitkLiWrYiBtM3CRxnF3VEfrA== 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=Lo2LnZejiHLnr3GYBrZTsuUBWpB3Ws7w5C5IaBMRr/o=; b=UOQ+mKo9m4VbZXLUjY7PdBmZeME7iNu7Hh8D2J6OqbBsewTfe8ilEWK3TxpfXEYkbHT1VqqijvVqwf4XEQujx5FcZDg3K82gPxflbTsQQmzSwbwyXUFI1H2kbUOUChgOsJG2Sp664llWxY0Piw+zRYc//oRhNp5y/KMlH61uTDuJfROkdhFnUxNYqH7nCd3PI8ub1VMUzhBngAmgg3E1t2h71myb0XIGAN0LT6FNIO5pwYAzuv4wLEmzRDAxUWhLl8HXHaH15jjguih3GdhJmy0raKu8XLONle2k9xW+DmxN7Dmj9GcOsRbE3k8OUy+gZ31RoGmQNiUHHh46LFN+6Q== 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=Lo2LnZejiHLnr3GYBrZTsuUBWpB3Ws7w5C5IaBMRr/o=; b=kwMxqb0gIsve2PTjUPvqYprHUsDa8cMZxtg/EEPuHNe94YWOClLWA2hFcKElx/rHYR3BLKDMlJLMouVHh3LvkUkvgsvGDecki8ZEGB1+8x5Voe3jzR63K1LZLDLBuMLJJCh0zh/M4trHiVtI4Zq+WvsIJfwWyOpMhJIOrVOq5suPd3r3lr3eRdCAy4wfQgbz6fJAsRjfeKZkANmubeX9WugTiuChEYInWBVj1Wg2eRtCuBTLvdwuguYsHXjhOnYkEIXWETKlO537b6TTJOTdMD0ShTmTR7zdXg9trtov1Z+H88JMTiV+CxNaYYyVRZg1wtBHdc0ft0eLT14FgnWSiA== Received: from PS1PR03CA0019.apcprd03.prod.outlook.com (2603:1096:803:3d::31) by KL1PR04MB6928.apcprd04.prod.outlook.com (2603:1096:820:d6::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7897.24; Mon, 26 Aug 2024 06:25:18 +0000 Received: from HK2PEPF00006FB0.apcprd02.prod.outlook.com (2603:1096:803:3d:cafe::47) by PS1PR03CA0019.outlook.office365.com (2603:1096:803:3d::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.14 via Frontend Transport; Mon, 26 Aug 2024 06:25: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 HK2PEPF00006FB0.mail.protection.outlook.com (10.167.8.6) with Microsoft SMTP Server id 15.20.7918.13 via Frontend Transport; Mon, 26 Aug 2024 06:25:17 +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 v14 14/31] ARM: dts: aspeed: yosemite4: Revise ina233 config for yosemite4 schematic change Date: Mon, 26 Aug 2024 14:23:48 +0800 Message-Id: <20240826062408.2885174-15-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240826062408.2885174-1-Delphine_CC_Chiu@wiwynn.com> References: <20240826062408.2885174-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK2PEPF00006FB0:EE_|KL1PR04MB6928:EE_ X-MS-Office365-Filtering-Correlation-Id: 9904065a-ee49-4670-12bc-08dcc597da84 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|36860700013|1800799024|376014|7416014|82310400026; X-Microsoft-Antispam-Message-Info: 1PkHiW1LlY8MH5O72tRb8ZK3xhZ/RP4UWbUurxVantvzCNolG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GwBKGrIw9HHmXuMyV5cZWzaw0C1dX0EhHDQNK9t6Xmo5a5UpCsDWnusfvS5fZB2RhVYmGEAh/BA7eAClF4zebk+X1fd2mOhchIJ/c0dV6V85MnaBePaRHhHRXlYpFsYJxDzvVbvH7XLnlwVloP9wZyyI+CZuvDmebnVF1FwUawaRkjDhHrvzDr/XhAExqaw/P9uqAzOhEEKuOrRFtbdzgvqHXkd9DIGYteKPOTA96yZEWAqvvL7XNqWMSkUl+cLsO8eccIu2pRcJkZPLq/aX6Ehf/DEDmrgTSaUrwuf2b6ojelq4OuRt+Mj3QKMC8S2u3kYgfN9LB140D4VFc9lo3Fh4Dqt 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)(1800799024)(376014)(7416014)(82310400026);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Aug 2024 06:25:17.4402 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 9904065a-ee49-4670-12bc-08dcc597da84 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: HK2PEPF00006FB0.apcprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: KL1PR04MB6928 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240825_232538_470080_FB53C39D X-CRM114-Status: UNSURE ( 7.84 ) 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 Revise ina233 config for yosemite4 schematic change Signed-off-by: Delphine CC Chiu --- .../aspeed/aspeed-bmc-facebook-yosemite4.dts | 20 ++++++++++++++----- 1 file changed, 15 insertions(+), 5 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 1765a0bb70d7..df389b506b4b 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts @@ -1034,28 +1034,38 @@ adc@37 { }; power-sensor@40 { - compatible = "ti,ina230"; + compatible = "ti,ina233"; reg = <0x40>; + resistor-calibration = /bits/ 16 <0x0a00>; + current-lsb= /bits/ 16 <0x0001>; }; power-sensor@41 { - compatible = "ti,ina230"; + compatible = "ti,ina233"; reg = <0x41>; + resistor-calibration = /bits/ 16 <0x0a00>; + current-lsb= /bits/ 16 <0x0001>; }; power-sensor@42 { - compatible = "ti,ina230"; + compatible = "ti,ina233"; reg = <0x42>; + resistor-calibration = /bits/ 16 <0x0a00>; + current-lsb= /bits/ 16 <0x0001>; }; power-sensor@43 { - compatible = "ti,ina230"; + compatible = "ti,ina233"; reg = <0x43>; + resistor-calibration = /bits/ 16 <0x0a00>; + current-lsb= /bits/ 16 <0x0001>; }; power-sensor@44 { - compatible = "ti,ina230"; + compatible = "ti,ina233"; reg = <0x44>; + resistor-calibration = /bits/ 16 <0x0a00>; + current-lsb= /bits/ 16 <0x0001>; }; temperature-sensor@4e {