From patchwork Fri Sep 6 06:26:40 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: 13793365 X-Patchwork-Delegate: geert@linux-m68k.org Received: from HK3PR03CU002.outbound.protection.outlook.com (mail-eastasiaazon11011037.outbound.protection.outlook.com [52.101.129.37]) (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 794C8158548; Fri, 6 Sep 2024 06:28:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=52.101.129.37 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725604091; cv=fail; b=kJmwod/ooTqax1SKZO3Tr0EuVXzErp3NcS//GzUzjnOARlBh1iBwdDXqCnIKyeuZVyh0RdG8FA6dYmUzV5SSJtCzb3maVDAhw/xitDsmrN2yY2TlDJzsadToUeWHpav3ijv64POMQtn6SG1XP1D6SbtoBoEqRLC5nuV+O71EGUs= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725604091; c=relaxed/simple; bh=hu56h2LWgd/1CIncJ83I1yJVkrtmgD1MtU5pgSkXZW4=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version:Content-Type; b=HQo2UIsqIAjb+9VgCH3X38dkjKEqy2HD6Mj2+tlglwG0Lkuj7f9WoKquVW7IAyn/05GMP7pbNgF1dk/JApfHOmyDIBKPLPdmMD6wFdG84+6a+KTjU0gJ6C9TKZbahYMBeYn3Pt7/e5YVxo7xS218eZt/2BtwUASWPRdfHChHqtU= 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=YR8RGOeI; arc=fail smtp.client-ip=52.101.129.37 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=wiwynn.com header.i=@wiwynn.com header.b="YR8RGOeI" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=G8gSRZbgy53gW8qMWFSHnSPNQQe7vjOvSjeV/x9I3TUi7VVgnUz1//3VEDk2PiM9g6U77oWADRm3RJvXDtbbTb0vkXlOlitejKSOlIjW4j5rOqD1tzKxMVMafly4hximdfAA96aXf/IYyuodPG3eYP0tZhRYh3lACKdTs+O0QKadGPJGZ1Y5zYF+PPn1e+XouPGVvfy3SeYbv/QtvoAPzapVJCCbPju5DncjDYpYtqLrFLfELWtNxV/cTFkMYfD+JbI3rly+zGLD5hY/fQ7aX7QLxIhW5QZkkfLKeqQCDlHiXa5TgmTyvz14BFJGl+Q3EAZxsTNtieJQrX3OmZGWIg== 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=dPwochVdpj99lmYzSGyPdauVQKArIThxRJ+cwOwJfVcxKhTNh0NxsYM6egz9PB5fFQh9/re5fwhD5OnN/enJLgXkKaeJLB1Tw68BMwXJMacOcR8eBZ861X73Hs166vqNlgaNHP7VKffOj0Rjozm9uBadq4h/mhhhEq2sxDq5MqoMcRpSFg/jnoohTYjRJkz7kKZiye7Bkr08WJPXk12K4RUTa66UUFKL/82oeZOf7iyFJmt0ae3RCMASeF5fSm0Hz9t6P+48PEFQ5xoZUZlfFB796kt8nWQB3ChJWsYA8OrsGkJhIFncAqa0R2wkKybrh/n/VEjjf+aIMr3CLvN5DA== 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=YR8RGOeI9kIuEhpaZHTAmjhczOItLoPmqeZx7Wn5iM9YCOUu0lYIX+OJ7+yjiCT5tpFsJ9j/U3ZjsrgZIkdVn35XMJz043yUlh5F1RlrNGLGh8nIBG8sElTyxcJFiUqfrjq2MfXCMwFdRPriaq+VSgereOLjBNc/S7LTSAzsnRDgTWUq5tCfcnod7NPUmV0TtAs7pYu1URd9UYVd9KPQK+zK5s62j/E0hWN5z5nkOieTGY+25WW4PkWzmHyqxjBFhuY+j7IiYAiDdqMi7jBD9hyDEDoFmkZ0oQeErxfEqtt+MM5J69HAktL3YXmkAq6ITcxdJBL6c4MBpXHwn3iPAw== Received: from PU1PR01CA0015.apcprd01.prod.exchangelabs.com (2603:1096:803:15::27) by JH0PR04MB8065.apcprd04.prod.outlook.com (2603:1096:990:9a::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7939.17; Fri, 6 Sep 2024 06:28:03 +0000 Received: from HK2PEPF00006FB4.apcprd02.prod.outlook.com (2603:1096:803:15:cafe::9d) by PU1PR01CA0015.outlook.office365.com (2603:1096:803:15::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7939.17 via Frontend Transport; Fri, 6 Sep 2024 06:28:03 +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 HK2PEPF00006FB4.mail.protection.outlook.com (10.167.8.10) with Microsoft SMTP Server id 15.20.7918.13 via Frontend Transport; Fri, 6 Sep 2024 06:28:02 +0000 From: Delphine CC Chiu To: patrick@stwcx.xyz, Rob Herring , Krzysztof Kozlowski , Conor Dooley , Joel Stanley , Andrew Jeffery Cc: Delphine CC Chiu , Geert Uytterhoeven , Magnus Damm , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org Subject: [PATCH v15 14/32] ARM: dts: aspeed: yosemite4: Revise ina233 config for yosemite4 schematic change Date: Fri, 6 Sep 2024 14:26:40 +0800 Message-Id: <20240906062701.37088-15-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240906062701.37088-1-Delphine_CC_Chiu@wiwynn.com> References: <20240906062701.37088-1-Delphine_CC_Chiu@wiwynn.com> Precedence: bulk X-Mailing-List: linux-renesas-soc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK2PEPF00006FB4:EE_|JH0PR04MB8065:EE_ X-MS-Office365-Filtering-Correlation-Id: ab209c88-061e-4e66-d727-08dcce3d0fc5 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230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OaJr0yal3dJ0RBqFcZZXsWy2NpkUXH7hfoYJ0Jlr0FGGWxrJqvk5QxMaxXU/POd6RHBztQUM7anVSEYRlGcBPcKgg26PRanu7yxhKjECwjteVhIzvFgxSneM4WI7fyUZUTZpDzvtC+jNdAwyVZBw+51yv3aCtcSugiVAAvfOkguzyAPw3Ik5Ze+AA8XLLRMjXvwQSgdsRpU1+AcnaAOxM1izmSAphydwfKWU4cChmEso5yuiSPQnTpDfwpNxRfNI+sZsjcRHpnnuV5443ts8qdPgkPGF38eCjr89bB4aqA4Z3HvWeUh/lw0XM632A4CO6aSp3jVAdyIlyhLGAP/z40lbpdE2wMhIndja2JvsDXs0OhGGOtTgRxKoCbUK1UccYjigT0QAQrprolIae1UWLsQ5M44yovXPr5DQuoJwt+NDuocSj7LN2mwySX8Fr 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)(376014)(7416014)(36860700013)(1800799024);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Sep 2024 06:28:02.9906 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: ab209c88-061e-4e66-d727-08dcce3d0fc5 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: HK2PEPF00006FB4.apcprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: JH0PR04MB8065 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 {