From patchwork Mon Apr 10 20:29:15 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marijn Suijten X-Patchwork-Id: 81627 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp2135396vqo; Mon, 10 Apr 2023 13:31:31 -0700 (PDT) X-Google-Smtp-Source: AKy350aUQ0rCfOBYqWWRcdI+S2EX7IkeWDPVs0WkPkc86wpAxcA1aFbjZxPnUpwgyR8fB9pcgN8T X-Received: by 2002:a17:907:31cb:b0:933:4c24:101b with SMTP id xf11-20020a17090731cb00b009334c24101bmr8987355ejb.7.1681158690985; Mon, 10 Apr 2023 13:31:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681158690; cv=none; d=google.com; s=arc-20160816; b=IYQaCjF4Mio8IfHj391s4guHten1FMBGT3eF7cUpsIUAFO5bTZK2y9RILaHbYP/phg lcOMPqjIbgJNeKYVtyKV4CgZAUsoY6wwIAvpkHsZ4jNdCgdbxCXWcC1y7A9ZGhiZRMQ8 8dFad6cwvYu8+ly0HODbT5xn5dvAPofHdb08xnuFMZHNWqeMZA6cDQ21m3YGI3gE01tC RXkEBs+a0f+n5SlKGPv8F17lXin2HQD4qTbLZgJCHRaYG8mgvErOxT4vAJ1vX2Xov8pd qZCWvziMfgFEhpVWofhqcZNZutxH1TdVT8gr1gNQ5sxowEei4AO+owfUHea+sTDrnTlJ hg8Q== 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o3-20020a170906288300b008b17e994edbsi8539181ejd.543.2023.04.10.13.31.06; Mon, 10 Apr 2023 13:31:30 -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 S229881AbjDJU3k (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 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1762822655501895774?= X-GMAIL-MSGID: =?utf-8?q?1762822655501895774?= 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 Acked-by: Krzysztof Kozlowski --- .../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"; }; };