Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp3622642rwb; Sun, 25 Sep 2022 09:35:05 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5oP+Yt3phjuzXPoYghGdoxsQaVDxatCvwmCXes5ExdwQ95U50cQDEE2ptr1HNx6O86296M X-Received: by 2002:a05:6402:348b:b0:450:28be:d6b0 with SMTP id v11-20020a056402348b00b0045028bed6b0mr18747952edc.386.1664123704902; Sun, 25 Sep 2022 09:35:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664123704; cv=none; d=google.com; s=arc-20160816; b=XCKLK3unz+Zyz8tVSxCaFR/PFEfpHH62/EQeeSG3uEaqLFxi2VVTv/Zjmkh7u/cGSg tB/AU+Q0QHmpMD9eDJcW0CbNzppWSJb1B2p1Hl2xZx902D0ccLRxnEhjhPFbctO92pDf qu82r8ljFKVVj3SYA2f48V1j00rXFccPjgZCmm3n30nzYeRN2Kh+tP/PpVdM4Pojq/L8 wKgOYQNwGgX70rZ+dIFU3xch7Y/rgpJyMbqV83ZkGDzuw+1pNdX2mbA6DeIzIXMh5BID OMlXm0e2dCr6LgwWjKWH1ARquLFmdHt11+FOu1ANm+bzjfDgq6sbmjhtpqKTnjvj5+f4 NjKA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=gEr2OQA1o0Q2by+M4JG0QOrTfs6sAXfe7lVxDCwIa2o=; b=oUeWXaguhLSNAzJV7pSDkFyLNnNEybS5aVNAxN5XXGexVKK7+uO4SMwa0Ul2t2qtAs BQghMPDWcQID67lcSBXXdCMW7qj9qAmKxNTPJQ0POeLAyBTP3YdFJXRR6R0QM1tIHLfS tOkpp7P+CLYO6ZxfsaaKeewK2JFOsRrUE1374PlTV1f1h3CKJM0Uermxv2pretijOsCA JuXdXFe3oDFTvMCEqQR0e4SrSmHiVzG9iiHSJNZt1fBSjE07Q2mE3I8yNM+D6lsW3NMi xuyDGKGYvMAnw0x0KqRujuUiyH7+qjXMeup3EESbUUwTtdQB2l4mNw0J0qcfaZoT705q M0pQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@z3ntu.xyz header.s=z3ntu header.b=xaga2AO8; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=z3ntu.xyz Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q10-20020a056402518a00b00448375a5890si15285427edd.393.2022.09.25.09.34.39; Sun, 25 Sep 2022 09:35:04 -0700 (PDT) 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=fail header.i=@z3ntu.xyz header.s=z3ntu header.b=xaga2AO8; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=z3ntu.xyz Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229794AbiIYQSm (ORCPT + 99 others); Sun, 25 Sep 2022 12:18:42 -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 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FROM_SUSPICIOUS_NTLD, FROM_SUSPICIOUS_NTLD_FP,SPF_HELO_NONE,SPF_PASS,T_PDS_OTHER_BAD_TLD autolearn=no 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 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 --- 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 = ; }; }; -- 2.37.3