Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp5551787pxb; Mon, 14 Feb 2022 01:39:51 -0800 (PST) X-Google-Smtp-Source: ABdhPJypXQ8HGuF13RovzKRU9ta2XamP4YmyAUl9vKdgXEB+EU5itAnMffiiyGg8c17XRiRgy5V9 X-Received: by 2002:a65:688c:: with SMTP id e12mr7691451pgt.282.1644831591669; Mon, 14 Feb 2022 01:39:51 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1644831591; cv=pass; d=google.com; s=arc-20160816; b=ouFjs0BBwhqM6GYjV1+zHVIjswTzosQS935VgXaFL5N6jLlS50i4xuZuDGVODrN/WA fgaBkzR0aZ23FjMGLesTEBPS5ftYNhMLwpm2gVxGwq7RPu15julQvkaIK7cfO/3MkHlp geMkhaMKEjCXZS2D7bgh9zUVMa43n2ToGv0oKXUHo2+ksLnkwtKuWRdgxbLNsV6QyVkP vU+7lbqWaaviM5idpjQJbMEtI5uYuXpSypP4WwEfkKvqu6NkLWEhIUIjDz2/6gJt4Zxt zNoYlUSIY+WUFdC55ATGzNDTIF0mhy6NAgt1jGFHUL05EjsB6FtyAqfBPp122zoVkAPS hasw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=1U+qZMiEYQuuwUYthaqKiZ4rPo5rYgpYTpz5r6aqttg=; b=qR6rtMQBuoHW4Yz3cqURa92DLcJq+kaAzTQRhxOyvtLIQH0erX5lIrVoaUGtfTWG3K dNECED4Cy3OKet5Z0H0goezRUe/zcKWvDoID0iGJkguU2/xu9CiqCEZLiyREYTGIs3QV IMpekIot+sgIbJSzd+NdqtJSQf2Nu99ATHwfNzDJBjbLwubcVSL0HKlE01PtuV2TASS4 GHr9SQzNv6ROiOiQ9Uz0Lp+DeAVPNoH64coPcfd2PhoshDPRbumaQvX8n3V+SP4HUDN1 k3Qo4TXnFfL924wX1iD9f3uNdWUSrcDdcZjJDeZ2WijEBE4sngVRqJ017osJWC1Dzv1n Z0kA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quantacorp.onmicrosoft.com header.s=selector2-quantacorp-onmicrosoft-com header.b=WosEV7K8; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b13si31008372pgn.72.2022.02.14.01.39.35; Mon, 14 Feb 2022 01:39:51 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@quantacorp.onmicrosoft.com header.s=selector2-quantacorp-onmicrosoft-com header.b=WosEV7K8; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240309AbiBNE0h (ORCPT + 99 others); Sun, 13 Feb 2022 23:26:37 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:58386 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240223AbiBNE0N (ORCPT ); Sun, 13 Feb 2022 23:26:13 -0500 Received: from APC01-PSA-obe.outbound.protection.outlook.com (mail-psaapc01on2136.outbound.protection.outlook.com [40.107.255.136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BDB584F449; Sun, 13 Feb 2022 20:26:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KjxkinYCTrlevtI7eTOSvYaWZIs+HiSVC+PYBw/tHbJXFRBs2GFXnKicgepZdtPYLl1ARYoatlXuBRg5xqA4oEinen+/NMntY6yDP4VP9P8MMIrss7ICRNCzvVXYGmXK0CamKktRlHctCfjQrfhbZSLD9YVbgOw4zNgiUjhWPMWE8NAlVL8EVCKYFi3El2Dr6Yz8vYUV1fsAz0uqEHFNEyqF/eZPEKesmwSb7obotWO1WOU3KO5TN9GsfdoTEs/JksviJtAMq8MIYs8tAFY97ZmSnTJpsOZj+F72i2vNxUH26TZHQTm40DHnaGhHqNSjGQ7rtFZ68Ay8co3cLs/IBQ== 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=1U+qZMiEYQuuwUYthaqKiZ4rPo5rYgpYTpz5r6aqttg=; b=KnrbZyCSW57rKpbd2lT/DjH0y4bNh29DyisM5OeNLHbEZBeMzSoaj4BzqtOue9TwHGxo41hmtSGlBpYF+olnpKg1gMD1jCV4DiL1evW+8sSvzFXQJz8ykzAJdwCWtzDiTcJe2QaWO+LEM63qZsqR60sSAE0+XbtuV422ez3p2nnO1dyjhs7oxe6ocHdMF4yHkWT60ILTr2DEfE+PdU7y3nVzN5r6LMomF8D6rZ80RHGO1nuK8L8isLWX4GjQd8dFdB2g54X55uxCgaJnX8sekZ8xnzNjcZ/tBK3tjbn9DBWjPRnWs3n0LcQoRqpwTwB3VkgdS9NWVhJcCXpcng0T6A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quantacorp.onmicrosoft.com; s=selector2-quantacorp-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=1U+qZMiEYQuuwUYthaqKiZ4rPo5rYgpYTpz5r6aqttg=; b=WosEV7K8Fx8YQvAxlx8uixBGQuNnSbuZ+1ftw4E11RoxuLFvVnru3bFuh09Ygnx7aUOna3M9NnIeZUT0Vg6RDjuYahVYbZxnsHX28HXZ+0efk5CyydPTMxC1PC+zs6XD0nEfcAvkbHBPZi70jO9e5lBBOp95Dy1k8i3avXN42lI= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=quantatw.com; Received: from HK0PR04MB3282.apcprd04.prod.outlook.com (2603:1096:203:89::17) by HK0PR04MB2451.apcprd04.prod.outlook.com (2603:1096:203:47::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4975.11; Mon, 14 Feb 2022 04:26:02 +0000 Received: from HK0PR04MB3282.apcprd04.prod.outlook.com ([fe80::ec21:c033:761d:3e03]) by HK0PR04MB3282.apcprd04.prod.outlook.com ([fe80::ec21:c033:761d:3e03%4]) with mapi id 15.20.4975.018; Mon, 14 Feb 2022 04:26:01 +0000 From: Potin Lai To: Rob Herring , Joel Stanley , Andrew Jeffery Cc: Patrick Williams , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org, Potin Lai Subject: [PATCH v2 08/10] arch: arm: dts: bletchley: add INA230 sensor on each sled Date: Mon, 14 Feb 2022 12:25:36 +0800 Message-Id: <20220214042538.12132-9-potin.lai@quantatw.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220214042538.12132-1-potin.lai@quantatw.com> References: <20220214042538.12132-1-potin.lai@quantatw.com> Content-Type: text/plain X-ClientProxiedBy: HK2PR02CA0127.apcprd02.prod.outlook.com (2603:1096:202:16::11) To HK0PR04MB3282.apcprd04.prod.outlook.com (2603:1096:203:89::17) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 307ef40f-413a-425b-f9b1-08d9ef721b7b X-MS-TrafficTypeDiagnostic: HK0PR04MB2451:EE_ X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:330; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Uo9S4v0P2jUYuPeB1kOhm2gKGPoCmv981jAA8x1JWaGf8sM1f7kR8poXKHNrmYJ9HopD9n9X5oCUdX7teQQnchpI8KOhFchss/uSHHxCSXDT2ELuV8UrYavrUZiTw7CoaKIFG+8fVFWmCreJP/i3VrgkZ4+8K3o7/FfMKipcT2tgYY5R9+H97Hmtt7jeLCFTWh8ULRMkRbcNXTJw0LfdRPkmkwQKN8+LxveBsRoUWuJRT+mGFeRsqND8mGOjFt8Ut0OPoqkMXQjflzyLn9XYiR32S3PihBAai4c7E7qXhFM1Gln6+zJhBg7yzJ80/g4JbqnRVUWumCj79VVGrvLJqbZRqYm8F0FZ9OQ2s/uwSlN3L70uCZiaCPgZ1GNz/WlOr17aAFqVdsqAW/1bKsZU8N2Bt+smlIwEe+QJuHzdK9QqPEUVgMb8hYU7uzEa/jY+l4/cGnZizUQ+QDZeTCAM4x8QpXHSDCAj385Fc9to07GzAl+u5K/QVh5q+o304m+1o3RTdhfI3zEOBlxouzflXhZNb5XnMQuqcR5/aDKO9worr+kyrfTgiMwGDLVNmqBXc9sMysO3tdACm2CtNgbxHC+CitH+5LHdAL1org+dq61qSvOkG8+pnoXVFLtb6xazlRFWrhDC17toCYeH31PkEfQYHEPXb/q2dNCJA4aA6Tj/Hlegg0XGUfR4gm0TTm4T50U9FOeas5tt5lgGFhkWIw== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:HK0PR04MB3282.apcprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230001)(4636009)(366004)(316002)(2906002)(52116002)(6506007)(36756003)(5660300002)(38100700002)(38350700002)(6486002)(4326008)(8676002)(83380400001)(6666004)(66556008)(66476007)(86362001)(66946007)(186003)(26005)(107886003)(54906003)(2616005)(110136005)(1076003)(508600001)(8936002)(6512007)(44832011);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?kAgf3XlGPn3PfnwrLbAAPt0RvcForiYQ4G0FJsM67iSuL2SQ9O9/XQvxiY0W?= =?us-ascii?Q?Ws3xQ4+I/EOt9inIE9zLrk3tEsWXMiXbvs+fmu9P2RBxw1ixMoyf0pgIvzD8?= =?us-ascii?Q?175QrVTmh+tLYjp11LmigsukWHP/BBvNg9o6ktiE+vrLYs6GJey0znqMKLvn?= =?us-ascii?Q?wJF0XBDoZM1ZwZoOGkTtS0KMSf3gfQTTtiRiesUo/epUWgjb/Pja+zX4nEc1?= =?us-ascii?Q?kLaLHpOv4ILsvNfTjXi47Yg+Vmn+nmIHpSoND/zzXGFNodkTHdk2YHpo8fSQ?= =?us-ascii?Q?eGyNc5ZbblVTG882iRV6Z6DUmGidM5j5n7RMZ3w4/VMQfKO7KqAUp050mpeK?= =?us-ascii?Q?/+adtkVj63JRL4kA4gRdltQ0+Sr/XoE/+O3u0cCeRRqokMumiRJo1/4gtwXF?= =?us-ascii?Q?l1Wp86s6dZDFVFe7XXP844BnGLmDV+FRfjz57EY+FJe2XWpmfbwxsAGCE57u?= =?us-ascii?Q?ItEfRFhmB1y2JXyd4m9x//DkoiEhvP5BBqFymPcdOnf6I++Udxp7KLHLDnb3?= =?us-ascii?Q?Ko83f8bM3BOTBEs1BTVR1V+Mnpl/QZ5PE/yW1CG5aoTMdKa/kwKExkkxy5+d?= =?us-ascii?Q?/uUn7fDEgRaTk6jNAP1vMiyLoiRmaDZ+1VappMF6GlzJ/HsM2qo9b+56oxYO?= =?us-ascii?Q?Z8RjtK7b03F1QY/kDuV/3J2xAwyj3UcRJwOb+aCKpfVPL6jdiCyEhSKmddd7?= =?us-ascii?Q?jZcRj76obIeRs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NVvBGcrgVGPhzS9?= =?us-ascii?Q?nadDxzqNHzo8endAC6FMiBg=3D?= X-OriginatorOrg: quantatw.com X-MS-Exchange-CrossTenant-Network-Message-Id: 307ef40f-413a-425b-f9b1-08d9ef721b7b X-MS-Exchange-CrossTenant-AuthSource: HK0PR04MB3282.apcprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Feb 2022 04:26:01.7618 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 179b0327-07fc-4973-ac73-8de7313561b2 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: Zv9xgiMcUau9JcfX5Nh1DQnT5FjdKox/jEddrfpZJi5hx+GU5kKNFLXf4ym3HOT7U7d7Oc9Ox+TPNZ3an8257w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: HK0PR04MB2451 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org add INA230 node on each sled base on EVT HW Signed-off-by: Potin Lai --- .../dts/aspeed-bmc-facebook-bletchley.dts | 36 +++++++++++++++---- 1 file changed, 30 insertions(+), 6 deletions(-) diff --git a/arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts b/arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts index 76c086ea7b71..8c8fbfcbb257 100644 --- a/arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts +++ b/arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts @@ -249,7 +249,11 @@ &i2c0 { status = "okay"; - /* TODO: Add ADC INA230 */ + ina230@45 { + compatible = "ti,ina230"; + reg = <0x45>; + shunt-resistor = <2000>; + }; mp5023@40 { compatible = "mps,mp5023"; @@ -315,7 +319,11 @@ &i2c1 { status = "okay"; - /* TODO: Add ADC INA230 */ + ina230@45 { + compatible = "ti,ina230"; + reg = <0x45>; + shunt-resistor = <2000>; + }; mp5023@40 { compatible = "mps,mp5023"; @@ -385,7 +393,11 @@ &i2c2 { status = "okay"; - /* TODO: Add ADC INA230 */ + ina230@45 { + compatible = "ti,ina230"; + reg = <0x45>; + shunt-resistor = <2000>; + }; mp5023@40 { compatible = "mps,mp5023"; @@ -451,7 +463,11 @@ &i2c3 { status = "okay"; - /* TODO: Add ADC INA230 */ + ina230@45 { + compatible = "ti,ina230"; + reg = <0x45>; + shunt-resistor = <2000>; + }; mp5023@40 { compatible = "mps,mp5023"; @@ -517,7 +533,11 @@ &i2c4 { status = "okay"; - /* TODO: Add ADC INA230 */ + ina230@45 { + compatible = "ti,ina230"; + reg = <0x45>; + shunt-resistor = <2000>; + }; mp5023@40 { compatible = "mps,mp5023"; @@ -583,7 +603,11 @@ &i2c5 { status = "okay"; - /* TODO: Add ADC INA230 */ + ina230@45 { + compatible = "ti,ina230"; + reg = <0x45>; + shunt-resistor = <2000>; + }; mp5023@40 { compatible = "mps,mp5023"; -- 2.17.1