From patchwork Fri Aug 16 09:24:01 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: 13765825 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 28C06C531DC for ; Fri, 16 Aug 2024 09:34:35 +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=KwjRc5PXWl3faDzl2G+1wHCkjG CdKuMoLnG4bZD/hcC/jMgp9aA0s1phZO6rPkp0OfMB58LBCs/omhbsnSsuEcSIy5350ywR+oGENbh 3bWrYKNZD73x9nXzRdYLY74h2NJYeoCxUBECerY1WJSmzv7f+pq/6ZlObIptqdYjwgJaGpnjOHbIG xFTxzLaUl1ZkTF9e4iJ7Uy/2FZ6h8kFcwgenEmDN+0ue5/TAbFQcBISrpwtGzX228JTY7lgZnVxeD 1cZDsTNFsIzagE/rw01Kvwd4jRT9G0jPEPcg09WvxNq8oqtAIqxzdrSggdnSASwFgxgCYpHIQrKSR QUSoVIig==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1setLl-0000000CQyM-1gnd; Fri, 16 Aug 2024 09:34:25 +0000 Received: from mail-psaapc01on2060e.outbound.protection.outlook.com ([2a01:111:f400:feae::60e] helo=APC01-PSA-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1setDK-0000000COyp-2cYh for linux-arm-kernel@lists.infradead.org; Fri, 16 Aug 2024 09:26:00 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=uUMIuwQqk/uboOwn9+3KaRgSbpNUSNMdX/PThbjKeMF2DeG6JzaRIEDGuA/7Avh5i4gKlWfWRsTeDzz3GEvEi20Oqq+rmwpVrpWd5XaliaXmG+KfWPwmDWpO9970XNvSBrBVRGY3y7p7p/uDNMLLZ2k948yQiZ+QJTN8D1MIb1WA5sKFE10SXJsS+4JSDhd4tpFbLEWPZ0jdubs9m6VclJcAqpxQ/yuLvaC5sEJ0/tjVEGAKdiFsx6PI/HIcnxc+qZJjAgfcNlDe79HpkE+T/+LwNBIyelmlNIgUgfVHSpPf3PEka1Qgx6CekMLPDPP3n0qUhkUcaGp5uzS2wpG3fw== 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=RB5U//ya6ekyqKVfPvfi36qK4q/nqBNdRpnd0WTW/HHuEgwN7Iyy1mS2MGWNzBoQO5BTyUaN1vHl5ejLsw0ynihZybsUoL87fORg3aNwmtD9ZbXJ/B6HjOIu8YujJ5gyHGOCVG2p6xMCNeR1f1jKbNejrwLaVJKy6dFN8/u4/otaBlApgEI72sv0PCwfeXm2JMV6c2NT+cFapWIGWSqr33V+hO538vWFS58R1WsATXOlEUPQx50ew9gJHpMd3iVyzizs+onG4CO9Goq/LG3S827Xp6ODEehN1dSRWxNEA4ELkyA6i/VlGcTqyXjFTBvZ4uIn0tf0S9Z8DpcV77s4UQ== 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=mN97FzQca3EmraX2MUguRNMTrphbkBa2fYTPy25ZlRF/RmXQNL0FqA/MPdQfJSfNiWGUHaYJ+sgm/zBIi+aj1hho+atQtQoaE46GLq0fTGjrf2oMw5KKE3z24w4+0KpCaGT1qr/+pBuRS6yoCd2vJiJSSGb510bldeMo/QqJRxYkloiywGuPvbA6sCQR7nf1l4vQT6wVCE5S7rAdhq0f4UaOM8DcgPkWO1hFBS8nnNDWAU+1zeFHl46lpMp79lZqFlZpSGGmyeuTTV6pa7blRwMeQlZhTA0dizNRJqvKsKgz/O+gqFqoOchTFKCEoCEQq19JB2j6MVcvKB8NSrpu3Q== Received: from SI2PR01CA0039.apcprd01.prod.exchangelabs.com (2603:1096:4:193::16) by SEZPR04MB7997.apcprd04.prod.outlook.com (2603:1096:101:229::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7875.16; Fri, 16 Aug 2024 09:25:29 +0000 Received: from HK3PEPF0000021D.apcprd03.prod.outlook.com (2603:1096:4:193:cafe::54) by SI2PR01CA0039.outlook.office365.com (2603:1096:4:193::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7875.19 via Frontend Transport; Fri, 16 Aug 2024 09:25:28 +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 HK3PEPF0000021D.mail.protection.outlook.com (10.167.8.39) with Microsoft SMTP Server id 15.20.7849.8 via Frontend Transport; Fri, 16 Aug 2024 09:25:28 +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 v12 14/28] ARM: dts: aspeed: yosemite4: Revise ina233 config for yosemite4 schematic change Date: Fri, 16 Aug 2024 17:24:01 +0800 Message-Id: <20240816092417.3651434-15-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240816092417.3651434-1-Delphine_CC_Chiu@wiwynn.com> References: <20240816092417.3651434-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK3PEPF0000021D:EE_|SEZPR04MB7997:EE_ X-MS-Office365-Filtering-Correlation-Id: 61882525-6093-4040-58d5-08dcbdd55e2a X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|82310400026|36860700013|1800799024|376014|7416014; X-Microsoft-Antispam-Message-Info: xipGJomg0Y9iMoMIkNHArklPN8zspQdYh1SS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ukuNDO4aoKym/WElI5LgQ9LhlBShVmY01hOtmrocPoL2gHmO1k1TiSS1pWabcikFjSnZg/3g9Mqba/fDuKTIihR1t+LxKWe4eAOyWHawdob9U6AcP9rCZyc2mdko6W0FV+hW3VVctv4Z2eRliTrQ4dJKce0m9TZ57eZQyfjs5XfyidDZM8BhXf0jO3QMRjeskCkHxj3OiGSY89vbf8evGUpv3OqgWwqt+jN4GukAKQT+dPlwnr+3ldF8J64MRxoR6b4xpmoWnD/X6U5CZDpQOwrRwzyix4bGCAQ8xnSFqwAqiAPI+PYBdRFfNFXPAr9zUA8jmrn4T5SqV7iBCd4qSoOQN9JTkUTuvcNfBwOlmC/rMg2kE 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)(82310400026)(36860700013)(1800799024)(376014)(7416014);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Aug 2024 09:25:28.3097 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 61882525-6093-4040-58d5-08dcbdd55e2a 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: HK3PEPF0000021D.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SEZPR04MB7997 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240816_022542_691286_8DDFBD2E X-CRM114-Status: UNSURE ( 7.52 ) 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 {