From patchwork Sun Sep 25 16:18:20 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luca Weiss X-Patchwork-Id: 12988032 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 67C1EC6FA8E for ; Sun, 25 Sep 2022 16:18:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231727AbiIYQSj (ORCPT ); Sun, 25 Sep 2022 12:18:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37438 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232877AbiIYQSg (ORCPT ); Sun, 25 Sep 2022 12:18:36 -0400 Received: from mail.z3ntu.xyz (mail.z3ntu.xyz [128.199.32.197]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5E5D62CDE1; Sun, 25 Sep 2022 09:18:35 -0700 (PDT) Received: from g550jk.. (2a02-8388-6582-fe80-0000-0000-0000-0006.cable.dynamic.v6.surfer.at [IPv6:2a02:8388:6582:fe80::6]) by mail.z3ntu.xyz (Postfix) with ESMTPSA id A2FFBC6FA5; Sun, 25 Sep 2022 16:18:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=z3ntu.xyz; s=z3ntu; t=1664122714; bh=4FYGCgQFF9T6Rzp32aL6VP51rUdPoPVkxoGxiLSBfl0=; h=From:To:Cc:Subject:Date; b=xaga2AO8bH8lPkagTpQUpa5uoYFZnZi+1o9oBHuz9RGgkgfxhiz2EiIrM1QsYsNED CVmmlVr8XcoQ9qVmxgTswJNQH1Kj03aBVrVrHwyPzT87dsUWvKDLeMp1g5opPXBZ0G AJffvpow0wDIJLhn81ukb/U5si1BiEG7QIQo86dk= From: Luca Weiss To: linux-arm-msm@vger.kernel.org Cc: ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, Luca Weiss , Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/2] ARM: dts: qcom: pm8941: fix vadc channel node names Date: Sun, 25 Sep 2022 18:18:20 +0200 Message-Id: <20220925161821.78030-1-luca@z3ntu.xyz> X-Mailer: git-send-email 2.37.3 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Node names for the channel are supposed to be adc-chan@REG. Use this format and at the same time sort the nodes by reg value. Signed-off-by: Luca Weiss Reviewed-by: Konrad Dybcio --- arch/arm/boot/dts/qcom-pm8941.dtsi | 25 ++++++++++++++++--------- 1 file changed, 16 insertions(+), 9 deletions(-) diff --git a/arch/arm/boot/dts/qcom-pm8941.dtsi b/arch/arm/boot/dts/qcom-pm8941.dtsi index 9cd49deb9fa7..3c15eecf2f21 100644 --- a/arch/arm/boot/dts/qcom-pm8941.dtsi +++ b/arch/arm/boot/dts/qcom-pm8941.dtsi @@ -101,26 +101,33 @@ pm8941_vadc: adc@3100 { #size-cells = <0>; #io-channel-cells = <1>; - bat_temp { - reg = ; + + adc-chan@6 { + reg = ; }; - die_temp { + + adc-chan@8 { reg = ; }; - ref_625mv { + + adc-chan@9 { reg = ; }; - ref_1250v { + + adc-chan@10 { reg = ; }; - ref_gnd { + + adc-chan@14 { reg = ; }; - ref_vdd { + + adc-chan@15 { reg = ; }; - vbat_sns { - reg = ; + + adc-chan@48 { + reg = ; }; };