Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp4583772rwl; Mon, 10 Apr 2023 13:31:03 -0700 (PDT) X-Google-Smtp-Source: AKy350aXnJQugtbVMY0I2CHRmVnxGBJiWrbb7RuQYtcmBb4ThIZAr9G71YxVU7kpQqzj05TblTbi X-Received: by 2002:a05:6402:5106:b0:504:a336:22d5 with SMTP id m6-20020a056402510600b00504a33622d5mr3422572edd.15.1681158663161; Mon, 10 Apr 2023 13:31:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681158663; cv=none; d=google.com; s=arc-20160816; b=Qj+RpOFFav6G2PaHZO2KjXPGU1d98RZKNh1ngjaWMmr6pbHs+v4ka0xqzpyKyK8vVT +0JPh5iHKLc/v5uGWwFw4KXtR6w+/Ivj4Oe0cTsy0SnBVY3JVdFW2ngcHq6BNEeysUxd ZNpsiFLVslVVOAgX+NMvX2dXGAMAijPOERcMrO4MkNOV9Ojwvk271a3vl4BOy52z0/uF SHUwdXhwek78c0Xm6zkIH6rXlCbg4IWY4xkDJmt3bhfqjHualbPw37iLR+nTxGNxXXMj 6U4MvYcH4/K0qpD3EISuvmeRNWPbpgSQOvBfKyytGnz2SXhxWxMhU+y8ghsxGaLkKXb8 Jxag== 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 :references:in-reply-to:message-id:date:subject:cc:to:from; bh=J5SwBh9Fh0YHn/14jg+iHonrkvwLI7dekRO8DqNxf0k=; b=Jvli2jvN25MXoxuh4jY47uHporrsxSAyiztpErD1Dn9ElVs+26kjO9jSbqtaEq7BfS KWjYsa59bK22TwcgvSqW+QsWfXN3m7P1atckxxXv38J6RO7BlrwEboAm/1aD5KCmD8KO GAMbdQky6pscE7Btxzn7kJVINXH7BqPjWX8e1LCXXvC1qkj5jekXxiEzdDIGWltdKt9Z 57EZNMfhWcdtAnzHQV/QInK+Y9KOxPfaqza7ApnF1maY7b3l1po00ROs5p2Xh9v3Rt4a DHl9zRIc1FD3CWTcIf0hDPuFwh92aVKxCE1NAAcXmX6ma6mrE/YHlC14pyPVeDihED5w 6Lvg== ARC-Authentication-Results: i=1; mx.google.com; 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 a22-20020a170906369600b0092fb3c3b260si726690ejc.334.2023.04.10.13.30.38; Mon, 10 Apr 2023 13:31:03 -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; 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 S229877AbjDJU3k (ORCPT + 99 others); Mon, 10 Apr 2023 16:29:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50086 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229791AbjDJU3e (ORCPT ); Mon, 10 Apr 2023 16:29:34 -0400 Received: from relay05.th.seeweb.it (relay05.th.seeweb.it [5.144.164.166]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D330E10C for ; Mon, 10 Apr 2023 13:29:33 -0700 (PDT) Received: from localhost.localdomain (94-211-6-86.cable.dynamic.v4.ziggo.nl [94.211.6.86]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by m-r2.th.seeweb.it (Postfix) with ESMTPSA id 68F883FAAE; Mon, 10 Apr 2023 22:29:31 +0200 (CEST) From: Marijn Suijten To: phone-devel@vger.kernel.org Cc: ~postmarketos/upstreaming@lists.sr.ht, AngeloGioacchino Del Regno , Konrad Dybcio , Martin Botka , Jami Kettunen , Marijn Suijten , Jonathan Cameron , Lars-Peter Clausen , Rob Herring , Krzysztof Kozlowski , Andy Gross , Bjorn Andersson , Manivannan Sadhasivam , linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, "Rafael J. Wysocki" , Daniel Lezcano , Amit Kucheria , Zhang Rui , Dmitry Baryshkov , linux-pm@vger.kernel.org Subject: [PATCH v4 3/5] dt-bindings: thermal: Use generic ADC node name in examples Date: Mon, 10 Apr 2023 22:29:15 +0200 Message-Id: <20230410202917.247666-4-marijn.suijten@somainline.org> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230410202917.247666-1-marijn.suijten@somainline.org> References: <20230410202917.247666-1-marijn.suijten@somainline.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=0.0 required=5.0 tests=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 Update the examples to reflect a future requirement for the generic `channel` node name on ADC channel nodes, while conveying the board name of the channel in a label instead. Signed-off-by: Marijn Suijten --- .../devicetree/bindings/thermal/qcom-spmi-adc-tm-hc.yaml | 4 ++-- .../devicetree/bindings/thermal/qcom-spmi-adc-tm5.yaml | 9 ++++++--- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/Documentation/devicetree/bindings/thermal/qcom-spmi-adc-tm-hc.yaml b/Documentation/devicetree/bindings/thermal/qcom-spmi-adc-tm-hc.yaml index 8273ac55b63f..01253d58bf9f 100644 --- a/Documentation/devicetree/bindings/thermal/qcom-spmi-adc-tm-hc.yaml +++ b/Documentation/devicetree/bindings/thermal/qcom-spmi-adc-tm-hc.yaml @@ -124,8 +124,8 @@ examples: #size-cells = <0>; #io-channel-cells = <1>; - /* Other propreties are omitted */ - adc-chan@4c { + /* Other properties are omitted */ + channel@4c { reg = ; }; }; diff --git a/Documentation/devicetree/bindings/thermal/qcom-spmi-adc-tm5.yaml b/Documentation/devicetree/bindings/thermal/qcom-spmi-adc-tm5.yaml index 52ec18cf1eda..3c81def03c84 100644 --- a/Documentation/devicetree/bindings/thermal/qcom-spmi-adc-tm5.yaml +++ b/Documentation/devicetree/bindings/thermal/qcom-spmi-adc-tm5.yaml @@ -178,10 +178,11 @@ examples: #io-channel-cells = <1>; /* Other properties are omitted */ - conn-therm@4f { + channel@4f { reg = ; qcom,ratiometric; qcom,hw-settle-time = <200>; + label = "conn_therm"; }; }; @@ -217,16 +218,18 @@ examples: #io-channel-cells = <1>; /* Other properties are omitted */ - xo-therm@44 { + channel@44 { reg = ; qcom,ratiometric; qcom,hw-settle-time = <200>; + label = "xo_therm"; }; - conn-therm@147 { + channel@147 { reg = ; qcom,ratiometric; qcom,hw-settle-time = <200>; + label = "conn_therm"; }; }; -- 2.40.0