Received: by 2002:a05:6a10:eb17:0:0:0:0 with SMTP id hx23csp2794132pxb; Mon, 6 Sep 2021 05:38:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx28B6omoYgVmXzjgI7tkG5HLzY78TmTwGqdSwcExXQlFFZfA/UL47KiyASUqkGTeL+lIf6 X-Received: by 2002:a05:6402:743:: with SMTP id p3mr13008635edy.26.1630931897328; Mon, 06 Sep 2021 05:38:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630931897; cv=none; d=google.com; s=arc-20160816; b=1Lye7MuADVqT2PfipRnKSH5NeCVvyIQyRrOr26Ulrn/FOo3qa6KCWFNEBSMV0ZuuMU ptoo//zepl0jXSQdsn4j6HFbD1mMCK1l0IrUTBkL8gMq+TLK7wNjMDpCJ60uAP+GopEu rYtkUuGZ1AJekU08u0WcSDhyznDW7gMKbi4SIoOldi1BtIkwLkoqA+rZOWEiBYG5c/VM 8gsAe01K81BEOIKi48zQYftNSjDqfkgW707DvrqX6c22Njv0ZGZ0weISiTQ75eUO0JMl Tcl9q3ukGBdYWzH/hrRiZWtnwcdlyW1SFIBmH8Jza4ZdeAQeeCg2Y20j8SgcWfdZmVRU RraQ== 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=In9AqwxG6kQ9Z2Bk5c/A+CJjxcpZ+YKTzhcivosE+ZI=; b=WaBvdsPjM9PZg7Dh20a+GFrznA9R297PnWFyisfcfA+054wrp1oj6BRLs2b2JWLrGz /Db9oQj29pbOvhh3r3PExLPrJCkjEoGFnYOefZVKdYuzSDDFKaOkALHuJTF0VfEdB7nm BPpuWYhHkSAsUzAs1+3c6rld/WPd5SGulIVsypFikT9xlvUHHiBb+Xzj8MB2Js3z8mIr jB62MD6kcxwbkdPJSN+xgudXKqv9ea8qBYD2fNv3sG3sXv+AgcVRQ7GQKyLJM+Iz45i0 ExkjwDKZoOUNrxAwezun6E7oqdS2yImSMtFdOiE2TFk3UdrIgi+q94V9MqfospEFERRs sB6g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=iqO00bcQ; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b3si7930164ejp.504.2021.09.06.05.37.51; Mon, 06 Sep 2021 05:38:17 -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; dkim=pass header.i=@gmail.com header.s=20210112 header.b=iqO00bcQ; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241544AbhIFMGp (ORCPT + 99 others); Mon, 6 Sep 2021 08:06:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56688 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238537AbhIFMGk (ORCPT ); Mon, 6 Sep 2021 08:06:40 -0400 Received: from mail-ed1-x52c.google.com (mail-ed1-x52c.google.com [IPv6:2a00:1450:4864:20::52c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AEB7BC061575; Mon, 6 Sep 2021 05:05:34 -0700 (PDT) Received: by mail-ed1-x52c.google.com with SMTP id dm15so9223500edb.10; Mon, 06 Sep 2021 05:05:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=In9AqwxG6kQ9Z2Bk5c/A+CJjxcpZ+YKTzhcivosE+ZI=; b=iqO00bcQFNZF13Jj6amSx44PsCVInDTUO87KiRNOIINyFBpjPUn8qfHLCYihpbCjUL +vbGecOmdqECGj6DApBtUue8VWyBuR86X8HOW6CNaKgXVlnNtPRD3QVmE80rkukG2Z+A XESmlXdDSjXmbupmWU0X3gle/LLd+DhXOLNJ7/wpubYi2yI4zVQEdDOIt59TsSuQJkxW hUBysiQ30hWdwxCAQ4XNq5oEnQ2onL6EY6dbsUte14D8HD3eG9oQmult2ymNmu4jS89A ECGHW48jNYAdX5yRURa/K96AwqrMRz2EVJiHQhSu6Ag/anSOJhmcE6Mggm6wvDh/7orx KgJQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=In9AqwxG6kQ9Z2Bk5c/A+CJjxcpZ+YKTzhcivosE+ZI=; b=IsemVauVqvsCAU25JeSRrQmRV7XobkY+pU4ijDM1uFpJDk+sqRNbYVO68QFn1OREWA LwK1x721UUhvKWS0zoaxXnBXGkQaZYfnhjC9Q8Rvp3tlzTokAniCb+zUY9AOqSyD7O1Y xvKW4D6jfFIpwHXA/nvHOeQlvNTdF4nKUqJtG82vY9ah8uhBGHd1R5zm1Ate1KZJFcOc 8eQaIiHGKzcBc80XWSofLp82rj7bebxJ/zEIXcO/j1E+UyZWzKlkkeT9iKpGeRplroS0 NdMbLOafnBCr0JNOQA2xNtjWXAr8AFZufPtHbrMYu3aRZm/2HkGBg5s0OELeaNfJYpky JtaA== X-Gm-Message-State: AOAM533P3tpS3CKkbcWjhUA2BYD6EmrMsz9ginn9m6VOHZdzcBLGyNGn 2jjhLbyboVebwdmnrb5yYzM= X-Received: by 2002:a05:6402:1057:: with SMTP id e23mr13285183edu.352.1630929933230; Mon, 06 Sep 2021 05:05:33 -0700 (PDT) Received: from debian.home (81-204-249-205.fixed.kpn.net. [81.204.249.205]) by smtp.gmail.com with ESMTPSA id b8sm4536954edv.96.2021.09.06.05.05.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Sep 2021 05:05:32 -0700 (PDT) From: Johan Jonker To: heiko@sntech.de Cc: robh+dt@kernel.org, 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: [RFC PATCH 1/4] dt-bindings: thermal: allow more resets for tsadc node in rockchip-thermal.yaml Date: Mon, 6 Sep 2021 14:04:01 +0200 Message-Id: <20210906120404.10005-1-jbx6244@gmail.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. 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