Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp2376757pxb; Mon, 20 Sep 2021 20:40:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyrjROjz7vKY2OGrkOpN2K2Rd/5Fl5svXQWW8PKhPNN1GCw5Sd75LabH/+ae/5EigAFYT5D X-Received: by 2002:a17:906:3685:: with SMTP id a5mr33346327ejc.144.1632195650561; Mon, 20 Sep 2021 20:40:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632195650; cv=none; d=google.com; s=arc-20160816; b=cWapxAGg9T9eXHXJuata/26uwfapGVqnu4Ok5uwZaIhBcbOirsRLD0fwTf/mFrzaph ganZXA6gnso5tHPrX/6wYXa5hUI1foGOrWbkZjyOSacJpd0TJfi5VTVXx6d9YymOjKv5 J/L56fPJMilwb1UMg/xEC6q3QUzvbU5WoD4mLS7iXESAt3AywG48Uja4v20QbDQSbqG6 Fe50CPYckNM2OE1s+JlvXzf2ev4aI74cLcAK8VnIhqJjMnDo6S6mZOOLIoJnh5Rsauvr rlUEeYQHzr/PEVJ59UxeO8tlH4yUZ8cttwI5jIDeLM+5ykA5SpD1WXVNVdUc0OR3Wvn8 UJdg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=X6Dg2kZ+RuFpdfWPr4SKLTE5pZ2Koj+j45EvqYukxNI=; b=c51OPbIwrfeYuRX7hC+3uA8dxmshh3HWhdOq967CzDDaya/w3lCqT7pi7tytekwbat 3gKnCTCRATLW+oogoyLdRk8233Ao5UuFuQHPt2OhVVGgACmPFLjGP/hVVo6peu+w2JtD 0/azoTLk+HPOB+nLaJKDTGA2Ub0j+AqYT5QXAmlKuNrxTWxF+XpqttyppDf678449T3y WfTroDnMQ++xEAQP+XyNMesTdoHy8hxXQ/W4jCM8XvkEjSKyFH8dVcZFvJJFtqkaF51a epps3EzOhvnCfV1FZ7w9e/eXx7HS3z8KU/XghBbNcaALPgZplXxv/J9B3APj8azpSW2s Ki1A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w9si18116058edt.507.2021.09.20.20.40.27; Mon, 20 Sep 2021 20:40:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233217AbhITWUT (ORCPT + 99 others); Mon, 20 Sep 2021 18:20:19 -0400 Received: from mail-oi1-f180.google.com ([209.85.167.180]:36811 "EHLO mail-oi1-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229719AbhITWSS (ORCPT ); Mon, 20 Sep 2021 18:18:18 -0400 Received: by mail-oi1-f180.google.com with SMTP id y201so12134803oie.3; Mon, 20 Sep 2021 15:16:50 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=X6Dg2kZ+RuFpdfWPr4SKLTE5pZ2Koj+j45EvqYukxNI=; b=LlIkZydsGrGE+a2W3EFZQ62+q/QxfPEFG/EjSQAsWwOVBTS4ioALTzLX4oDqnXWjIF QcicJ2oo3QN4oZEj5qNkhP0KJ2jXQLGemfF4UwFxst9NHqk1pretvMJ29HjYkoaJX7cD FtIDk7u2e0xe640W7FeSjBcBmnFmRDdHobwkOqPVIaCxrQoi5H6IVMhDc1n+SwOQ/80p nHZ9gba65PSpRQotpneT2EFBW8iAC26F6JbBbhC9Iosc0m0nETBDRVMYTpvy0sRLwhc4 B47M54jkVPq7OOdtf++lIDnXU8owewWEOOXI8QJN6FE46YpRdQSfcLGWRmZKVUwO4E4v OV6Q== X-Gm-Message-State: AOAM530nRo2spWhSWnsO87KXQmNY9Yo641oYvaHXHyuzjEMJg3RKyjh6 obyWFcvkhbGBEgAShGNhDA== X-Received: by 2002:a05:6808:10c1:: with SMTP id s1mr1052756ois.69.1632176210286; Mon, 20 Sep 2021 15:16:50 -0700 (PDT) Received: from robh.at.kernel.org (66-90-148-213.dyn.grandenetworks.net. [66.90.148.213]) by smtp.gmail.com with ESMTPSA id p67sm260373oig.17.2021.09.20.15.16.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Sep 2021 15:16:49 -0700 (PDT) Received: (nullmailer pid 892703 invoked by uid 1000); Mon, 20 Sep 2021 22:16:48 -0000 Date: Mon, 20 Sep 2021 17:16:48 -0500 From: Rob Herring To: Johan Jonker Cc: heiko@sntech.de, rui.zhang@intel.com, daniel.lezcano@linaro.org, amitk@kernel.org, p.zabel@pengutronix.de, linux-pm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [RFC PATCH 1/4] dt-bindings: thermal: allow more resets for tsadc node in rockchip-thermal.yaml Message-ID: References: <20210906120404.10005-1-jbx6244@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210906120404.10005-1-jbx6244@gmail.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Sep 06, 2021 at 02:04:01PM +0200, Johan Jonker wrote: > The tsadc node in rk356x.dtsi has more resets defined then currently > allowed by rockchip-thermal.yaml, so fix that in the documentation. > The driver now uses the devm_reset_control_array_get() function, > so reset-names is no longer required, but keep it for legacy reasons. I don't think I'd deprecate it for that reason. And removing it would break any kernel before the devm_reset_control_array_get change. > > Signed-off-by: Johan Jonker > --- > .../devicetree/bindings/thermal/rockchip-thermal.yaml | 8 ++++++-- > 1 file changed, 6 insertions(+), 2 deletions(-) > > diff --git a/Documentation/devicetree/bindings/thermal/rockchip-thermal.yaml b/Documentation/devicetree/bindings/thermal/rockchip-thermal.yaml > index b96ea277b..ee104e451 100644 > --- a/Documentation/devicetree/bindings/thermal/rockchip-thermal.yaml > +++ b/Documentation/devicetree/bindings/thermal/rockchip-thermal.yaml > @@ -37,11 +37,16 @@ properties: > - const: apb_pclk > > resets: > - maxItems: 1 > + minItems: 1 > + maxItems: 3 > > reset-names: > + deprecated: true > + minItems: 1 > items: > - const: tsadc-apb > + - const: tsadc > + - const: tsadc-phy > > "#thermal-sensor-cells": > const: 1 > @@ -71,7 +76,6 @@ required: > - clocks > - clock-names > - resets > - - reset-names > - "#thermal-sensor-cells" > > additionalProperties: false > -- > 2.20.1 > >