From patchwork Mon Feb 28 00:02:42 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Quan Nguyen X-Patchwork-Id: 1598444 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=os.amperecomputing.com header.i=@os.amperecomputing.com header.a=rsa-sha256 header.s=selector2 header.b=TU25iR8e; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ozlabs.org (client-ip=2404:9400:2:0:216:3eff:fee1:b9f1; helo=lists.ozlabs.org; envelope-from=openbmc-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org; receiver=) Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2404:9400:2:0:216:3eff:fee1:b9f1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4K6LK339tyz9s0B for ; Mon, 28 Feb 2022 11:06:47 +1100 (AEDT) Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4K6LK23XJvz3bXg for ; Mon, 28 Feb 2022 11:06:46 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=os.amperecomputing.com header.i=@os.amperecomputing.com header.a=rsa-sha256 header.s=selector2 header.b=TU25iR8e; dkim-atps=neutral X-Original-To: openbmc@lists.ozlabs.org Delivered-To: openbmc@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=os.amperecomputing.com (client-ip=2a01:111:f400:7eaa::730; helo=nam11-dm6-obe.outbound.protection.outlook.com; envelope-from=quan@os.amperecomputing.com; receiver=) Authentication-Results: lists.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=os.amperecomputing.com header.i=@os.amperecomputing.com header.a=rsa-sha256 header.s=selector2 header.b=TU25iR8e; dkim-atps=neutral Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on20730.outbound.protection.outlook.com [IPv6:2a01:111:f400:7eaa::730]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4K6LFF0XX2z30MH; Mon, 28 Feb 2022 11:03:29 +1100 (AEDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MSfOKkNEa1XLMehppxx5qAQVZnfDdTnI0IdbdOIc3Ha/yjSa/IhO9Hl10+oDsFRG5MfFrRirNgi7T7F5fcYzZyI8LOjakSBKSZ0lAIVKXDszOw1dVp9cLmg6bXtHEI1agply5ubLw6NLOL7LcQDCk5zeLdUwMv8UTMdnyS4xO8EmvEq/FyNvi/7DgEQb8GTadYg0H6A29AcWr/tnPETU2dZdQOHN5kgw0F7LMvQSmXP5Pchxrlsm1zoSTU3x6cEjS+ZPLXxibNti0f92OdiPlwyjvjP0zCP8auX8n6cIGNmWw44pHg5cUaoAJt7bZzzAsrd6ytEbTJe5W7RpbynTyw== 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=bxBHcP3EI1//yF/EZi96SVE0Lz9wdaxcLBrprHn/SKY=; b=EXwbKFnYo+AuwJsEyLSpNZqXCIuUkoJ3jGp4M7/0a5UtxjioxQjfaqt25sDC6eyqBg8WU7phYoyfHfaV7Z1MwspmnzR/k5SiMnKlnBVGohnioSlAsriUXjrWvNMr6b8YXzU0cdAemTkHIMlcus58td1WzPuSH00i0iuSWyg3XnB2/Tnn/EOOiA7per3ymWqBDNSxpHChDpMfU1pzMvqAKPl4IJM2c25lT3sPJCF+I17f6E8HfeFe5mpIGLxgounDpNrepRtERpNc87BLGA9zOsyo5kOtnbGu30YXorf/qA15RDFmLsvb3bI2aE1pepMnLBkcsJ5ppbVqr123IiNJ+g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=os.amperecomputing.com; dmarc=pass action=none header.from=os.amperecomputing.com; dkim=pass header.d=os.amperecomputing.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=os.amperecomputing.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=bxBHcP3EI1//yF/EZi96SVE0Lz9wdaxcLBrprHn/SKY=; b=TU25iR8eheUqwA6nlUrxb7i+dS7wDirmzLHkOg+jWBh07WoJsvSu3pc3VBuFHCAI60AQJYRftqBtxB44AgRpGUK3rw0EXOiAdCl2jUNGAEfjM7pW0syUUJlf3ckSUtT7k3Y11mzgIOPb6gDMXlf/mOA25DeJwyKk8BhjtdGS2PE= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=os.amperecomputing.com; Received: from SJ0PR01MB7282.prod.exchangelabs.com (2603:10b6:a03:3f2::24) by PH0PR01MB6184.prod.exchangelabs.com (2603:10b6:510:14::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5017.24; Mon, 28 Feb 2022 00:03:17 +0000 Received: from SJ0PR01MB7282.prod.exchangelabs.com ([fe80::d9a2:2761:a4c0:1e1c]) by SJ0PR01MB7282.prod.exchangelabs.com ([fe80::d9a2:2761:a4c0:1e1c%4]) with mapi id 15.20.5017.026; Mon, 28 Feb 2022 00:03:17 +0000 From: Quan Nguyen To: Rob Herring , Krzysztof Kozlowski , Joel Stanley , Andrew Jeffery , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org, OpenBMC Maillist Subject: [PATCH v1 5/5] ARM: dts: aspeed: mtjade: Move all adc sensors into iio-hwmon node Date: Mon, 28 Feb 2022 07:02:42 +0700 Message-Id: <20220228000242.1884-6-quan@os.amperecomputing.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20220228000242.1884-1-quan@os.amperecomputing.com> References: <20220228000242.1884-1-quan@os.amperecomputing.com> X-ClientProxiedBy: HK2P15301CA0011.APCP153.PROD.OUTLOOK.COM (2603:1096:202:1::21) To SJ0PR01MB7282.prod.exchangelabs.com (2603:10b6:a03:3f2::24) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 261b7ede-8af2-4303-2793-08d9fa4db8e8 X-MS-TrafficTypeDiagnostic: PH0PR01MB6184:EE_ X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: JFhWVMa1dCnNTMvFGbe1iCIGCGcZnfW43fp/Jfaer/jNyCLUq+LM43DgNvDKqGIuH4mztdJv2e0uvCF7IZ8pNtkKuf8f0VsMP5CDhYyJffoiN4hmyiR+S/9YHWgZ6PK3stRjaGHr/9+TK2SRMukVS47dP9/8vC/HPD8vM2xCkAYWgCr87/AUDKMxvHCDtDqyGC81uMBkhmKlbNqqMxVnpDtJNvgdIeOlk0YbbfUpqv65xZkoh4b9jEkPjeoksTgKPxjllL1k+L772rc75F7CqoWlweIPqachDK4CE5wEKGtHnASLZ9hgE5Nm3NEQuDLcZhoAt5NBhCR7GnaME20z8N/kPQb17s3GXSJVqAep02HAxYhP3USux7sIhEX+OzDjW/8u0S7TL/k39BHgdKkbNg22Y0qBTHuBEEOPsSyV+aH4BradOLLjR+0mAp3eurzkGiFmHlvw9H1+3u7+LKK1vzaLgCU47XiulJ0xgysV2IQDYiq9zVtBPmKvBm/eNEDlfEYePoackzGe9WEsJV/xO/T4AsvztHCbnVcg8ZMtehTr2U1F0j1y9stjXNsNzpaa5b2aui0GJCi26V8W7io4Ve4sYIxtblNIG5st1VMTEJLDk2fI2c7KkNvFCHFjGY86ILs1KWY3ps+8rI8/XRa3528Bfn9rxASFXNbE5E4r/JQLjnEPyt8SuvTKsBK6/NV7HQtU3WsHIyzcteP/96YZZQ== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SJ0PR01MB7282.prod.exchangelabs.com; PTR:; CAT:NONE; SFS:(13230001)(4636009)(366004)(83380400001)(66476007)(2906002)(6512007)(186003)(54906003)(26005)(38100700002)(38350700002)(110136005)(1076003)(107886003)(2616005)(8936002)(66946007)(52116002)(5660300002)(66556008)(6506007)(4326008)(6486002)(316002)(86362001)(508600001)(6666004)(8676002); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: LBjGZ5WyQfuS/7B3WOe5PS/d/+cDXjQvH2dh/ihIBWuze3cPy6ymagaUa9I/3QcSOyfBhlQwlC4t5ez3aK0IAAFOphfIIMcxcRrBYpoRTUdXp2gU0k/4uJrLco1iO9hVN+QAzbzFDQ6E5d6622jqUws2J/QA12+bElCs/xpRX0RCFi/KciCy+XzubdPKzs+7gvqknHN78Yo2fs4Hh3rfhVbUuEFFZCa5x+f5Xh00OaU+pt0DJddPxyXBmGj2Srgk8YWNYVarsRFrJ/kNJckIXE9F6BT0VgSOZyYLFYAa7twn3zhC+Vcj2uS8uhd8S/C3bHajjMLH2X/YCZepyBBVA9yGO0ZxoKpHjMdfVEt1QkevSlS4MooyKn0s22m64KnLrm68CHWJ1zDuVwXj5S9BlS3Tyh/9auYJQSG5CwlGwgB/yvysk9iiTqIlcEVEq5t7m2UMgj7Ym0Ea0WA3BHpOJWVjb2qswd7+TfJERFAq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lx5jg8DGQW0ONIepeIlfe+sUDUWm6MLO2E6q+oknsN2ofjI1K/G0e0HotGM3Q23U1gGF70GNnCn+Q4XDKXekfuCQBf8rNaYRdk8zSZQfSi7T71pgmNmDh19lvFVzhqmAnzGv6ZvvS3RcknXbGI5hFOSnDM= X-OriginatorOrg: os.amperecomputing.com X-MS-Exchange-CrossTenant-Network-Message-Id: 261b7ede-8af2-4303-2793-08d9fa4db8e8 X-MS-Exchange-CrossTenant-AuthSource: SJ0PR01MB7282.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Feb 2022 00:03:17.5045 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3bc2b170-fd94-476d-b0ce-4229bdc904a7 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: KM4WhP0v7fA9mahWs1h8zOseuyUKr7jP5x1cmSWluPeXQAZgLEjZ7r1hCQXTVHx+4A2dIXGb+g18muMalnVpolPIIs623Of+dj0wzH9vYXE= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR01MB6184 X-BeenThere: openbmc@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development list for OpenBMC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Open Source Submission , "Thang Q . Nguyen" , Phong Vo Errors-To: openbmc-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "openbmc" Move adc14 and adc15 (battery sensor) into single iio-hwmon node to correct label to be read by single application for all adc sensors. Signed-off-by: Quan Nguyen Signed-off-by: Thang Q. Nguyen --- arch/arm/boot/dts/aspeed-bmc-ampere-mtjade.dts | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/arch/arm/boot/dts/aspeed-bmc-ampere-mtjade.dts b/arch/arm/boot/dts/aspeed-bmc-ampere-mtjade.dts index 60b0e650957a..1b2e7ad37566 100644 --- a/arch/arm/boot/dts/aspeed-bmc-ampere-mtjade.dts +++ b/arch/arm/boot/dts/aspeed-bmc-ampere-mtjade.dts @@ -339,17 +339,8 @@ iio-hwmon { <&adc10mux 0>, <&adc10mux 1>, <&adc11mux 0>, <&adc11mux 1>, <&adc12mux 0>, <&adc12mux 1>, - <&adc13mux 0>, <&adc13mux 1>; - }; - - iio-hwmon-adc14 { - compatible = "iio-hwmon"; - io-channels = <&adc 14>; - }; - - iio-hwmon-battery { - compatible = "iio-hwmon"; - io-channels = <&adc 15>; + <&adc13mux 0>, <&adc13mux 1>, + <&adc 14>, <&adc 15>; }; };