From patchwork Fri Jun 14 09:46:00 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13698260 X-Patchwork-Delegate: geert@linux-m68k.org Received: from mail-ej1-f49.google.com (mail-ej1-f49.google.com [209.85.218.49]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F260E19412D for ; Fri, 14 Jun 2024 09:46:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.49 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718358397; cv=none; b=gvpUp1oWXynU/lSETBOQYNMOyzwcqf2EnEGT7dHW6H4A5gwm2pBcuyr7ltsNzefT3JnI0wJoA5MbWsBeP8x6J9SWhHT//KfS8Cw6H1rrq/JHixOmDuio9lOeetga0D3LDiLlatywCrChX7co/0YlSy74WUFsRLonTcibS1ClqsQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718358397; c=relaxed/simple; bh=o/ohlTOc9KfTRaCPoCM7PQRM1DXdEoNuRz6NEcHjNQU=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=csnytCdEwMJOaILEuOlgig1ZZX6cdB3Lp6mdSRZnF+dT764GRfrV+k5LRstkDdgebgLbS8QA6Y/54y87c3fYlN86HE+cz7w6a4lyWaLslSkPGerdCIA+h2gokKr0ssuNRDcePoJW4g0G0az4uSjpPF5Sonw5HoJTmuyMOLk0hpA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=V95a36Pk; arc=none smtp.client-ip=209.85.218.49 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="V95a36Pk" Received: by mail-ej1-f49.google.com with SMTP id a640c23a62f3a-a6265d3ba8fso224040266b.0 for ; Fri, 14 Jun 2024 02:46:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1718358393; x=1718963193; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=avklu/LU82jj+cALxmDCOm5wOmtJui6AiuCC9bJewDI=; b=V95a36PksyilLGrrGvxgrlKHOvwPCxiQe4n3n/VJicoBKXYduJKSfNMJJAhEK2sKd+ cJww+hpczivDcbvbsic1nntaKK1ISoueeC5S11apnqK5EyhBe0GX/cBGqnjWsOX78giI izd5bmeYwnTu2dIhqCPRYe8q49G4Tbaq3JhYXtAUuSZ5LyAWEcutrebQOGzin3/8o6XI qESvmQi17V5FYW3bvKCPq/klcW4V8E+o9XJgOAwDKfrrScuytk7HvQCvE+qQagMhWHLU MNizPwuWA0sK6l+Gp8wcegUnfcG+xMzc7gWh63+KdgYiWSZrr7XcxynOhgJDnDGGYEJo v2Lw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718358393; x=1718963193; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=avklu/LU82jj+cALxmDCOm5wOmtJui6AiuCC9bJewDI=; b=VVcg0Uulc//Idvw1dbesXqGNfVhdnLH0DlSN0MmL3ei9uKl2QsHdxOcu1xfsl5RDKD QPWAjeq7oDetRy5SEbeRvtXdeyid+QvmPEgI5pV5WGkCat9Bn6oWTjqgJfEqtLSAQzpe I++PXAbKWaQCRHURdZ/HEtykSRCZgmqC9XYj0arA27F52tfw//mquxeEyEqk2ft6tLYN giP8ykownI1HtJTst1CWi4z8+kImNZE4pPqKyMxTF1RicapssNRgMdgPLejH5WqAj9KE T9a9ZD6i7yRRCgS9jhQVC9dxrUGWa63TbOTZwwzWvq6NDgIm9RWPyNuNgBbL9Y+Ar00s VCKg== X-Forwarded-Encrypted: i=1; AJvYcCU3wxz7ZPK3F8TDBvrhIHbnJRciMtqsRpTT0cDgHCVVYW+Rmsd3U7zsjGWpYdvPqqTPEYHCigyZXSLz9SNQETDm+Px+UqP6nalX171iBs5cSc0= X-Gm-Message-State: AOJu0Ywq/5eH5ozOzsB1YswonB3iOG8+8daYuiJuZoTVRfAhYYsO7dxn icGUrm6dC76lWijXl+z3OcRB/A0CCL1yfc5XgfZHFHcsLYRZplc33CUukv34/9Q= X-Google-Smtp-Source: AGHT+IHc8zNmRNPYWsXhCA7MoKknrWARGiqEErjEA7EPJiugC3+uCcXA6vzUtvvo+0m41kAXSMLaxA== X-Received: by 2002:a17:906:4f08:b0:a6e:2a67:7899 with SMTP id a640c23a62f3a-a6f60d40d5dmr130599966b.35.1718358393130; Fri, 14 Jun 2024 02:46:33 -0700 (PDT) Received: from [127.0.1.1] ([78.10.206.163]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a6f56f9c84csm164966366b.222.2024.06.14.02.46.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Jun 2024 02:46:32 -0700 (PDT) From: Krzysztof Kozlowski Date: Fri, 14 Jun 2024 11:46:00 +0200 Subject: [PATCH 01/22] dt-bindings: thermal: samsung,exynos: specify cells Precedence: bulk X-Mailing-List: linux-renesas-soc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240614-dt-bindings-thermal-allof-v1-1-30b25a6ae24e@linaro.org> References: <20240614-dt-bindings-thermal-allof-v1-0-30b25a6ae24e@linaro.org> In-Reply-To: <20240614-dt-bindings-thermal-allof-v1-0-30b25a6ae24e@linaro.org> To: Daniel Lezcano , Zhang Rui , Lukasz Luba , Rob Herring , Conor Dooley , Alim Akhtar , Guillaume La Roque , Krzysztof Kozlowski , Vasily Khoruzhick , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Anson Huang , Thierry Reding , Jonathan Hunter , Dmitry Baryshkov , Amit Kucheria , =?utf-8?q?Niklas_S=C3=B6derlund?= , Heiko Stuebner , Biju Das , Orson Zhai , Baolin Wang , Chunyan Zhang , Alexandre Torgue , Pascal Paillet , Keerthy , Broadcom internal kernel review list , Florian Fainelli , Scott Branden , zhanghongchen , Matthias Brugger , AngeloGioacchino Del Regno , Bjorn Andersson , Geert Uytterhoeven Cc: linux-pm@vger.kernel.org, linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-sunxi@lists.linux.dev, imx@lists.linux.dev, linux-tegra@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com, Florian Fainelli , linux-rpi-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=971; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=o/ohlTOc9KfTRaCPoCM7PQRM1DXdEoNuRz6NEcHjNQU=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmbBFgD+j2f0+0l+ZGzVoLt+GTSfmeFZ0/xFupz gM/exa+G2uJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZmwRYAAKCRDBN2bmhouD 17UWD/9rPKTI+tMaPQFTlp5uhC2ZDUXtE+aHbXinp1xfhtKaGmRXZPjkC65fY77bv7i6yQRv6gt /fKHWgHUfbeZwaa8sLIoWVjNidarMXil19RyBVVS/TUZFDeMWnwjS+fm9iXKBUfRnpMOa62TU2L kkmSUExzh8qJR94p9QbOi9X7YjUrb+tLj9qSxHZCpOJ/Tdz9zxla8stRMJOk7zk3ngsxw0I54LY /kRWdB7QRmRL9feq2bORXU69Cx0/+IBI6OVYGgJgd47ZledM5Et8RdHsqpmRAGIdHsX56i6cvDj GvicuzQdYQdru//vJhKlbkaBs9r4hB2ytrjZlnPAupY4zBvVtemJlddl75Vp4oD9xZAWBk1UfuK 03b3zwfPFtXs5BevCXwZbKrem/YxQ6hPUbqJK3mAjXEltK+Pewe41nrPZvc0H21JDLVZyAM5CJp cbmIwvpjsbfRK34Si4EHtZlToTQe9CrK/mWbJqZbSSes1wvnu61YYbpR11HXj4DweUK+XMhKcUk RITKeqd9PUnTBvThlRPuhVi60hSRoAhu7LuVwJGyP9P0c1Y1B4FTe3hJRjveJ+5JqrUpXFe9GRf BtwKCcHO6ds3Kt953XlQKlzs/QRPAPvl17NBePvebpKqc8Eg1YIbWfof/OGSbv5cAgmGm3xm2kD K+P00ork5CoDpvQ== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B All Samsung Exynos SoCs Thermal Management Units have only one sensor, so make '#thermal-sensor-cells' fixed at 0. Signed-off-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/thermal/samsung,exynos-thermal.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/thermal/samsung,exynos-thermal.yaml b/Documentation/devicetree/bindings/thermal/samsung,exynos-thermal.yaml index 1344df708e2d..29a08b0729ee 100644 --- a/Documentation/devicetree/bindings/thermal/samsung,exynos-thermal.yaml +++ b/Documentation/devicetree/bindings/thermal/samsung,exynos-thermal.yaml @@ -61,7 +61,8 @@ properties: TRIMINFO at 0x10068000 contains data for TMU channel 2 minItems: 1 - '#thermal-sensor-cells': true + '#thermal-sensor-cells': + const: 0 vtmu-supply: description: The regulator node supplying voltage to TMU. From patchwork Fri Jun 14 09:46:01 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13698261 X-Patchwork-Delegate: geert@linux-m68k.org Received: from mail-ej1-f46.google.com (mail-ej1-f46.google.com [209.85.218.46]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2668C194A77 for ; Fri, 14 Jun 2024 09:46:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.46 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718358399; cv=none; b=qnl8lR4F3ibXkeVCPf/UAkIzyK9yQmsVzp2aNP2OYNrwxf7aFc4t1JC0B/J0zOWEeXE1v2IzPy388+w8OqUw/KVDQMNoIqv1GkWTz7v/j4kV4qmd0MHobqnT6sNsYM/76sFMZCqkwxgPoBJm3sy+xqliZDm3T0t6c5585A5/3pE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718358399; c=relaxed/simple; bh=OL1bThiSTDRnxDnX7dUSElkuAerpOnM4wbDcCD9Dzlo=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=gjIvcUson3I0T3I+gH4oGpanWFP0BAbj1d55Pn4w92TJ4ZI7OQ4Z+t5N2gb+5Nl11Ow+R87HW8YTj2xLVHQJPSB1zvSQfTcdD1lxQJ9JXgbvSWhGM3apP+GnXPIUACV5Waxb/5tOSyHGSJc8p6/L8kzSFlAY+mCjnykJpGORqek= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=Qhb+Iroa; arc=none smtp.client-ip=209.85.218.46 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="Qhb+Iroa" Received: by mail-ej1-f46.google.com with SMTP id a640c23a62f3a-a6f13dddf7eso258490866b.0 for ; Fri, 14 Jun 2024 02:46:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1718358395; x=1718963195; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=5rccL2DhMpg13ts9Hqjm/6zzy9zUKGOuodol16mwTeU=; b=Qhb+IroazVKAZqP43c8r3si5rTD3cJu8gBozAl5y7TQJcwm5l+LiyIXZpJiwKx/5NT LGGMperyZgbpJrgJ/xyJ6k+BRjH8QOtcLzW4QnDtnuM3NonHy50lH7V7o16fN29xbA8w fJmL9NaKxcQA3bonNZTiMF8yRXupPUSI6rm90xlA7BKoMkHRQNX0FALAlK/X0cSaHke4 fiLUOEkseNSht7IHmIajbnjVGxvok3Tk4yfkXxnTTsgXoxVkWUcN6eqpVLZXGiWCs5Mc 2htMxOrD4TMvNbQbYB4N8gB9YYuZ1FuMxUyt/SbkHYmM99j1oweSB22ajt2F9O1Qp9Xu o7/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718358395; x=1718963195; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=5rccL2DhMpg13ts9Hqjm/6zzy9zUKGOuodol16mwTeU=; b=hNri2peEuvhlLoTV003tGZ/FzeG7WPRBy+H8DM/XLw7belUrikkLergQE/mo1p4AG0 sQlvkxDcV5IPdoYPJL+h9CNCZlsvo00AstiBJZpI5nXPBpHYhXIjnESvJI2TjZQhQE8D Z45IuMThti3hIaisJd7PfESYwPDx5mTDyXYoGpjoB4PwxV/38c2czAKcMQCx3MLN6dVd TJMu0NUlupGOAK8Q3fxJ0GD7qkJmyPECQBNtcMr5VaTisXnUejpa0EjwIngFZJOkSFDj 6cmGpMLMVbQBjBwpQe0bLd92hGCLLQbaKDc+DjDomGePH4Q8zfHvttkFKhrh3pjrBJnf TXaQ== X-Forwarded-Encrypted: i=1; AJvYcCXt39qgbfabYSSqMd+m8ul4P+duDz0s5J6jSrAEhispp+FDCS4/feS1b9sah+HbvLLjPl20Jjm0o4KEgei4bGpjOFE41YZ2EB4DTr1GBPCubmw= X-Gm-Message-State: AOJu0YxnNSwsHgmD1Wr2AkYgRcP0a5c8KAbRCvq7Cra5UnQP9R9p+CAo sEkYx5foN1nC7qfuAM6OltxpKZpI+oC2Y8sp9jV1qgmQdUalOjQrw6uiPaHWu5qYJ6hUgsUwCn7 BYWo= X-Google-Smtp-Source: AGHT+IEIIi7f/khX+DL0ElnKeXbkTkqu3Do2h2qNKYCQfUhMKe+WvRGDBSKEB/3Hlft5tLx5w1488Q== X-Received: by 2002:a17:906:ecb8:b0:a6e:fb9b:6769 with SMTP id a640c23a62f3a-a6f60de5fd6mr154292066b.75.1718358395585; Fri, 14 Jun 2024 02:46:35 -0700 (PDT) Received: from [127.0.1.1] ([78.10.206.163]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a6f56f9c84csm164966366b.222.2024.06.14.02.46.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Jun 2024 02:46:35 -0700 (PDT) From: Krzysztof Kozlowski Date: Fri, 14 Jun 2024 11:46:01 +0200 Subject: [PATCH 02/22] dt-bindings: thermal: amlogic: reference thermal-sensor schema Precedence: bulk X-Mailing-List: linux-renesas-soc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240614-dt-bindings-thermal-allof-v1-2-30b25a6ae24e@linaro.org> References: <20240614-dt-bindings-thermal-allof-v1-0-30b25a6ae24e@linaro.org> In-Reply-To: <20240614-dt-bindings-thermal-allof-v1-0-30b25a6ae24e@linaro.org> To: Daniel Lezcano , Zhang Rui , Lukasz Luba , Rob Herring , Conor Dooley , Alim Akhtar , Guillaume La Roque , Krzysztof Kozlowski , Vasily Khoruzhick , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Anson Huang , Thierry Reding , Jonathan Hunter , Dmitry Baryshkov , Amit Kucheria , =?utf-8?q?Niklas_S=C3=B6derlund?= , Heiko Stuebner , Biju Das , Orson Zhai , Baolin Wang , Chunyan Zhang , Alexandre Torgue , Pascal Paillet , Keerthy , Broadcom internal kernel review list , Florian Fainelli , Scott Branden , zhanghongchen , Matthias Brugger , AngeloGioacchino Del Regno , Bjorn Andersson , Geert Uytterhoeven Cc: linux-pm@vger.kernel.org, linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-sunxi@lists.linux.dev, imx@lists.linux.dev, linux-tegra@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com, Florian Fainelli , linux-rpi-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1065; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=OL1bThiSTDRnxDnX7dUSElkuAerpOnM4wbDcCD9Dzlo=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmbBFhz93LdRptZhTU1GW4iGarOwOO5EBiFYLFd wFDJHK7K/qJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZmwRYQAKCRDBN2bmhouD 18s9D/9LP9unfX0MSkgXF8TFjscV8gcBK408X/8oxDWBhIrJxkLZCwMssuTlysHZ2OYfyKJHsGx G6Y1+icUV6gklZsPxjJ03/jABHwNj3xRb9AQPOwWQ62xpX/+zxQNNaEcW6AKyNmY90EgCBRRrwx +zhCuMur8Gg6isM+gl3qHVZsMSALb5gwAMQDe3KP7A2Sno1hJw+giAAb3KI6FtfvevD2XtkMgab x1xdWHM5YlOGmNi6acFw/2dtzcokVRiNbkNGuBpupXWq+vZL0n0mPr26qRUOIGhKqt/t5xQsemZ L+Mr4ASMWruC2cyuxRkPN6WXiOqU2PWSej9kVH8O1xuNjE4e/PQHH91KA761ii2PhPs/7y+OwqF pctdv1ol8AqI0F3yHRz/o1pCSJ8swPRC9vEXoLIwXfRYvwqouz1kVDofMzUcA302kDb5yZk+EgG 9KCfyKlubN63juUO4jfkwe2WzfAcEXpi7GKMv5Gky8SLAPPRYoGewIbSvc/Zog++OvMxg+kMDGp +C9mjIWV+rrT6bt6c5KjBkE/42bqZ5THaEoLUfgzGuhP/PUHKyI5JxC3F+owxWNpfB7kDtFeA3z Yk0Am2y1AAsjqTGzDLnMJpNuFIZZoghdpcYJXcGJPZk+cauVsVa4n9fxRsSpvMdZFo6Fl7Qrb8i h+5fgjivCVGsZIw== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B Device is a thermal sensor and all in-tree DTS provide '#thermal-sensor-cells', so reference the thermal-sensor.yaml to simplify it, bring the common definition of '#thermal-sensor-cells' property and require it. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Neil Armstrong --- Documentation/devicetree/bindings/thermal/amlogic,thermal.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/thermal/amlogic,thermal.yaml b/Documentation/devicetree/bindings/thermal/amlogic,thermal.yaml index 01fccdfc4178..e52fc40e215d 100644 --- a/Documentation/devicetree/bindings/thermal/amlogic,thermal.yaml +++ b/Documentation/devicetree/bindings/thermal/amlogic,thermal.yaml @@ -11,6 +11,8 @@ maintainers: description: Binding for Amlogic Thermal +$ref: thermal-sensor.yaml# + properties: compatible: oneOf: @@ -44,7 +46,7 @@ required: - clocks - amlogic,ao-secure -additionalProperties: false +unevaluatedProperties: false examples: - | From patchwork Fri Jun 14 09:46:02 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13698262 X-Patchwork-Delegate: geert@linux-m68k.org Received: from mail-ej1-f52.google.com (mail-ej1-f52.google.com [209.85.218.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8A7B4195385 for ; Fri, 14 Jun 2024 09:46:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.52 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718358401; cv=none; b=Iw4k2MGHWieoLZNNh5jaeST4mG0UyxhQo2ccUJ4pH3L6FFYW1svI/Dwbi7zhqGBFsj+3L1jkeBKeg4eXZ7rk6ciL7zDcTRXRA3deJq/hqJrPvXUhp77hrqdYWm0KRQNSBEoT5sTaZGobGSfh6MpsJ1vd7deqaxwHKyKe2uvqtAg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718358401; c=relaxed/simple; bh=pqCl6WSNZ+E6fqekvSIlU6dU++OoPCqjUP8VsibDEQ8=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=qxdRw0UoIk36N67Dn4cjb5ikGAZ635aUo20ifmYM5/rUfXojzo/cRtAVQbxmZCo2FflWeduLiGjJrfC/BCwOWOeboFc2uZraBtIfP90S500VK12/RjvQAB/lg4Yv848tz4NKukkfOywDKOpt5vZXMwnecsGOHokfjjqXBTgrIDQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=StGGsJ3I; arc=none smtp.client-ip=209.85.218.52 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="StGGsJ3I" Received: by mail-ej1-f52.google.com with SMTP id a640c23a62f3a-a6f13dddf7eso258494766b.0 for ; Fri, 14 Jun 2024 02:46:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1718358398; x=1718963198; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=cr7ZU9G194hlc8n7j4JcKu4gjqoGUN/hWHAGWynGrNg=; b=StGGsJ3IM91PM4avmulSyGBqdZgxznjTppE/4IV9a5yONcoALLeyxJNqiSm0GpVl3R iMTTbHA3iJIHwG4uXSCGEYcQpt7qn6mbqVExa4JhAyztkKX/wPLClVv360F9v2A4QMVI r5a1pIcOXijLbRwGPHo862ucmOZq0H8nqaXlriFgIjkiisUR1SzphNPuuUtTANabDHjl 2+0bRFpmWbepwWiwF4jQsPQfbVkgDNEYZ4JaIh3BPOz09ZPuSTh1fIyANZP6wuLMmHx1 YSvqUy8YsOmEXkoId7lvctVhBbHehrzK6MmAo7USsH3yEyKQ5C9FxGR28ynuP2Php968 LppQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718358398; x=1718963198; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=cr7ZU9G194hlc8n7j4JcKu4gjqoGUN/hWHAGWynGrNg=; b=bt1uSdNuxzkXKk8Fv9REEZJKj11sW4Fi+DTRTb25feQC3UzKYBlOqFJiJEVY14z1Gp C8hBcD2zO3sMkfDWw4wPse148k0aT9Vnzi4w88y4PKACw0eZtTwCuUL5SCajf99G5Frt NMXOAkfXpPupiQCwyB6DcDo26dwNISbtY91F0K2GXcsUn//KKPjziwuw1KMBPJte7w7s CkGZW6aVOt5S6otBxixwCkLhz1tJ5GWFQaJGQvxcD8t4DNgglMs49QVG4shGp3jre82L M+3qyoIjg9E6PxyZiLvWVO2C42mTg5q3btsHQUlLnRBO9n3mIfRGjdC7gyqrV6/SaJhM 5tOg== X-Forwarded-Encrypted: i=1; AJvYcCVLBTIENMM9Ncl4dtM0rpjYUl1vpRVz+xvCXuBUpFPY29YBtncIQHnJ4dlDAw96JPaD/P6F/tUCvZiMheclk8j8l6li3oX8bNFSgR1E7zdbk7Q= X-Gm-Message-State: AOJu0Yx99T27PhvKSc6jZC/2ZBFCe0mAJth2DPXRfqWbN7EXSs1FHUUt pbrfWqqUTgtjxxBkMl4P9gPhgBSe5LSQCxLCKPQ+7jLy2VpEz2wEHqJNdgQxnxg= X-Google-Smtp-Source: AGHT+IHiApvFgizqKb5PxsiSYsmTQo2XV49uKsbKfuCFgSBchSlxC/Tvt7MO+AjdyIhfL7sJHk+zZQ== X-Received: by 2002:a17:907:72d6:b0:a6e:fe2b:7d2c with SMTP id a640c23a62f3a-a6f60d20efamr223840066b.23.1718358397940; Fri, 14 Jun 2024 02:46:37 -0700 (PDT) Received: from [127.0.1.1] ([78.10.206.163]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a6f56f9c84csm164966366b.222.2024.06.14.02.46.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Jun 2024 02:46:37 -0700 (PDT) From: Krzysztof Kozlowski Date: Fri, 14 Jun 2024 11:46:02 +0200 Subject: [PATCH 03/22] dt-bindings: thermal: allwinner,sun8i-a83t-ths: reference thermal-sensor schema Precedence: bulk X-Mailing-List: linux-renesas-soc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240614-dt-bindings-thermal-allof-v1-3-30b25a6ae24e@linaro.org> References: <20240614-dt-bindings-thermal-allof-v1-0-30b25a6ae24e@linaro.org> In-Reply-To: <20240614-dt-bindings-thermal-allof-v1-0-30b25a6ae24e@linaro.org> To: Daniel Lezcano , Zhang Rui , Lukasz Luba , Rob Herring , Conor Dooley , Alim Akhtar , Guillaume La Roque , Krzysztof Kozlowski , Vasily Khoruzhick , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Anson Huang , Thierry Reding , Jonathan Hunter , Dmitry Baryshkov , Amit Kucheria , =?utf-8?q?Niklas_S=C3=B6derlund?= , Heiko Stuebner , Biju Das , Orson Zhai , Baolin Wang , Chunyan Zhang , Alexandre Torgue , Pascal Paillet , Keerthy , Broadcom internal kernel review list , Florian Fainelli , Scott Branden , zhanghongchen , Matthias Brugger , AngeloGioacchino Del Regno , Bjorn Andersson , Geert Uytterhoeven Cc: linux-pm@vger.kernel.org, linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-sunxi@lists.linux.dev, imx@lists.linux.dev, linux-tegra@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com, Florian Fainelli , linux-rpi-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1434; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=pqCl6WSNZ+E6fqekvSIlU6dU++OoPCqjUP8VsibDEQ8=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmbBFicW/zed6HD9sZ/rIZZ5Z9qa7jZiNkJeegi RF1eJ21IJWJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZmwRYgAKCRDBN2bmhouD 10PRD/9oUt3N2mnmGeYFH/KKGNQpAkkPZzNeHgJYCCB3RtoVUr6bH1X69Kld14cYgvjn4S6sQrB IT13xlo2qgnLig0kZTeFD4rY0h7u8AHULSOjUEwEE54SRkHfHMVNVDvVuGFczSJMWAzXtMlaX4s b2xRwJ9PqsoS6IhaX1qlWLB8TikiHooSyPxHsnu/vSN2/Z1x6neDFEg6Jv1x6hEdq8AM+h8ZKV1 So0TSOYO+g6p7fhXW3Rh4yquCTcW1btGXiqkwFoImrIfYLn4jJKLgSQlM4a8nYNaHY8wiQOw48q IKm+tL4q4s4dfwog/xYAvraJZPm4PQks2IkFPiUUsOdPRE4m20WHfyZPl1U6VjAETmHH7z9Y6z8 8pZ/KhPlJXim+p0PleRAnfeNwjUztACsVDDvvineEfxTur6eW82NBvehUcqWxnUvtVbukbWAFMQ rA0appTCjlAQHucvNBPGsvt79riwmNa0Xsy3ahOSdlzbeeIA90arKvMa8X1D4TscvUOv6sHYBXK FzgN+UDGpc61PIKZE0k4J12dikm55m4v2MPIs2SEdII/JeMWHuQUWRnckfumWS0d6ewOjAnU6Fa zZbXaxuyJrjT8tvz/GdyKW5p+644O22rL9CPmMxpL/GACNcu5MZeLHoFF7CzjsWZUYNItlKzVnp yLCkGvOF5eKHdhg== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B Device is a thermal sensor and it requires '#thermal-sensor-cells', so reference the thermal-sensor.yaml to simplify it and bring the common definition of '#thermal-sensor-cells' property. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Vasily Khoruzhick Acked-by: Chen-Yu Tsai --- .../devicetree/bindings/thermal/allwinner,sun8i-a83t-ths.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/thermal/allwinner,sun8i-a83t-ths.yaml b/Documentation/devicetree/bindings/thermal/allwinner,sun8i-a83t-ths.yaml index 6b3aea6d73b0..dad8de900495 100644 --- a/Documentation/devicetree/bindings/thermal/allwinner,sun8i-a83t-ths.yaml +++ b/Documentation/devicetree/bindings/thermal/allwinner,sun8i-a83t-ths.yaml @@ -10,6 +10,8 @@ maintainers: - Vasily Khoruzhick - Yangtao Li +$ref: thermal-sensor.yaml# + properties: compatible: enum: @@ -55,7 +57,6 @@ properties: maxItems: 1 description: phandle to device controlling temperate offset SYS_CFG register - # See Documentation/devicetree/bindings/thermal/thermal-sensor.yaml for details "#thermal-sensor-cells": enum: - 0 @@ -135,9 +136,8 @@ required: - compatible - reg - interrupts - - '#thermal-sensor-cells' -additionalProperties: false +unevaluatedProperties: false examples: - | From patchwork Fri Jun 14 09:46:03 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13698263 X-Patchwork-Delegate: geert@linux-m68k.org Received: from mail-ej1-f50.google.com (mail-ej1-f50.google.com [209.85.218.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D952719597E for ; Fri, 14 Jun 2024 09:46:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.50 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718358405; cv=none; b=kidxA/vRXJEB4x1zseoc7lmI/TxQ4WriYvPQ8wV4lMxFpiYQjPBi/Kx89AL7AEz9AIF4H9tVWa8VhrGUHH64bL7TCIMpnIEn5MDrDHSo+1EakSxW59Q9aIQO1Xex+2qQ6ZZ6ch+qgMwMv4imS6XtRp6cSlFhTaImu9eFGp0Ueu8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718358405; c=relaxed/simple; bh=4nD7nbG+x/aHIG3b41jcsj1A8FaFZMdyxJIm6u3+UCQ=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=Ubguqlu6Kc7r+WfYWAGSdCl4fSC6A2NQ/25x2LJ92uuhPGPcY3YWyRuUeS+dEkl9ydEral0/hrkSJGW9Na4NqafE0241ORBL03zT1xn0vae5JK8rb9nPMui+PiK7csn+hCm4KR6Sa9bl2xUKOQXbs/qB1SLjZUYVz4IcIJwi6DU= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=DmbKDmIE; arc=none smtp.client-ip=209.85.218.50 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="DmbKDmIE" Received: by mail-ej1-f50.google.com with SMTP id a640c23a62f3a-a6f177b78dcso266152166b.1 for ; Fri, 14 Jun 2024 02:46:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1718358400; x=1718963200; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=F6wsm8Xx/pf44IU0fA2MjvK7doD5kwmYUud3XBVXDbs=; b=DmbKDmIEO2Xpcacaa1TkjNmeKnK4GQy8CeTo31tIsdI7BID95TmVT0vDLhnkWHarK2 dNQix37E2vwgrgDjcXBcSmMfM0K4sRLeTN2rt+4Yb8sUE4P1b6/aU3IkN/qBa/ywBkOV fdqDaOyoUpIwydr4O9tBiQ5NbSyuWrYieYJuLvUrb77hdmPkAv5g6TryzzW05wulKSrO KFf2J8FAj6pIJGcELE46j+po1/Z4k9tD+ZuSl0PuoAjWdcDnzls1Zz3gve8eNHe5KaSv 6aSTjkJlKjCPCPqx58sIIG4/Q6wCkCw5UqYwV+Ox8lLfqaITB6WPPwpYB+aRAyET2n+Q dkBw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718358400; x=1718963200; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=F6wsm8Xx/pf44IU0fA2MjvK7doD5kwmYUud3XBVXDbs=; b=L2RlpyRzUIo4HMP+JtKW3P6FdXJWKvxKA74+dyVge0twYFcTEINw1SumwdpK3Y96bq lQZsL0RozUCQlfjKxwBq0iapyyNCKYJheziSU5LlWpOjHWaYFJdDlqQpu0ja71O+G01t cGPkJFRSRWeR1p+BeBs9V8Xwm827u1V7sXuVETAOraOvgH5mHG1s/+15qlrCVE3UutM1 VJfLxCm/oqzJc/acwqNRZQxjZvysnAEPG4GbctnMgGghFjOGLfcshh66S9S72o8NUjKq yD6ah2AeS9ieQek7NrtQP6pzXB5RFtWvcfR7GWsifjJrVSlBSGTiTJ4PlkYMvS8AQr2S qYFw== X-Forwarded-Encrypted: i=1; AJvYcCVgueT9ACs84E6ZHRppBAaAlM9mvvrmEkwIEQtgpLk+S0blv0I7d4tT6jjX7TI6+4r2OGOgqaDDhGwRqJIXNc7cseOHd7k5RNb+jHN0J5HMv2Q= X-Gm-Message-State: AOJu0Yx9SCSO8GQNNB30YauM6pH95makHMLTx6y50OXsm7bB67waTPiZ oAMSTdJPMxxorfkvEoE/3+6RgnAMybksAV01exbaaWsIlxme/84jxqt/ujAVTIM= X-Google-Smtp-Source: AGHT+IEiXb3yGV64TEB9dXMpsLr2AVSRMLYNMjccShQyJiKLUI2XAj/tHwYBQihryGriZP6pQI+tWw== X-Received: by 2002:a17:906:1754:b0:a6f:593f:d336 with SMTP id a640c23a62f3a-a6f60ced441mr137234066b.11.1718358400263; Fri, 14 Jun 2024 02:46:40 -0700 (PDT) Received: from [127.0.1.1] ([78.10.206.163]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a6f56f9c84csm164966366b.222.2024.06.14.02.46.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Jun 2024 02:46:39 -0700 (PDT) From: Krzysztof Kozlowski Date: Fri, 14 Jun 2024 11:46:03 +0200 Subject: [PATCH 04/22] dt-bindings: thermal: brcm,avs-ro: reference thermal-sensor schema Precedence: bulk X-Mailing-List: linux-renesas-soc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240614-dt-bindings-thermal-allof-v1-4-30b25a6ae24e@linaro.org> References: <20240614-dt-bindings-thermal-allof-v1-0-30b25a6ae24e@linaro.org> In-Reply-To: <20240614-dt-bindings-thermal-allof-v1-0-30b25a6ae24e@linaro.org> To: Daniel Lezcano , Zhang Rui , Lukasz Luba , Rob Herring , Conor Dooley , Alim Akhtar , Guillaume La Roque , Krzysztof Kozlowski , Vasily Khoruzhick , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Anson Huang , Thierry Reding , Jonathan Hunter , Dmitry Baryshkov , Amit Kucheria , =?utf-8?q?Niklas_S=C3=B6derlund?= , Heiko Stuebner , Biju Das , Orson Zhai , Baolin Wang , Chunyan Zhang , Alexandre Torgue , Pascal Paillet , Keerthy , Broadcom internal kernel review list , Florian Fainelli , Scott Branden , zhanghongchen , Matthias Brugger , AngeloGioacchino Del Regno , Bjorn Andersson , Geert Uytterhoeven Cc: linux-pm@vger.kernel.org, linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-sunxi@lists.linux.dev, imx@lists.linux.dev, linux-tegra@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com, Florian Fainelli , linux-rpi-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1263; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=4nD7nbG+x/aHIG3b41jcsj1A8FaFZMdyxJIm6u3+UCQ=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmbBFjXVOnPfxENiYSEd3PegskhPdMdIBD/C50x gmcTpA2YC2JAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZmwRYwAKCRDBN2bmhouD 17PBD/9uYmV8ARyZjA4ebD50QHOJeOLukSI+7nYfdM7JguKmOozwbkqqMEEm4Y0hsTy4FKxfSQ6 aX9Jlt2b4Eu8v6bt2h7qgbs5dwjMto/c9km1pndTva/76T6LheOsVIys7rKqu9I4WFycJAl9Z+R ITA4nfhIqHKcc5lMGo63EYIymwpGpRg0xPfhHMeBacHmuEO8+Ga19DYhegyzfmz/1IIfsMeIQyN /e/qMoh23oP0pX6rx1s4A5g2LrZXct4S3ThE3MAiFEwmLU8v517DS818NXn3ZkoiMZqddZUUuMQ 73N7kWxS4DRg4tjiS2ySxTm+NrIh/EJs+xfeY3vfqprS8+JiDw2bstTnfTgpqtcK25xrKOAUKkA VQI2F4dPkZJGMgWSHgmrytDYs2AnwgO8IErRXB2cxcOMgSLA7ec8ERAg81qOC+YZk1BLqLkAoJC ie05pevMxHxxEnGk0eYwn42+Z4l3C4AjWGeU8AvPb7SVd91uFpLoxVbKLQ+pmo8WomhTlt6FQAS kzZl4sy/enWnW7jJcfB0L3NzCT4cpsXK1eWhHWk9wZ4SkbLTkCVjw9p+YF1GH+F1961ziJwtkXV XZXgbQItXtV6BKXx5DSa3sfi+vpztQdEOHa9eDA7BtuT4Z+8K7liyhWcIiwnW8+j/OQ21Q9tMWX LO1gAouP7lLNF1g== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B Device is a thermal sensor and it requires '#thermal-sensor-cells', so reference the thermal-sensor.yaml to simplify it and bring the common definition of '#thermal-sensor-cells' property. Signed-off-by: Krzysztof Kozlowski Acked-by: Florian Fainelli --- Documentation/devicetree/bindings/thermal/brcm,avs-ro-thermal.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/thermal/brcm,avs-ro-thermal.yaml b/Documentation/devicetree/bindings/thermal/brcm,avs-ro-thermal.yaml index 89a2c32c0ab2..0271a0bc1843 100644 --- a/Documentation/devicetree/bindings/thermal/brcm,avs-ro-thermal.yaml +++ b/Documentation/devicetree/bindings/thermal/brcm,avs-ro-thermal.yaml @@ -19,19 +19,19 @@ description: |+ Refer to the bindings described in Documentation/devicetree/bindings/mfd/syscon.yaml +$ref: thermal-sensor.yaml# + properties: compatible: const: brcm,bcm2711-thermal - # See Documentation/devicetree/bindings/thermal/thermal-sensor.yaml for details "#thermal-sensor-cells": const: 0 required: - compatible - - '#thermal-sensor-cells' -additionalProperties: false +unevaluatedProperties: false examples: - | From patchwork Fri Jun 14 09:46:04 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13698264 X-Patchwork-Delegate: geert@linux-m68k.org Received: from mail-ej1-f45.google.com (mail-ej1-f45.google.com [209.85.218.45]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 64577195FEC for ; Fri, 14 Jun 2024 09:46:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.45 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718358406; cv=none; b=h+2nCy46qwri4SnKZk59TH8nWpjS3TjJ3cRmslRI+kCQMME7qUOQ9I006SqDiijizjVLssfhSvUokFXkVWeXZTmohD3E8hsrkOj1YUe0JM7TeoySdDFNi1vKxBrMzW9ifdu1wRzB5bbU08Ix4MxABCdVQci8goz1eMwk4UZ9fZw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718358406; c=relaxed/simple; bh=Ai81JSuQOdlCv1p1Eoa8aLrKA1CvKqWZCg0pr4dpmPA=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=nn4aGe2qwnhWiaaijQKUyPqeI1J0dgvk8CpAERTLhz2ihvcBe2sA8wbNKS3xI3vqXnc3Om1m43BIVNKbDdQ8evuxWEc9hWQXrtH/QPYa9LxCBSnPtYEWCwb7J6yLG9LpMXxOos1lHZQhWUIOXrkZeSU4RyVgT+/DXOLY9SPVDdg= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=bdRyO0e5; arc=none smtp.client-ip=209.85.218.45 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="bdRyO0e5" Received: by mail-ej1-f45.google.com with SMTP id a640c23a62f3a-a6f177b78dcso266157866b.1 for ; Fri, 14 Jun 2024 02:46:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1718358403; x=1718963203; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=HRsblTKIKueUASpgZPIAhHvU/Xf2tJR2h/CrNqwHNsA=; b=bdRyO0e5A02RHhSFsOhyslAE749PxdR9iJw4ztMe5Jr1z2zJZOYo160Rjbo3tQYjxG x4wMBs2mQi87a+PszYHIxf9dQNN4a6oJVmBbwjPXcGrgWhzXhyxZPewAHsGNGgAVSPHE 8D7mu3wdiG7PgM8CTqqSIFqfWjPH1lQc2ylN5PT9CyHxgwRipYwG2bv8bSX+ceW+E3Yg ym9PdJQx9fApYJWYNV+yh3HzTOKjHtAVMyPQclDKnTU3XUluGwI45fyxEx2wXhO4XCte I3jBQCszekcmFi/9wUDa7kgYo4TMOUlt6K6M7mv7DI9QbEAW3UQmm34CxnzVa74ML0AT gKtg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718358403; x=1718963203; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=HRsblTKIKueUASpgZPIAhHvU/Xf2tJR2h/CrNqwHNsA=; b=W8wlvn8YjRZFvDxKjOAgXTTWx5yLXHvrkOk9VyCBFyYBseYFOBO/52DiMQ8/llNXYi ta3S+cOBuByaK0w6xxcteF6kjQr5cB61tggEafyJT+z4SgoFVkIifRdkZPYAfObDeKfE LRy64PsKKgUcF0lRCpJ72M6isWXRapfXNiSiIdeL2bUeCyvCPuWfhRbImx17DbsQdVgb eLTn6XkxFgbbVK2r2DV8M/jU9lz7VmDjjkn22WDJuQHh89w9t859EPjmeCwe6UwMa+/x /FpyLRZlZJ6TYJl/dtzP8uXwSk3oiepL2TKy1TzeaC3aEFNn39NXOazHkCSPO4t+kTWO 6LgA== X-Forwarded-Encrypted: i=1; AJvYcCWqHgVLyq9snS3mZ2sQhm23JxE5HL3h+oUtY32LY6M6ncA0REnLHtwK5cvf+wDjZilKNSBCLM+IV6S7vgeiuziZaRH1CXyjAJE+AwWHoBgowuE= X-Gm-Message-State: AOJu0YxH40zyZ+eCv0+hAO4AADFxZZhnSZDE3BBE4WU22/ujq5iOEIJ6 S3RYBUDOcBWV6EKzZsSTr18AuoLZFBlQ5Famlo89zHjdErs8yjU1Rbn/QWnjSDk= X-Google-Smtp-Source: AGHT+IHzdJCeAm+5V7F39Yivzvz9eVzXveA/g8tczDyMLlUBzFf2wYZouWpzoH3GkUNVdrzOuRHhVQ== X-Received: by 2002:a17:906:66c1:b0:a6f:5fc2:fe8b with SMTP id a640c23a62f3a-a6f60d1e0ccmr134676066b.32.1718358402837; Fri, 14 Jun 2024 02:46:42 -0700 (PDT) Received: from [127.0.1.1] ([78.10.206.163]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a6f56f9c84csm164966366b.222.2024.06.14.02.46.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Jun 2024 02:46:42 -0700 (PDT) From: Krzysztof Kozlowski Date: Fri, 14 Jun 2024 11:46:04 +0200 Subject: [PATCH 05/22] dt-bindings: thermal: generic-adc: reference thermal-sensor schema Precedence: bulk X-Mailing-List: linux-renesas-soc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240614-dt-bindings-thermal-allof-v1-5-30b25a6ae24e@linaro.org> References: <20240614-dt-bindings-thermal-allof-v1-0-30b25a6ae24e@linaro.org> In-Reply-To: <20240614-dt-bindings-thermal-allof-v1-0-30b25a6ae24e@linaro.org> To: Daniel Lezcano , Zhang Rui , Lukasz Luba , Rob Herring , Conor Dooley , Alim Akhtar , Guillaume La Roque , Krzysztof Kozlowski , Vasily Khoruzhick , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Anson Huang , Thierry Reding , Jonathan Hunter , Dmitry Baryshkov , Amit Kucheria , =?utf-8?q?Niklas_S=C3=B6derlund?= , Heiko Stuebner , Biju Das , Orson Zhai , Baolin Wang , Chunyan Zhang , Alexandre Torgue , Pascal Paillet , Keerthy , Broadcom internal kernel review list , Florian Fainelli , Scott Branden , zhanghongchen , Matthias Brugger , AngeloGioacchino Del Regno , Bjorn Andersson , Geert Uytterhoeven Cc: linux-pm@vger.kernel.org, linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-sunxi@lists.linux.dev, imx@lists.linux.dev, linux-tegra@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com, Florian Fainelli , linux-rpi-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1231; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=Ai81JSuQOdlCv1p1Eoa8aLrKA1CvKqWZCg0pr4dpmPA=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmbBFk+/e4mLd8U5fNTEKa3WDi6sHWNOs+Kjv6y YiAHKkIy/OJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZmwRZAAKCRDBN2bmhouD 18tOD/sGEt/+Dkm52ln4YMwmPWkNNxRx/rHJj4mdO3bytCygp+noPWg2IhLxNuoM/XTWFt10nzG 0f79B1p8TZZorhJKb10piKpMEwop1YmDWDY0y6qPPY3AxEVqdIHcPVDccIBLIlRTyWTIAtK+sKg fpKPQxaUgFxyOgFBwmxKkUTqkiHtac8RouoPVnrtIf6CMweyHY6E9DYmD3x2Ughzedz1SClLbQM k432cdtgiPy6APeqO/xVvX/cUcT2k6CuwHRfXeoESe+oAzdACJbUj5RJNjL1KqGKwIT7a/fJt4w MG6ayvMJ1hiYn+avP6uBw61Y9aM53Uyx0iksXCzovSiCvjdDPDT4P09ZYy52nXIXohF6Ct3Mx/y wn4qE+O1akccWIwrVF/7qUIH6/KZn4jARxe7AWsqHjdbYqNuU8D84P/Uv1JpfNok0Q4SuAx0gJG woHg0DyS6g5TiJHj+FO5JQ3U/yfgRX5eJgc1VqmKZKMTaAmLWhsk9OVBkLiYbIlNnYVZYwtZm30 Wk+hbyjStKbqzcCI42C2wy8tLAi6YBYcouKGxeu4FlOowRsBx51ZFr7/tOOxj3iKiKOzufxqFqw /O3E5fAHfmLVkX7w9ETIIgs8/YjdsPoumGfSdF8STZzrKfdIqKokZ/Fe3XoS7ltExAkv5uMmVWR vOx428/JGca/mQQ== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B Device is a thermal sensor and it requires '#thermal-sensor-cells', so reference the thermal-sensor.yaml to simplify it and bring the common definition of '#thermal-sensor-cells' property. Signed-off-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/thermal/generic-adc-thermal.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/thermal/generic-adc-thermal.yaml b/Documentation/devicetree/bindings/thermal/generic-adc-thermal.yaml index f1fc3b0d8608..12e6418dc24d 100644 --- a/Documentation/devicetree/bindings/thermal/generic-adc-thermal.yaml +++ b/Documentation/devicetree/bindings/thermal/generic-adc-thermal.yaml @@ -15,6 +15,8 @@ description: sensor resistor. The voltage read across the sensor is mapped to temperature using voltage-temperature lookup table. +$ref: thermal-sensor.yaml# + properties: compatible: const: generic-adc-thermal @@ -44,11 +46,10 @@ properties: required: - compatible - - '#thermal-sensor-cells' - io-channels - io-channel-names -additionalProperties: false +unevaluatedProperties: false examples: - | From patchwork Fri Jun 14 09:46:05 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13698265 X-Patchwork-Delegate: geert@linux-m68k.org Received: from mail-ej1-f44.google.com (mail-ej1-f44.google.com [209.85.218.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EC876197A97 for ; Fri, 14 Jun 2024 09:46:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.44 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718358409; cv=none; b=SU3kIq+ic8eE2VB7IWhH9IcXfFhjTqvawoy1XUyxqKwRYb1a54f0c1HkrGt1gIEanWSADw4NXdzeUqVEeK2Z0Ujg8Q7c0dkPEmOo2IGybpvjkAoQ1YWIIOdGr/FhZZdLHzZf+NRV84QBAg5cF7xg8yV9vAqYdqb9rdiO4tvjsfg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718358409; c=relaxed/simple; bh=1QXEmZd+cFRuZ9pAA4Z0kWtLyHTijEgWCuJOa9SDRmU=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=mq1ILFy6LpGMxgKQNzX9Hk0YTBUg3H95T3TQDgdkqaLu1vr1Inq492dL+DdSjUhLSbj5xJHLFwFKM/C0TKtJ1dTaicutqzLMX8tattmpo2TfhxqLyajrL2LRVyiNGYgk/nyeL6/7bncTDJvJr6R8wuHROu3m3VY9DrcDLSS1DIY= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=v1jggcHM; arc=none smtp.client-ip=209.85.218.44 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="v1jggcHM" Received: by mail-ej1-f44.google.com with SMTP id a640c23a62f3a-a63359aaaa6so282229166b.2 for ; Fri, 14 Jun 2024 02:46:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1718358405; x=1718963205; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=48jRV4Y+U5vH/naB0pf1Q5GHRMn8kZ6Tmm5P5ebQMO0=; b=v1jggcHMmAaIHdgl8g6YJdgjp35WeXYCmZ+R5uv1e9NTvWQYRGmpro1jIYUsRCJw2N yIKoOYWbPCH55izmrwrSU5u+eS7i7SW9vGdR3B5wILX+kPfHusgFgQKGpf2Pl3SXfTEd RrPTmKUJwzpsWTc/4GCejaFeeDz3/RxIV8FHpRQU3i/fh5wc8I6AzFCLHQwyeDHAqVfQ v6nYfbLM2kC+4H9JavPD5j0p0u1DgWg9irbL1MosR1KmfuS6EJL/UoHE5CCaaM2ibHje rthWQ460Dnxvgp3lZZLNAS/GsJRIYkpBF5ekFHtGr59JaDp9fTEyNvmeORh5cKaZZomH D1LA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718358405; x=1718963205; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=48jRV4Y+U5vH/naB0pf1Q5GHRMn8kZ6Tmm5P5ebQMO0=; b=GaYecrpD4JknqzVob3Qr3Jd3iVlTYit4bq8TqLHZ52JmmSCdPwI1CclRaDftHRSK78 QMAhif6UTcb90XenERSR1FBfmGv2vI/slNAKTS8MHjRRoXw1i0yCW2wQUM6ZNXqRIyOQ l4Hv9TaVoPgiebYDSOHCNWqSFo1ZmBWacBgjvmsObzPbYqpr2X7b29DQJW1zZm80ital jAge5sVkXzg9dhuwWy1FBxMNrJUPZWpx1cTbq6qlfAjkMkfL0hVuT/slB2y8sgFsIIBx +z1GirHD0njcJb/1r++vGbZPmnrdoo6NV7oxysb01kLXPezZIRq7w61Ku2zAgu1yAMk5 hILA== X-Forwarded-Encrypted: i=1; AJvYcCXIYjP01LCjNzXNexCE0FGIIHiRcDbgeKLPqJBZ2RGdMy0BLvt2X+yLp1BxSHmkA5EiVn2b7c3sz/8ecpWQiQasZW9SYrifcFDUa08Az1Y3Itg= X-Gm-Message-State: AOJu0Yw3w5R7RDnhFT1JJ+fc+mZ4V+CO1bWWXz2F2sUoPLT41WqTjZbS jsSD08Ejt9UK0DMRjpNqsL8U0JQT0Z9vNsfVkH+9LOrX4wE6W/3J8AlFcVDWIaw= X-Google-Smtp-Source: AGHT+IHlYvfZnRQiJVv8ztAIy5FtuFGGY28pk8Ex9meikXiQo2nuK+J7KYvFbJtI8301IPK0vUIPpA== X-Received: by 2002:a17:906:a09:b0:a6f:5f75:2096 with SMTP id a640c23a62f3a-a6f60d461f6mr140579766b.41.1718358405253; Fri, 14 Jun 2024 02:46:45 -0700 (PDT) Received: from [127.0.1.1] ([78.10.206.163]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a6f56f9c84csm164966366b.222.2024.06.14.02.46.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Jun 2024 02:46:44 -0700 (PDT) From: Krzysztof Kozlowski Date: Fri, 14 Jun 2024 11:46:05 +0200 Subject: [PATCH 06/22] dt-bindings: thermal: imx8mm: reference thermal-sensor schema Precedence: bulk X-Mailing-List: linux-renesas-soc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240614-dt-bindings-thermal-allof-v1-6-30b25a6ae24e@linaro.org> References: <20240614-dt-bindings-thermal-allof-v1-0-30b25a6ae24e@linaro.org> In-Reply-To: <20240614-dt-bindings-thermal-allof-v1-0-30b25a6ae24e@linaro.org> To: Daniel Lezcano , Zhang Rui , Lukasz Luba , Rob Herring , Conor Dooley , Alim Akhtar , Guillaume La Roque , Krzysztof Kozlowski , Vasily Khoruzhick , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Anson Huang , Thierry Reding , Jonathan Hunter , Dmitry Baryshkov , Amit Kucheria , =?utf-8?q?Niklas_S=C3=B6derlund?= , Heiko Stuebner , Biju Das , Orson Zhai , Baolin Wang , Chunyan Zhang , Alexandre Torgue , Pascal Paillet , Keerthy , Broadcom internal kernel review list , Florian Fainelli , Scott Branden , zhanghongchen , Matthias Brugger , AngeloGioacchino Del Regno , Bjorn Andersson , Geert Uytterhoeven Cc: linux-pm@vger.kernel.org, linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-sunxi@lists.linux.dev, imx@lists.linux.dev, linux-tegra@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com, Florian Fainelli , linux-rpi-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1110; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=1QXEmZd+cFRuZ9pAA4Z0kWtLyHTijEgWCuJOa9SDRmU=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmbBFlbbbrZbxDOrrFndHK7KrXUzJDw1D1Nw6AE 6S3xdbshASJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZmwRZQAKCRDBN2bmhouD 1+kFD/sGnvHOKrY+EhoCdoHu7iJLZC1M4sL9G6Yao9AC291vehS0a6iUOXKVgc0S7wTHdl2lCaV naDrLzfUXUetvHgv8FAhwUuXZX/C6jfC+VQuscZd3QgI9zJEWpPLlQVarLBRtvdZr1RvWKNUroC /R7/V3ndnLQS8wB+8XMj9ZGqWhXr5DjruMYMSrId1NeB/H/FHtCvMhUf1E2AceQ26NP/0Q7Nllm Q4s7N6oYkjyt+IZD9tkEODXQbliQk88dgc+dABH7rt5skMz186ou1uHERYerQZ7ZtajckM51A5D 5zHR3EPZ6YBYyVo0md7YUD44+pWha8sx2fehN4w6yuMskcY8IOgkUyRR15h8UwGr5nix/Hmt9hl XW0pbFwgHTBppYNLodhiMPqpvvb5VjbIkSooty39pHu95j/vDGJ24JAP2nlwLfGhVXbDt13R24w imF2g2583XIAxUy2phI0JjSeYlOpbshrQZ6uQ93uJ9bD2AcJg+p8d6J+adWZV2YZJ8GntdBvAKW hd5aJ866j10e91MXXzh7Dcs5InXghT6WDBL5Q/gGDGafMAwRBQl20gIeBfDFzwqIPEk5G4fw3HB wvFZizoZTq5aXdChJYJk87xzmMo46BsqQ/9j4F0TNsY5WZg1BONp4xZPzytaP9vvpO/7gOStZBx nQSxk/Wn+Tzd5Ng== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B Device is a thermal sensor and it requires '#thermal-sensor-cells', so reference the thermal-sensor.yaml to simplify it and bring the common definition of '#thermal-sensor-cells' property. Signed-off-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/thermal/imx8mm-thermal.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/thermal/imx8mm-thermal.yaml b/Documentation/devicetree/bindings/thermal/imx8mm-thermal.yaml index d2c1e4573c32..e7ddaa6c966e 100644 --- a/Documentation/devicetree/bindings/thermal/imx8mm-thermal.yaml +++ b/Documentation/devicetree/bindings/thermal/imx8mm-thermal.yaml @@ -16,6 +16,8 @@ description: | for i.MX8MM which has ONLY 1 sensor, v2 is for i.MX8MP which has 2 sensors. +$ref: thermal-sensor.yaml# + properties: compatible: oneOf: @@ -51,9 +53,8 @@ required: - compatible - reg - clocks - - '#thermal-sensor-cells' -additionalProperties: false +unevaluatedProperties: false examples: - | From patchwork Fri Jun 14 09:46:06 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13698266 X-Patchwork-Delegate: geert@linux-m68k.org Received: from mail-ed1-f52.google.com (mail-ed1-f52.google.com [209.85.208.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 40C9B1991B2 for ; Fri, 14 Jun 2024 09:46:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.52 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718358411; cv=none; b=beQG66XnHs6+4LvDQDXgRb3unKT0y05Ut8YgTjPYmsM1MkITknquzH2KJ90N/RNSs8AtkelfbFqyWM9rAFKR7vWBAGoS5j4xdou9Un/t1OrqegR7D796Jjo1C+h/P0++Id1uwP7YvxiGPIvjYEyUebQEOZMm42XExMOyPhnGKTk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718358411; c=relaxed/simple; bh=fPJBLqgC7318fFf2Al8T2+5gAe2h9ujfD/RlTMTvaWw=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=omqqD0yGW4U0ZQW8ZHdmQVXMH/3xXPLt4IRwFG5DKr/Y4bcyms1mjdK3H03eUf+2IlnBIYuCEWkwAsJUaxymwztIC9BahAxzsXn2BqtSAf3PgqZnEmoni27zo7YFVUs1Au8qF3sw+m1FXukzqkRHX260wVzrHJCyb42A5i77gGY= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=df5Vo1oR; arc=none smtp.client-ip=209.85.208.52 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="df5Vo1oR" Received: by mail-ed1-f52.google.com with SMTP id 4fb4d7f45d1cf-57cc1c00ba6so527014a12.1 for ; Fri, 14 Jun 2024 02:46:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1718358407; x=1718963207; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=MKBoYa2/x1W/F2+Gsm9S8Q8Wa9Z25/AVKvuUTKGCttQ=; b=df5Vo1oRbtNSwx0n5ZLyexak0dgewRy114kozxRzVdQ18VKbTXnk+sl3Wcw+GtJP7N g3ffeIcE6a9Drl7Jn0zRTcplXsQBysrlsycFx4Dzy8cSYtbIlgH8f1I10Jvi3mkkL2SR nwO7z0m2qsDhBe4LPNjtQ0uVsl39NAQETye+21BinXpLNPwedK5nKvQsM2JYt8IiOEhR SEOBU9JacMkLBLFJcTv1DTxWPIWIkRYUwFMx+BNbM/q8w5Y1bu/QNDyIHlbOWFobb4Lc XY/jndFC1k17TT6bd5WCh6RactLSSBllXgqK22f1R+xnv305FghhW7OVtO8JSVWATToC engg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718358407; x=1718963207; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=MKBoYa2/x1W/F2+Gsm9S8Q8Wa9Z25/AVKvuUTKGCttQ=; b=InIjKuI4HM4mlACt4GdPEJNNI5VYD8YSG1PO4QeM6FjcY+Da6jkU0dlWKS4rE4U7Db VM0FA44UIJZPI9JM0X6GRsx35+MAfGMkkr5boXpQT6lyx5DcxgZXo+1x+laUN8BaEz95 g/cg+jPNciMINxiESSjDSqHHk6uIQB28mBdlEMHs4d0FH+R74rP+1karh1ZksrsWKAaY /j9r1quXV5KXYhHm/y+7hkmYsu5XJIEGnZ63RhcHUezDkkhyMrzdj2UmZNar+qF5SSqY EbAsgTN5a94cnTkqjeI+/1LPhTx/KP0s+Jz+tNC2wzf+fpU8j7vTzCXM+e/AIWetTX5o YMKQ== X-Forwarded-Encrypted: i=1; AJvYcCV7+c+7JlxUTLAxzWotYp8kVfsR49YHAzT7h0I23tbG+SPbmUCSb272Z1ULV/44BinQqXAUxxVPZXcKOjSKs3NgGRhZrswT/80Lu7UdQI5DAXU= X-Gm-Message-State: AOJu0YxUnqqd+Eaz5xk9p33ZCACZg6mek3zfuxobFoi5Nd0R671nsZF0 OJGTwjEDPN/a4mhaSaxWAKd88XkbcxMU073jAVe9vINE4/m8JJ36/6/MAzAh/OxHSLD3UEY6d2B zIsY= X-Google-Smtp-Source: AGHT+IGNlFyay8kOem24vdynFYgywyyZVSux+W6+RqwMfDi8eHKZ4ApmtC0R5UYkH/YsJbtiKWjL8g== X-Received: by 2002:a17:906:c24c:b0:a6f:5c34:34e3 with SMTP id a640c23a62f3a-a6f60dc8a06mr152321866b.62.1718358407588; Fri, 14 Jun 2024 02:46:47 -0700 (PDT) Received: from [127.0.1.1] ([78.10.206.163]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a6f56f9c84csm164966366b.222.2024.06.14.02.46.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Jun 2024 02:46:47 -0700 (PDT) From: Krzysztof Kozlowski Date: Fri, 14 Jun 2024 11:46:06 +0200 Subject: [PATCH 07/22] dt-bindings: thermal: nvidia,tegra186-bpmp: reference thermal-sensor schema Precedence: bulk X-Mailing-List: linux-renesas-soc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240614-dt-bindings-thermal-allof-v1-7-30b25a6ae24e@linaro.org> References: <20240614-dt-bindings-thermal-allof-v1-0-30b25a6ae24e@linaro.org> In-Reply-To: <20240614-dt-bindings-thermal-allof-v1-0-30b25a6ae24e@linaro.org> To: Daniel Lezcano , Zhang Rui , Lukasz Luba , Rob Herring , Conor Dooley , Alim Akhtar , Guillaume La Roque , Krzysztof Kozlowski , Vasily Khoruzhick , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Anson Huang , Thierry Reding , Jonathan Hunter , Dmitry Baryshkov , Amit Kucheria , =?utf-8?q?Niklas_S=C3=B6derlund?= , Heiko Stuebner , Biju Das , Orson Zhai , Baolin Wang , Chunyan Zhang , Alexandre Torgue , Pascal Paillet , Keerthy , Broadcom internal kernel review list , Florian Fainelli , Scott Branden , zhanghongchen , Matthias Brugger , AngeloGioacchino Del Regno , Bjorn Andersson , Geert Uytterhoeven Cc: linux-pm@vger.kernel.org, linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-sunxi@lists.linux.dev, imx@lists.linux.dev, linux-tegra@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com, Florian Fainelli , linux-rpi-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1550; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=fPJBLqgC7318fFf2Al8T2+5gAe2h9ujfD/RlTMTvaWw=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmbBFmNf1yVZUqHe6ObrZYM4xsaIvMyiTnGv16X 8eLBmKrFhKJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZmwRZgAKCRDBN2bmhouD 10HqD/9YU2o2Db6RJtFXb6VGo0dUKqGzbKYA3Mdmk1MVN+dZ7Wy6EUb989MBdxWjjNljpO44Du2 UknQbF1FcW19LKcDSAIX0ES2dU3P4VWocs8UO6zgFVOQBHWGUa26u9u68RmEyBP1ilQsqwVpjco kPJM7HbNEWxxbVMRrrx8TNpz9QGSWje4itnmiFUrw/wOWdqhi7fMij1Ru5a9Uw9SNRDmpiEExUE 8aFQ8gO/dkIQOxdGbdhTMQNBwhud8tdMaNjnplec9i2iO246I6sde5KAJGmMlCwj5FAYu1edvv7 fGe9B97J/X2ZrqPYYGInyYquT4lmEwgS1aEBcff0AK3RXm7LqQrzMOSnCUvf4xIMWo/eS5kY37v yBHyqQ3+B96ONbFWpXUsCJc9xFQS2ECzvbW+v0HM+ieI5tN/TAOZUDbLK/cnM18QhISO5H8U92q ej2R0T1/+55GLp6ZgOPU5yX+RZgzFthAc3eRibixzjFvCldYJUGQXIDWcKVfq4aOI2YVugjpyVZ s7Dfk491xtZzep9zpwKR4UTrMcEHdjcIH0aiMy0zxq1SKo0H9+bXWE11SZgA1DD9Rp6OPdK60+I 09YqIgW6C799e75K2VYN6K/uDMmrQmys7pmrtJfEIJIdU3hcXV9mlxNLyPGUEEn7jEgq6ZpAvsg PTevguPNxftPhXw== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B Device is a thermal sensor and it requires '#thermal-sensor-cells', so reference the thermal-sensor.yaml to simplify it and bring the common definition of '#thermal-sensor-cells' property. Signed-off-by: Krzysztof Kozlowski --- .../bindings/thermal/nvidia,tegra186-bpmp-thermal.yaml | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/Documentation/devicetree/bindings/thermal/nvidia,tegra186-bpmp-thermal.yaml b/Documentation/devicetree/bindings/thermal/nvidia,tegra186-bpmp-thermal.yaml index c91fd07e4061..978b9e6ab8a3 100644 --- a/Documentation/devicetree/bindings/thermal/nvidia,tegra186-bpmp-thermal.yaml +++ b/Documentation/devicetree/bindings/thermal/nvidia,tegra186-bpmp-thermal.yaml @@ -20,11 +20,7 @@ description: | node. See ../firmware/nvidia,tegra186-bpmp.yaml for details of the BPMP binding. - This node represents a thermal sensor. See - - Documentation/devicetree/bindings/thermal/thermal-sensor.yaml - - for details of the core thermal binding. +$ref: thermal-sensor.yaml# properties: compatible: @@ -33,10 +29,6 @@ properties: - nvidia,tegra194-bpmp-thermal '#thermal-sensor-cells': - $ref: /schemas/types.yaml#/definitions/uint32 - description: Number of cells needed in the phandle specifier to - identify a given sensor. Must be 1 and the single cell specifies - the sensor index. const: 1 -additionalProperties: false +unevaluatedProperties: false From patchwork Fri Jun 14 09:46:07 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13698267 X-Patchwork-Delegate: geert@linux-m68k.org Received: from mail-ej1-f47.google.com (mail-ej1-f47.google.com [209.85.218.47]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8913D199EAC for ; Fri, 14 Jun 2024 09:46:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.47 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718358413; cv=none; b=f4Nbd+qvMP8YlZQ36hSLA1p8lUuH5GEHywxgYWaw3XAAokT1qpx/t9H57GgslqhwkB/byPIFrhSf2lDQlEuGixY0iyQATHJ7Lx234cD5PgQtI5z0jv/nveQ8TfAfjpdFeBh07/jgKY1DS42+XCE4LZVnSfa8wTFpyIpY24eY62M= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718358413; c=relaxed/simple; bh=VJPDXpI9a+tnKsAKTdkikW8im2YdBEsD1YQ0PHQTdfk=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=QgsqwvK0YcWOv8iog7lhc+w7p3YtCMFfVCquZQScahSWY05pyhoQlfzpXQ2quP0X4sMxwK1BlStnpymomsaXOLf5KgMXEYTwu1lN9KTCwpBFD70WzZAofw3e15EqL13EQdmK3yRZMlxH9GNzYpzHQvbJeGCLsUbHxcE4k24xj2w= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=gVxQ9E0R; arc=none smtp.client-ip=209.85.218.47 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="gVxQ9E0R" Received: by mail-ej1-f47.google.com with SMTP id a640c23a62f3a-a6269885572so531146666b.1 for ; Fri, 14 Jun 2024 02:46:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1718358410; x=1718963210; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=e3IU7+TXLvfDkHuXEh0I9tjkuQWX38Z7PszEGMh/894=; b=gVxQ9E0Rla19KONn/JrJQ7zATHUrmxWrDK8ASjzZave3BFoyO+xayWLXfIFL7qNFaq /KoolprXS8eNZdvBMlRYq1Cf3H3LEP1JKoRUs53RQcOvpcWkADXM2fo9cJH1OaL/+GOx IkFH8Q6NtgZOAuG7sgHtf+tTAcs8+/PFlxVydMYNohyomKcwG0l1seMxNFClqtIed2KS ceXQsLr6iA5zEv90nJNVLNaXPveHTRlG6jkTyViJqtAfWiZJJvlmtxPXLZlooA3B1aMO vne/YcoHuXD+K+6Tw9wto8+L73aSkzBzzQ6LQq1Is1Q2NK0sed588edBXmBKrDavEnU7 6bzQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718358410; x=1718963210; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=e3IU7+TXLvfDkHuXEh0I9tjkuQWX38Z7PszEGMh/894=; b=sOos/IHECJJaTbmXw5uGf8KdeNXvmJIO1BHZQ7AYpJVCUgDlmgKD1XYdtNWvORutYE H54UkDe4IkulVW1LZ3GdAm6xrrl3IGwEthhxq6C3yIZuqhH0ly4UxVq9JYmDzQaZ+F3k pSd+zbnMFwl3AotCAFif12U2+t2ZgeZ0Bm1XFF5BlncccdwSwtSI0njyuTK/AjeHbZau dbMg3lpygX6OP2dgumCWLiHX7z2VV68bSmA0UstHzHgnLhiIk9TExeGLo0UVaYjKo9nk MeVreg9qfy1EslH5TY2eSlpKMUt0KG0XEKrdsltkIB2+lMKdvL7nuH4fYmb93R2ACqdH 6GIw== X-Forwarded-Encrypted: i=1; AJvYcCVbVAHreHSwhrmkaQeuZw43N0JYSeJxuqtkFucDomuwb9dnHC2GXNxSs2flA6hKMhvsYGec3cFYJiQ3HVqR9I8Om9rrljq6JvRbiyRFakIhBtM= X-Gm-Message-State: AOJu0Yyqo7lCL9Cq22ciMDo10g4K9m4c6b2xeRKKsQ+YvXQhKI7+xke+ Zz1UECpuMWstKTBUrCtGkhYvJM3EywscFFLvo7gXFlyoP9iwVvMF+DC/bASD++Q= X-Google-Smtp-Source: AGHT+IHzJUpHJvBzO1v5iLmWnz8CRAittbY6yI3kGFRmVAHwcqWiqXe7ztIdEf/PB4A+9kWWiM2SYA== X-Received: by 2002:a17:907:c302:b0:a6f:6337:1ad5 with SMTP id a640c23a62f3a-a6f63371be1mr141309566b.27.1718358410044; Fri, 14 Jun 2024 02:46:50 -0700 (PDT) Received: from [127.0.1.1] ([78.10.206.163]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a6f56f9c84csm164966366b.222.2024.06.14.02.46.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Jun 2024 02:46:49 -0700 (PDT) From: Krzysztof Kozlowski Date: Fri, 14 Jun 2024 11:46:07 +0200 Subject: [PATCH 08/22] dt-bindings: thermal: nvidia,tegra30-tsensor: reference thermal-sensor schema Precedence: bulk X-Mailing-List: linux-renesas-soc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240614-dt-bindings-thermal-allof-v1-8-30b25a6ae24e@linaro.org> References: <20240614-dt-bindings-thermal-allof-v1-0-30b25a6ae24e@linaro.org> In-Reply-To: <20240614-dt-bindings-thermal-allof-v1-0-30b25a6ae24e@linaro.org> To: Daniel Lezcano , Zhang Rui , Lukasz Luba , Rob Herring , Conor Dooley , Alim Akhtar , Guillaume La Roque , Krzysztof Kozlowski , Vasily Khoruzhick , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Anson Huang , Thierry Reding , Jonathan Hunter , Dmitry Baryshkov , Amit Kucheria , =?utf-8?q?Niklas_S=C3=B6derlund?= , Heiko Stuebner , Biju Das , Orson Zhai , Baolin Wang , Chunyan Zhang , Alexandre Torgue , Pascal Paillet , Keerthy , Broadcom internal kernel review list , Florian Fainelli , Scott Branden , zhanghongchen , Matthias Brugger , AngeloGioacchino Del Regno , Bjorn Andersson , Geert Uytterhoeven Cc: linux-pm@vger.kernel.org, linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-sunxi@lists.linux.dev, imx@lists.linux.dev, linux-tegra@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com, Florian Fainelli , linux-rpi-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1169; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=VJPDXpI9a+tnKsAKTdkikW8im2YdBEsD1YQ0PHQTdfk=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmbBFm5f4tbEdT6Hj9kos4aHIzliPjW/NKGFDxx Ipnt4UnJqyJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZmwRZgAKCRDBN2bmhouD 108SD/9u2rmhmgwy0Iz1Y2lIEPUPCrVcvZT6yoWrfj0wgLw7Qozmtm5AmkEjCDpLjfJ0jn0Pqu3 KmauRx7VbqoERst4rURkBcYMHLAC0w3Zu9vxRa1RTy5YiVouiBUrD5PCMYATOck/MYTTtkVOfW4 OJ7LkFnf/Y+0CtVMtdYcN1F4/vdu9NG2saYtCHkAlaKJbb9WM5cdo/4HjDrgQXMAxGlSi23rsPs RBU858AEvvdeIaDL/d/1h+dtmXG8FqdhOrknzLOj0AABWGmpZCrrVHw4XWVGlhcNHHRiZZy0GPR YRWKGN3ptlFG2yMoUpM0bfupahX60O8m3ivmBzvk6QGKdF88dXCDP1YmPqyWRJQv1szVYj3d/WK 9O6yKUknXbaNp/s0LvfthEag74z249rHMFB/5AdMPnlB1hKRY2PFRcOYBuL38lL7AfRgPesk5v2 m0doaOAEtBfIalCR5zavBZndHesTpQcRLybosB3oV0eEEp8d5H1+M8UImCyUIisdmO//fCQsnTK gFveqBq94NauRZXVPD7mvqyNpoysTViIAQKDTKiw80/qqy6Wo8eHEd5VCfYXOEPNBjCDZY0PdhY vFo+tFSggr4iLZ2hdbNMoK3U3rYVOTmozWqyyamilhIEZSgZ5tHcGmTmEEY8Xk/rEZefiRxoNIw 6rrAEJr+a9MpxJA== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B Device is a thermal sensor and it requires '#thermal-sensor-cells', so reference the thermal-sensor.yaml to simplify it and bring the common definition of '#thermal-sensor-cells' property. Signed-off-by: Krzysztof Kozlowski --- .../devicetree/bindings/thermal/nvidia,tegra30-tsensor.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/thermal/nvidia,tegra30-tsensor.yaml b/Documentation/devicetree/bindings/thermal/nvidia,tegra30-tsensor.yaml index a35da257b070..972d608ddf95 100644 --- a/Documentation/devicetree/bindings/thermal/nvidia,tegra30-tsensor.yaml +++ b/Documentation/devicetree/bindings/thermal/nvidia,tegra30-tsensor.yaml @@ -27,6 +27,8 @@ description: | TSENSOR has two channels which monitor two different spots of the SoC. +$ref: thermal-sensor.yaml# + properties: compatible: const: nvidia,tegra30-tsensor @@ -56,9 +58,8 @@ required: - clocks - resets - interrupts - - "#thermal-sensor-cells" -additionalProperties: false +unevaluatedProperties: false examples: - | From patchwork Fri Jun 14 09:46:08 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13698268 X-Patchwork-Delegate: geert@linux-m68k.org Received: from mail-ej1-f49.google.com (mail-ej1-f49.google.com [209.85.218.49]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0E8AF19AD45 for ; Fri, 14 Jun 2024 09:46:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.49 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718358416; cv=none; b=iLmJsxFGVUccyKIAALlJxmOtedhw8bBMHHbgESyguGZMkN3mxNyP5N8qbPJfy1AnLBgm7UoYOOlTuCV7xZKgpFHizg5Ya6NWvZFPnXlo2WAzUe44BWOb3r5WU06y/3ZlTLpuwxDsSCI8CR5JonDPC8TyZ1cvx4rPClYyyo9ImEs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718358416; c=relaxed/simple; bh=nByrzHQVmba7wlYPh/i+rKZ2wbIt+maV5ijzXe+5jvY=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=ryYs2An9zXnCdQK+bpE2vR/852k3kxf3tMooK5EcNtcWtegpCv51cZkBiZtIQGjbcFiDAXc8S1wpbcDDsGBYt20rf3FWkzH74vbqFkvXDR9yStRRkfibyw7dLTFIT5KMrtUm9PXbYN4ZshI+CD303vvL+Nltbt09IZwUkNDiKvc= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=DqyVInjM; arc=none smtp.client-ip=209.85.218.49 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="DqyVInjM" Received: by mail-ej1-f49.google.com with SMTP id a640c23a62f3a-a6f177b78dcso266179266b.1 for ; Fri, 14 Jun 2024 02:46:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1718358412; x=1718963212; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=gVGhPsD6Qfn4mBoK6MEbCiA4reC20IqmZAzrPH10YVc=; b=DqyVInjMWxVwSXLIW6CM5HUy7Fc67YYd/xhxsNAik6Q9V6EJKzmLNW/izYHrp1l0lC 92TF2Wv3OeMEWwuUaOs1YOHfcWpuLd+cD1QAqPofkj63CivmY0MJgOJ/P3Mmi/l+0QTV e/loo6/4hW7ynC5pTCZEU4nlAN/bww4Y/vaOfQurlwYI7I/aAG5REuzKVLSz6yfwuZov gA1XQGguPqUReJf5IDaGKVj6tA1DiaSrsBqBSL9566iOhRKZ8kirl4rWYmBuF1pQXCRG lpiqsqMvjMv8wkD8o84Fehj34Iwt90MKAdAnStelA3d1sQsyUbjtn3gRufbqDGPtjbMb gLhQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718358412; x=1718963212; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=gVGhPsD6Qfn4mBoK6MEbCiA4reC20IqmZAzrPH10YVc=; b=H6QLzdG7e38Uya0spyDyb/qxmWcYboLEqXLNBRwX+YoSoO9uVPfG+uGUqCYjTK3pOw ynt8dONjEYTOjMpgAg16dQNskacNBinNLSq4fK+AsFGeiUbYnuc7Q3DFkvSfX91oIfT0 WbKEpaiBPwdRGXcLkXlATGjsIiiaLBDDTfJViYDG7948OHXWL5mpzFgQfEo099lRKqfW ReZ3jufepCDu63ucXFyaEnEFuuMAZJSUHY9E4TClcAGH/imeJv7pE8lHNQb7Z/fO74LQ fNCP/3aubrNSJ4Mw6Wbe1Yb7RoEVIg0QY8Z/eL1QTxvDS+N52ULd7uYU3yz4D9CK67S7 6LJQ== X-Forwarded-Encrypted: i=1; AJvYcCXn419EmHhWxNL14NOk6sOWXGS0tkfOR3PMCP9IHmTpvkPQYa7mJ/JZRgbbaMgWV5jmZ7OzWSQd2Pe6zG+JYieuNFCq4VoFCr5+cT459SZZdws= X-Gm-Message-State: AOJu0Yyp9YsnMD9aLmT0Ipc5l5ri6TjFTaAdNR49u4qEpgXHSwHbsgxC Rk14yJRMwNp1RsVlhIhDaNFox3ogu0ptPO/4zrjGxYm8y1xo9P8pHsST0e9OEDg= X-Google-Smtp-Source: AGHT+IH/LDguxtaznqvBqHTXoDXKR1YtqV8s6Uw3ZXJ5iaYlCO/PXU8Q0KzXgYZ1uinkHqB6v8mPPA== X-Received: by 2002:a17:906:d296:b0:a6f:5c1a:c9a6 with SMTP id a640c23a62f3a-a6f60dc1fb3mr131861666b.62.1718358412444; Fri, 14 Jun 2024 02:46:52 -0700 (PDT) Received: from [127.0.1.1] ([78.10.206.163]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a6f56f9c84csm164966366b.222.2024.06.14.02.46.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Jun 2024 02:46:51 -0700 (PDT) From: Krzysztof Kozlowski Date: Fri, 14 Jun 2024 11:46:08 +0200 Subject: [PATCH 09/22] dt-bindings: thermal: qcom-spmi-adc-tm-hc: reference thermal-sensor schema Precedence: bulk X-Mailing-List: linux-renesas-soc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240614-dt-bindings-thermal-allof-v1-9-30b25a6ae24e@linaro.org> References: <20240614-dt-bindings-thermal-allof-v1-0-30b25a6ae24e@linaro.org> In-Reply-To: <20240614-dt-bindings-thermal-allof-v1-0-30b25a6ae24e@linaro.org> To: Daniel Lezcano , Zhang Rui , Lukasz Luba , Rob Herring , Conor Dooley , Alim Akhtar , Guillaume La Roque , Krzysztof Kozlowski , Vasily Khoruzhick , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Anson Huang , Thierry Reding , Jonathan Hunter , Dmitry Baryshkov , Amit Kucheria , =?utf-8?q?Niklas_S=C3=B6derlund?= , Heiko Stuebner , Biju Das , Orson Zhai , Baolin Wang , Chunyan Zhang , Alexandre Torgue , Pascal Paillet , Keerthy , Broadcom internal kernel review list , Florian Fainelli , Scott Branden , zhanghongchen , Matthias Brugger , AngeloGioacchino Del Regno , Bjorn Andersson , Geert Uytterhoeven Cc: linux-pm@vger.kernel.org, linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-sunxi@lists.linux.dev, imx@lists.linux.dev, linux-tegra@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com, Florian Fainelli , linux-rpi-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1468; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=nByrzHQVmba7wlYPh/i+rKZ2wbIt+maV5ijzXe+5jvY=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmbBFnx2UWSDHo+/XWma/SEORKk1DYqhfHrmfFB s92YeqphpmJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZmwRZwAKCRDBN2bmhouD 13HND/9ckrgPCXja3KiiMLzGorRecAp62uvkPQ6LsfsLVuRIxVjiHoY1BBKonPU6hWZAEq+Tt+X 4jtQa/8unqFtVgfvCYPZaHXEGXZ6DLLuDD2uIuyvOuY7lH3Hw8UEq7f2ZSlkwvB/lQ6d0bPO6np RpXfva25J2qsdGmYRZAkcTYKzoDH1Xck9wgAC4vJjjsJodAfNuvSUhi+exREatcraSypvxBRRnM FDSlZQlQD+DHl39m+hwOw9I4KMUBErZu+LPP23ycIiZKZVIk4MUwW76pHHW1OyrPcgWWQsGKpDV 7fAk76yOzQzGcT+87ZIEwo91EqkfmHob1lIFftcZXg4MbGupo+WohmuGnEmBF8zM7XFBR6CzfrE kHhxFb1fjy3y91+BRv61A7RIeUUSEIxGqoKHwZsgd3/nuaNszYOuEkLaCZqz38Gq9Ze2Tk03Fxg c/6myrMsDjdieOWmmWuAa4uE0kPzlp2s1Io22FVNjayBkBtFXx6LBSbavJAKQe8Cwn8bUzp++xM r5s66EvGxCCmACdoC0MnSf8ZSnXZ5N4QNP9AHBCpDEWs8ZyanwkYGJdbzcZ7T8hv39/azotgYH0 gHWysyp8Iyi/dtlOwbsGyUtktWZHejwFVbnMm4lATDSFN/g6C7e+YKS//Rk3UWh6QHjk9w1Jlqo zXfuMK1rXijC2oQ== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B Device is a thermal sensor and it requires '#thermal-sensor-cells', so reference the thermal-sensor.yaml to simplify it and bring the common definition of '#thermal-sensor-cells' property. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Dmitry Baryshkov --- .../devicetree/bindings/thermal/qcom-spmi-adc-tm-hc.yaml | 8 +++----- 1 file changed, 3 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 7541e27704ca..bfad8130a042 100644 --- a/Documentation/devicetree/bindings/thermal/qcom-spmi-adc-tm-hc.yaml +++ b/Documentation/devicetree/bindings/thermal/qcom-spmi-adc-tm-hc.yaml @@ -8,6 +8,8 @@ title: Qualcomm's SPMI PMIC ADC HC Thermal Monitoring maintainers: - Dmitry Baryshkov +$ref: thermal-sensor.yaml# + properties: compatible: const: qcom,spmi-adc-tm-hc @@ -20,9 +22,6 @@ properties: "#thermal-sensor-cells": const: 1 - description: - Number of cells required to uniquely identify the thermal sensors. Since - we have multiple sensors this is set to 1 "#address-cells": const: 1 @@ -106,9 +105,8 @@ required: - interrupts - "#address-cells" - "#size-cells" - - "#thermal-sensor-cells" -additionalProperties: false +unevaluatedProperties: false examples: - | From patchwork Fri Jun 14 09:46:09 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13698269 X-Patchwork-Delegate: geert@linux-m68k.org Received: from mail-ej1-f42.google.com (mail-ej1-f42.google.com [209.85.218.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4E6F519AD8B for ; Fri, 14 Jun 2024 09:46:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.42 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718358418; cv=none; b=crfhrwkWOuHTB4rU3GrRRmGfI0K44usbdJZmLNupIkUCgYh4/KBng3N/ec3XGIkPofP25PY1qiuVOAomJt+0ztSdwaCPzHmPWTcKkKBw4lcdTzzOy9WGzhA0TETcC6FxcjuGCib5AKTgTaSl2LrydxjcV9NEnkjNUlPzzVZ6mq8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718358418; c=relaxed/simple; bh=jB2+cyp+yRXAC1kEJneqPidsgt5m2Yc648gFgXnaUQM=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=b3wglux1X9+RFVzt2kKymhO1YGJDkQ+elOV9Z8Pll29EvmZlR+U6pOuGTwEhORmWdKt4NHMBjNRi73tgPSR3mmHkc30XUXzKloWjBu8c3KlngxxxzfB/yZz7cQeigL64yrq78iYaOWNznwr6O9HgZ/UXYCwWt5HYMZ1lJzo03h8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=qVa1hpJ3; arc=none smtp.client-ip=209.85.218.42 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="qVa1hpJ3" Received: by mail-ej1-f42.google.com with SMTP id a640c23a62f3a-a6ef793f4b8so220031866b.1 for ; Fri, 14 Jun 2024 02:46:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1718358415; x=1718963215; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=diVITPG+U69FAXsrkSDgST1dz3g86H5cCTlmEO3M2Y0=; b=qVa1hpJ36Dl4MsRo7zxBHSXmWEfo2Y9PtQnWog8tqKlOUYgLBlnc40f2pG1//pxGp7 SNT0ygYK4/C1jeeKRhQgh+cIXRxtxFNjKTe2286WHvGp+HfxuFSZWlr+It5yOmyCdBGA f31ZIPBhpAEvTWq6NrujmVL8dDYfEGKbalDHRMwl0NKpBqsURX6fTyUUr57BXowXTMkc DNV7wglwSKgvos8DuIX93hyv2gG3JSprq+e9PFb7rlYrXfsOOUbBjEuq5kcKTCZwoDjP 4FnSvA/8Fi8y9OzvhCoRMeFsou8FI1k6hhHrWcTqtzM5KKeUh2/YWx3OehVyRuHTToa9 t74A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718358415; x=1718963215; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=diVITPG+U69FAXsrkSDgST1dz3g86H5cCTlmEO3M2Y0=; b=AvQjrWbd6FzZL1gz7tgdOuqvRdNcQXZ3RP0UlFZzhiuCF+HFEE0rDiLboU/DqWOHy5 zdN1U0SM8jGimX8N5kQszg8++Ezw93lQjZ+d00X3LJ1VgFgSx693vceD+VaYfXWXlCqB 4dGc2AFClDr+1sZAgo67293CbAAduFFPZ2G7IKguZqQ9Xx3HaHZLT4wVeYeoxoGkDq76 DSUnixVhQ8tZ6XF17PJpDlOn1xUZuHCMfPbELElih83Bm0b9Aq4i/KuUDWCw+WakWa1U +ctlJrMivguBxinKNKkhm4D3wrfLZS463xZq9eGVywGuVoAx71RnmjOtDBkhi5kQ4ZpU IoMw== X-Forwarded-Encrypted: i=1; AJvYcCWO3E4Oz3ZJKBRzJYZ/52nOFgiS3JvKz2WZTDpZQySwmqEEcv8UnBm+rHbKtt46NdDVA3AP1gTk2JwNS0iSA1a8FMYeoNavt/x6FeeZ3QB+4ow= X-Gm-Message-State: AOJu0YwU00knCnB9ete2mLs6dgj+gLSkSkrRcMdZseG0HtM8BF+/TaCF CrB9C5cdvN4zkU4i+mbeuLksAm9o7D32iFGKiXWuVN5JnFzaho0jQ+1fdaj+arU= X-Google-Smtp-Source: AGHT+IHJ6VKC+ZkUX4MCXp1favByLfYG9oZTKz0ACNCe0nG6dZyT+4BsvOgaSIyYvgyK5lQOJfvA2w== X-Received: by 2002:a17:906:474b:b0:a6f:5698:ab5b with SMTP id a640c23a62f3a-a6f60cf42c9mr137428866b.8.1718358414729; Fri, 14 Jun 2024 02:46:54 -0700 (PDT) Received: from [127.0.1.1] ([78.10.206.163]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a6f56f9c84csm164966366b.222.2024.06.14.02.46.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Jun 2024 02:46:54 -0700 (PDT) From: Krzysztof Kozlowski Date: Fri, 14 Jun 2024 11:46:09 +0200 Subject: [PATCH 10/22] dt-bindings: thermal: qcom-spmi-adc-tm5: reference thermal-sensor schema Precedence: bulk X-Mailing-List: linux-renesas-soc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240614-dt-bindings-thermal-allof-v1-10-30b25a6ae24e@linaro.org> References: <20240614-dt-bindings-thermal-allof-v1-0-30b25a6ae24e@linaro.org> In-Reply-To: <20240614-dt-bindings-thermal-allof-v1-0-30b25a6ae24e@linaro.org> To: Daniel Lezcano , Zhang Rui , Lukasz Luba , Rob Herring , Conor Dooley , Alim Akhtar , Guillaume La Roque , Krzysztof Kozlowski , Vasily Khoruzhick , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Anson Huang , Thierry Reding , Jonathan Hunter , Dmitry Baryshkov , Amit Kucheria , =?utf-8?q?Niklas_S=C3=B6derlund?= , Heiko Stuebner , Biju Das , Orson Zhai , Baolin Wang , Chunyan Zhang , Alexandre Torgue , Pascal Paillet , Keerthy , Broadcom internal kernel review list , Florian Fainelli , Scott Branden , zhanghongchen , Matthias Brugger , AngeloGioacchino Del Regno , Bjorn Andersson , Geert Uytterhoeven Cc: linux-pm@vger.kernel.org, linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-sunxi@lists.linux.dev, imx@lists.linux.dev, linux-tegra@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com, Florian Fainelli , linux-rpi-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1435; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=jB2+cyp+yRXAC1kEJneqPidsgt5m2Yc648gFgXnaUQM=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmbBFoG4sG/rVZZvZJjTVo1CtsKCtX5+KMs+5/J dgwcbTI/rCJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZmwRaAAKCRDBN2bmhouD 19jgD/4/vdImKhsyvj7NutFzdYuDLc3MmZZRzV1Bx/8qnErij8h1xHD4AUvt9F2XLx4A3qZINwB lmU65j1fTCGzPT0EG1+2D7ELqbVjbRFQ85c1g7k1rOvdKtRIo/Y9/3yfcZiPhfxQa5QABBEhwac IJhhIdDloNQoDbWl7uUtbsGlnS6wBTAbbG5t7vDADAKsZ9d92kgywFkFs3V8JxsKSMp6fQNN6QA XA3jj0lBOBrwPD/N2Va+Qe3+V9b38tv7ZUGj4Kv+lj7QVTWUjwbgotWPyDTmIPOJAkySV7Y/DL0 Q8cBedpthXfOfDuXHxKMiifT6dR7uGc5+KswALA3EFjbGgEv8A+2tKLdS5KptJUSn/BHKZ7Ptg6 FyHqBSxjm4eWRDYR4vJAEL/djuEO/EnKCy36L89Oc3/77UkgXf2dni37nvycFZPO/QIHIHEshmd jXIrPFKs/QS3wl2R88x8rXQsTbkJOWZEfBoZVV6CDfJTaFyZiZb1lLCVqunfZPt0Dg3Gk/tfOdJ 9dBVNN6Ysj27oo3vF+3jRxMz3B07uDHOIsfal9gZD3Dha4vPzeQwCCozZ4uOBIQ6jm4y/hHGneB VFXVIuS7YD/ltb50a4FOKkepYaOrsZKC6nsKQKnDbkBrPp5DjH85REssabsCUq4d1uq/TcC6vfw wIr2ahlO5CKwxSg== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B Device is a thermal sensor and it requires '#thermal-sensor-cells', so reference the thermal-sensor.yaml to simplify it and bring the common definition of '#thermal-sensor-cells' property. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Dmitry Baryshkov --- Documentation/devicetree/bindings/thermal/qcom-spmi-adc-tm5.yaml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/Documentation/devicetree/bindings/thermal/qcom-spmi-adc-tm5.yaml b/Documentation/devicetree/bindings/thermal/qcom-spmi-adc-tm5.yaml index d9d2657287cb..4470a5942fb2 100644 --- a/Documentation/devicetree/bindings/thermal/qcom-spmi-adc-tm5.yaml +++ b/Documentation/devicetree/bindings/thermal/qcom-spmi-adc-tm5.yaml @@ -8,6 +8,8 @@ title: Qualcomm's SPMI PMIC ADC Thermal Monitoring maintainers: - Dmitry Baryshkov +$ref: thermal-sensor.yaml# + properties: compatible: enum: @@ -23,9 +25,6 @@ properties: "#thermal-sensor-cells": const: 1 - description: - Number of cells required to uniquely identify the thermal sensors. Since - we have multiple sensors this is set to 1 "#address-cells": const: 1 @@ -159,9 +158,8 @@ required: - interrupts - "#address-cells" - "#size-cells" - - "#thermal-sensor-cells" -additionalProperties: false +unevaluatedProperties: false examples: - | From patchwork Fri Jun 14 09:46:10 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13698270 X-Patchwork-Delegate: geert@linux-m68k.org Received: from mail-ej1-f43.google.com (mail-ej1-f43.google.com [209.85.218.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A519F19B595 for ; Fri, 14 Jun 2024 09:46:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.43 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718358421; cv=none; b=Gmeg74JLUgrKNEO0L+xHWUOKD2qrqR/DTo7X9CRz9r2qCN1trzKvpK2C7L7L/t03jgJCxHPbyVarGM6ikVV8Of6zgSU1oiJ+4kyUfLk1QtYYA0znsZARMgh5YV1P87nQhR85cqrayjX13upEc0maT12m8oyOssiYKLJHse7+AJw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718358421; c=relaxed/simple; bh=/6wWwz3JluzattdX99NimqBlUNVjWbka1UBxHUaruXM=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=exDa2rPKuT45QCmQESpce9yRK+UiTjQjp2lysoed9ER30yrSllQKWRxnj9NawVRQGLgU/ybKE5F1Y1CalqGq1cyhdYX1RctN+izA+TH6OuqQegn/z07k2Zr887ioX8QO715a9EojaZ13KVsmq5Ev438wdg0Y9wSkUGFaeUToBYw= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=muuM3YKf; arc=none smtp.client-ip=209.85.218.43 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="muuM3YKf" Received: by mail-ej1-f43.google.com with SMTP id a640c23a62f3a-a63359aaacaso290935066b.1 for ; Fri, 14 Jun 2024 02:46:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1718358417; x=1718963217; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=lDonAMNFdjRidSbTzE2VeZbqHbNzDw2rLK+EzxgIQKQ=; b=muuM3YKf0zKSdDMfmqVvbi/G89ys9TawCRruU9m79uoFxSTJz68Ul+g7wIc7RrRZ0E Hv30gxcfFFA6DFefevITjg8HsL2X0vCDyNH8mmemV/kCxk0ssTjBWilopgQuw8DhQhzN VqAl2N8wRZ4ZQZF2DM0RVXK9bt1+kzK1x89EC3RGl98wU5Vy92OZcZpORg8UR0tyProD tlY9PFlfKvURfHL74PLGS41I2pZUW9RlDFWA0EKx1+VL/ez2Z9a824JICaYM/8aIBHvm Dme3P6rJKo5h5pUI3cDTLwmOuqNX+n6Jx2xJKjd8apb9UoAx+zrzPfyjP/zwnbTa/MwE sUkw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718358417; x=1718963217; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=lDonAMNFdjRidSbTzE2VeZbqHbNzDw2rLK+EzxgIQKQ=; b=AO5IDLAi3MMZVqQMJ938njOAIcBR8VNWsET0rQEURGuNlUKMGVo2ZaaL/d+3qslVtJ ANO9/qm+c1SBywqPjitEFqxb7CbVw9Ld/4qfGTdFlbI3Z+C68iyzccoFP4LDmO3SKgak 0+4gDa7QVxhNJj3Bl+35nRuPVWtle7niL0J8covGK42OaYIGGY24QQMifoCgOsg74XBk s4pTtbGh653gU6GiBjXAsx3No5/Xi2NvEYt4vYLwxb8YlqrhvKrttZzYGUGOJJ0EBGgg iwogsCFAAv+Uvp0G/BIdHz4hXMafcJhub81ygC3EcKxkXtYqU5XbCTgbG78XGDbVlilG DtsA== X-Forwarded-Encrypted: i=1; AJvYcCWL5Oq3/2rfTNCzvb56ZrVS8zN5kPa+vOXBA7MY2Qp80j2E5mOwzRLtZ+Yq4c26kjVNwwy+X+Mx+69X+OorQwtW97jbzD09Ba0St72cyWmMU4o= X-Gm-Message-State: AOJu0YzE76ktgpeNcN/igyCNmjk6s/qZuprzOONmZfSpPzzHmngTmwUL Tvt4Ua4IFWwwKF0xSmqVCVBY5nH0GujboW8XSMY3fWy6SSXmoj6WGqNRQDB/4vtAIxg7vAV6iHL Awgg= X-Google-Smtp-Source: AGHT+IHz28IjgUQ7U5ehLpzH5+jUV2U0S/83h2/duO4Fd6lcxl/CpvaW1wx2mz2dI1mqpyUm6hYWvA== X-Received: by 2002:a17:906:7c9:b0:a68:a800:5f7e with SMTP id a640c23a62f3a-a6f60cefe50mr157252366b.10.1718358417082; Fri, 14 Jun 2024 02:46:57 -0700 (PDT) Received: from [127.0.1.1] ([78.10.206.163]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a6f56f9c84csm164966366b.222.2024.06.14.02.46.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Jun 2024 02:46:56 -0700 (PDT) From: Krzysztof Kozlowski Date: Fri, 14 Jun 2024 11:46:10 +0200 Subject: [PATCH 11/22] dt-bindings: thermal: qcom-tsens: reference thermal-sensor schema Precedence: bulk X-Mailing-List: linux-renesas-soc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240614-dt-bindings-thermal-allof-v1-11-30b25a6ae24e@linaro.org> References: <20240614-dt-bindings-thermal-allof-v1-0-30b25a6ae24e@linaro.org> In-Reply-To: <20240614-dt-bindings-thermal-allof-v1-0-30b25a6ae24e@linaro.org> To: Daniel Lezcano , Zhang Rui , Lukasz Luba , Rob Herring , Conor Dooley , Alim Akhtar , Guillaume La Roque , Krzysztof Kozlowski , Vasily Khoruzhick , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Anson Huang , Thierry Reding , Jonathan Hunter , Dmitry Baryshkov , Amit Kucheria , =?utf-8?q?Niklas_S=C3=B6derlund?= , Heiko Stuebner , Biju Das , Orson Zhai , Baolin Wang , Chunyan Zhang , Alexandre Torgue , Pascal Paillet , Keerthy , Broadcom internal kernel review list , Florian Fainelli , Scott Branden , zhanghongchen , Matthias Brugger , AngeloGioacchino Del Regno , Bjorn Andersson , Geert Uytterhoeven Cc: linux-pm@vger.kernel.org, linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-sunxi@lists.linux.dev, imx@lists.linux.dev, linux-tegra@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com, Florian Fainelli , linux-rpi-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1315; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=/6wWwz3JluzattdX99NimqBlUNVjWbka1UBxHUaruXM=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmbBFpP5m4FfwjNs38ZYbMHhqa8b7/avK0eZsSE kfrR5Jx48mJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZmwRaQAKCRDBN2bmhouD 18dbD/4xycIH+gJM5EANhxts+rsYJ2zI9Q3VGEKKys+fsHsQHSeDcUq3BjYTf2RtbsGpAvzbLWT TgwweXyrov9nVOdYhqpXDijhLPu76W3YTMtfELYYg6LJasi++K7EKhU4hYoWRundI5xdgiFatip kED4QhpWKCeiRFkcuBHobLIk1Ej2UHChTV+GgNBG8SMpKieN6czbuPBegI2Z9q53dE7d+I3wInD U3y4coWbuqnG3y4fGCyDOxeuABd4r6SAu5xGmxtSdSuFWiwnQTJhJBzUfX1bx7Am2ffyv83isj7 3FiGkRJcnQ37ef9wwXXi3vSOAFIfdnfBNF0gntZWLyCyYg9bCMqt4NNoIwrJwRG09AptKW0CwvT 69dQ6XzmAjvsPf2mdotAoEq3PlcTzXNyeWNMAbesz/bQeH9gGijc1a3zJuVg1xRuWj4Kl8A2nqc 1jeYNmpnE7k5tQPvsj/rxNuqKoTq3UvaYX4Zm1+oRDDENmjLqGZPXbySe8QUY0mSss8CfGujCjL ltRXaUg313i9ERx9JL3KLw4RtEsWz6iZneFYg8C8lESgto5sjqiMXnxS8xJhr3DsM1a5gXAgDqg TvUZT0ltvHuJRMm0DQQEpAD6P4pePJS8filu+B4c1mAoQWRid5Jbp+CIuFJSw9y/IUhxcxu7Hrw avotNFSDZ5f2ALQ== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B Device is a thermal sensor and it requires '#thermal-sensor-cells', so reference the thermal-sensor.yaml to simplify it and bring the common definition of '#thermal-sensor-cells' property. Signed-off-by: Krzysztof Kozlowski Acked-by: Dmitry Baryshkov --- Documentation/devicetree/bindings/thermal/qcom-tsens.yaml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/Documentation/devicetree/bindings/thermal/qcom-tsens.yaml b/Documentation/devicetree/bindings/thermal/qcom-tsens.yaml index 99d9c526c0b6..cce6624228c7 100644 --- a/Documentation/devicetree/bindings/thermal/qcom-tsens.yaml +++ b/Documentation/devicetree/bindings/thermal/qcom-tsens.yaml @@ -217,18 +217,16 @@ properties: "#thermal-sensor-cells": const: 1 - description: - Number of cells required to uniquely identify the thermal sensors. Since - we have multiple sensors this is set to 1 required: - compatible - interrupts - interrupt-names - - "#thermal-sensor-cells" - "#qcom,sensors" allOf: + - $ref: thermal-sensor.yaml# + - if: properties: compatible: @@ -292,7 +290,7 @@ allOf: required: - reg -additionalProperties: false +unevaluatedProperties: false examples: - | From patchwork Fri Jun 14 09:46:11 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13698271 X-Patchwork-Delegate: geert@linux-m68k.org Received: from mail-ed1-f41.google.com (mail-ed1-f41.google.com [209.85.208.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4FB9119CD1F for ; Fri, 14 Jun 2024 09:47:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.41 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718358424; cv=none; b=NICwGKE8kPP4vzjGw4E/fTiNFJ3rT8l8EtFub7nLDzLlsEJc4nQjzVlXcU0WTmLq/CCT1VQvNk0GN3L9m8QQuC0KqsMbumLinZfhVaDzr96mWgdYeb2AOa4K2FawLSlh5b3tKcqO76obbGrSixHvhGd/JCkFLqmDic/68HfgXg8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718358424; c=relaxed/simple; bh=6K88OrzUlGKwU/OIT91fDcYr84l9rnvsFelXhKUGuj0=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=jBZ7lVW8LBE+n1emGg7KiOmob9lkax47moJCbtmL2Hqy9S+OJdXv4/1ETlji3j5WzOz858FSiQbimpUKTRL5hTOUccagzxY0yIzow/ZRBUhPeceDnJyHGixK4Jmz1ZcAoDa9ZoW65TcSZtl8ni8dLj7KXPO592hRcucv1aVWc70= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=PXSaM5fi; arc=none smtp.client-ip=209.85.208.41 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="PXSaM5fi" Received: by mail-ed1-f41.google.com with SMTP id 4fb4d7f45d1cf-57ca578ce8dso2253474a12.2 for ; Fri, 14 Jun 2024 02:47:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1718358420; x=1718963220; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=dDzTOCTa4HJwR4/y3cSITmAiI012UOCdoAFLWrMKEdw=; b=PXSaM5fi+Z5FB3wBe7rUy+SLH47JTWwKhjTCgPhO4g2fOzlfSBVtPYAYvzBgLvwmMG NZ+4t/Ck9dWcgRFMjAWI6pnHepJlGqgB/trfpVSxzqQ/yrCEOZrZ10MMxFVsS6X9kUKx zZ//ZP/7l+/7p3bFW6egc/JnhrOh00KrWjg9DvT1cT4NSD+37fbzobsSCtjiDNDkvfWN cnhMmUW6zW/tQbVwd8y0HwUZJ2K7PRy0XfekiDe9CWdl2ijFXXU0j7zgdS8s/WsDOmXb t7iLc20MpRVqeBHhcgRth28usGVQxkHXPINTaxv43Xlr39DkpiXKsS/JjOOQcUTL68Rz 0ucQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718358420; x=1718963220; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=dDzTOCTa4HJwR4/y3cSITmAiI012UOCdoAFLWrMKEdw=; b=uRSvfqpSz/J+PlDFpVji/zTQ68EL084T1bHfVIj2KOVODF/y6bee249513hbDf+AHR WgCJ88CN5Kt1Y46vvOla+fAfgindshzr/J+0hP7FAsUHmx16xXMZsOfaPpK6CYRyNpQL /mneG9YK8UfleeOi//T7iVK359lLUV8DodDJADrb2dildzNKkpZOvU//NwR6MbLomg1P uo5VFU3OdA79/j6EeTzApx5yMszK0t3gDnE74QbkVEg1a1TTqpXnxQnXSKlz5fw2ivOq cJrq75pBTZMSYZCsHcHLbkxMmFAwkFy2FdP3S9nuE7QDRsaaO4rbLunHAqcN0E6wwwbO GcBA== X-Forwarded-Encrypted: i=1; AJvYcCUpBZ25DlL9hcMYnRN36bwIAggXf2rM86Wb0tJUnge6tQj1Bw40RMWq9/K0XI6lroFl6tXEL2kUD7/TbaPt1hk/pqUS6IdzqazGK+BXIktD31k= X-Gm-Message-State: AOJu0YyEogJIYcws0QeqkhJsYCDlPrvdaTf25H3UbppWkrJMYx5ihj7s RFxTJKP88VycQYh4aCiDg/PwQHHw2JIoOXBnhthff5ZLVbpCSVEFxK5XV1Fa86s= X-Google-Smtp-Source: AGHT+IHhkyg88ZBx9XhMDtFiqgUV4Rag8J/EJOgSqpavN3y+auOUjMfbZQ27USxrJdLN7rF9YSoJ6w== X-Received: by 2002:a17:906:710a:b0:a6f:10aa:9c3f with SMTP id a640c23a62f3a-a6f60dc8929mr154328766b.54.1718358419616; Fri, 14 Jun 2024 02:46:59 -0700 (PDT) Received: from [127.0.1.1] ([78.10.206.163]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a6f56f9c84csm164966366b.222.2024.06.14.02.46.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Jun 2024 02:46:59 -0700 (PDT) From: Krzysztof Kozlowski Date: Fri, 14 Jun 2024 11:46:11 +0200 Subject: [PATCH 12/22] dt-bindings: thermal: qoriq: reference thermal-sensor schema Precedence: bulk X-Mailing-List: linux-renesas-soc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240614-dt-bindings-thermal-allof-v1-12-30b25a6ae24e@linaro.org> References: <20240614-dt-bindings-thermal-allof-v1-0-30b25a6ae24e@linaro.org> In-Reply-To: <20240614-dt-bindings-thermal-allof-v1-0-30b25a6ae24e@linaro.org> To: Daniel Lezcano , Zhang Rui , Lukasz Luba , Rob Herring , Conor Dooley , Alim Akhtar , Guillaume La Roque , Krzysztof Kozlowski , Vasily Khoruzhick , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Anson Huang , Thierry Reding , Jonathan Hunter , Dmitry Baryshkov , Amit Kucheria , =?utf-8?q?Niklas_S=C3=B6derlund?= , Heiko Stuebner , Biju Das , Orson Zhai , Baolin Wang , Chunyan Zhang , Alexandre Torgue , Pascal Paillet , Keerthy , Broadcom internal kernel review list , Florian Fainelli , Scott Branden , zhanghongchen , Matthias Brugger , AngeloGioacchino Del Regno , Bjorn Andersson , Geert Uytterhoeven Cc: linux-pm@vger.kernel.org, linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-sunxi@lists.linux.dev, imx@lists.linux.dev, linux-tegra@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com, Florian Fainelli , linux-rpi-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1151; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=6K88OrzUlGKwU/OIT91fDcYr84l9rnvsFelXhKUGuj0=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmbBFqsowHNS9EMEGb3wL4geaYGfXVspaQAvTpg JsPzU2j5jmJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZmwRagAKCRDBN2bmhouD 1z1kD/9IUCDeffbNBN9bpMVJ0DiYXdqHjYtE0sxmsol/oMd2LeKdcEW91r1jkcXS67PrsPsJugf 2wnYoYHmD/cihlX6pZcYeGos7YlWMhbiK1QmxDz7j5+f3b5D437pOJLb+THCJZkZWUBPb5YpmZs pQkwaxDIGiULmQrWDb6vQA/6+urQZWCUxTB+CAfQykgBgiJB7yoY9HKFugY2P82OMPZHw4+jws/ I6XeZbxQaXRuMsn+Fjt/eZz2aVocpoq0Q1LftcrMLw0Gmn7fovh3SPdabv3b8ISxzrxTG4qm4EO 8yUQtBc5krW4nk//Lj3kKH8LBQZ6a6nQqoLgVEm21HtLYFKDqw1BBW8aBoLV04Hga5YUBkkgLUt fe0e1gqURCIYhU2TpPrjABlwgbidr6MDQOTVrUd4GQGTO9eYZg/rgVMHTG8y7KLUqbjzou0tBj9 zOwgcS+XOPtTEW6vccmPPz0BRKP0F+K1BqR7DWw8c1RMqGHDuJuYpftHMRoOx/ATTPqlBG6VT6M XKANnL2u4BxCUH+oCpM7jVyL8JYdU2G6eXA9jXZE3lAEj3n2tNY2hyYKlK6Vl8WTu8WgIah3d+O FtirAA9jo7GtIKGUvNIaOysrzg6yGFS5m1Ioes5P5iGPW/fPhF+llIcTwhmH6symH5XfIq0Wxr2 vmHgozeGpKX2Yag== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B Device is a thermal sensor and it requires '#thermal-sensor-cells', so reference the thermal-sensor.yaml to simplify it and bring the common definition of '#thermal-sensor-cells' property. Signed-off-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/thermal/qoriq-thermal.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/thermal/qoriq-thermal.yaml b/Documentation/devicetree/bindings/thermal/qoriq-thermal.yaml index d155d6799da6..1876fe9555d6 100644 --- a/Documentation/devicetree/bindings/thermal/qoriq-thermal.yaml +++ b/Documentation/devicetree/bindings/thermal/qoriq-thermal.yaml @@ -9,6 +9,8 @@ title: Thermal Monitoring Unit (TMU) on Freescale QorIQ SoCs maintainers: - Anson Huang +$ref: thermal-sensor.yaml# + properties: compatible: description: | @@ -68,9 +70,8 @@ required: - interrupts - fsl,tmu-range - fsl,tmu-calibration - - '#thermal-sensor-cells' -additionalProperties: false +unevaluatedProperties: false examples: - | From patchwork Fri Jun 14 09:46:12 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13698272 X-Patchwork-Delegate: geert@linux-m68k.org Received: from mail-ej1-f50.google.com (mail-ej1-f50.google.com [209.85.218.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7897819DF40 for ; Fri, 14 Jun 2024 09:47:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.50 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718358425; cv=none; b=IJAr/CSFez208HfVI5kPE7AqvPbNLp/ZxrPrS3Ngmj6+h1gBixRRR0ATyXoVgG7iBLXLlrZ469YiCjzNO75AiUsjigvJvSAsvglQms4YhPJI0LXO9YV6ZuXCqvtjKZJCMjxF2pCsjDv7SbZq24xdCZTYLWHC1mhHj8+ZNUywZSg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718358425; c=relaxed/simple; bh=rpuNS2iyU2OY1Fsid3Kqc5QDO3n5JBWLxF/W1R0sPwI=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=ECko+Z62mSJ7k5E0DSGOOpCX5u8Ck7ha0i388hbrKxS780b/NiiMMrWosLpf2nRmaqqcFLUQH5+d4wW/khGYSweNHAiVCwpi48kqhhrtH/bJgpzCH4dILvhUQdj0wwwiFLhs+KwGnYnxIVfrSI3BtOMxKeCSmctMmrxKPavm2yI= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=O8504xe4; arc=none smtp.client-ip=209.85.218.50 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="O8504xe4" Received: by mail-ej1-f50.google.com with SMTP id a640c23a62f3a-a6f3efa1cc7so522584866b.0 for ; Fri, 14 Jun 2024 02:47:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1718358422; x=1718963222; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=xst6Q4HKXSHpj0dsrGI7SNIM5Xkm2Oh1h9QPylE4GLY=; b=O8504xe4tVrpOkHmEUOvU6cp1trBWXIlZUiUIBYMzP6PY5lVdpcTEpBUFDZdD0oTH0 Xlus/V9kOes5k3qkKPk0ENHj1eqyVM/6iFaEhm8UkAoJUy6/S5Fv7vr4FZeuEwb0zH9/ Ns7VK1u8u31BQdUsFAqdVnfgV8mmbMIDtXD17wZO1a2FQr6bP4nxomJ2cIECgYnChbX9 PiOLDLp156a+vDWcVFrnhhrVtYXy2Wo8leeQGNDGM2ZuBBswaeAO47IKx6pwZ114GXYI bYx6QRar9bRYAIl5vqW3nOwVpFBPKO2Qr2aT0c2VkwG2IrcBKdWWfWaBToUo2NnPdokL 5Lug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718358422; x=1718963222; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=xst6Q4HKXSHpj0dsrGI7SNIM5Xkm2Oh1h9QPylE4GLY=; b=YDkEvk1QS+9UsHNdCqIao/EE4e0YXCz/aHP6P2HSogxyrZsqvWZmng7Hthj8fhQKWp Y+uIhM7sUG5YBaSPNpAMDxQrm7cu3IgT5u8/Pqatlks0Ga2DJkr23XqsIwZHwNbU0KXc y//+Hln//Nbm4vBD2fCjRgFhpYx1gdT7JCFsjg94s6AKxrehZPVmCub3LR25VPpRVIb9 TvebfOYUxAqF+levvIDR2nLPNkzjaqdNeFbkbcXjgvOoelZAEiIiOfGnZ2szBzuT4kUy caQ7GjgnldZ1S79rGjpIn3bEBJcGdyTmptzEqUImlUjAgjYHSynzp9KdJWvevWDOB+Hn lfnw== X-Forwarded-Encrypted: i=1; AJvYcCV4Bbt2m6ZTKVhoElMJ5wpAF8f7WBI8sBi9uD1nu8D9kHFK/H/t+LHJsNVz8s260xoFkbn5q7P0SoB3e5lgzspgXR3hccqA3iIBb2ZrtSeFdwU= X-Gm-Message-State: AOJu0Yxh7mQeVuyKL4+w49VH8Ak77RqGPahU72fEE7tZGtkF0w5lKiPU +MzbpNJIkpYUOXmz6q/e8Ck/FRm5yqeZGDi9WpUQdq8LpVY/ko1X4giSKOhwHd4= X-Google-Smtp-Source: AGHT+IGAEOJ8/Eq/DXhbXLqPscGRVDNmR6uXpGnxSfm7LmH1ErumRz9nwzEhow0zGr3WMGsUdb3qBQ== X-Received: by 2002:a17:906:9c8d:b0:a6f:6b3b:d034 with SMTP id a640c23a62f3a-a6f6b3bd16emr35934466b.2.1718358421943; Fri, 14 Jun 2024 02:47:01 -0700 (PDT) Received: from [127.0.1.1] ([78.10.206.163]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a6f56f9c84csm164966366b.222.2024.06.14.02.46.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Jun 2024 02:47:01 -0700 (PDT) From: Krzysztof Kozlowski Date: Fri, 14 Jun 2024 11:46:12 +0200 Subject: [PATCH 13/22] dt-bindings: thermal: rcar-gen3: reference thermal-sensor schema Precedence: bulk X-Mailing-List: linux-renesas-soc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240614-dt-bindings-thermal-allof-v1-13-30b25a6ae24e@linaro.org> References: <20240614-dt-bindings-thermal-allof-v1-0-30b25a6ae24e@linaro.org> In-Reply-To: <20240614-dt-bindings-thermal-allof-v1-0-30b25a6ae24e@linaro.org> To: Daniel Lezcano , Zhang Rui , Lukasz Luba , Rob Herring , Conor Dooley , Alim Akhtar , Guillaume La Roque , Krzysztof Kozlowski , Vasily Khoruzhick , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Anson Huang , Thierry Reding , Jonathan Hunter , Dmitry Baryshkov , Amit Kucheria , =?utf-8?q?Niklas_S=C3=B6derlund?= , Heiko Stuebner , Biju Das , Orson Zhai , Baolin Wang , Chunyan Zhang , Alexandre Torgue , Pascal Paillet , Keerthy , Broadcom internal kernel review list , Florian Fainelli , Scott Branden , zhanghongchen , Matthias Brugger , AngeloGioacchino Del Regno , Bjorn Andersson , Geert Uytterhoeven Cc: linux-pm@vger.kernel.org, linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-sunxi@lists.linux.dev, imx@lists.linux.dev, linux-tegra@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com, Florian Fainelli , linux-rpi-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1202; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=rpuNS2iyU2OY1Fsid3Kqc5QDO3n5JBWLxF/W1R0sPwI=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmbBFrkuJnoT5D7TUdkG7FcAVQbX/5GndtGQlj5 3lpE+6QYFOJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZmwRawAKCRDBN2bmhouD 1wzaD/0Tab4yh0LCsewgEaD/ET5KJN+2kKHthAr0z6S2A5kFlUNqTxe/e3Uj3hNmO5eXvlrViui 2Y33IWyT190pg/BJizhRchR4cjGkup51OgbLSjJsTpTO+NVC67xRxXuZvm8KHPIqk1d5AUnuorz QQ0E8O9UI9GpZ1WtXnrKVhLIGnwrCTPiyVXaKZMmTGW2TPFNtV6AUHJ62pISBPvJu23hhlgWtK/ brvgzh2e5JMfwDvzg3u9O6SkCqZL7h8VXiRA/ooujXQSJztMxQT6BChRZUvlxwoQzz6VG1kwMeA ooj7ACmcdZUwXi3Npgv1akW45aLKyDmC2D5n5+FpK8hi9CJBi1MZTIPXVlx0sYRD21Q7imj5uWM wK4okjnLJTCj98w5UUxpfNA8fqeVtag4Ybsu9ia5cTqR1RnyvfdPy5IThulporCW9NI5x5pTmOq 4I+4ovx5uBLQL1VlN/1q8EP33MfumMbiiD6mL/YUoYOP81xTmhd24ZbHIgN4qzMdKDEKnaM0AhL 9/B0GekVy0UOV84c5RE2n7KhDCexOSXM4ehaOgKYGcDeQfE9DEJc9PjsIvo91q5PfU3MRzsq6eH BekBHTSU0IWtc66yGmQuQ9VSYgTr/NrkM0gfmAoDoECvtGGhESPKKe5TDQlhGjaOfh03wP3IpPV V43AIzP/kZdGwxg== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B Device is a thermal sensor and it requires '#thermal-sensor-cells', so reference the thermal-sensor.yaml to simplify it and bring the common definition of '#thermal-sensor-cells' property. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Niklas Söderlund --- Documentation/devicetree/bindings/thermal/rcar-gen3-thermal.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/thermal/rcar-gen3-thermal.yaml b/Documentation/devicetree/bindings/thermal/rcar-gen3-thermal.yaml index 6a81cb6e11bc..d92e882c9e8d 100644 --- a/Documentation/devicetree/bindings/thermal/rcar-gen3-thermal.yaml +++ b/Documentation/devicetree/bindings/thermal/rcar-gen3-thermal.yaml @@ -15,6 +15,8 @@ description: maintainers: - Niklas Söderlund +$ref: thermal-sensor.yaml# + properties: compatible: enum: @@ -57,7 +59,6 @@ required: - clocks - power-domains - resets - - "#thermal-sensor-cells" if: properties: @@ -96,7 +97,7 @@ else: required: - interrupts -additionalProperties: false +unevaluatedProperties: false examples: - | From patchwork Fri Jun 14 09:46:13 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13698273 X-Patchwork-Delegate: geert@linux-m68k.org Received: from mail-ej1-f43.google.com (mail-ej1-f43.google.com [209.85.218.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DC4D519DF40 for ; Fri, 14 Jun 2024 09:47:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.43 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718358428; cv=none; b=egGrUTaKxmk0F8J58RXpCafbuEFuXh71I9PPcyN6XG+z8C+1stDD4N+D60QyFs8ATR340lkRTsEOQ6+QtedYuSWJqNncY/AkFRzM5ijKzPOX/oWdUo98geWcyGgK4sIKl558gES/2wl2XIOuHaqEbg0Df55bssYE6xiavPrPbBk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718358428; c=relaxed/simple; bh=6a1ezUMQBbtM3uBevrHObXqlW1KAkGO0em2HgJT7Ukk=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=YwXNAW+dEsytHYLrAtnTS73fGAQd79mTvo9/xEBRxRew+/QsQ8MR96+CwLNdTTjIr3xhbRuviQvO0BxKSBOS4Q0LhSGi1jg8SLDS3eeqzGZcItDCkIsWvW1TyhIQ35Iam9d+gaz+ls+X7k+Ha7qw3J+d/y7SULe00iYKWBDcbh0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=LGY+KQ7x; arc=none smtp.client-ip=209.85.218.43 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="LGY+KQ7x" Received: by mail-ej1-f43.google.com with SMTP id a640c23a62f3a-a6e43dad8ecso360926966b.1 for ; Fri, 14 Jun 2024 02:47:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1718358424; x=1718963224; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=Iwmc7YyUOm4xBDbjnVE/cLl9RXPcTzMFZ8fnvjc/kFM=; b=LGY+KQ7xIrWXrUEU0sIoKbFMDiHTQhQn/IMCiY02Cy+jBzTlY8jupS77zp0iJLhI70 NU+i/qo6K6Arkugp82ScJWEcY8n53qzcB++ZdwbaJXl+lYrE2Yq9zSTARmf4nKg3BhKG m5VNP8ZH18EwVKk17l2ADpVMa7add41G28LaCXZ74YO/qa0uyeVLTezCL3W9UBWeJ8ud Cs4RmRDM7vxmEdbGd1aGX5cqM0SJL4Z7NVgW8JP52GeuVVos6stFJR5AK00I9dVKa5gA s8i1b4qIn/A5AkDioo5IJvTG0w1gM2oagAaV/iUj8lnG6sVldRxHLau+FqbSXPCblTTG ex/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718358424; x=1718963224; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Iwmc7YyUOm4xBDbjnVE/cLl9RXPcTzMFZ8fnvjc/kFM=; b=LeR42EFjlhDq1W1eMlAs6m0uv05FCJSw0T01b7mlC+ErzahKyvSVIaN96/R7VwvcJz M3Syi2khTG0H2yTTlWzjw017UP33d71qFmWoVAlcSQBlG0GXo0PMOe73q9As9KyBkf/7 aJZvBc8ErV4YxLH8HcNI5wXBdMb2T4BOzN8zdJNkZ8GIUa4rcSnlKi1yELp3BN7lcb+W YV7UuRsyY9iJDakht0VuI4K4/D64YX+LWiPzMqHN/PYrDpeNeGiLZx88IcsaE4UJBA6U 0LHrFhWrTPrcMPDg+eF/gkd+eXEjDo7ZpHUP1T+3VW3uFlG+IRwZBqa8ndqoVyamawtE 8Ifw== X-Forwarded-Encrypted: i=1; AJvYcCXjn5w7bxud3HgtoS6aUPRsn/DCzjzoDKtjP9binPvxVuxxTLkSkYbqlwGZ2sfG+2WCAdTOzJAYvkYk5JosE9e1rtZUkMRq1P/K+yk7mZu0TkQ= X-Gm-Message-State: AOJu0YwyGhq1OTU/9McHdKJYc8M3ofaFdBprY6EyBkVQE+813YsmXC6b iUDqlDqDJfT+Z/z6D3Yh1Oj73v9smtKtSv+Yv61CBk81yI3cr49bx2jpeIn7zak= X-Google-Smtp-Source: AGHT+IFGHX4cF4M1r2y8AHK5kgGVnBSOah5PGU+We1I9mKi7qiDqk6ZzvLWJM+Qwin1N8Vfc/vcJnQ== X-Received: by 2002:a17:906:c0c5:b0:a6e:f53c:8da0 with SMTP id a640c23a62f3a-a6f6080c781mr154203666b.8.1718358424287; Fri, 14 Jun 2024 02:47:04 -0700 (PDT) Received: from [127.0.1.1] ([78.10.206.163]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a6f56f9c84csm164966366b.222.2024.06.14.02.47.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Jun 2024 02:47:03 -0700 (PDT) From: Krzysztof Kozlowski Date: Fri, 14 Jun 2024 11:46:13 +0200 Subject: [PATCH 14/22] dt-bindings: thermal: rockchip: reference thermal-sensor schema Precedence: bulk X-Mailing-List: linux-renesas-soc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240614-dt-bindings-thermal-allof-v1-14-30b25a6ae24e@linaro.org> References: <20240614-dt-bindings-thermal-allof-v1-0-30b25a6ae24e@linaro.org> In-Reply-To: <20240614-dt-bindings-thermal-allof-v1-0-30b25a6ae24e@linaro.org> To: Daniel Lezcano , Zhang Rui , Lukasz Luba , Rob Herring , Conor Dooley , Alim Akhtar , Guillaume La Roque , Krzysztof Kozlowski , Vasily Khoruzhick , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Anson Huang , Thierry Reding , Jonathan Hunter , Dmitry Baryshkov , Amit Kucheria , =?utf-8?q?Niklas_S=C3=B6derlund?= , Heiko Stuebner , Biju Das , Orson Zhai , Baolin Wang , Chunyan Zhang , Alexandre Torgue , Pascal Paillet , Keerthy , Broadcom internal kernel review list , Florian Fainelli , Scott Branden , zhanghongchen , Matthias Brugger , AngeloGioacchino Del Regno , Bjorn Andersson , Geert Uytterhoeven Cc: linux-pm@vger.kernel.org, linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-sunxi@lists.linux.dev, imx@lists.linux.dev, linux-tegra@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com, Florian Fainelli , linux-rpi-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1131; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=6a1ezUMQBbtM3uBevrHObXqlW1KAkGO0em2HgJT7Ukk=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmbBFsTvtf1ULZrtH6GWJrZWn/jbBu50Y0K1VTc 0Wt6oeUybGJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZmwRbAAKCRDBN2bmhouD 1/NwD/9O4ot8cobnhA94V3eGyRXw9zI5iESIUEkI1Mbbo7u21Zss4doBkhIDxJVQPLibQlpPDKs vl14uXutFJcltQlm/A30q7/jGYqin8KK+/fxS+lF14J7Fm+3oR2w5nhGXJq/9eptPEvk3xiH1p0 6sQMjw0nuX+vqvIdVI0HSIGysiYW9eHWrwjfT2H0x2AI4eSjoOjqRw8BCVG1NOXkiOcWojysyie 6Pe/a65m99arhY72cNG5XsPMldFzUjctBN5RFrE6OKZdohirpSSKFR4ui2PdxAp5GhEkcvlApXu JTKC1SMMHbFFDPVGHC4z0FdwyT7hbxBnR4zeVza8HeF7gY1NwvdMte/ICkBOm4nLC9XiXxBh8Ox gRb5WbhTZMcA2D/BRpTHEH8cJRx9l++VITdFXDh2DKM1zJBSyTXZLBp2T/nznU4UCoZvGVo8L/6 SL6E6301KeFidlqEV72QLyq6H/+0idmujB7H/OwDlIz3rWlt8WAbKmtD8gwZWJAconS5R/wzo0q qwhIyGQup+u9pvI87775gFYyWIrMSKJUCjFFjCt+azCgzvgFIR1RFwzl+4Um4RPBXjtpfLa8Sv+ qUC1e3KXvqeGpd2hDPVFEIJxO/3TRP8QqO5N7KwNG1PZSSDA/LKALNPT6of5MqC/u13zepj07zJ tHBm3LjcR8x8A1Q== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B Device is a thermal sensor and it requires '#thermal-sensor-cells', so reference the thermal-sensor.yaml to simplify it and bring the common definition of '#thermal-sensor-cells' property. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Heiko Stuebner --- Documentation/devicetree/bindings/thermal/rockchip-thermal.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/thermal/rockchip-thermal.yaml b/Documentation/devicetree/bindings/thermal/rockchip-thermal.yaml index 55f8ec0bec01..b717ea8261ca 100644 --- a/Documentation/devicetree/bindings/thermal/rockchip-thermal.yaml +++ b/Documentation/devicetree/bindings/thermal/rockchip-thermal.yaml @@ -9,6 +9,8 @@ title: Temperature Sensor ADC (TSADC) on Rockchip SoCs maintainers: - Heiko Stuebner +$ref: thermal-sensor.yaml# + properties: compatible: enum: @@ -76,9 +78,8 @@ required: - clocks - clock-names - resets - - "#thermal-sensor-cells" -additionalProperties: false +unevaluatedProperties: false examples: - | From patchwork Fri Jun 14 09:46:14 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13698274 X-Patchwork-Delegate: geert@linux-m68k.org Received: from mail-ej1-f52.google.com (mail-ej1-f52.google.com [209.85.218.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 30C0319E7FC for ; Fri, 14 Jun 2024 09:47:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.52 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718358430; cv=none; b=fzPmIifgF1T+ZtS8S7ClQEbQdXtlNT1W1rDGg/5MAGtpTsZmx+9I2opylrZF7zap7BAkUqt6HHUVHj0jePruV2DHkpiXlZU4tmsNZV+WQ2nafuqoWvSVG8xyy9zRHFwMwlszj9DoxjnLUbRs8TrJVuDaXOG5OYyXcr56H2dvJ+8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718358430; c=relaxed/simple; bh=PiKB0wNkfaJ6xvGR1yJNgb5MvS56AdMDq4rywxnekiM=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=dOMFe0s4BvRMCdO2JiKbET+45b1oOXyjyZg3DSziMFQ8q5vtNzzKYQST9dP9KBMq7HDvY8WAWYbrywQFVw8j3WS/ABfsoTpSqgclemqVffNhvhG15MAPJcgZ33bZhverIS0Gb2fnw4KipFFrlsHilzYxQvlkEah8uHIQ8HJctKk= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=Qd2jtjaT; arc=none smtp.client-ip=209.85.218.52 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="Qd2jtjaT" Received: by mail-ej1-f52.google.com with SMTP id a640c23a62f3a-a6f1da33826so297039866b.0 for ; Fri, 14 Jun 2024 02:47:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1718358427; x=1718963227; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=ok8Pi/DtgH78hQO+dtYDNBPN0xk3biA8jqOGqPMEdyA=; b=Qd2jtjaTP+3eg7J95CooZB4t3Il6YqXJrlf+bwyrK+P97xd8MFSdJsFz6TRW3UQ4FK VgXZWOkjiEdb/0bdU8LWvCqAvLXVJalGPbfaHsfGxtXHrmtNMOrgFbS9AVJilQIDKkpd 63U6JcQYHUrWRROzXZ5WhueJgCSqe/l0kX6EO+3JfEQBDXS01/rw9gLfb3XCN6SKlcJf zhPN7w/dALnNe+OA1EIfn9a+bFAh45++hy7b51fShilc3mcjXFsLp2N0ug1siLsE1sMg uo1qTC0cITjoxOU26+UPnw+mf2Tn3X0NoMbm3lfsd1m4ANnJsiMl6TNh03IADeYPzc3U dNbw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718358427; x=1718963227; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ok8Pi/DtgH78hQO+dtYDNBPN0xk3biA8jqOGqPMEdyA=; b=dB5gaLBhFwsquhYmkEe8an59Z3GX43UFv/v67H9hb1LtvG28LAHVQf1PwEls2H8nsV eriIjDXHrRwUXykGdVxLTKvL/c7DUtD4j69egBvFo2DbnBIysoCpdCV3gr/FTTMBDbPC /Fj5mLvF2B+vq/KUWS9cxCOgslFFaB6IhF26fao4Kfnn0pFwXPXxCHDtLWHtURS75cQk IK3o7G/ArRjLCKlverGyGO0sEXThh+aPKKhkQ8V64qxgnSb30mBmLfs5gAmmZFOn1Sxp 7EDV1Yho/1Iu/5KL08QYuI3P7w2JTtLMkJVb6F7cjjn+dYOdHmcPRZpzfnwMeRwNl8id OZcQ== X-Forwarded-Encrypted: i=1; AJvYcCUIPjnYhJ4tNt+VcuDqk4x5ERka4cLNkovfnvgDKVdwjMDYxn76OfVka2B8TbSrF4xIdhmhuklSQRXwwzDxmmTJlcPXkzSh+f58VUnozOdy1sI= X-Gm-Message-State: AOJu0YyXX8wyik73UID8CoDFzWRT8k0dhqH+GZEf5orhG/W8Vfc9LCTE 9wRHrRXd6NhP2nK2RlW9RG8K5q6Y4KXArkLPsSUnp5WMyUYKiGzjMwiOHLI3xd61N8UtVdSvC1Q y0YI= X-Google-Smtp-Source: AGHT+IGsBqftnrIXmgc1cHdRR05KgGIYwMeUvi/46uj/kB7DuzduBEC6phd954ouxCnWHDCAo+Ew7A== X-Received: by 2002:a17:906:354b:b0:a6f:4804:d41a with SMTP id a640c23a62f3a-a6f60dc4f05mr221236366b.55.1718358426682; Fri, 14 Jun 2024 02:47:06 -0700 (PDT) Received: from [127.0.1.1] ([78.10.206.163]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a6f56f9c84csm164966366b.222.2024.06.14.02.47.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Jun 2024 02:47:06 -0700 (PDT) From: Krzysztof Kozlowski Date: Fri, 14 Jun 2024 11:46:14 +0200 Subject: [PATCH 15/22] dt-bindings: thermal: rzg2l: reference thermal-sensor schema Precedence: bulk X-Mailing-List: linux-renesas-soc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240614-dt-bindings-thermal-allof-v1-15-30b25a6ae24e@linaro.org> References: <20240614-dt-bindings-thermal-allof-v1-0-30b25a6ae24e@linaro.org> In-Reply-To: <20240614-dt-bindings-thermal-allof-v1-0-30b25a6ae24e@linaro.org> To: Daniel Lezcano , Zhang Rui , Lukasz Luba , Rob Herring , Conor Dooley , Alim Akhtar , Guillaume La Roque , Krzysztof Kozlowski , Vasily Khoruzhick , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Anson Huang , Thierry Reding , Jonathan Hunter , Dmitry Baryshkov , Amit Kucheria , =?utf-8?q?Niklas_S=C3=B6derlund?= , Heiko Stuebner , Biju Das , Orson Zhai , Baolin Wang , Chunyan Zhang , Alexandre Torgue , Pascal Paillet , Keerthy , Broadcom internal kernel review list , Florian Fainelli , Scott Branden , zhanghongchen , Matthias Brugger , AngeloGioacchino Del Regno , Bjorn Andersson , Geert Uytterhoeven Cc: linux-pm@vger.kernel.org, linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-sunxi@lists.linux.dev, imx@lists.linux.dev, linux-tegra@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com, Florian Fainelli , linux-rpi-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1084; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=PiKB0wNkfaJ6xvGR1yJNgb5MvS56AdMDq4rywxnekiM=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmbBFtz+IhHo3wCquuWC1ec8/3Jcu/NJS+VuNcz b34f6I3E3iJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZmwRbQAKCRDBN2bmhouD 1z06D/9PkUWBEfuEdXbJsuS6h77nANSMX4uhMlwoqisgMAkeTMkfGPP98woVm47q95V5Lwg591l FAtvbZhqil2JxvjG/5h0ONxSz3tKBDMH0WzOFIDxXm7j1lGjZ3lcvYI2qZRPqk3LMa93vXPcbfP p6JzZd8NiLvGfqpeFj4yPmMP5Zjte+hfqtLmWHy+wg9thx2sTsWxGWsblKtvokABQ6PUlVX1Sf4 s7klRUix8KxwWqbKz3VbVCb1yMmlekTmLucE0NOa72rw3Q0u0skJ+sy6Gu+RAGV26u9KDWtKO9a G8AOkKlXsoL1AJO7TnYbE27eoG2nm5Y6aVWmnnIPDSyoR4bRYFoFHbIFYwhyrcoeUhwo1Y27VDf P9WPw0AqaEKIKJhbBoGYKwJ0JW7UnjRIx69BZ40rRljeFRvj/rF+LedohR2tQMrdXABedtqVubP lQWQnfVmR+K0qRYByRjZdlreodzPd7oGk5mOXs8uBw9iT75K1oEBHBWOu1cxib03+evVg1F/pzH wzZKYZ0ZZTiboHc0aZUgYrqQDeHHFsc7z3kYLqmvWHeSYD7Q4D1plbWRYlFiAPB0lefxcrkw0m5 gqTjrtCXbVzf/rAD8MlTcNiJ4Yz4gh6fOleQtl+zSJusfHYV/Ay442/DcHG5Qn2Louam4zHzBp/ T09Wn4Iy9v6TVGw== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B Device is a thermal sensor and it requires '#thermal-sensor-cells', so reference the thermal-sensor.yaml to simplify it and bring the common definition of '#thermal-sensor-cells' property. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Biju Das --- Documentation/devicetree/bindings/thermal/rzg2l-thermal.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/thermal/rzg2l-thermal.yaml b/Documentation/devicetree/bindings/thermal/rzg2l-thermal.yaml index 03f4b926e53c..2f96c0fe0f75 100644 --- a/Documentation/devicetree/bindings/thermal/rzg2l-thermal.yaml +++ b/Documentation/devicetree/bindings/thermal/rzg2l-thermal.yaml @@ -13,6 +13,8 @@ description: maintainers: - Biju Das +$ref: thermal-sensor.yaml# + properties: compatible: items: @@ -43,9 +45,8 @@ required: - clocks - power-domains - resets - - "#thermal-sensor-cells" -additionalProperties: false +unevaluatedProperties: false examples: - | From patchwork Fri Jun 14 09:46:15 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13698275 X-Patchwork-Delegate: geert@linux-m68k.org Received: from mail-ed1-f54.google.com (mail-ed1-f54.google.com [209.85.208.54]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B1E3519EED4 for ; Fri, 14 Jun 2024 09:47:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.54 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718358433; cv=none; b=YGU/EDOwqWH18f7mUW/zcnOhmD/vbQ7Tu6sYjmlBXqXWaHOt5/bSdixYWqoFsDqjj7lrYIcgBlFeFVeCC8r8l99Tfr+jvp4Ind9fc1p0DkUaFIrtr0fohCSKBRrIKEUGau5O5U5t3EPH6fWcStKWkSCPEpwIStqnzgFx2JcJyrE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718358433; c=relaxed/simple; bh=mIeSyvnLon2ygamBuRDffzz4itb60m44w9O1qvVSAt8=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=QRaskD26mPpCNpy7pYtOFAKBuIF5Gir6wWVOVdjpaFiuSkUSSs9NbHR6phaD56VeDouhrdNJWKMN5RCGhcxZqYm3xxsxPPNayLE/sCf3/DyEp+UgIB9lMisDIV5KT0tNJnS3RIDfiQl8tl+gSS6RtjQ2RFX2TmjVTBr26FSL/ms= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=nhK17m4P; arc=none smtp.client-ip=209.85.208.54 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="nhK17m4P" Received: by mail-ed1-f54.google.com with SMTP id 4fb4d7f45d1cf-57cb9efd8d1so2597926a12.0 for ; Fri, 14 Jun 2024 02:47:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1718358429; x=1718963229; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=0ruyCgMrPfekzht/5WAzVWTMLmXSUd2VwxGSvpZZrV0=; b=nhK17m4PWhnYDfkyM2gYzloIsuO6CpWpkbmyut14OdHX1moX6zavbXl6/CKrRnf5M3 YMLHP/LQNvFgFAOr+9WmQVJhN041xskO8S8p6/N9xNxXh1PvAtbvjA2LG8CK0sAaxYWp sHLYG9v3kHGexvKkI+P5GdWyYLWvE2FExcS/4NGSaNjByOcOO5kGcx3BcB8ddHSr9OZa w6wQWkNGX6rysQDT1T9Kxj2vhdrQYaHtowt5vEMK6JRcRbfGHUfgXJg5Ce49YZgTiHBX uoEG7sxpv/eO5K9E/NBCBycBRXM5IQmdAlNblS/jVa1oRDG/6BvmvFhAHMOMxynHFja4 ZMYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718358429; x=1718963229; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=0ruyCgMrPfekzht/5WAzVWTMLmXSUd2VwxGSvpZZrV0=; b=Mr7bxx2lY1JrCE7wYiFVhUBgR6Aaz88nZep57arNnJViMgotsXu57l0CvTMxZoiRG8 Jq+6S6Hr9PGKLSZsrrSTpbGesqKA4I4HS3UFiH6Ojrnc1qrz9V7ic0BCaeAnSXycGf0q uE6Tez9eG+PXrZbFPg5CciH2WrH/Wf+X9SxqcWH0oZiAFREe7zld4fNUMjRa1K8yHlSR VTmrxVjhjjo2oIT5feVLFojZRtgp7KfYrXLTzFhq/eqBY4hmyoVnVpibJHQ7JMh1FFAp 04+0dNoYO4sXmnJkJ2VQNfAH4ZbUqN15Utfq7JcYM4+Hvlua9qd37wcqjSS+YL/TI+Ah 6dYg== X-Forwarded-Encrypted: i=1; AJvYcCWf8WAkhZPdIU3ZLVlBP2arr8DYr7KswlZ8lDnqNsXzxVelnJ92eGHTwHywA1neHElJ5lM/4FRF89SEAx8jvYCRjkH7eQY+TriVL3YEHK4wHtw= X-Gm-Message-State: AOJu0YwC991T2J+HgToHcae86JbJZFCAy6i+pfpa4jdoTUAsf5694o6V zJUZTeLq19Pw9egpyWt0cFQtAXZymOmm5oXilGAOm18KR+EN/Fkn+zNxQrU0YZo= X-Google-Smtp-Source: AGHT+IGIKghrlULYLHsfLKde8CcadgZJW0YzgNbewj72+XW0ql1TiGTPFflVpMsUJxAghmYfIehKqg== X-Received: by 2002:a17:907:9406:b0:a6f:1727:cf4b with SMTP id a640c23a62f3a-a6f608a7945mr189043266b.23.1718358428993; Fri, 14 Jun 2024 02:47:08 -0700 (PDT) Received: from [127.0.1.1] ([78.10.206.163]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a6f56f9c84csm164966366b.222.2024.06.14.02.47.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Jun 2024 02:47:08 -0700 (PDT) From: Krzysztof Kozlowski Date: Fri, 14 Jun 2024 11:46:15 +0200 Subject: [PATCH 16/22] dt-bindings: thermal: socionext,uniphier: reference thermal-sensor schema Precedence: bulk X-Mailing-List: linux-renesas-soc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240614-dt-bindings-thermal-allof-v1-16-30b25a6ae24e@linaro.org> References: <20240614-dt-bindings-thermal-allof-v1-0-30b25a6ae24e@linaro.org> In-Reply-To: <20240614-dt-bindings-thermal-allof-v1-0-30b25a6ae24e@linaro.org> To: Daniel Lezcano , Zhang Rui , Lukasz Luba , Rob Herring , Conor Dooley , Alim Akhtar , Guillaume La Roque , Krzysztof Kozlowski , Vasily Khoruzhick , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Anson Huang , Thierry Reding , Jonathan Hunter , Dmitry Baryshkov , Amit Kucheria , =?utf-8?q?Niklas_S=C3=B6derlund?= , Heiko Stuebner , Biju Das , Orson Zhai , Baolin Wang , Chunyan Zhang , Alexandre Torgue , Pascal Paillet , Keerthy , Broadcom internal kernel review list , Florian Fainelli , Scott Branden , zhanghongchen , Matthias Brugger , AngeloGioacchino Del Regno , Bjorn Andersson , Geert Uytterhoeven Cc: linux-pm@vger.kernel.org, linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-sunxi@lists.linux.dev, imx@lists.linux.dev, linux-tegra@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com, Florian Fainelli , linux-rpi-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1159; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=mIeSyvnLon2ygamBuRDffzz4itb60m44w9O1qvVSAt8=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmbBFuGs5Jr4iu4ztVMLTV5UrKA/VmvClhsc3Nu /DgeeOEc3WJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZmwRbgAKCRDBN2bmhouD 10rZD/9/pL5MAXa4cu08LXfwwna/wMuGScuABTPKkAA5rLndGvqQlFBBRMSephHRwgqXqp3Ifsy 5/CCaVDAhKCkQSZ7NO0c7N/nnrmVH6VumgINouVuooUF/4kkzOqHy0Ps7bPuuX9QpkT3RY9wRLE 46OwqjthHWuZc//DYekmQaF/L0qSJEk3SSJKGFVansCiaRvv0vLvluIIputqAPE+5A70K37ZVNR /Frtg4VKlW2yjKKwAjwvEmnU/KSO1gx5pg4fCsJwfJKoMqJbVrjPQgjH/08LIcfE4HCFesRhr01 753qIZ+Zsp8tvJJ0I5W4fBh2Ycur+VCwGfHZNQN/D58/eRl64Rdlfriw2/Uns8Tt6gsabgnorj+ mkIBO0w9/zygKNIJWRaL4AJTgYVLViyH5x9axMJvhcl4pNb5zE/ddX0PGivIvwblBrQcWTgdG4A FSTY2l4LvCmP1li68LdkKwt/pFW+2nj5LqhjXkXWLfUU8MAK+fO6ZuRILsYXJQX+5H6+Me5YoZH JMvprdk7NXkgNJa2Xcbrfq6/eTGzZypopRcxFn4T2nWjQ0SzNVZj4tetdcp8HOVXRUjb/j+JNW3 42jZg3DaQZdvo7oUunA54ox/aRO7TB0R4xS7pxtdbMgf/pgqWTbfWEFsWnhgItUJjpazn9rqRnQ e9qS9o8tU4rOHag== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B Device is a thermal sensor and it requires '#thermal-sensor-cells', so reference the thermal-sensor.yaml to simplify it and bring the common definition of '#thermal-sensor-cells' property. Signed-off-by: Krzysztof Kozlowski --- .../devicetree/bindings/thermal/socionext,uniphier-thermal.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/thermal/socionext,uniphier-thermal.yaml b/Documentation/devicetree/bindings/thermal/socionext,uniphier-thermal.yaml index 6f975821fa5e..8210b7079721 100644 --- a/Documentation/devicetree/bindings/thermal/socionext,uniphier-thermal.yaml +++ b/Documentation/devicetree/bindings/thermal/socionext,uniphier-thermal.yaml @@ -14,6 +14,8 @@ description: | maintainers: - Kunihiko Hayashi +$ref: thermal-sensor.yaml# + properties: compatible: enum: @@ -38,9 +40,8 @@ properties: required: - compatible - interrupts - - "#thermal-sensor-cells" -additionalProperties: false +unevaluatedProperties: false examples: - | From patchwork Fri Jun 14 09:46:16 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13698276 X-Patchwork-Delegate: geert@linux-m68k.org Received: from mail-ej1-f47.google.com (mail-ej1-f47.google.com [209.85.218.47]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E4DAD19FA8A for ; Fri, 14 Jun 2024 09:47:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.47 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718358435; cv=none; b=Wt6RZ/2WYlBImAvRIgSbhPGue4pWdb46Eys+VzgYKw8m071pHCVyDZbaK1RD1645Lkjmdk1fKNzvr3HifbgeoDy8/8S294HYqYGPOD8WAjoQOxaOqkp2yiFhjo3yCk4YHOgNqzw681I1NH+3SaHIWzzpX2PIphcLxhLhqq1LxfI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718358435; c=relaxed/simple; bh=dEicE4oTwCczzzSyDwiogCPoDffxWlAHYRiHMVel/ec=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=FF0d/Yra0+LPfLfL39GGNAL+miIOCxoGjnjaKgp8VGvof3IEw9dAsdxqUzIzvTc1eBkAS4iq9Yhq4P41IcDBk3s4F7r9JL8viwXK/LeM7EhGaKhfEPvQ+ySeVd8DaURgwCMA17Uz0sw6a0RndZVsk4fvROWn9fX673F6UmtSdYU= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=KI/nJ0C1; arc=none smtp.client-ip=209.85.218.47 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="KI/nJ0C1" Received: by mail-ej1-f47.google.com with SMTP id a640c23a62f3a-a689ad8d1f6so260997466b.2 for ; Fri, 14 Jun 2024 02:47:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1718358431; x=1718963231; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=m4Po3dZkYUhaAL25RngwAM+jSmX3BmhwR9LwsGE0XuI=; b=KI/nJ0C1sA7yK6EOZ8eKnpu5O5nkW9Jxsn3ZF21ZK3O7zyvGA+HIY36W0HSS11vJ4b 3KewcRhD6g8uqwI+XXKCcpvJlE77Oqu/K70VzHIgmyCQrYqdPfH0FTFxSRR5B5hKKxsB 2bhE8GbOD9QKsFY5zbp809TQwCcbJUAoqe/oTYPqxPl2lepABgLMkbgPKPCk4WA5zZxm /nxDWzsIGtpKxcj5zini2U5l1QqZrgkDLxU+YwpR7u0IBAjhex+XAqOJHCXteFS2pQj0 L24MHleka62xIoDjumvt8fl8e+MVdMOF77eoShJLJyjx3yjz7SA2W8czp/7RXTykouo6 hnGQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718358431; x=1718963231; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=m4Po3dZkYUhaAL25RngwAM+jSmX3BmhwR9LwsGE0XuI=; b=UzTYmQBe20QKZzdtmrYS8LBYkB3aAg85zdxoE4pzceAkGlJQ947TY5f1ui3BceaEct MTi9lR8A3+uE/eqnNnPn3VaONawnKDz1+vV82GJFZM9AzN2BflsT5ogVs0YstMfHc+mI fNKe7DWwClIkRyt4/CcmbW+lYiBzT2Ui2CkAuj3oxiNJYT0Gj0z4TsIhf6e1ekiHD1rp s6Kpb6LYvhtHZ57zSaZpOllKfxRxLcLjwcIoX4MtkAi1viZybEIcsIyzbwIgvsJthxe+ GrDEYrTfRqTU3ZxuOmE8oK9l0X2qPLD8KzuM0pL9gPK3x7LdehKJKOdG6nIOlrpebfF3 AjiQ== X-Forwarded-Encrypted: i=1; AJvYcCXKbEP+nnIE6g2cyOjoX3rpgvoZ45bbXUb42zRHI0pKNTGk1te753YbhzPtbqdUV8+TTunZ/htTA85W3SYlRnt40RFNHLh9kc4i5dNoKKyajeg= X-Gm-Message-State: AOJu0YwIdgO93RgpJUiXEZXxqaH+pknMId1OnuxpfiZ0hK48ty1zBeeZ wLFArBOdeFGRCySnDiovCOpZVeghrNb99iidOYEE+MthFL/yc/HF+H5TbG3MYJ8= X-Google-Smtp-Source: AGHT+IGj8vHnUjzyQXLjakThkDrI8TADcYkwvsTFTeOcX9PO/UorHw4DDlmq9L/9O6hUgzTRz1KoDw== X-Received: by 2002:a17:906:ba8c:b0:a6f:6ae6:8ae8 with SMTP id a640c23a62f3a-a6f6ae68dc2mr43152866b.74.1718358431505; Fri, 14 Jun 2024 02:47:11 -0700 (PDT) Received: from [127.0.1.1] ([78.10.206.163]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a6f56f9c84csm164966366b.222.2024.06.14.02.47.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Jun 2024 02:47:10 -0700 (PDT) From: Krzysztof Kozlowski Date: Fri, 14 Jun 2024 11:46:16 +0200 Subject: [PATCH 17/22] dt-bindings: thermal: sprd: reference thermal-sensor schema Precedence: bulk X-Mailing-List: linux-renesas-soc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240614-dt-bindings-thermal-allof-v1-17-30b25a6ae24e@linaro.org> References: <20240614-dt-bindings-thermal-allof-v1-0-30b25a6ae24e@linaro.org> In-Reply-To: <20240614-dt-bindings-thermal-allof-v1-0-30b25a6ae24e@linaro.org> To: Daniel Lezcano , Zhang Rui , Lukasz Luba , Rob Herring , Conor Dooley , Alim Akhtar , Guillaume La Roque , Krzysztof Kozlowski , Vasily Khoruzhick , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Anson Huang , Thierry Reding , Jonathan Hunter , Dmitry Baryshkov , Amit Kucheria , =?utf-8?q?Niklas_S=C3=B6derlund?= , Heiko Stuebner , Biju Das , Orson Zhai , Baolin Wang , Chunyan Zhang , Alexandre Torgue , Pascal Paillet , Keerthy , Broadcom internal kernel review list , Florian Fainelli , Scott Branden , zhanghongchen , Matthias Brugger , AngeloGioacchino Del Regno , Bjorn Andersson , Geert Uytterhoeven Cc: linux-pm@vger.kernel.org, linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-sunxi@lists.linux.dev, imx@lists.linux.dev, linux-tegra@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com, Florian Fainelli , linux-rpi-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1184; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=dEicE4oTwCczzzSyDwiogCPoDffxWlAHYRiHMVel/ec=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmbBFuXyZKku6z8Qz5XDywxHtOOz0aHPstPB7Df ZOWxYleA7yJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZmwRbgAKCRDBN2bmhouD 177kEACWRRlV6yfOp6uidnIp+nHz4sLjMdBIDfzrzpVcp7iD4jWwecM8XI+I6lj6IDzxOnxVerN OZ6j8qRBgfiSEawZgjFHgIi85071JUuKrgk0N/lQEZXshx0xio+A9apGatt+66TWUfS/rLtkqKo +UAte/xkpG1cWdKplXf3ygInEaFnyLuZzKusoBU5Y0G4mBQNchDGKvc/zDHhQ7LOV8TDsk5Joxp lEz5NTW86srVdlZQRHK6M2NHNmjxQmYjTlZ4mNgn8ueEWPLyJXRKkJ8aKgAfFj2PufgXI1gq/gD Noq+61uXpkdFmDUik6l5ZRbEqH4NN/K6FHhtq+ZmT+IJpqkpdswgYK9qTCZ390I6B0mvsxx1nuG eSZwun4lh49YfJoX9sMvuts89ZtiJ94oO29zK+6bk8E1T2VKIll6F70H8KWU3GwqGhc1IkA3pkc YNqo4x1G9HZcGqtKg81wGxxPSjc/U/mOdLc6OBE6Wi0eFLbnXXlDEBqlnzMDHef3amQ06+52ceB pXkh9FevCjjNCUx0HZUNZjx8oCH+Kp+4RW7UQS64H9Ud244gGv7i5BZvyLsSXp9EKtLC89wm3GM BjrpkcZYfnENpVG3KevH4odIvbXlsZeHemznlCvB0Y77xZradFMiIqHW5fRUJ/4ZXs4kVHF3Ow2 FzZcySJAMHGaqGw== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B Device is a thermal sensor and it requires '#thermal-sensor-cells', so reference the thermal-sensor.yaml to simplify it and bring the common definition of '#thermal-sensor-cells' property. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Baolin Wang --- Documentation/devicetree/bindings/thermal/sprd-thermal.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/thermal/sprd-thermal.yaml b/Documentation/devicetree/bindings/thermal/sprd-thermal.yaml index 76aaa004c8ac..f65076fc68f9 100644 --- a/Documentation/devicetree/bindings/thermal/sprd-thermal.yaml +++ b/Documentation/devicetree/bindings/thermal/sprd-thermal.yaml @@ -11,6 +11,8 @@ maintainers: - Baolin Wang - Chunyan Zhang +$ref: thermal-sensor.yaml# + properties: compatible: const: sprd,ums512-thermal @@ -77,11 +79,10 @@ required: - clock-names - nvmem-cells - nvmem-cell-names - - "#thermal-sensor-cells" - "#address-cells" - "#size-cells" -additionalProperties: false +unevaluatedProperties: false examples: - | From patchwork Fri Jun 14 09:46:17 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13698277 X-Patchwork-Delegate: geert@linux-m68k.org Received: from mail-ed1-f43.google.com (mail-ed1-f43.google.com [209.85.208.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 60B351A01C8 for ; Fri, 14 Jun 2024 09:47:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.43 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718358437; cv=none; b=YgEKCpk0F2Ngf841FXhxttE5KlxiV551mIlsgUdnYamRUgAaVjt0oiKTXXW5PB9XPUuuW9Db8sSxmJOOiot47gC1VtJFf5CSPvUZs387DmbbvPCWLaVghU2+l6aWuyfwxYBxiNXLVvMqGLeAMtmgHFBSAfG+M71SNjlHEbpt4gA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718358437; c=relaxed/simple; bh=3L8KlXex0s7qoR5YcxPA2jc6XZ2NrZwE3MC+jn02OI0=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=m5F2noWSGxujwKTM7rXMz2k0MBjVPmMFvxyJF3nnYo79OGuU0jEJZoD2TK2t4oGjted28+DduUkjMgSYMMGh15oOwlLAr1TcCmikTz1q7+x9eoB+cqmKPPt0KLP/1VkOELscWd3ymKORMhP5CF5STYSd/ebA2cx1KeEc+mSyrPA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=vBmGpj2A; arc=none smtp.client-ip=209.85.208.43 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="vBmGpj2A" Received: by mail-ed1-f43.google.com with SMTP id 4fb4d7f45d1cf-57c83100bd6so2379212a12.3 for ; Fri, 14 Jun 2024 02:47:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1718358434; x=1718963234; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=H1L1hUKhvb8qMRf1UscQN2W9C1hTFJkKm90Yn4dmB8k=; b=vBmGpj2A1v6HxfRSP0T2TNGtzS1gX6yU9usMdhvsMbEbam3UX7YrJU47kvm0+4oqkI b2Fzr8YGlBTejYqFvFSk6m8qBCKromLUBjeq0IiljjJ3JIY+x+o5dQX1fdMWYjkNiaS4 l3rDX70yfVlM7eTwjAgNKxAjuT9cCyhHp0875lVRbHVpSc+qp4bNQZNz9A8ZpXd44FdO udRRmoAPmMmVwYfJeF9vjsyBue7sfx/HUn662IuniEp/T4o2woU4kW7iezE/p+yZfwsh zfQqjhCjrchW3HdUt+QpwIV5qH5N9ehY6zP60ug1LAqvLTCn2t3zlMzuHDEexZlopeAW 3USw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718358434; x=1718963234; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=H1L1hUKhvb8qMRf1UscQN2W9C1hTFJkKm90Yn4dmB8k=; b=KI6JtXZEIg5erEvdcD2n7ZNc92meews++2VuMc3Ywucx2ZPxrC9LKOyVYsMwdI64rO BjFZEu1xTkHzCxiAqS8zkm4eWLJ0w32Cy+3tnSGCjJBgtGN2yVk0ky/2vxc0aXTjTbQO BExxTVmV8KM/3ua+8g+L7Ii96+JkfznKSCvxHyvjMPyxF8uw1uOdgpwlmELgJLw+MkQi CIblf83K8eldXrwnd7bWlh67QeZrfpOC6gnAlYHldyeVeTH1gzEChUAnU297jgWflpyc FUpoAAeA0aX7/p7AwBfKSzqiuY7BsidUyK847cV5SA3TlQPX05TbHeLh/rlgIvYiO0v2 XS2A== X-Forwarded-Encrypted: i=1; AJvYcCUV/GrlX8Ug/drKnBN6LyFw4Nt8LX0AGQOuPTeH25htDrvgA0HEsseIZ8UQTspiwD9/yMzXIDdUFlq/WCsoFcdej/kkCh+Vc7tr/TOlCrNxd4o= X-Gm-Message-State: AOJu0Yy0tm/LVOySMcmQ6MnAPyZw5MPvu+ToHL1iIH70CECv4MOv665I +Uauee9vNUKxSHzAyVpgXxwIz20xXXgOcY6/ZMFtrKbFfJpIhYwFx4ectvwaAp4= X-Google-Smtp-Source: AGHT+IESUfkXPP4PfG4NWjsxbxp6NlwMJWMU5nP5/by69p2zzzbRxPpfOQIPY19suOJaj0e0fGtyQg== X-Received: by 2002:a17:906:1c09:b0:a6e:fe97:b33a with SMTP id a640c23a62f3a-a6f60d27c9bmr135962466b.29.1718358433828; Fri, 14 Jun 2024 02:47:13 -0700 (PDT) Received: from [127.0.1.1] ([78.10.206.163]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a6f56f9c84csm164966366b.222.2024.06.14.02.47.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Jun 2024 02:47:13 -0700 (PDT) From: Krzysztof Kozlowski Date: Fri, 14 Jun 2024 11:46:17 +0200 Subject: [PATCH 18/22] dt-bindings: thermal: st,stm32: reference thermal-sensor schema Precedence: bulk X-Mailing-List: linux-renesas-soc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240614-dt-bindings-thermal-allof-v1-18-30b25a6ae24e@linaro.org> References: <20240614-dt-bindings-thermal-allof-v1-0-30b25a6ae24e@linaro.org> In-Reply-To: <20240614-dt-bindings-thermal-allof-v1-0-30b25a6ae24e@linaro.org> To: Daniel Lezcano , Zhang Rui , Lukasz Luba , Rob Herring , Conor Dooley , Alim Akhtar , Guillaume La Roque , Krzysztof Kozlowski , Vasily Khoruzhick , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Anson Huang , Thierry Reding , Jonathan Hunter , Dmitry Baryshkov , Amit Kucheria , =?utf-8?q?Niklas_S=C3=B6derlund?= , Heiko Stuebner , Biju Das , Orson Zhai , Baolin Wang , Chunyan Zhang , Alexandre Torgue , Pascal Paillet , Keerthy , Broadcom internal kernel review list , Florian Fainelli , Scott Branden , zhanghongchen , Matthias Brugger , AngeloGioacchino Del Regno , Bjorn Andersson , Geert Uytterhoeven Cc: linux-pm@vger.kernel.org, linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-sunxi@lists.linux.dev, imx@lists.linux.dev, linux-tegra@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com, Florian Fainelli , linux-rpi-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1226; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=3L8KlXex0s7qoR5YcxPA2jc6XZ2NrZwE3MC+jn02OI0=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmbBFvVBZGRKV/QP0IvsM9xQ7ICCZWH+Dk9XKXT QeAll8jTOyJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZmwRbwAKCRDBN2bmhouD 15jEEACAeCBwooCDdYSgCgknbyYtJysaUKzyYrYH9LKW3iH9vLFvBYECLMzvA/BwOarmAczsVAn fTlAGnKMVex9imbHWzOiNhf5ZXJTAyeGmdo63wQlftWI9gXXCb3Xc6Lv4UOwCRCd31OgT7hbyzZ wA3bUPn9xpqvEw4ehdlFsQkxanu4ntK1/aFsss1ruH8J6Bwio6yXlukjniaoB4tjPouPwRHLEau qnnIw5VWJwicO9aMpZn7cuhafO+WIXlSvQ35WQrlsT0dCdmwWa8ghuHOMX4kCOgVsTlAbsYhZsf 8TXEFNmKAij2Q0paybkFaDqAUJeLHQ9KpBaZMmCqL2IeRqn8pftQuPiOtLn/g32Nv8ltQ5Wup9B FGG02Dke9RBEGHc75ujsQMC6I7TMWUcslAcU0oTczDA1j/7mMe9pym1p1A4OepLhZWuJCOy53kT TqXiJ+AGHI7NYE0i1YtdiTME5h5mx4xsV5p4wEgKq83VqZG3f4Um+sQfVhJyPll6dchA1xVh6mn UHPg8yItoeRub88Q5cRPGvwDCf9PdtNQIURSCXSK0p8znfBo4uVgVpGj6VLJqFtei3hEw3L/Czi WJC6lRFVr4kIKqTKckckW6ov1GA1SzZd+uPLlAWlY1dK7VkzLkh1M3jmGs6xCjm0nsb+xIJ7PKs lu9YouNtXcCBKHQ== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B Device is a thermal sensor and it requires '#thermal-sensor-cells', so reference the thermal-sensor.yaml to simplify it and bring the common definition of '#thermal-sensor-cells' property. Signed-off-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/thermal/st,stm32-thermal.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/thermal/st,stm32-thermal.yaml b/Documentation/devicetree/bindings/thermal/st,stm32-thermal.yaml index ab043084f667..1c01a80a0cdd 100644 --- a/Documentation/devicetree/bindings/thermal/st,stm32-thermal.yaml +++ b/Documentation/devicetree/bindings/thermal/st,stm32-thermal.yaml @@ -9,6 +9,8 @@ title: STMicroelectronics STM32 digital thermal sensor (DTS) maintainers: - Pascal Paillet +$ref: thermal-sensor.yaml# + properties: compatible: const: st,stm32-thermal @@ -30,14 +32,13 @@ properties: const: 0 required: - - "#thermal-sensor-cells" - compatible - reg - interrupts - clocks - clock-names -additionalProperties: false +unevaluatedProperties: false examples: - | From patchwork Fri Jun 14 09:46:18 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13698278 X-Patchwork-Delegate: geert@linux-m68k.org Received: from mail-ej1-f54.google.com (mail-ej1-f54.google.com [209.85.218.54]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AC8CB1A01C8 for ; Fri, 14 Jun 2024 09:47:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.54 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718358439; cv=none; b=k7vhIk1FA88WtPDAwsNoWYhjCCVeGdWLJrii3vQSRB6rrIK1/HOTTU83RqbMRThIaFrLS5vtnKKPDdmmqlks4+uxdfJgXPh2to7ueWK7WHv9LNi1sw/2eUNCL6/8Ew2VpaW1+iwUR4/wKUeAYb8a4tLvgT7CE/8fheZKVArPLQI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718358439; c=relaxed/simple; bh=K3V6Xak3YOQEHnMj7SlQYHGX0YMx6fkXwr1FCTF4hC8=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=tBo6Vn8iL+rCTj9/2EBJjzm3eZkHGPolYzn67sQ9c+rmObK0uiE/xgs2dCKmozHS9df3yCrozZ745ssv0dR6NyQVGgOiXVhV2FQIsUTvnMBddThfOA5alyXmjLC5PLrQ/iy33VrcHQNFfJ6WBCqvx3gutOwt+oJisVjIF9o/ZKg= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=nRNwoTBr; arc=none smtp.client-ip=209.85.218.54 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="nRNwoTBr" Received: by mail-ej1-f54.google.com with SMTP id a640c23a62f3a-a6f09eaf420so228528466b.3 for ; Fri, 14 Jun 2024 02:47:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1718358436; x=1718963236; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=HHopPI0nIM3Jed8hUXyS5ig9GDwCMsqicv3UZ9klXRA=; b=nRNwoTBrOsWQD9gwczHLMsUUiID8d/tQ+FjLuiZW1vBCk4TPYJOiyXfkwZ6SmOiqVC v28Hr7feemLV+UbZa5UJRMVn1X/IkB/2OkD7a4QLoitwME16MnpF72vUHtop5Z0aII1+ 0PHivIaHGpssU+nhWsTOIdZVUwQtkIp5wYVV3A3FX53nHUmeoJXKZve9wuVuToPJe7v6 pQcaVJ6V6esL+piuM4PHzaXDvtSSZKZW2YMEyfV5kF5K+GEToyKJlU6riyxAwy9tIJtx ISNO5lLvpKTp27eygrkMjgHF5pL/Luxu4Rv/Lb1NQmUuI5PcFIkLhYLt7gi3Fxo858zv sgiw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718358436; x=1718963236; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=HHopPI0nIM3Jed8hUXyS5ig9GDwCMsqicv3UZ9klXRA=; b=lsw63ggLO81FDLzwJIBJGZkww3+0MgQRIBc9Q91NkuNz6/h7G086knzyT//ge5eHOO VdmxgqVpyc9FZStaDp5zVdcEZ5A5wHXdXL/4foUefrefuM2zmKrLHzRdFE3tCbWhmv3q 0CpXcRB33l/cwJZRR+dbaGPiW6Lgwb54qALYd8z6a87ihOXp5HMATFG9AirCyXwMT7W2 0kRaFpBqBfamnGY2eg0wsz6jL916OYKLfI4z2kojr2gHYU8bnmUHo8GKmSvvzZh5h0NU fsgEQHs2uaUzsyJG1ZmpEOOXVKoNaf43CB4DvBHI7K+rhfcVOlcX7H4kJ2fQD5Zcr1yM POrw== X-Forwarded-Encrypted: i=1; AJvYcCXsZeJnz7AKgV3yBq9sgPjOyXk/GqosC5fwD5uA2wBtB1n7nqLQteTGyIOVdoMzvArnCqYW2tdAbd6wdBcaSliI19HjctQYRcfc5rSwCobRIyM= X-Gm-Message-State: AOJu0YzwAqoCYKj7AyVcl7+ZmyvONM94VNS1nT6Az/rhR7yyDuwXiGng CdZ+zNcCpstXbfeAJTMrgs4x94xZJhznJDPx7WKXXIvNAtjOxYrGm4LPp3Ffka4= X-Google-Smtp-Source: AGHT+IFYhCUuIW/shPa24Bm16cB64oTNa3LMl0BHr5SyTcIcKZ2BVmCvxjUSzjAK1w5nMGYHiOtHug== X-Received: by 2002:a17:906:35da:b0:a6e:f6bd:edd9 with SMTP id a640c23a62f3a-a6f60dc51ddmr140028766b.59.1718358436151; Fri, 14 Jun 2024 02:47:16 -0700 (PDT) Received: from [127.0.1.1] ([78.10.206.163]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a6f56f9c84csm164966366b.222.2024.06.14.02.47.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Jun 2024 02:47:15 -0700 (PDT) From: Krzysztof Kozlowski Date: Fri, 14 Jun 2024 11:46:18 +0200 Subject: [PATCH 19/22] dt-bindings: thermal: ti,am654: reference thermal-sensor schema Precedence: bulk X-Mailing-List: linux-renesas-soc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240614-dt-bindings-thermal-allof-v1-19-30b25a6ae24e@linaro.org> References: <20240614-dt-bindings-thermal-allof-v1-0-30b25a6ae24e@linaro.org> In-Reply-To: <20240614-dt-bindings-thermal-allof-v1-0-30b25a6ae24e@linaro.org> To: Daniel Lezcano , Zhang Rui , Lukasz Luba , Rob Herring , Conor Dooley , Alim Akhtar , Guillaume La Roque , Krzysztof Kozlowski , Vasily Khoruzhick , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Anson Huang , Thierry Reding , Jonathan Hunter , Dmitry Baryshkov , Amit Kucheria , =?utf-8?q?Niklas_S=C3=B6derlund?= , Heiko Stuebner , Biju Das , Orson Zhai , Baolin Wang , Chunyan Zhang , Alexandre Torgue , Pascal Paillet , Keerthy , Broadcom internal kernel review list , Florian Fainelli , Scott Branden , zhanghongchen , Matthias Brugger , AngeloGioacchino Del Regno , Bjorn Andersson , Geert Uytterhoeven Cc: linux-pm@vger.kernel.org, linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-sunxi@lists.linux.dev, imx@lists.linux.dev, linux-tegra@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com, Florian Fainelli , linux-rpi-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1128; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=K3V6Xak3YOQEHnMj7SlQYHGX0YMx6fkXwr1FCTF4hC8=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmbBFwqmuRGwyBRQ3wR18ecSX6kfmBdIXE+Ent6 hAKRj/Sko2JAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZmwRcAAKCRDBN2bmhouD 17hkD/9OxjeCJICdurLShHs5yp7HzuR740CrmJrC7McgPnyp8ztY0sSwbQvwGeRuMsaxGidE0J7 xqY0L6Ioab0oY31XiF1QnateecuxDA9T1PBUpytt4fbqwY10Qo5yKBPBX4OBCNAvwl6BVE2Me5N 4t7i4RblHCch1dz5REf2XLI28pklsg0B8zZIVH4GGYVP8w3Zb3cg2gpT8O2XBsi5teF4w2pPjYW E+yohdnJv/uikgyAzHZ7gYKicgkaA48sLZKA9i+UyrTEYxz3xdC+qIpl0SHa7U54fKUpvIuL5tA 1ozQi0DgXwHEMJo7Zxpkx823UnjbRynt7urLGgk2Zr+mNj1itWuyxVMw9uku7tJrSwBAIPgSXnC 1GWhPTu8jS10dmPcl8LxdQMZzbOSiV1hdWeDFvFxEXkY3DHy7EaGTkRMsSqo9jJzOpLq/OxqFSa 1Bd+lZllAcbV4piQt3dFG2rqt2/HHqyRzp58F8D/YSexdS8VQ2cU9D+Ibljv/xuvluLhIfuoVzb T7/0Whyrz0JrF36X67nkYcnekOy+Htkzl3/sFJ1rj2eXxrAEZeGoootoY8/rwk/+eAUHpRhd1YM STNX8eI0cUshXtTfkxs52lVyh6zDP4i0jhk1mN87RJ2/sQgDita8xLImSYHC7tTKXeb/34qVmbe OF5UQMHSan3bk9w== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B Device is a thermal sensor and it requires '#thermal-sensor-cells', so reference the thermal-sensor.yaml to simplify it and bring the common definition of '#thermal-sensor-cells' property. Signed-off-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/thermal/ti,am654-thermal.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/thermal/ti,am654-thermal.yaml b/Documentation/devicetree/bindings/thermal/ti,am654-thermal.yaml index 7ed0abe9290f..16801aa78bc2 100644 --- a/Documentation/devicetree/bindings/thermal/ti,am654-thermal.yaml +++ b/Documentation/devicetree/bindings/thermal/ti,am654-thermal.yaml @@ -9,6 +9,8 @@ title: Texas Instruments AM654 VTM (DTS) maintainers: - Keerthy +$ref: thermal-sensor.yaml# + properties: compatible: const: ti,am654-vtm @@ -26,9 +28,8 @@ required: - compatible - reg - power-domains - - "#thermal-sensor-cells" -additionalProperties: false +unevaluatedProperties: false examples: - | From patchwork Fri Jun 14 09:46:19 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13698279 X-Patchwork-Delegate: geert@linux-m68k.org Received: from mail-ed1-f49.google.com (mail-ed1-f49.google.com [209.85.208.49]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 28A25192B9D for ; Fri, 14 Jun 2024 09:47:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.49 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718358442; cv=none; b=sKefgoCPzqRZeUDnSL2zsgYq3Xbg4pZpEQhAy+in/BoPA+ML8ksJYI48I6gfpcLxcDtSm2dvfS1ko/3+g6+u4JYmbYbLzX13eS9OVIldagV+xPVpUGSR6boUwkO7mQzhZY+70XcQdFLIUTij5gGZNN7brANL1KQbjRAOdAvtvwU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718358442; c=relaxed/simple; bh=ag85uAiG2r/HEMDYvaptkcg1a2CH6uLufrgsLuM2IrE=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=OeOdZ9XCKxRNZEn3AEr8/YjYJ52zo3lboQ7k5SnGtYwBHX83clqarzeLxDxxTH2d2tgitU4xvUQlGIGeT5TGrZczDPEDZb93bbkJ8d+MLSYu1NeHlnOGPOUFeLwGSXuiVZcQCsAO2FKLeJlh5sKE6I5hvP5ZCCWUAeQEGs2A048= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=oLj/vCa9; arc=none smtp.client-ip=209.85.208.49 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="oLj/vCa9" Received: by mail-ed1-f49.google.com with SMTP id 4fb4d7f45d1cf-57c7ec8f1fcso2254854a12.0 for ; Fri, 14 Jun 2024 02:47:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1718358438; x=1718963238; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=x2AvwYfuogssIrdqX8bNR92FjKreYxm98m5VAFWq1yo=; b=oLj/vCa9lO7rlupmtYk4EGPzezg17gxQDq5CNCTf+g5BIV0DzU6or3SPtPGoxt9OLf Be3ksHWtI3PHqCK/qek7DiXQ8yeojo4qjHrFktwnZrNbFaPz9vIOK8dzaKpbzgx2z0dv WjPtub+fGvtwNn5cbslssePDsrGmLkfnx+yvLD6MSHDg3iXe8rx4lwhnU5J14yQTCPwW nm35HVkMWr4DsRRijFCPiDs8BewVBK676ZK/aX1i8X0ycxEvRG/FQ8NkUSJsXsYPGnzt dryBfHAVR2RVAhHfA0g8Ee3TCnOncgAWxtt+qnGFl3eob++fKz8Y0dKfWhDP3xZTSPDx Pe5Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718358438; x=1718963238; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=x2AvwYfuogssIrdqX8bNR92FjKreYxm98m5VAFWq1yo=; b=ME38fynm7uz3xl6XDIPrOA1WBSjUSg5uRkzMzsWJ7jwTlcKcTeeLaIssx/RJgFUbAt bSrcC0WbJhmnoDhzzQ6NNQKzac7f1bO6QkQSq4MVLCAOdFUqSbBYc2dP2q/9QDXdiTLq gBerwIFg8tkPNRi39aNhfKGBWN7PhcWMHtrfc2Q4uW8ewHKQmSTLBoxUKvVhVirR9o72 RpXtb9S0ZyzSe8BtSHhIx5uNYDw7sbaBo7GaRIqjrxLrm3tNcy+wEtNYEukRxDEh1tTR 588BcI5MwhNnLVi4PLeWO/ANTH0MoLTedlRsYRncVwhN4AM2CPjM9Ktaaer4FDHpnIVG D5uQ== X-Forwarded-Encrypted: i=1; AJvYcCUofBGErhUOwa5EdYVE31vT/XIZE0zZNHsHayuJwGG29gEwCbP0ioCvu+KoHhVG4zkw2g99jRIpf57Uwn4m+5IAtOQ6UueOEiy0lspe2UGS3Oo= X-Gm-Message-State: AOJu0Yzo7Fk3UADD5aLrGnQMAHk/vgj+r3ilOII4Kcy25G+Am0+2GdeN uNAq4USjYdyYaZp21QEvoBSro83HlfaeXe5a+tw4/byGFZWNnvg9YDVYeQr9HX8= X-Google-Smtp-Source: AGHT+IHImE03me+jBXAaJKDis3LvJaHdcyhORbJZDZPs74Uw4HneHqZI29aXqpZb3jL7FRfyUVcimg== X-Received: by 2002:a17:906:f74b:b0:a6f:2605:aaaf with SMTP id a640c23a62f3a-a6f60d204a7mr143354066b.22.1718358438479; Fri, 14 Jun 2024 02:47:18 -0700 (PDT) Received: from [127.0.1.1] ([78.10.206.163]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a6f56f9c84csm164966366b.222.2024.06.14.02.47.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Jun 2024 02:47:17 -0700 (PDT) From: Krzysztof Kozlowski Date: Fri, 14 Jun 2024 11:46:19 +0200 Subject: [PATCH 20/22] dt-bindings: thermal: ti,j72xx: reference thermal-sensor schema Precedence: bulk X-Mailing-List: linux-renesas-soc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240614-dt-bindings-thermal-allof-v1-20-30b25a6ae24e@linaro.org> References: <20240614-dt-bindings-thermal-allof-v1-0-30b25a6ae24e@linaro.org> In-Reply-To: <20240614-dt-bindings-thermal-allof-v1-0-30b25a6ae24e@linaro.org> To: Daniel Lezcano , Zhang Rui , Lukasz Luba , Rob Herring , Conor Dooley , Alim Akhtar , Guillaume La Roque , Krzysztof Kozlowski , Vasily Khoruzhick , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Anson Huang , Thierry Reding , Jonathan Hunter , Dmitry Baryshkov , Amit Kucheria , =?utf-8?q?Niklas_S=C3=B6derlund?= , Heiko Stuebner , Biju Das , Orson Zhai , Baolin Wang , Chunyan Zhang , Alexandre Torgue , Pascal Paillet , Keerthy , Broadcom internal kernel review list , Florian Fainelli , Scott Branden , zhanghongchen , Matthias Brugger , AngeloGioacchino Del Regno , Bjorn Andersson , Geert Uytterhoeven Cc: linux-pm@vger.kernel.org, linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-sunxi@lists.linux.dev, imx@lists.linux.dev, linux-tegra@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com, Florian Fainelli , linux-rpi-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1172; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=ag85uAiG2r/HEMDYvaptkcg1a2CH6uLufrgsLuM2IrE=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmbBFxyygP0KDRWxDno4kM9DyJJF36q0Pj0JLXC R5ZthscE++JAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZmwRcQAKCRDBN2bmhouD 10MhD/4/36ep6K9C/2A0+yLh/7h03kLK7tqhV1a2oEMiR/3bLKcpn6umQP6r9gvpMHFlRX5wP7v 2Qcy7ULesoTVCRfLz4eewatjk+KaHWQsvPJPW3mM0/NcAviaPhVr4Rhx8aGE4qMZvaATX/EFkos sdCgL3T2E1K7AQatgcC+1b+PKDToD4VSvpUhUlBzal4f/lh5VFfaPlTkFL2hXw8RqukTXlnjwGV Z2dOi+pr+iLn4vPMTgOjHlqHYOY+Fw+LFfy0eGipU38yT3nZhlQ31rsNf3X6DNHQ8N4ZP4JWQfo azTKXqmkvo9KhPB1EyU3x1F3/rlnS9RNBFqis1F5jfUByE3A4wy8b3SskCx6A7KcUmHThp5zZey +vSWFb21wO7P4/0EM4SrAxnaRrSZ3EcyxVjx5jJlX9gX43bj2stJbhNQXNUKbMAVvz1tlqf8xX3 GildL9Wcxj8bvNFfcGI6IrozJSx9uVjfA3xFZdHpjC6HD05/qSDT2Rts54sh8RhFhEGpir4fDaC gf3Yu6j3t9hhKWwwOaELcEKJw11d8RG23XGWH+voe9MnFlR3dGPlHvIAhq5lvkvvXNc0r9PLnj+ V4Qlq76yHruzbODm+mWzdVMIu3SBsg1YxnKVpDzMgR9XhgoI0DAS8Kl0elUIaSplgkIG+amxYMv ym9A5pI2M7JT22g== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B Device is a thermal sensor and it requires '#thermal-sensor-cells', so reference the thermal-sensor.yaml to simplify it and bring the common definition of '#thermal-sensor-cells' property. Signed-off-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/thermal/ti,j72xx-thermal.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/thermal/ti,j72xx-thermal.yaml b/Documentation/devicetree/bindings/thermal/ti,j72xx-thermal.yaml index 171b3622ed84..82b77b9795a3 100644 --- a/Documentation/devicetree/bindings/thermal/ti,j72xx-thermal.yaml +++ b/Documentation/devicetree/bindings/thermal/ti,j72xx-thermal.yaml @@ -22,6 +22,8 @@ description: | Temp(C) = (-9.2627e-12) * x^4 + (6.0373e-08) * x^3 + \ (-1.7058e-04) * x^2 + (3.2512e-01) * x + (-4.9003e+01) +$ref: thermal-sensor.yaml# + properties: compatible: enum: @@ -64,9 +66,8 @@ required: - compatible - reg - power-domains - - "#thermal-sensor-cells" -additionalProperties: false +unevaluatedProperties: false examples: - | From patchwork Fri Jun 14 09:46:20 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13698280 X-Patchwork-Delegate: geert@linux-m68k.org Received: from mail-ej1-f54.google.com (mail-ej1-f54.google.com [209.85.218.54]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 94E361A2576 for ; Fri, 14 Jun 2024 09:47:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.54 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718358444; cv=none; b=FUQhoMLeQ7trCKBQs74ImsTyx3ux3ErHkf0vRioZKLMffSFChjQ/890ruXQgUNhZ+bTKkLgIYWNNJt9bjkLK96yjCp5FjLMojjpnYv7G/BlRTtAnpIWoJY53UPRac0snqD0RvYx2j8QywJZlbIS1L3Af3NGjB5ueHVVJ9x8Oe2Y= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718358444; c=relaxed/simple; bh=cnRkmLQXvImOJ6clYhAxknZOfk4WOGw9WYVxljgJNd0=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=UCsB8IMmfS8HiZdv/aKZaIKv4MUm/B0XQ0ial1BXxHmmEG48z41yVt7zockW2uz74sHihvh2jMXG80mmt/a0a48xZOaiGYMDDv4CMPH1eMcsMvyUYsjhDXhAdgfEdRi8Uv9Qsus2zMOG2H+bQ3rPVj6J2UGd0kMhHcoVcq1+s2c= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=eGeEvKac; arc=none smtp.client-ip=209.85.218.54 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="eGeEvKac" Received: by mail-ej1-f54.google.com with SMTP id a640c23a62f3a-a6ef8bf500dso224525866b.0 for ; Fri, 14 Jun 2024 02:47:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1718358441; x=1718963241; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=uodfs//bjqrAe2qZ9kd84WsjVyMmGfcvrKfsL+16kuU=; b=eGeEvKacWKDsIaOGZx/25taQ/cS0TViiR7bo5u201IWmwfO9MXmtHLzQCRcGCA5IEL oFtAP93ZSYu0rC3OEAwKTsa/nkoQl0VhqqSiLnEsBMn2V+9Jjj8zcGRI+BXkdPAvWteQ F4l/ecrbqqfnIb9Z2IIYIkMG3vKXkQa3ruWPdFSr9gIi4axOnHhvM68Vdh1FmnMj9XbC wgUOc4Yq5KASi0GdpK4Ny8+geO3eXewrOKeIJ+yN4XrXUiIVjwYmt0IsLN2U0tPGLwMV YftWN+cJdddVeMI35v8DZ/XCJGq/a2LO8wPFgNeWGV6Witq3CiUZ5hkNvGwIc42ZKV0t FAHQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718358441; x=1718963241; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=uodfs//bjqrAe2qZ9kd84WsjVyMmGfcvrKfsL+16kuU=; b=wxSfF87El51ZX6fBnvWDRfffrE5xm42tarezcZifdXdUpPg6Io65eS9efcEo1VjOlq AM5P+Nnv8VQnj6p8o60Et8U3YXsWO/is7OV8ozdO4Bp4Bl4eAz2suwIIzv0ZVfwUESh+ UqGgo6JEdOayQpWOYPmHMC/RTnUlLbM4CUdiWBV2tvC0Upw/szU6jbqXp6TBhftqNLeJ ejPCaRSM/GU4ve/+/fctvuga1BU+xMrxSiHWOvc/JBQo8zlq2eqmRrqw/o6Yc7cKa7Tg hL1fbXrS8gudWKopHo032G1GaquGHPKAJhgdAXCVVue0Zdt67Q52eW86I6UNHAV6jBtZ 1cGQ== X-Forwarded-Encrypted: i=1; AJvYcCUHFQmdZ2MK44f/3ouDceEvy+vaa66nFUBdWG0Dd/EdNVR4sKYgn9SdLBavaWSytyYTYc3mHvUGZT3Nz6terlyDS1sA5xDVpSBUJ0mMJyUy114= X-Gm-Message-State: AOJu0YypL9u5yrmzoHt7XFwxP7RoLJynDUnDr+8WXc+XqgUckKXdhvR6 iWq0FADiRvW1Oi89CZskHcGzcEaAXI3XLj8Kt5QQpnBfiprxWAj0ShrSgDzWeq0= X-Google-Smtp-Source: AGHT+IFLXVZv5XBW+iKZMorDGOlMRZlD+plTHxN5ZcGaV4oaBUeSx4OwwCAW6apvsQZglLUiZLZZUA== X-Received: by 2002:a17:906:4c58:b0:a68:b49e:4745 with SMTP id a640c23a62f3a-a6f60de6279mr130459866b.70.1718358440945; Fri, 14 Jun 2024 02:47:20 -0700 (PDT) Received: from [127.0.1.1] ([78.10.206.163]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a6f56f9c84csm164966366b.222.2024.06.14.02.47.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Jun 2024 02:47:20 -0700 (PDT) From: Krzysztof Kozlowski Date: Fri, 14 Jun 2024 11:46:20 +0200 Subject: [PATCH 21/22] dt-bindings: thermal: simplify few bindings Precedence: bulk X-Mailing-List: linux-renesas-soc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240614-dt-bindings-thermal-allof-v1-21-30b25a6ae24e@linaro.org> References: <20240614-dt-bindings-thermal-allof-v1-0-30b25a6ae24e@linaro.org> In-Reply-To: <20240614-dt-bindings-thermal-allof-v1-0-30b25a6ae24e@linaro.org> To: Daniel Lezcano , Zhang Rui , Lukasz Luba , Rob Herring , Conor Dooley , Alim Akhtar , Guillaume La Roque , Krzysztof Kozlowski , Vasily Khoruzhick , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Anson Huang , Thierry Reding , Jonathan Hunter , Dmitry Baryshkov , Amit Kucheria , =?utf-8?q?Niklas_S=C3=B6derlund?= , Heiko Stuebner , Biju Das , Orson Zhai , Baolin Wang , Chunyan Zhang , Alexandre Torgue , Pascal Paillet , Keerthy , Broadcom internal kernel review list , Florian Fainelli , Scott Branden , zhanghongchen , Matthias Brugger , AngeloGioacchino Del Regno , Bjorn Andersson , Geert Uytterhoeven Cc: linux-pm@vger.kernel.org, linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-sunxi@lists.linux.dev, imx@lists.linux.dev, linux-tegra@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com, Florian Fainelli , linux-rpi-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=4876; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=cnRkmLQXvImOJ6clYhAxknZOfk4WOGw9WYVxljgJNd0=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmbBFyeLfiWLO3TcJQWHtxyb2jlsrVArsQc5HSM Zl8d/bpA9uJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZmwRcgAKCRDBN2bmhouD 14q/D/wPchU0i1VJXyIyken/BpDy3CFIoxfe1Lx6ww08lDDBl6vxpB0QaflHSCvUb6oJhYLx5XC KQWlbHOynfTXswZGltb7vmbxKtQZKkAuceB/+6DHHkHVvJSfygqXTpFwbERstRbVdvrkm0AAxn6 c6feUiuenfE5zkU/hdbvkKiJcodB6VehCGu6gcWyxCi66DbLYb2tZeACluumArIm7xZqfogg9CZ NAg8xL6WQwY+D0V4zDLageaphLcGdZNLe6M704GpS8vvp3MATTujqASLJDPu3+g5syhZR9Th/+4 ioQj88CRX4dOOOTFbMLjaHgPb9zbFwilrfsCSQFnjKZk3PoB1IPqoIiPE2hYrbONHxgOIRJfnY0 oYZ3dksGJEjv6eGF5a3+bWnW9RuFzW3l8M7VY6ZDfUQ1eRLSu8ZR2fCN455j6SSC3M/VioNDPi1 /NqNoR6pA2KvS5eSU5z/weJ1XMQk7n2xgL2nsrA38ni1ljmOC5Q2oS/jZIzbpHE3Tv6Ud1/DMHv XEJ4O/YuwHiNNigQ8l5CgZCER+b0tvL4jTWX2XrLXP7uN4zbEBz+fBrrtWY/5sCM++WwlYKpz09 VUQcTb1inEie1Ek8CxxovMd9HIe2vrwVJr8D4KDpvt2NCCwln+qHv5tRXUiDeHOwyyVMEf/34tB BEM3vs6dT6iX0RQ== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B Simplify few bindings which already reference thermal-sensor.yaml schema by dropping unneeded requiring of '#thermal-sensor-cells' and dropping assigned-clocks properties (core schema allows it if 'clocks' are there). Signed-off-by: Krzysztof Kozlowski Reviewed-by: AngeloGioacchino Del Regno --- Documentation/devicetree/bindings/thermal/brcm,avs-tmon.yaml | 1 - Documentation/devicetree/bindings/thermal/brcm,bcm2835-thermal.yaml | 1 - Documentation/devicetree/bindings/thermal/fsl,scu-thermal.yaml | 1 - Documentation/devicetree/bindings/thermal/loongson,ls2k-thermal.yaml | 1 - Documentation/devicetree/bindings/thermal/mediatek,lvts-thermal.yaml | 1 - .../devicetree/bindings/thermal/nvidia,tegra124-soctherm.yaml | 1 - Documentation/devicetree/bindings/thermal/nvidia,tegra30-tsensor.yaml | 4 ---- Documentation/devicetree/bindings/thermal/qcom,spmi-temp-alarm.yaml | 1 - 8 files changed, 11 deletions(-) diff --git a/Documentation/devicetree/bindings/thermal/brcm,avs-tmon.yaml b/Documentation/devicetree/bindings/thermal/brcm,avs-tmon.yaml index 267a0f423504..32730211e15b 100644 --- a/Documentation/devicetree/bindings/thermal/brcm,avs-tmon.yaml +++ b/Documentation/devicetree/bindings/thermal/brcm,avs-tmon.yaml @@ -42,7 +42,6 @@ additionalProperties: false required: - compatible - reg - - "#thermal-sensor-cells" examples: - | diff --git a/Documentation/devicetree/bindings/thermal/brcm,bcm2835-thermal.yaml b/Documentation/devicetree/bindings/thermal/brcm,bcm2835-thermal.yaml index 2b6026d9fbcf..ddf0f20e5285 100644 --- a/Documentation/devicetree/bindings/thermal/brcm,bcm2835-thermal.yaml +++ b/Documentation/devicetree/bindings/thermal/brcm,bcm2835-thermal.yaml @@ -34,7 +34,6 @@ required: - compatible - reg - clocks - - '#thermal-sensor-cells' examples: - | diff --git a/Documentation/devicetree/bindings/thermal/fsl,scu-thermal.yaml b/Documentation/devicetree/bindings/thermal/fsl,scu-thermal.yaml index e02d04d4f71e..ceef318668bf 100644 --- a/Documentation/devicetree/bindings/thermal/fsl,scu-thermal.yaml +++ b/Documentation/devicetree/bindings/thermal/fsl,scu-thermal.yaml @@ -28,7 +28,6 @@ properties: required: - compatible - - '#thermal-sensor-cells' additionalProperties: false diff --git a/Documentation/devicetree/bindings/thermal/loongson,ls2k-thermal.yaml b/Documentation/devicetree/bindings/thermal/loongson,ls2k-thermal.yaml index ca81c8afba79..79e691b08341 100644 --- a/Documentation/devicetree/bindings/thermal/loongson,ls2k-thermal.yaml +++ b/Documentation/devicetree/bindings/thermal/loongson,ls2k-thermal.yaml @@ -38,7 +38,6 @@ required: - compatible - reg - interrupts - - '#thermal-sensor-cells' if: properties: diff --git a/Documentation/devicetree/bindings/thermal/mediatek,lvts-thermal.yaml b/Documentation/devicetree/bindings/thermal/mediatek,lvts-thermal.yaml index 331cf4e662e3..0259cd3ce9c5 100644 --- a/Documentation/devicetree/bindings/thermal/mediatek,lvts-thermal.yaml +++ b/Documentation/devicetree/bindings/thermal/mediatek,lvts-thermal.yaml @@ -99,7 +99,6 @@ required: - resets - nvmem-cells - nvmem-cell-names - - "#thermal-sensor-cells" additionalProperties: false diff --git a/Documentation/devicetree/bindings/thermal/nvidia,tegra124-soctherm.yaml b/Documentation/devicetree/bindings/thermal/nvidia,tegra124-soctherm.yaml index b0237d236021..19bb1f324183 100644 --- a/Documentation/devicetree/bindings/thermal/nvidia,tegra124-soctherm.yaml +++ b/Documentation/devicetree/bindings/thermal/nvidia,tegra124-soctherm.yaml @@ -197,7 +197,6 @@ required: - clock-names - resets - reset-names - - "#thermal-sensor-cells" allOf: - $ref: thermal-sensor.yaml diff --git a/Documentation/devicetree/bindings/thermal/nvidia,tegra30-tsensor.yaml b/Documentation/devicetree/bindings/thermal/nvidia,tegra30-tsensor.yaml index 972d608ddf95..63a29a1f7fe6 100644 --- a/Documentation/devicetree/bindings/thermal/nvidia,tegra30-tsensor.yaml +++ b/Documentation/devicetree/bindings/thermal/nvidia,tegra30-tsensor.yaml @@ -48,10 +48,6 @@ properties: "#thermal-sensor-cells": const: 1 - assigned-clock-parents: true - assigned-clock-rates: true - assigned-clocks: true - required: - compatible - reg diff --git a/Documentation/devicetree/bindings/thermal/qcom,spmi-temp-alarm.yaml b/Documentation/devicetree/bindings/thermal/qcom,spmi-temp-alarm.yaml index 5f08b6e59b8a..30b22151aa82 100644 --- a/Documentation/devicetree/bindings/thermal/qcom,spmi-temp-alarm.yaml +++ b/Documentation/devicetree/bindings/thermal/qcom,spmi-temp-alarm.yaml @@ -42,7 +42,6 @@ required: - compatible - reg - interrupts - - '#thermal-sensor-cells' additionalProperties: false From patchwork Fri Jun 14 09:46:21 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13698281 X-Patchwork-Delegate: geert@linux-m68k.org Received: from mail-ej1-f50.google.com (mail-ej1-f50.google.com [209.85.218.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 201A6193086 for ; Fri, 14 Jun 2024 09:47:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.50 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718358448; cv=none; b=spaJLCYATce7jys2gqYmkXiiRvWORwvwul9+KbFs/IyZ098oUnqSXduGNKAcf0I2mozyQe8XKlO8DciTOVYfgiv0eSgl8BBNcqHTqY7Dev0dVSGO4oneV9v2glT36phVseHfnQ4i4LP7OnoD1P/hYYmUa4EZBx46uL2bOMt12js= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718358448; c=relaxed/simple; bh=PTWaCGHhxDG3JPho0JTkQVwDMdXBskC1S/cinQsqs34=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=q0cFgl6YDMl/OVISHO4OFXo8ZoXTdiF0/1X+E19YiI+n2q20qDAscaVjKBSQTZzBcPn1LeCkyNru4pEjGCONh6bD5Xxn/1sIAcUih3wfmKUL9BlNPkxbpeWdwepDOkqeFhA+vgSgcXgeTZYmCw3PJAdLfKFd6KCUTeFKHxbj+Os= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=n8RO82co; arc=none smtp.client-ip=209.85.218.50 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="n8RO82co" Received: by mail-ej1-f50.google.com with SMTP id a640c23a62f3a-a6f1dc06298so252003566b.1 for ; Fri, 14 Jun 2024 02:47:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1718358443; x=1718963243; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=R2gPriGbKHdVX74nqBWMkbblvztnZeI8q7lI51XJyjE=; b=n8RO82coUuSwayFApPgbCsc4AxTRvRPM2KrNVoqsg2+5oWaGsXBOs6kIVAhuWqwr4l zK9eD7w3RrIo4qBggVkwSRz9OBoYTQpjEazeKHiYwciezqMWD80n/w1Kn7lU0wF/DOhH hRR2t/0qDoMVb2S/8rhCsBhpUo2AU+vP2N7Pdp0BplGXqEHkE+1ZILau2emeFAfNN0d/ iwXKplDF1xRNHANBSLm4uIBMnXdUfB/XQLaBIX3qXMH7xPxGyYigDihxdNnUyIZRRclq IxFUOIJJnlSv4O2UdhNieCQ2GSzstFVzgMWEsNXhIJO6Ha6BCXIdellPxXCVcOWOr46M CsSg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718358443; x=1718963243; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=R2gPriGbKHdVX74nqBWMkbblvztnZeI8q7lI51XJyjE=; b=HKcyW6lr3n3SxeoI4pgKqLC/sbHAo8YRi8wOkP7i27MV9OooBagJIIjsWTDqDpK7zC 7xMqer0Iru1xUAKyFU/G47SLT8agiNJBT+jH8hIAJdMY52d9furQJfLdEfopHZbzY85L 3dmSOcyV8xe6L5xUoOxgVg7hSBHIXKqpCzCGHj5pltf7Vl/5j7SO73Z0Uo+9fTFbqrdJ oDKliBzlfJJk6Uo5pwcsO1K3B2ovT50TNikMnQWPbbhNwVHmSQ6fGm952gv+KmKmI+4Y pbWX/w9kzr7K+IYWZzrOOWvkj32ybRa8d8a8QKqD2s2SJmLcVCMF4Ig4938zvRYgnWzf ugjg== X-Forwarded-Encrypted: i=1; AJvYcCWpGpX6TSzo/ChSkbm+L8tjvGG1/uLQIAZ+daPuYrnEJYjgV8vqwREZWeQULw7clxw83xbBEvkFk1xsS6RcMdIg052irwrwrNVqyUTGhjWYZLk= X-Gm-Message-State: AOJu0YxAzSdO/mr6EalSLp7Lre65k97SNVTB9YS5D0a12j88i8FgTs6m plvutVntD/x5HgX2aPT38PktPkfnRTPhNi7ocEEib0r5zZilDcbdk+TEo0FjEwc= X-Google-Smtp-Source: AGHT+IEf3+S0MhgY0wukGRo771V3bdpj3ZA5SXQwPVRN2B+sO2RVirDXSDvX66hTXcXM0U1zEb/VKQ== X-Received: by 2002:a17:906:4f16:b0:a6e:f997:7d91 with SMTP id a640c23a62f3a-a6f60d42257mr139307566b.38.1718358443385; Fri, 14 Jun 2024 02:47:23 -0700 (PDT) Received: from [127.0.1.1] ([78.10.206.163]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a6f56f9c84csm164966366b.222.2024.06.14.02.47.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Jun 2024 02:47:22 -0700 (PDT) From: Krzysztof Kozlowski Date: Fri, 14 Jun 2024 11:46:21 +0200 Subject: [PATCH 22/22] dt-bindings: thermal: cleanup examples indentation Precedence: bulk X-Mailing-List: linux-renesas-soc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240614-dt-bindings-thermal-allof-v1-22-30b25a6ae24e@linaro.org> References: <20240614-dt-bindings-thermal-allof-v1-0-30b25a6ae24e@linaro.org> In-Reply-To: <20240614-dt-bindings-thermal-allof-v1-0-30b25a6ae24e@linaro.org> To: Daniel Lezcano , Zhang Rui , Lukasz Luba , Rob Herring , Conor Dooley , Alim Akhtar , Guillaume La Roque , Krzysztof Kozlowski , Vasily Khoruzhick , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Anson Huang , Thierry Reding , Jonathan Hunter , Dmitry Baryshkov , Amit Kucheria , =?utf-8?q?Niklas_S=C3=B6derlund?= , Heiko Stuebner , Biju Das , Orson Zhai , Baolin Wang , Chunyan Zhang , Alexandre Torgue , Pascal Paillet , Keerthy , Broadcom internal kernel review list , Florian Fainelli , Scott Branden , zhanghongchen , Matthias Brugger , AngeloGioacchino Del Regno , Bjorn Andersson , Geert Uytterhoeven Cc: linux-pm@vger.kernel.org, linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-sunxi@lists.linux.dev, imx@lists.linux.dev, linux-tegra@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com, Florian Fainelli , linux-rpi-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=21269; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=PTWaCGHhxDG3JPho0JTkQVwDMdXBskC1S/cinQsqs34=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmbBFzHrd9GOiKwbzJMror8sT+hnOlEceWGq75k 7UM0c1D222JAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZmwRcwAKCRDBN2bmhouD 1yuHEACQQW+ctgqsyxcNpgAHqwclHpTy68YBzjAnl4LzShLU/IKf0yY+RsTopyTrhoi2a8uqxym tb/2s73RE2G0GQGl6ovK2iXBnX57zoQHgEiM+npaJaO8VOeo7SqdNFVMogAV6tQqsJ1at1ApsyZ /Rsq7yRCQMOME6Fh7mGb6xsxi1vn1Pe0Pmx4FAHcDlZORtDY0q5uCrzuV5ox3hLALkNxy2gR5Cr SLzND16UJibYdb1DDPgARuC8T62okbBouAY/sxXbD1ri9KpKOpZTfq6tXSAwe7Uq16dVk5gMTZH pgz9p2yaqZ3YfQfLfClz44hpM5JFAHpK2OQaW8XDXDhcHASmA30A2JGeJjHAvt+E9157G2e5XGX vDOkH5TldhWe0Jf3WqfvqF7pJd4iQhNpBbqTglUIDZo7RnwYPyXsQqIQFVUMkp513EZQ513iQJk ImwdYUGZHbNyg642Bju3dWO6ydMpKIpRLinsMHViIFI0XOIa+GYqW5n9XrRo95RsEZAJBGiamw1 kztcCY3tAQVxMZCXBalUMhCJsldG+yK0kybQ42JUjgLYIP/pYJ6Gbl4FRdBTCwORdDwCufh4p5a J2cutoXsbGMslNy/H3IVMfdFi//qegvrgHFSYaxZlHeyvMtwjOw0yJvviRhsuBz//He4zuLCH8k 8ea1P+ZuXQH2j3w== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B Preferred indentation for DTS examples in the bindings is 4-space. It is also preferred not to have redundant/unused labels. No functional change Signed-off-by: Krzysztof Kozlowski --- .../bindings/thermal/amlogic,thermal.yaml | 18 ++--- .../bindings/thermal/brcm,avs-ro-thermal.yaml | 16 ++-- .../devicetree/bindings/thermal/brcm,avs-tmon.yaml | 16 ++-- .../devicetree/bindings/thermal/qcom-tsens.yaml | 88 ++++++++++------------ .../bindings/thermal/rcar-gen3-thermal.yaml | 64 ++++++++-------- .../devicetree/bindings/thermal/rcar-thermal.yaml | 60 +++++++-------- .../devicetree/bindings/thermal/rzg2l-thermal.yaml | 36 ++++----- .../devicetree/bindings/thermal/sprd-thermal.yaml | 42 +++++------ .../bindings/thermal/ti,am654-thermal.yaml | 10 +-- 9 files changed, 172 insertions(+), 178 deletions(-) diff --git a/Documentation/devicetree/bindings/thermal/amlogic,thermal.yaml b/Documentation/devicetree/bindings/thermal/amlogic,thermal.yaml index e52fc40e215d..725303e1a364 100644 --- a/Documentation/devicetree/bindings/thermal/amlogic,thermal.yaml +++ b/Documentation/devicetree/bindings/thermal/amlogic,thermal.yaml @@ -50,13 +50,13 @@ unevaluatedProperties: false examples: - | - cpu_temp: temperature-sensor@ff634800 { - compatible = "amlogic,g12a-cpu-thermal", - "amlogic,g12a-thermal"; - reg = <0xff634800 0x50>; - interrupts = <0x0 0x24 0x0>; - clocks = <&clk 164>; - #thermal-sensor-cells = <0>; - amlogic,ao-secure = <&sec_AO>; - }; + temperature-sensor@ff634800 { + compatible = "amlogic,g12a-cpu-thermal", + "amlogic,g12a-thermal"; + reg = <0xff634800 0x50>; + interrupts = <0x0 0x24 0x0>; + clocks = <&clk 164>; + #thermal-sensor-cells = <0>; + amlogic,ao-secure = <&sec_AO>; + }; ... diff --git a/Documentation/devicetree/bindings/thermal/brcm,avs-ro-thermal.yaml b/Documentation/devicetree/bindings/thermal/brcm,avs-ro-thermal.yaml index 0271a0bc1843..29a9844e8b48 100644 --- a/Documentation/devicetree/bindings/thermal/brcm,avs-ro-thermal.yaml +++ b/Documentation/devicetree/bindings/thermal/brcm,avs-ro-thermal.yaml @@ -35,14 +35,14 @@ unevaluatedProperties: false examples: - | - avs-monitor@7d5d2000 { - compatible = "brcm,bcm2711-avs-monitor", - "syscon", "simple-mfd"; - reg = <0x7d5d2000 0xf00>; + avs-monitor@7d5d2000 { + compatible = "brcm,bcm2711-avs-monitor", + "syscon", "simple-mfd"; + reg = <0x7d5d2000 0xf00>; - thermal: thermal { - compatible = "brcm,bcm2711-thermal"; - #thermal-sensor-cells = <0>; - }; + thermal: thermal { + compatible = "brcm,bcm2711-thermal"; + #thermal-sensor-cells = <0>; }; + }; ... diff --git a/Documentation/devicetree/bindings/thermal/brcm,avs-tmon.yaml b/Documentation/devicetree/bindings/thermal/brcm,avs-tmon.yaml index 32730211e15b..081486b44382 100644 --- a/Documentation/devicetree/bindings/thermal/brcm,avs-tmon.yaml +++ b/Documentation/devicetree/bindings/thermal/brcm,avs-tmon.yaml @@ -45,11 +45,11 @@ required: examples: - | - thermal@f04d1500 { - compatible = "brcm,avs-tmon-bcm7445", "brcm,avs-tmon"; - reg = <0xf04d1500 0x28>; - interrupts = <0x6>; - interrupt-names = "tmon"; - interrupt-parent = <&avs_host_l2_intc>; - #thermal-sensor-cells = <0>; - }; + thermal@f04d1500 { + compatible = "brcm,avs-tmon-bcm7445", "brcm,avs-tmon"; + reg = <0xf04d1500 0x28>; + interrupts = <0x6>; + interrupt-names = "tmon"; + interrupt-parent = <&avs_host_l2_intc>; + #thermal-sensor-cells = <0>; + }; diff --git a/Documentation/devicetree/bindings/thermal/qcom-tsens.yaml b/Documentation/devicetree/bindings/thermal/qcom-tsens.yaml index cce6624228c7..01f9f45b94c2 100644 --- a/Documentation/devicetree/bindings/thermal/qcom-tsens.yaml +++ b/Documentation/devicetree/bindings/thermal/qcom-tsens.yaml @@ -295,22 +295,16 @@ unevaluatedProperties: false examples: - | #include - // Example msm9860 based SoC (ipq8064): - gcc: clock-controller { + thermal-sensor { + compatible = "qcom,ipq8064-tsens"; - /* ... */ + nvmem-cells = <&tsens_calib>, <&tsens_calib_backup>; + nvmem-cell-names = "calib", "calib_backup"; + interrupts = ; + interrupt-names = "uplow"; - tsens: thermal-sensor { - compatible = "qcom,ipq8064-tsens"; - - nvmem-cells = <&tsens_calib>, <&tsens_calib_backup>; - nvmem-cell-names = "calib", "calib_backup"; - interrupts = ; - interrupt-names = "uplow"; - - #qcom,sensors = <11>; - #thermal-sensor-cells = <1>; - }; + #qcom,sensors = <11>; + #thermal-sensor-cells = <1>; }; - | @@ -347,66 +341,66 @@ examples: #include // Example 1 (legacy: for pre v1 IP): tsens1: thermal-sensor@4a9000 { - compatible = "qcom,msm8916-tsens", "qcom,tsens-v0_1"; - reg = <0x4a9000 0x1000>, /* TM */ - <0x4a8000 0x1000>; /* SROT */ + compatible = "qcom,msm8916-tsens", "qcom,tsens-v0_1"; + reg = <0x4a9000 0x1000>, /* TM */ + <0x4a8000 0x1000>; /* SROT */ - nvmem-cells = <&tsens_caldata>, <&tsens_calsel>; - nvmem-cell-names = "calib", "calib_sel"; + nvmem-cells = <&tsens_caldata>, <&tsens_calsel>; + nvmem-cell-names = "calib", "calib_sel"; - interrupts = ; - interrupt-names = "uplow"; + interrupts = ; + interrupt-names = "uplow"; - #qcom,sensors = <5>; - #thermal-sensor-cells = <1>; + #qcom,sensors = <5>; + #thermal-sensor-cells = <1>; }; - | #include // Example 2 (for any platform containing v1 of the TSENS IP): tsens2: thermal-sensor@4a9000 { - compatible = "qcom,qcs404-tsens", "qcom,tsens-v1"; - reg = <0x004a9000 0x1000>, /* TM */ - <0x004a8000 0x1000>; /* SROT */ + compatible = "qcom,qcs404-tsens", "qcom,tsens-v1"; + reg = <0x004a9000 0x1000>, /* TM */ + <0x004a8000 0x1000>; /* SROT */ - nvmem-cells = <&tsens_caldata>; - nvmem-cell-names = "calib"; + nvmem-cells = <&tsens_caldata>; + nvmem-cell-names = "calib"; - interrupts = ; - interrupt-names = "uplow"; + interrupts = ; + interrupt-names = "uplow"; - #qcom,sensors = <10>; - #thermal-sensor-cells = <1>; + #qcom,sensors = <10>; + #thermal-sensor-cells = <1>; }; - | #include // Example 3 (for any platform containing v2 of the TSENS IP): tsens3: thermal-sensor@c263000 { - compatible = "qcom,sdm845-tsens", "qcom,tsens-v2"; - reg = <0xc263000 0x1ff>, - <0xc222000 0x1ff>; + compatible = "qcom,sdm845-tsens", "qcom,tsens-v2"; + reg = <0xc263000 0x1ff>, + <0xc222000 0x1ff>; - interrupts = , - ; - interrupt-names = "uplow", "critical"; + interrupts = , + ; + interrupt-names = "uplow", "critical"; - #qcom,sensors = <13>; - #thermal-sensor-cells = <1>; + #qcom,sensors = <13>; + #thermal-sensor-cells = <1>; }; - | #include // Example 4 (for any IPQ8074 based SoC-s): tsens4: thermal-sensor@4a9000 { - compatible = "qcom,ipq8074-tsens"; - reg = <0x4a9000 0x1000>, - <0x4a8000 0x1000>; + compatible = "qcom,ipq8074-tsens"; + reg = <0x4a9000 0x1000>, + <0x4a8000 0x1000>; - interrupts = ; - interrupt-names = "combined"; + interrupts = ; + interrupt-names = "combined"; - #qcom,sensors = <16>; - #thermal-sensor-cells = <1>; + #qcom,sensors = <16>; + #thermal-sensor-cells = <1>; }; ... diff --git a/Documentation/devicetree/bindings/thermal/rcar-gen3-thermal.yaml b/Documentation/devicetree/bindings/thermal/rcar-gen3-thermal.yaml index d92e882c9e8d..b6657d64cf3d 100644 --- a/Documentation/devicetree/bindings/thermal/rcar-gen3-thermal.yaml +++ b/Documentation/devicetree/bindings/thermal/rcar-gen3-thermal.yaml @@ -106,33 +106,33 @@ examples: #include tsc: thermal@e6198000 { - compatible = "renesas,r8a7795-thermal"; - reg = <0xe6198000 0x100>, - <0xe61a0000 0x100>, - <0xe61a8000 0x100>; - interrupts = , - , - ; - clocks = <&cpg CPG_MOD 522>; - power-domains = <&sysc R8A7795_PD_ALWAYS_ON>; - resets = <&cpg 522>; - #thermal-sensor-cells = <1>; + compatible = "renesas,r8a7795-thermal"; + reg = <0xe6198000 0x100>, + <0xe61a0000 0x100>, + <0xe61a8000 0x100>; + interrupts = , + , + ; + clocks = <&cpg CPG_MOD 522>; + power-domains = <&sysc R8A7795_PD_ALWAYS_ON>; + resets = <&cpg 522>; + #thermal-sensor-cells = <1>; }; thermal-zones { - sensor_thermal: sensor-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsc 0>; + sensor_thermal: sensor-thermal { + polling-delay-passive = <250>; + polling-delay = <1000>; + thermal-sensors = <&tsc 0>; - trips { - sensor1_crit: sensor1-crit { - temperature = <90000>; - hysteresis = <2000>; - type = "critical"; - }; - }; + trips { + sensor1_crit: sensor1-crit { + temperature = <90000>; + hysteresis = <2000>; + type = "critical"; + }; }; + }; }; - | #include @@ -140,14 +140,14 @@ examples: #include tsc_r8a779a0: thermal@e6190000 { - compatible = "renesas,r8a779a0-thermal"; - reg = <0xe6190000 0x200>, - <0xe6198000 0x200>, - <0xe61a0000 0x200>, - <0xe61a8000 0x200>, - <0xe61b0000 0x200>; - clocks = <&cpg CPG_MOD 919>; - power-domains = <&sysc R8A779A0_PD_ALWAYS_ON>; - resets = <&cpg 919>; - #thermal-sensor-cells = <1>; + compatible = "renesas,r8a779a0-thermal"; + reg = <0xe6190000 0x200>, + <0xe6198000 0x200>, + <0xe61a0000 0x200>, + <0xe61a8000 0x200>, + <0xe61b0000 0x200>; + clocks = <&cpg CPG_MOD 919>; + power-domains = <&sysc R8A779A0_PD_ALWAYS_ON>; + resets = <&cpg 919>; + #thermal-sensor-cells = <1>; }; diff --git a/Documentation/devicetree/bindings/thermal/rcar-thermal.yaml b/Documentation/devicetree/bindings/thermal/rcar-thermal.yaml index 119998d10ff4..221a58d18cad 100644 --- a/Documentation/devicetree/bindings/thermal/rcar-thermal.yaml +++ b/Documentation/devicetree/bindings/thermal/rcar-thermal.yaml @@ -98,8 +98,8 @@ examples: # Example (non interrupt support) - | thermal@ffc48000 { - compatible = "renesas,thermal-r8a7779", "renesas,rcar-thermal"; - reg = <0xffc48000 0x38>; + compatible = "renesas,thermal-r8a7779", "renesas,rcar-thermal"; + reg = <0xffc48000 0x38>; }; # Example (interrupt support) @@ -109,12 +109,12 @@ examples: #include thermal@e61f0000 { - compatible = "renesas,thermal-r8a73a4", "renesas,rcar-thermal"; - reg = <0xe61f0000 0x14>, <0xe61f0100 0x38>, - <0xe61f0200 0x38>, <0xe61f0300 0x38>; - interrupts = ; - clocks = <&mstp5_clks R8A73A4_CLK_THERMAL>; - power-domains = <&pd_c5>; + compatible = "renesas,thermal-r8a73a4", "renesas,rcar-thermal"; + reg = <0xe61f0000 0x14>, <0xe61f0100 0x38>, + <0xe61f0200 0x38>, <0xe61f0300 0x38>; + interrupts = ; + clocks = <&mstp5_clks R8A73A4_CLK_THERMAL>; + power-domains = <&pd_c5>; }; # Example (with thermal-zone) @@ -124,32 +124,32 @@ examples: #include thermal: thermal@e61f0000 { - compatible = "renesas,thermal-r8a7790", - "renesas,rcar-gen2-thermal", - "renesas,rcar-thermal"; - reg = <0xe61f0000 0x10>, <0xe61f0100 0x38>; - interrupts = ; - clocks = <&cpg CPG_MOD 522>; - power-domains = <&sysc R8A7790_PD_ALWAYS_ON>; - resets = <&cpg 522>; - #thermal-sensor-cells = <0>; + compatible = "renesas,thermal-r8a7790", + "renesas,rcar-gen2-thermal", + "renesas,rcar-thermal"; + reg = <0xe61f0000 0x10>, <0xe61f0100 0x38>; + interrupts = ; + clocks = <&cpg CPG_MOD 522>; + power-domains = <&sysc R8A7790_PD_ALWAYS_ON>; + resets = <&cpg 522>; + #thermal-sensor-cells = <0>; }; thermal-zones { - cpu_thermal: cpu-thermal { - polling-delay-passive = <1000>; - polling-delay = <5000>; + cpu_thermal: cpu-thermal { + polling-delay-passive = <1000>; + polling-delay = <5000>; - thermal-sensors = <&thermal>; + thermal-sensors = <&thermal>; - trips { - cpu-crit { - temperature = <115000>; - hysteresis = <0>; - type = "critical"; - }; - }; - cooling-maps { - }; + trips { + cpu-crit { + temperature = <115000>; + hysteresis = <0>; + type = "critical"; + }; }; + cooling-maps { + }; + }; }; diff --git a/Documentation/devicetree/bindings/thermal/rzg2l-thermal.yaml b/Documentation/devicetree/bindings/thermal/rzg2l-thermal.yaml index 2f96c0fe0f75..136589f5adee 100644 --- a/Documentation/devicetree/bindings/thermal/rzg2l-thermal.yaml +++ b/Documentation/devicetree/bindings/thermal/rzg2l-thermal.yaml @@ -53,27 +53,27 @@ examples: #include tsu: thermal@10059400 { - compatible = "renesas,r9a07g044-tsu", - "renesas,rzg2l-tsu"; - reg = <0x10059400 0x400>; - clocks = <&cpg CPG_MOD R9A07G044_TSU_PCLK>; - resets = <&cpg R9A07G044_TSU_PRESETN>; - power-domains = <&cpg>; - #thermal-sensor-cells = <1>; + compatible = "renesas,r9a07g044-tsu", + "renesas,rzg2l-tsu"; + reg = <0x10059400 0x400>; + clocks = <&cpg CPG_MOD R9A07G044_TSU_PCLK>; + resets = <&cpg R9A07G044_TSU_PRESETN>; + power-domains = <&cpg>; + #thermal-sensor-cells = <1>; }; thermal-zones { - cpu-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsu 0>; + cpu-thermal { + polling-delay-passive = <250>; + polling-delay = <1000>; + thermal-sensors = <&tsu 0>; - trips { - sensor_crit: sensor-crit { - temperature = <125000>; - hysteresis = <1000>; - type = "critical"; - }; - }; + trips { + sensor_crit: sensor-crit { + temperature = <125000>; + hysteresis = <1000>; + type = "critical"; + }; }; + }; }; diff --git a/Documentation/devicetree/bindings/thermal/sprd-thermal.yaml b/Documentation/devicetree/bindings/thermal/sprd-thermal.yaml index f65076fc68f9..afa551f6185f 100644 --- a/Documentation/devicetree/bindings/thermal/sprd-thermal.yaml +++ b/Documentation/devicetree/bindings/thermal/sprd-thermal.yaml @@ -86,27 +86,27 @@ unevaluatedProperties: false examples: - | - ap_thm0: thermal@32200000 { - compatible = "sprd,ums512-thermal"; - reg = <0x32200000 0x10000>; - clock-names = "enable"; - clocks = <&aonapb_gate 32>; - #thermal-sensor-cells = <1>; - nvmem-cells = <&thm0_sign>, <&thm0_ratio>; - nvmem-cell-names = "thm_sign_cal", "thm_ratio_cal"; - #address-cells = <1>; - #size-cells = <0>; + thermal@32200000 { + compatible = "sprd,ums512-thermal"; + reg = <0x32200000 0x10000>; + clock-names = "enable"; + clocks = <&aonapb_gate 32>; + #thermal-sensor-cells = <1>; + nvmem-cells = <&thm0_sign>, <&thm0_ratio>; + nvmem-cell-names = "thm_sign_cal", "thm_ratio_cal"; + #address-cells = <1>; + #size-cells = <0>; - prometheus-sensor@0 { - reg = <0>; - nvmem-cells = <&thm0_sen0>; - nvmem-cell-names = "sen_delta_cal"; - }; - - ank-sensor@1 { - reg = <1>; - nvmem-cells = <&thm0_sen1>; - nvmem-cell-names = "sen_delta_cal"; - }; + prometheus-sensor@0 { + reg = <0>; + nvmem-cells = <&thm0_sen0>; + nvmem-cell-names = "sen_delta_cal"; }; + + ank-sensor@1 { + reg = <1>; + nvmem-cells = <&thm0_sen1>; + nvmem-cell-names = "sen_delta_cal"; + }; + }; ... diff --git a/Documentation/devicetree/bindings/thermal/ti,am654-thermal.yaml b/Documentation/devicetree/bindings/thermal/ti,am654-thermal.yaml index 16801aa78bc2..c123d9070525 100644 --- a/Documentation/devicetree/bindings/thermal/ti,am654-thermal.yaml +++ b/Documentation/devicetree/bindings/thermal/ti,am654-thermal.yaml @@ -47,11 +47,11 @@ examples: thermal-sensors = <&vtm0 0>; trips { - mpu0_crit: mpu0_crit { - temperature = <125000>; /* milliCelsius */ - hysteresis = <2000>; /* milliCelsius */ - type = "critical"; - }; + mpu0_crit: mpu0_crit { + temperature = <125000>; /* milliCelsius */ + hysteresis = <2000>; /* milliCelsius */ + type = "critical"; + }; }; }; ...