Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp507282rwb; Mon, 26 Sep 2022 01:56:58 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7uqmitVUUtBVJal0JK0IVRzFI/ahxBZqL/MZRI7aPuUrqHRsAmP2RMVo3dmbTKX4NdJQPx X-Received: by 2002:a17:906:ef8b:b0:77f:2b14:6eef with SMTP id ze11-20020a170906ef8b00b0077f2b146eefmr17528633ejb.612.1664182618162; Mon, 26 Sep 2022 01:56:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664182618; cv=none; d=google.com; s=arc-20160816; b=x2nZZM9ZdZztAZ4HYtBuS+xVAS/OFpgbk9wBFLk8A1fWIXEpIDBPuL6dLg92aue+Ne yPFr80qrQGk/nlU0RyO12/k/7+2exZm49TB0C/Y/obzTYmF/phXtOatOh5aBtfhPozzD ox6Oz6T1dx0+jHH1s/3xnd2nZ000H8IAODEwASFwm0DxV907te25aXfjNSfFubgqFe1i HdutPEsP9MHDgr1H0m8/ZbSD4pR/c9J48/CRlTqc1hmlceNeUb7rFdsX2T05gSYm9edU aWpJveSA7G+paUvSqrEZnOalgA47ftBqMy9hYzXYK4YH1SPLh4MMVZ3aY4OgUNm3N+Dq fvUw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :organization:from:reply-to:references:cc:to:content-language :subject:user-agent:mime-version:date:message-id:dkim-signature; bh=Q2VHep0+S40i1p+8tHTWFQVTsADjWZtNk4KlaS/+6IU=; b=RaK63NYg28Y4/VbF5iWsIxf1XD9ePtYc4qYf7cDkWraCuaC5QPhvpaLyqN+TwFSBtP 8JcrAy5AXPLO1lz8f7lhyCG8c1q2YgRrhR4ZUOVD9iYedWzY+BmJP+SUhRP8HlokoNcx kMQOscMG8FH2RrcjDNQ6KTq72k3D5KG/2L8zk/dcuAWcrrWdnYJrzZJEr2CIEXZFynGl qc5RwRtPKojvazqPM6OOraaQGlvgtrXZp1Jy9Q2IgJtifG7LOu8vmgz3enf3kKj3lfCe 8v3ttkvD+pWWPZHUiS8Yn0HH/5lme/g9j1ViOpO2o+UJg+e3w9AqyMJWMmomqxCH9XvB yNpg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=B8wU22HE; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d15-20020a50cd4f000000b00447dfae6181si16655616edj.235.2022.09.26.01.56.31; Mon, 26 Sep 2022 01:56:58 -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=pass header.i=@linaro.org header.s=google header.b=B8wU22HE; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234134AbiIZIpE (ORCPT + 99 others); Mon, 26 Sep 2022 04:45:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53520 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234486AbiIZIpA (ORCPT ); Mon, 26 Sep 2022 04:45:00 -0400 Received: from mail-wr1-x430.google.com (mail-wr1-x430.google.com [IPv6:2a00:1450:4864:20::430]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8E43F65DA for ; Mon, 26 Sep 2022 01:44:58 -0700 (PDT) Received: by mail-wr1-x430.google.com with SMTP id n15so9062470wrq.5 for ; Mon, 26 Sep 2022 01:44:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:organization:from:reply-to :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:from:to:cc:subject:date; bh=Q2VHep0+S40i1p+8tHTWFQVTsADjWZtNk4KlaS/+6IU=; b=B8wU22HEQEXAoRs+kdf3JbXUeTaSc0ydIHClfeu61HSRqXlKiO8URjQP6ty6JInOBt Pd0eXvz1Blg1WTYNtiUJ1NFcEzg+5tpRi7VNdCULHguXlxxFbumUm+oA2YjDh96nGLQf vO1PwqMjzefS9TEIpW4j9k7nPUewthEUaOvHxku+wmvIsyXze8g7XVy1nZxKEmiIwoop 2CN5fQK0OA4psjRdAx4AintQNC7X3WDmMPbHBgVmqmByn8FGx2/LYYxS1TU2LqHxNzSQ PKQI2wAjxOBptEccG+I0XibmnO8TblKFc1oEuSo6CTm8+MiEg/QxAoButs3/06SXg3IS 9Bbw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:organization:from:reply-to :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:x-gm-message-state:from:to:cc:subject:date; bh=Q2VHep0+S40i1p+8tHTWFQVTsADjWZtNk4KlaS/+6IU=; b=hnW7pAZSPmXLK5XtHP2O3PIwzh7qW11XTQ/L3eGzM6KYc0X67G1RqQq289HetNtzg2 IrCeYPF9vMIiqlUS5dI2siKdbDFeph6evY0KfIDFpoYpfJBgnrDC3J7PMT4QI5lI8Z90 aJWNTcGECgedOgm+w23IgiKGs3+7Lk6DCKbRH6pvzTF0qjfPlJXhnZFM1JB0kmGOMPQ1 Ri2lNToiaM7+Vw7HTBl+/eBRca1QaCvDzvmbL8mDTL/GEJ+/eLs7VWoUs7kfPOpFtcNf BS4xrqhXkcBqjeCp22TomUUZaJQrrVo6o/OpcNfmZ6Zqbp52RQamPsSJEeirkWmTazAT MiDQ== X-Gm-Message-State: ACrzQf0sndNPZOq+p2LD6ESs5L0ka1c8k0qZmBRTkUc35jhsdQNqcVCX RXS40jhW68QiUu7JNDUAZ6D1Mg== X-Received: by 2002:a05:6000:14c:b0:22a:c14a:29f8 with SMTP id r12-20020a056000014c00b0022ac14a29f8mr12623103wrx.588.1664181897129; Mon, 26 Sep 2022 01:44:57 -0700 (PDT) Received: from [192.168.27.65] (home.beaume.starnux.net. [82.66.176.246]) by smtp.gmail.com with ESMTPSA id ba30-20020a0560001c1e00b00228655a5c8fsm13767785wrb.28.2022.09.26.01.44.53 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 26 Sep 2022 01:44:56 -0700 (PDT) Message-ID: <638ca37e-2d2f-0247-8584-01002dea7e06@linaro.org> Date: Mon, 26 Sep 2022 10:44:51 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: [PATCH 1/2] ARM: dts: qcom: pm8941: fix vadc channel node names Content-Language: en-US To: Luca Weiss , linux-arm-msm@vger.kernel.org Cc: ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20220925161821.78030-1-luca@z3ntu.xyz> Reply-To: neil.armstrong@linaro.org From: Neil Armstrong Organization: Linaro Developer Services In-Reply-To: <20220925161821.78030-1-luca@z3ntu.xyz> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-5.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 On 25/09/2022 18:18, Luca Weiss wrote: > 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 = ; > }; > }; > Here aswell, I don't see where this is required, bindings doesn't mandate this naming: patternProperties: "^.*@[0-9a-f]+$": Neil