From patchwork Fri Jul 19 05:58:43 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: 13736891 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 AD0F4C3DA5D for ; Fri, 19 Jul 2024 06:05:12 +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=yrss1LFTszE1pis/nUOnfDY03qkapLfO8Yjsln0bIZ0=; b=NanffUwInb+Xo9qL3NFo5SsCr/ ypWnqF0kKtjgD+aAfTwpWBeYHhBVStDloa1mHanzrfqCWyVBFAQXlWnaEulc48673R6gAmkPd//a2 962FhVgsVsmT3s+IbnBLnSsM5xUIvdiiECs28J/LYkJ4izS41huzKueRhCxev3yUTCEnE2T6s35d2 5X2dtkEYxIc674/LdbXPrOfOXxOlko8qK+EYbnx1RXhO/8II1kysmoCTzYxuHcM9yAIoalwyNdSPW 5cLPCK/qLIG5YMcM7Zj/YFpYQXSv6gc5jKPCad4GcD9rQm7rGRq8v9nQbJk8SD9Gt76yp0l/5rPV3 dYNFRvDQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sUgjk-00000001js9-2a1X; Fri, 19 Jul 2024 06:05:00 +0000 Received: from mail-psaapc01on20623.outbound.protection.outlook.com ([2a01:111:f400:feae::623] helo=APC01-PSA-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sUgfH-00000001i0Y-2vtr for linux-arm-kernel@lists.infradead.org; Fri, 19 Jul 2024 06:00:26 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=WUSfmMbK7dulFmLFrC6x+wd0Iv3Ap/c0Gs1lw6g1T7OsaLprmxgxNd3mjxkLlirMbxKYnXRjkXGsDDC+eVdT67wd/rZtuEvFLbhostrKHCVD0tuBr2DLiX5UBUajq5jsaGNqIwguwMkIk1n+aak2ARjdpZkOMwux8pPDPk79RWs3JmvmvGMrPdt5Dmv8g2D8yxb6pn1D+d2hwoSq7lzGJpTl+WMPLdxgoR7jyXUCYgKxMwAD8bNM1Uw2zyLOFubA257JO2f9IgdJ9JdlpuQ28SZmsi2p4kYHxE0kOY8Cp3bHjcs6kUBNj0nx26an8Qir90Fqt6f+jJS6STKxIAHUjg== 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=yrss1LFTszE1pis/nUOnfDY03qkapLfO8Yjsln0bIZ0=; b=M8IlFFYZc6C93QrRRlgpUV0JFVqur6nVUgrXArXBBfM6nlossHJfZ8FhLJphVhTW1A7zXtU+pa16nLVa7JTHkz2ShF7+uKSeOpyyBavm69mUbDvImcT3LonrFzceRulzF0NGOw2RvWLSHr3TRL+2j7TrMSOVOUHGkTfuO2iGUMTe8kkhn8vB7o1v5IHxmAIZ4Zd9HQqZ6Q+h75Zl88Ie559WMVo1Oftj8SP3uXjYT+UEF/StCW21Q+5m3B9afdIVgN/dW/Y0bXQmE7J+h8Dv1bj2CtdMpYc3R5bqk7QW3rAsw5PLo8JSD4ex+Bf7qyn7dDbZm+6eG/uWnvkt9VG+YQ== 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=yrss1LFTszE1pis/nUOnfDY03qkapLfO8Yjsln0bIZ0=; b=HHMcIknJqVS6GCXZ5clbImsCs1BoCGMZQJ9r9o7/CglgXV4fp1RpXseflF9drn2khwcS1z7ilo8lfDIe2GAH0bzsX08GWag2FhGxKnCwmtW3PU5SbRjuZp/hGy1KrZzPJeN/qZljv2HtAOFG43Kaw3xbMzNJfkW5bfbPpv1EFHhbkAmdSF1dgaj4NNq89/1Fug97IhXg4p9t4MGwYE7AVJ78anViBSfMgeKbPSBSNmozcHb986QZhuj0X68dgPVzUhBdkLQgocLOLQGihrTqlKW3UZS3t9P58GGVZ4C08EovCrRi8XAQk3XjqAqVRBhU+vUBEgHcCVatHWjW3A78Lg== Received: from KL1PR0401CA0034.apcprd04.prod.outlook.com (2603:1096:820:e::21) by KL1PR04MB6899.apcprd04.prod.outlook.com (2603:1096:820:d3::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7784.14; Fri, 19 Jul 2024 06:00:12 +0000 Received: from HK3PEPF00000221.apcprd03.prod.outlook.com (2603:1096:820:e:cafe::d5) by KL1PR0401CA0034.outlook.office365.com (2603:1096:820:e::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7784.18 via Frontend Transport; Fri, 19 Jul 2024 06:00:12 +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 06:00:12 +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 v10 14/27] ARM: dts: aspeed: yosemite4: Revise ina233 config for yosemite4 schematic change Date: Fri, 19 Jul 2024 13:58:43 +0800 Message-Id: <20240719055859.4166887-15-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_|KL1PR04MB6899:EE_ X-MS-Office365-Filtering-Correlation-Id: 6c3485fd-70ec-4824-82c5-08dca7b80dd0 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|376014|7416014|34020700016|36860700013|82310400026|1800799024; X-Microsoft-Antispam-Message-Info: eH8ZUZNy1VIKqxUszTfCuWQkaNuM0zC3KRz17xY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Jfexo0lqEQe5mDgbxCFKX21sGn43AGBnNqkaA3AxDgAqzCaWZeUEoQyKJkyTpE7bhf5NDlzeWbvv2P1Q7TkLah72XK4wpyiV/nXpmEepUgB0LqGC/jtUmOSnsFpXaabEju8X04C5jtMFPLTu934YAx3qVQ3U9FcoYSeiws7K6Xpi9xmG/9Iy31+BuVRaDD6RTM/nSLee2hKminyBWGR37NdJQBjoAwi3RG9dvqGIe5TbiByTSFdxIXa6azH6UN5jD0gznyHAr4bDCsQdf3xvmsgShaXl7YtBJ8ENKC1m4gjfH0JuL1aXsXRlHpUp6tMn1bBSaMiy2B7AI44KmnbFDlYy9Rnbt7vn 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)(376014)(7416014)(34020700016)(36860700013)(82310400026)(1800799024);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Jul 2024 06:00:12.4701 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 6c3485fd-70ec-4824-82c5-08dca7b80dd0 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: KL1PR04MB6899 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240718_230023_762507_60BD2B95 X-CRM114-Status: UNSURE ( 7.70 ) 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 0c7d85ff4360..67e3c787d675 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 {