From nobody Thu Sep 19 23:03:11 2024 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 DB58D194143 for ; Fri, 14 Jun 2024 09:46:34 +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=1718358396; cv=none; b=OB5RQyDnyATud7n01Uk30tBEzOKB5K7IngyWIrO0121gM/mvhzbnwdrOx6CcwthTCr3KlfYJn8osk1kVbIapgeZ9JabZiit3incBtqdq1vVCzccSRlhNqZgPnX/RiUBLh5CYejM32Ln5iCKFBff+hljmxug1LtHHrZEqAsxU/ZU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718358396; c=relaxed/simple; bh=o/ohlTOc9KfTRaCPoCM7PQRM1DXdEoNuRz6NEcHjNQU=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=c1Tkbl+9o1o5VLlCUwuvrl+ZEsy6gNzbHxONKIFwifQ8TWdOLnE0nMtgprsjzpU5/CZyJlABbZQ7jrOmGlQ+UIyLMUMl2SqhAu73UAaecNba2Qg11Nm++NxtxNx4i6HWsVr5Xwk4SjWz6MwLU1Wkf16BfQvvP87OT6pWseyogjA= 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.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="V95a36Pk" Received: by mail-ej1-f45.google.com with SMTP id a640c23a62f3a-a68b41ef3f6so230771066b.1 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=Ad2exosVU6agI0Z+5kOJBR9Bngu61q7OKqBoWXvxR93qoKHMfoQx08hpWHkBAVJRv0 kLb2gkHtb5A5TlkXAAR9iY2yOxRoB0p9nBTYRVw9OXaimhfDrY7kA2TeRl/qqQ7VZkyi g0xnYkkzRmZ3L5jkWJkqRZj87gDG163i13HQcLhVKHugm6WiTGH4coiGkn8S1fLNlnCx sVN4+vqF/9PbksP68jaO+hM7d52Nm0x3i04y5FxsN9eWVB+SoSQwVgcE4GFknwy85w6t 7Spe8UgCwK5w4Lgl++GWM6bXFqXba+LkjAufYaLfVfAyCpmQtK9pyRveYuAKB1bG8BH+ xohQ== X-Forwarded-Encrypted: i=1; AJvYcCX+zYWA3aoNUbgA2OzQ4X7ORWLgPCbYByyCyN6z+WVwvlRzLsFQUMAg1SZO6kjGT/R+q0K9G2ivsnZwm+1C9JGsIfveQwMpgXUZGpdM X-Gm-Message-State: AOJu0Yw2yZQksgBa0caujN/kSdBYh8LU+4NZT8MH/yNW47FC3+73Eysf IIlxZbP1P5Qj5AE3UdlB+DTGzcby//2kKIAfVBKi+pGPX0W71LLLy3ToC5Q5ZiU= 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-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable 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 Acked-by: Conor Dooley --- 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-therm= al.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 =20 - '#thermal-sensor-cells': true + '#thermal-sensor-cells': + const: 0 =20 vtmu-supply: description: The regulator node supplying voltage to TMU. --=20 2.43.0 From nobody Thu Sep 19 23:03:11 2024 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 397B4194AD8 for ; Fri, 14 Jun 2024 09:46:37 +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=1718358399; cv=none; b=BII8kc5x065cv0Jj0c6rCsQmm0W6OJ772dka9yJpIX44gE4Uw4eZ4+fd045e2f0ScYi/ShicaPIU0MAyH+Xd7WrFv8Bj2OsVnqkgl/UT0TENbYYCa2cYd4Xz8ZyqKxwDmLyHAhyJNFeckvuWwil2JTNfVnrM7mZZKxvoSmmd4BU= 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.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="Qhb+Iroa" Received: by mail-ej1-f49.google.com with SMTP id a640c23a62f3a-a6f13dddf7eso258491166b.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=PPSWj3Z2pgWdpLy1fADy+s5IQz4LmaCFVjNI+2xPgSDnLlZ7ReWBHPPhhTBJD6iavF u9XHl47wlHdpZAONhOiKJMGqGGyX4hbVpkTCpK1G58URg3hcf1LxsGRY0hCgaJsCOoOs oyIBehhUYDVuAmBvItNdf1IzezNBvWqaacgKoWaEVWSuJVrASsup0eSK39HSsIEOpuea G+kt8MlB6TYNacwdA4Yk15fHZDeFS/I2cdqrseRx2zNcdDnT5G2sS57A8+4UvoUsTDSj RI+llSHbBqnfq5muE6Vd1zm0TWYi922vnwYO9qJLLqXAouQUOQov/NZyyCJMIoz2c0Q9 GPGA== X-Forwarded-Encrypted: i=1; AJvYcCWxaYT/ODZRBce+6KmTa5/bTKggw/qHFj0X47UDht8AH7d4qyNd39giWX3iIvDLE4iRpSQXrRH2qfO7fauf4aBr2g2AyjIWJFsOL0Zw X-Gm-Message-State: AOJu0YyX9CrPOH6li3OUO+NGQti4c+igWg1e7A/8eO16NNMzpKXcQ+kZ W75VEaHygehL8/OtlQ/t+pP1BniAObGKP9vFOf05rMfZgJEsWA2NrIHWXZPDXco= 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-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable 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 Acked-by: Conor Dooley Reviewed-by: Guillaume LA ROQUE 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: =20 description: Binding for Amlogic Thermal =20 +$ref: thermal-sensor.yaml# + properties: compatible: oneOf: @@ -44,7 +46,7 @@ required: - clocks - amlogic,ao-secure =20 -additionalProperties: false +unevaluatedProperties: false =20 examples: - | --=20 2.43.0 From nobody Thu Sep 19 23:03:11 2024 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 9BD5319539F for ; Fri, 14 Jun 2024 09:46:39 +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=1718358401; cv=none; b=HbZOGHypG/to41nU7NYcfmvSp1x12P9qQbH+AwCRwVnWwciiY6TafuCITO+vPAHtxBQKNv3qQSOyWv7JlPV9vdfTLlJAit8nVdRYzm5FnsX5KPhQfoIQJYPGrbLk5omHhr85YbUCyYAeHtQfzUfe/AOoqFXEiNccPdIyHo/cFnU= 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.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="StGGsJ3I" Received: by mail-ej1-f42.google.com with SMTP id a640c23a62f3a-a6f13dddf7eso258495266b.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=a/hK5T3qEZaoTlcX7aT30DkurE3MGT8cHfKtPfojXC7dSHdoEufWpuWU4E9t+90CBv 1HiYQv7scbmHIoNTwtHEjHiD7OQtO+TQsWy0SSBoLB1oOZL1OJ66swS3vn4B/iT4qVKG 4qMny/0JtpJABJLZt4g2iK3dL2NK83FQvfgIH53udCO1BrqOU43TU7CnBBqp3OoBdKo1 OnWxPdUBkrECtcpELGy1C2U10qXsIOAUcvMOW0cl38IPMn4g78XopTLfDnfLZcRJWdKz fFXcfCF/Ae5mLvnPj1ekLdggqYJM8hotWRI2pcCAk1wXXhv3E8CYprYULqC2Mpy+MMz1 waMw== X-Forwarded-Encrypted: i=1; AJvYcCVwcMjvWSN8Fj05H7JdVnnbj8RgAyC5AHtA9EHuVF2PNnHzy+dGE5b9G9ZeUf9kJsvji06C8FS4ojvHd0KJhJyxS4EVPHSEW0WdlprX X-Gm-Message-State: AOJu0YwQfW3LXmB1Z6/JBLoUYaewaFOfOYLsiXadeEX+q4ycm0AAfvUA bJIWrfsSyjWA6J8L/y1Bnto+AJ9HWLhq4t91fBMrnEcc3AxCLmu5OudDOkTw+XU= 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-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable 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 Acked-by: Chen-Yu Tsai Acked-by: Conor Dooley Reviewed-by: Vasily Khoruzhick --- .../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.ya= ml +++ b/Documentation/devicetree/bindings/thermal/allwinner,sun8i-a83t-ths.ya= ml @@ -10,6 +10,8 @@ maintainers: - Vasily Khoruzhick - Yangtao Li =20 +$ref: thermal-sensor.yaml# + properties: compatible: enum: @@ -55,7 +57,6 @@ properties: maxItems: 1 description: phandle to device controlling temperate offset SYS_CFG re= gister =20 - # 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' =20 -additionalProperties: false +unevaluatedProperties: false =20 examples: - | --=20 2.43.0 From nobody Thu Sep 19 23:03:11 2024 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 CE9D119596D for ; Fri, 14 Jun 2024 09:46:41 +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=1718358404; cv=none; b=A5P/C/xveyONIxiZ4NKzdz828IrfGjCEK4eKUGTeLOVWMpPqkqSMxfi6884/g4dFH/TQtB7YB346S15fnonOxN0ENjZIIxauMtTwYLf4TMKlferbjh8D64+Zhgm8MzokwEkD3pqGdPNzMkJMcCqx8JO6/94DiLeRgmIitJux/AM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718358404; 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=QG8GRYTv3ruf551cMKuooBH1UsCnR3QAEFbGygBHYG5pAMbN6M9kZLjmmpN0ymtaR/oSNFaRSzhsm5PWMmniamp2qwfMvXZeRhnCHzvctmbkqS7oqp/o+s8ECB83/rsezMtTZ5kyYxMqIb8z9P3o/iMq8vJF2hHjQ6gO3QGusB8= 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.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="DmbKDmIE" Received: by mail-ej1-f52.google.com with SMTP id a640c23a62f3a-a689ad8d1f6so260937066b.2 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=wBJEh6sb+jPmJGaGaCz/quF4PC6gVNxh41PNa5jUaOc2I1RdZr/Ydew9acfEAEzepz soj9c+5TlJ3p0klNvtbSewAoyeo5clEhCIedKg2uiRpk2NDFQKXYVW6Teo+AqavDTrkr 7H0+9vOeQIMGpOI7rJ1ixdVn75TYjDfmbuS1L7fo4HVFTg2bYJwklD4t2AhxdwwnWI2M dxwslOzGPjFEgPR3qxcMsaOfVxSP8OQx7SONgmHg+ChBQssxCzQYpZkBEa6k1lhqZxqe BcSt1tHb0TfDZLjNbICliftS6ohry4SLnGdiic/dh59pdsmtS894XKAhaYlUpGVjJN4y Tohw== X-Forwarded-Encrypted: i=1; AJvYcCV6lDeGujMtsPqMlRqGpJr753Y1+sJGsV0DWa1cGNLi0lrB+X0C0cb9LQs+qLghr9IupoE+F3IzOIHSQh8qWC95iJMrJptwFKjkZrd9 X-Gm-Message-State: AOJu0Yxjc1WG0b7xAIKkQb8tnsedT7lFwQ02vmynTS0GN2I2kdbv2nqH WgM5lvejwrzbcnnVlqKxG6iEqxDf34J1g0aKH8Vv/zFVUQi9GdPXXgIATxM4mPs= 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-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable 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: Conor Dooley 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 =20 +$ref: thermal-sensor.yaml# + properties: compatible: const: brcm,bcm2711-thermal =20 - # See Documentation/devicetree/bindings/thermal/thermal-sensor.yaml for = details "#thermal-sensor-cells": const: 0 =20 required: - compatible - - '#thermal-sensor-cells' =20 -additionalProperties: false +unevaluatedProperties: false =20 examples: - | --=20 2.43.0 From nobody Thu Sep 19 23:03:11 2024 Received: from mail-ej1-f51.google.com (mail-ej1-f51.google.com [209.85.218.51]) (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 6C133195FF1 for ; Fri, 14 Jun 2024 09:46:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.51 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718358406; cv=none; b=Sozm/NyPCVkqJ2PR56VIBqKqN1dRKh+UFog2Lc9rW5Oe2dS56LGsa6mUaNErJBx3GjZVEKtKbE9eaB3xRnGc7B2I1pjpp0fbfNfhT+tnzRKkzdtIIj/yxAc58KeWp18hM8XvvyeQJV0MRi3HFg8x81KWTGQOA1Ul9nuxtV6xbnk= 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.51 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-f51.google.com with SMTP id a640c23a62f3a-a6267778b3aso196311466b.3 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=lkEtDpOEz7t7+CSfVgOpNQCmwT9Or7RDm6U/E8c3lqz3LbSFDdjsy+GEJ6Z+Q+fYDm fy/T+KhgJCNAHe3PdbQjdAuLHTJpMfs5QsiIoHhEPeBE9edUH/zpVwneYDAAfs21VEvU lWKQddIZPs5EQ5Cnm/OUd35bcUG6kWc58C1PwCTP2b0hj7keIOFQaYSKHX/WxKMF7iFQ mvXblawMmisTOe5oN6FaPgzCG5SzqSl1WcGjKUxF+99Rw7hnyPiWP3y1bbTbdR8iHfsj c/xMoXUjgMQAtjLAeDxmWV9ZDwhuA9n87KglSzhZ1oEHmqW7Py54RwwOrlqKwu1WjC/a JG2w== X-Forwarded-Encrypted: i=1; AJvYcCUHMwIpRZTjjIcQwmn8XjgqQdKmbAFxy55Sjh3U7cuoO6bNmwc+e6TZE2DCYdSAiSvWbTFRNKW6b6rPGB6UmPVvEG8GHWFf5fVddooP X-Gm-Message-State: AOJu0YwIAUZubu4rW97BJV+ZT1a5xh28ypneX5/txa4sWldFIJgrJngM D23t0jeYrYPmoBXFy91+6AdNoqOtRz4jd9dohSVtwXlfcOoiEW681lbm/nLw1LM= 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-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable 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 Acked-by: Conor Dooley --- 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. =20 +$ref: thermal-sensor.yaml# + properties: compatible: const: generic-adc-thermal @@ -44,11 +46,10 @@ properties: =20 required: - compatible - - '#thermal-sensor-cells' - io-channels - io-channel-names =20 -additionalProperties: false +unevaluatedProperties: false =20 examples: - | --=20 2.43.0 From nobody Thu Sep 19 23:03:11 2024 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 DF5EA197A7E for ; Fri, 14 Jun 2024 09:46:46 +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=1718358409; cv=none; b=MrjNV6wwWTaZhvxo2YSdihDDYt6oXKpLzQdB9fOgqqUx9xPuS0qQKwTLw7d9xIZvABdeUF4dFiyzvAMZV/DwWSkjPc3FhyeZ/K8OCk19zHo5jd49WE8UF26SFroSISyzYb8ta1qSPRa4EkVLuMrEk1O2l3xLOoiqn2cjbc7BbgY= 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.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="v1jggcHM" Received: by mail-ej1-f45.google.com with SMTP id a640c23a62f3a-a6f1c4800easo253545766b.3 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=hKUHe2trRnBVYrXCgklE5j5Z0WbVSkUh7FKB3I9mbVeQCaAxRqckiH40/istZiUleI 1sRZ7YfaY2XSKM2cxSDc66+x4qir4OFomrw0SpTYABxbcG6X8s7Jz22zoCqN4lyrJsp9 7YIPh4Tm1NXTEdn6fgI17nggBWmwJ0B2cmPpt6siCdF8N5miT1P05Km6FAVRM0eYSOMY 5kzg7ClM3c/71FQUK6MadWgZgf+thwdXigzW5Qcm0m+VbNT1omIbh1GKWLTksN0YelCL tBAAqArlEO8Lc8FZQxhqOfjQgneCogFnBBkQ8y02LD+Uv3gKTE1Cc6IbexXqSPjQ3CqI keKQ== X-Forwarded-Encrypted: i=1; AJvYcCWIcR5h85oGhb17VNMbbAzUxezGWGupeSbJZfarLJ5kDl49wtIzb2CaG/KANKJQsd6oDIeNcMib3MnpjMRHW+9kDdBt8j6s6w4Adusr X-Gm-Message-State: AOJu0Yx+P5DEagNQPMv1E6rPTHTZPaL//b4u60ilZeuRpXrl+n7/Mpm0 RSwJZhe1nv9GIbIYDD7fH9h84TmYcpZlTGPJX9UBPUkbZl/dFrNDyN3j8eCBt9I= 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-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable 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 Acked-by: Conor Dooley --- 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. =20 +$ref: thermal-sensor.yaml# + properties: compatible: oneOf: @@ -51,9 +53,8 @@ required: - compatible - reg - clocks - - '#thermal-sensor-cells' =20 -additionalProperties: false +unevaluatedProperties: false =20 examples: - | --=20 2.43.0 From nobody Thu Sep 19 23:03:11 2024 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 3B7CA1990AC for ; Fri, 14 Jun 2024 09:46:49 +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=1718358411; cv=none; b=PBjJwR6weB6o7XGb4o1jYqmXfGpzFB27SZawnYzkIQ8pyZMfizz2UgU1/4x4zhaBRIKIeOoSCK0Dvn7frrVSRQAbD8HWtWcO8Xo1rDaE4iKmIE9oBB2nktYIYLmrNck5k661IyPD8NB8JIhmcTPLYTF0kWHMpj0fc7cqxaz2waw= 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.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="df5Vo1oR" Received: by mail-ej1-f47.google.com with SMTP id a640c23a62f3a-a6ef8bf500dso224469666b.0 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=A98qvohZXZaLbnfgwaE/Z+GiwdG3A7dt0fNfP+iSKn2U68amHUADiMKYJRihwtRomD 90dq2luq31hIGiOatTCO7t1dIgkVOhvJLELB7FATsesIvQkk4gzE6XPYFYjJTlqZKJvU K4AmS3PZ0LpFMzyoIyXjMbbEwhCDqvAosS8Rwn12BvTUrxI90l/q53wS2KVmYMMpi0gU Y1x1P8J/FdHHJVf0PUB4bipJ1eINpWx9mb4hAHPzTLlvyTQpjfQdZ5EeEpvtbQJ1E/BR VXYwDV3Ry5aC0FOWcJA+VMdzb0W4BhZYjiJlz8RjWjIPeoz5r17gjCFGS9awXXieksOt ZEXg== X-Forwarded-Encrypted: i=1; AJvYcCUy6IOvC1mujELSBGngottZ76Jt8tRJBRblsNoadate9RgRhgFZPhTsUwwxxF4aTud/3CNFsOIWcIWqFueL1M5F92DceVypCyZYQYTD X-Gm-Message-State: AOJu0YyRTyblz7yepy/qOYa0orcT7vix+WhGrWNfvS1nBLTZMAKX4aAl qHdyC2OP6v0TviLn/X9XrhWYTqb/GfWv6uBpQokipWRYV/Q2L9FCyOs4r9RlyCo= 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-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable 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 Acked-by: Conor Dooley --- .../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-b= pmp-thermal.yaml index c91fd07e4061..978b9e6ab8a3 100644 --- a/Documentation/devicetree/bindings/thermal/nvidia,tegra186-bpmp-therma= l.yaml +++ b/Documentation/devicetree/bindings/thermal/nvidia,tegra186-bpmp-therma= l.yaml @@ -20,11 +20,7 @@ description: | node. See ../firmware/nvidia,tegra186-bpmp.yaml for details of the BPMP binding. =20 - 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# =20 properties: compatible: @@ -33,10 +29,6 @@ properties: - nvidia,tegra194-bpmp-thermal =20 '#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 =20 -additionalProperties: false +unevaluatedProperties: false --=20 2.43.0 From nobody Thu Sep 19 23:03:11 2024 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 71D45199E93 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=1718358415; cv=none; b=r530UGR5OuuWIVBmRqNu1epPM5JZBTJomwC2j0iYZDuxV8EhFac7PhkAuIL2E/4BUk7akKgmOfnaq2+8cv/8i9iFd30IP8Qz4Gk8YK4IMJJ7GTwicYrRZw32Q+T61Al2Ax0s+N7Qp6BdYD5Dki5qum/dpqGjNdNAXDhVqi0F9rQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718358415; c=relaxed/simple; bh=VJPDXpI9a+tnKsAKTdkikW8im2YdBEsD1YQ0PHQTdfk=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=akv7eqjn5vMzGNN9XDgAN0gKgMV7/Qt0XOKkCzgWXWUf0LCA6T53coW0plo+r9mXIW6moQzskTOsf1HkKeVCLZHCTKXmwMMRLEPo0/wz+DQKt0abrd3RXeP6zqLAh0hYRQZMwf235vh4+Sfy6Eqj6YXX7VxS7pVfiqsjxfSL9wY= 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-a6e43dad8ecso360889666b.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=hnV4UsKJE+qCOrcbGvD/8aqkmpXCA+tqFAXtA8g9onLvKcOwiWx5fORmVXqaiUhDqQ fLrNFIbqP1BsySN7+TXYTmItc8bRkcRjg58WkhG3B/GjzfukF5jySD+HglC8n3n4jxn8 a/WGTq8irtv7gwFW6nONPgAxY+Kh8RRxgfb0/xyXwqqLCKiqgu6FlsTzXoqmDjRoxTSH jcV6cfJIFBq6UZaNHS0cvI9ebdymMrg4mitSm9BhNoT6qUBtu25OgwHRIqmvewicBzvt FKRVkYLbopIuAfEqW9/Ohw1vHbYP9xEizPYG18HorJyCuR8hM28HRroQbytb0+1+Ingw s7kg== X-Forwarded-Encrypted: i=1; AJvYcCUwQplaDNX/3AaLIBHCQJebIoX4NxpBgoxNY9zw3k1GWdYcl4K/6ReCenk3r7Shj6iD5c6nzNY4+cwjleMPywbMn557+o5mTES939TB X-Gm-Message-State: AOJu0YxN5E2PKmN9/YpjMPv/RHzxORmHrsRBPd48sQeqTa2V+iUaR8mO tBKTO27pWtMF+srr2Ea2oG0We4B+gdcQT/v83oNsvklc8XTh6YCqnSEFjYBzhb0= 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-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable 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 Acked-by: Conor Dooley --- .../devicetree/bindings/thermal/nvidia,tegra30-tsensor.yaml | 5 += ++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/thermal/nvidia,tegra30-tsens= or.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: | =20 TSENSOR has two channels which monitor two different spots of the SoC. =20 +$ref: thermal-sensor.yaml# + properties: compatible: const: nvidia,tegra30-tsensor @@ -56,9 +58,8 @@ required: - clocks - resets - interrupts - - "#thermal-sensor-cells" =20 -additionalProperties: false +unevaluatedProperties: false =20 examples: - | --=20 2.43.0 From nobody Thu Sep 19 23:03:11 2024 Received: from mail-ed1-f42.google.com (mail-ed1-f42.google.com [209.85.208.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 02958197A7E for ; Fri, 14 Jun 2024 09:46:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.42 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718358416; cv=none; b=U4Mn7esknSYwoW5vXJgw2+dcdxSPFW6eZFzhTOnhBhDor1jyieZhXgexptZo60prQsOvlZ+xjCMkpbrtpPqQR5HLqPaHpoIYV2TndHw+b8c1FpaaxOwQeAypoMS0glgaQJRu67Nl1cxZ+pX+cI/1IyQKSA/NW7LRNjSFuirler0= 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.208.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="DqyVInjM" Received: by mail-ed1-f42.google.com with SMTP id 4fb4d7f45d1cf-57c83100cb4so1985886a12.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=UtH65qUbA3RBJyzIgY5SgIP3rSsdp1x/UGkzdoRbkgsdaFMi0flbF34L6uycRDkBSp /BVfYOVJm/7OLY9/l4vCGATRrj8rLC79+/SXOkkW2V9+XxQC/shskpx6YDAEN9IUB/EV 4bxW1ZUX6h9qJjm+fLJniU7gUfL1K5G5j5xqv9Sv6lmj4YyzTt4KCTrHQj925ZO7fF0M tHdgmaf5Yf5mRI3xX2ymhwfhwGv+Ee1hPNQmsZj6hQ6ZAvooAUy7h8H3hw/L63K322Sj X+coBJsVTYrcBlzVnLWM7F8OwwsWhrbShLqXPCN2ZDGMGFW8mdvFDOG2U3QdZlZlzW0i o0hw== X-Forwarded-Encrypted: i=1; AJvYcCXyyIVfNT6IHwSZYo4Tr0G5Zxd0rBCmLdCIzVKOf3KXg+R++b9ONbMoBVFa0p0bRhd3y405V0ecJ6pv6rZ5knujwxkW/KHMww5fgoII X-Gm-Message-State: AOJu0YyfEmdzWC+q8Vo2oEiJwkRokcoa0nJfdKLUhnMw2XrZsgw5UJxa Ry9iEML24IJZikCB0M9c6N0k4nExk/U5yfZRIIB0+4z2DpbGwRa9Re/FvlkJyvg= 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-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable 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 Acked-by: Conor Dooley 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 =20 +$ref: thermal-sensor.yaml# + properties: compatible: const: qcom,spmi-adc-tm-hc @@ -20,9 +22,6 @@ properties: =20 "#thermal-sensor-cells": const: 1 - description: - Number of cells required to uniquely identify the thermal sensors. S= ince - we have multiple sensors this is set to 1 =20 "#address-cells": const: 1 @@ -106,9 +105,8 @@ required: - interrupts - "#address-cells" - "#size-cells" - - "#thermal-sensor-cells" =20 -additionalProperties: false +unevaluatedProperties: false =20 examples: - | --=20 2.43.0 From nobody Thu Sep 19 23:03:11 2024 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 430E119AD88 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-a6efae34c83so255649566b.0 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=PUEwxKG5p1j9tUDdFCuoM0RSHSJ3XB+8VJbOtMU/9sOaxgOtxFECIUQt6JrASldKym /SuHfYAQhCmrziyHHuqnFhCquCXer7BdJJm+G/WMBvGbUiWeQ4puzyCpm2zaCd8GJJDQ TxbuXS5UQt2KuoHQP/lB4IAP3T4BJGTDe0uUUT6EysKnp8CsfdNYPAmeX3iJmDMfmwhK nllbDmcobLowZVlHWb9FaXIapGrBFWDVkozTEAXutkfQ1muyXJWLNTx4AuIpB8TpA86M jGJArOx2m4VdEqEIiV/eHborQoay8PuRnp4feSTQGg25Q3+Uv4UpRxHu2zviJ3maKuFR Luow== X-Forwarded-Encrypted: i=1; AJvYcCX9JgY36HH7aOm5qWDDCgV5QcJCEiE7VigWKlW3oPaomTxe75fW8VsNdPSZxtH6iZQsD7KbKJL7HFlrQUDNOy9SCuRV1iUXktq2XCMb X-Gm-Message-State: AOJu0YxywbMUFZIq0BQ6zNrdCKMuyHXdVpxrYefBahIsy/eI7ojL6lSp a09Rj873o8g8NQUihbUQyz1HgVaBtNKauEtu40NvY+gfAqzgloJtVxjNHeRjFSo= 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-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable 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 Acked-by: Conor Dooley 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.ya= ml 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 =20 +$ref: thermal-sensor.yaml# + properties: compatible: enum: @@ -23,9 +25,6 @@ properties: =20 "#thermal-sensor-cells": const: 1 - description: - Number of cells required to uniquely identify the thermal sensors. S= ince - we have multiple sensors this is set to 1 =20 "#address-cells": const: 1 @@ -159,9 +158,8 @@ required: - interrupts - "#address-cells" - "#size-cells" - - "#thermal-sensor-cells" =20 -additionalProperties: false +unevaluatedProperties: false =20 examples: - | --=20 2.43.0 From nobody Thu Sep 19 23:03:11 2024 Received: from mail-ej1-f53.google.com (mail-ej1-f53.google.com [209.85.218.53]) (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 A521719B599 for ; Fri, 14 Jun 2024 09:46:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.53 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718358421; cv=none; b=to6Nzg4m5TDK/bJeYs+FkV3CPUG87VImT92unPHWwcNwd6QP/CqXVCe/4vwD6D0khfILkmE0BuP+qpByuce6248JyI3mlxD0H9n2ZtXpqybdP/X79YqQezax7t94Wwx9vGCW4Xy3NHglgurM2Yqf5o/7gOlHB7k6EscLLAdH0Vg= 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.53 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-f53.google.com with SMTP id a640c23a62f3a-a6f176c5c10so238083466b.2 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=gFaP1pMOsEwPud6Bu3/i19CmHAX+eFtHmK2c8ZQpxyELylUqDhkZu3l4PpvcnSGVuO FGQBWbVK64g+DQalXW1eU3RX5Yf+jwzJwOTwJxbSnsHGbD5swHm1nkd982IkCmayGYua VK8ntXczTHi1Up510SYM1x8/U34ZQoQkig4Ydf0+ZePXk2Pq6Fw7yYPDfUdY6IVaU4eO GkHPnPfVAoWiFEGSIteDqMkknUQkONZ0vIHcj02OpVZaA0/zlSn6HySU1e5sbsoT663a jU+xrqNroYHWBTIkMEuRoTAoci0S5G2ST2GMCERC2T0MeytgPJlteK0QkeGrO4WMPwcf qEsw== X-Forwarded-Encrypted: i=1; AJvYcCWNArOTcgsRx+BSIxCZCtR3GB7w7lsQFnC3zG4PPViIOIu4qNj4dVW1axKAgS716xkibr+kCYjT0YfyiwX02VuRykArtlWFa4Xl8Wb9 X-Gm-Message-State: AOJu0YyXn9BAVlSjK1sGSdQF3n2YqAjYqqoTj5OEV6g6UCiX27cXRCle L/WunWuLEyIKss7iigtHl4zhKj1m2Kvc7kKOWzrnFQWSNoojba2QnbfMEVhXUTM= 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-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable 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: Conor Dooley Acked-by: Dmitry Baryshkov Reviewed-by: Amit Kucheria --- 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/Do= cumentation/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: =20 "#thermal-sensor-cells": const: 1 - description: - Number of cells required to uniquely identify the thermal sensors. S= ince - we have multiple sensors this is set to 1 =20 required: - compatible - interrupts - interrupt-names - - "#thermal-sensor-cells" - "#qcom,sensors" =20 allOf: + - $ref: thermal-sensor.yaml# + - if: properties: compatible: @@ -292,7 +290,7 @@ allOf: required: - reg =20 -additionalProperties: false +unevaluatedProperties: false =20 examples: - | --=20 2.43.0 From nobody Thu Sep 19 23:03:11 2024 Received: from mail-ed1-f50.google.com (mail-ed1-f50.google.com [209.85.208.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 6249319B595 for ; Fri, 14 Jun 2024 09:47:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.50 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718358423; cv=none; b=NwlBY66kafTprG2660EE6w2fi04tezsT0tD/Gwz1haTWkWPQMBLMmpwYi6WWMCQe06eM9/pmT6/IpEVz8DCTWZ2NYLpxEU5F9hRFBuDKsClyFjQlNrqvpjnjvpbN4QDXmjOphxVP/G9XNqKpkiPSDEOTuRKSWvUG3OY+hYedg8c= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718358423; c=relaxed/simple; bh=6K88OrzUlGKwU/OIT91fDcYr84l9rnvsFelXhKUGuj0=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=Z1z4Grt5EDPFl8LNqIFKuMOKuDRKqL2luvAYTV41+NO1WqEXnOxFuiFId8V+R+59Mdlwtdp3EHg4HX8WRGtm5muCWsMxmVNRWYdTp8MTXMfjoFzTpx1Cgi87WNj98zhjOvV8JzVZ212M1QhTB6Ud4x7SNYEHYU/0xzNrG/tCVlc= 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.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="PXSaM5fi" Received: by mail-ed1-f50.google.com with SMTP id 4fb4d7f45d1cf-57c6011d75dso2283302a12.3 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=aAlxNH/QoiYPQ7cl5GxfW6wN/BQsD8YpG5d9CiWoyknBaAEBgpFS3lQwAYtNZgGxYV GJrs4q3zEfSuRnYnTlBUN1TA8r0eN9K4pWYseZOgIGIF0PuI901pweKKBqSZvCk0QKyw KNfMfbEOaYHusjPWcrcyXHJDS+abj6WpLJ+QrI4fQtXU3wLXOH16QcLEc4pkyfKVKhKT V49g9CXD3s1OD/Yof9vX0k/DjtvcsR1BRcSZeq7RXL3V2aNwRN3se5bLSPgH8fHWG8Jj I3V2KwLy5BYCs0UNKfOhFln5P5m6jsRsiD74eREzrW80N/XHRxzqCGRPkurT4IYubefH c85g== X-Forwarded-Encrypted: i=1; AJvYcCVru62ICt/BArWEikLDB+KdnVX0s0PVVfJpuPxBq9KlzHmmnSXfqrAT3BeHfhv15l0CRXedfFjECoFxTe/8FmogRJkxao3da+mJTNzU X-Gm-Message-State: AOJu0YzGLJ3E/cn4pz0yI+Rmcsz1wxzYPCbyHqISx+Eq/ENdXaISlh7r mmqPkkCxf0LYKu3Q9VNMF06sTjG4RVyj8J1xDBx4fYPyumhkQI3Fz4Ft08ZpOFM= 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-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable 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 Acked-by: Conor Dooley --- 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 =20 +$ref: thermal-sensor.yaml# + properties: compatible: description: | @@ -68,9 +70,8 @@ required: - interrupts - fsl,tmu-range - fsl,tmu-calibration - - '#thermal-sensor-cells' =20 -additionalProperties: false +unevaluatedProperties: false =20 examples: - | --=20 2.43.0 From nobody Thu Sep 19 23:03:11 2024 Received: from mail-ej1-f48.google.com (mail-ej1-f48.google.com [209.85.218.48]) (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 7B31F19DF49 for ; Fri, 14 Jun 2024 09:47:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.48 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718358425; cv=none; b=RA4k9syQev3kva0H6jix1fHQdWToVXNUU+jzv/0tD0xKZypLAIA4nLIW54Z9Zh5BywlE1yoynm98yz0tRqmwEteVvJxTGRLCpxBfTN6uGBJQdFUj4MaNmMCbgPlt3rrRMvYBG0ksPdcJCSTGaolYIE8zIql1jMj+N4Wd5PgQRdU= 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.48 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-f48.google.com with SMTP id a640c23a62f3a-a6f1cf00b3aso309790366b.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=BryColN1XH6UJUnV1ut1egB/bx01L6+0/0kkQakJbtQggMrlU8L7g0NxL6YDbYC2Mv laEXL2cEaj+yV/ApB4cDC9URVXFuuRdjYPzW7R/Ho08/iIKZsxKTEGzI+R8dhnhpQ7xN QAldVCx5dtay8hvS65xrClvdl0UZOa6qqUtOUilb+rMOM7ixVl2uY+DQ8QNlISc3L81h 8awtiKxJIcxwvFhF9UHV09op+zmqP19FG6slV0ryVYIuGPZpmQWCp8wpGhlaW/CSOJxl 3KV1o+9v6cHQRNTDLk3UKd92WMbRKrX8X+FA53qDCBeqi/MXrR6F8Mntjye2DScOy7iS GGCw== X-Forwarded-Encrypted: i=1; AJvYcCW0Lel16pIaNvxYI9/ORWySAjVCPDJuYMeIde4oakX9BREJNlnK2FobWQx8cEw2qx9yqY2m9KKWaNju7+Vfir2sZXnY5ZwtK4t1bn+8 X-Gm-Message-State: AOJu0YyI9ftcjz4VQN4QqTzgULRt54Bgg7oJGiaA9yS4uHtHNeF3GAcu 77DYz8lIf+t78gmEKt5fmfZkjRZJdDU9NoftQCHTnNeIkJCcfgk/jfUeGZ1qm4s= 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-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable 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 Acked-by: Conor Dooley Reviewed-by: Niklas S=C3=B6derlund --- 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.ya= ml 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=C3=B6derlund =20 +$ref: thermal-sensor.yaml# + properties: compatible: enum: @@ -57,7 +59,6 @@ required: - clocks - power-domains - resets - - "#thermal-sensor-cells" =20 if: properties: @@ -96,7 +97,7 @@ else: required: - interrupts =20 -additionalProperties: false +unevaluatedProperties: false =20 examples: - | --=20 2.43.0 From nobody Thu Sep 19 23:03:11 2024 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 D028A19E7C8 for ; Fri, 14 Jun 2024 09:47:05 +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=1718358428; cv=none; b=b+Vfp4xGGwkHp/tF4Y/o8EI7JiSF9XX4IzYsFidqjTcwUA46z2Ja4md1gzk6ctZDBTKIPq3E0rE9PBRUpDtjugczZfaCqsLB60E+5/Uq5cOUEfP5Urz99v9SzTrON0JCtQ+aAI+PdaAU+ZW/KyJbYQTEOhc18x1WIrqAHFge7BU= 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.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="LGY+KQ7x" Received: by mail-ej1-f50.google.com with SMTP id a640c23a62f3a-a6f1cf00b3aso309797666b.0 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=tzSrkUy9QJ/7ZITkrzy2ocW2nwcg+T8K+Boh48M8ENXZxFInJbZOgVtkgmtkOjmhLh /hkzSQfpiF2ypjZQAtmnPZPZ0T7qMKw7m5aPBkJauzOkn+/Btt/faOy4fq49btvAFRCO TMn6eq6ksQa/xrsGgjaeypEHQtrgC3FD40NxVGv6XQNo3cZmsV4QNaZXtqmFscGEVixZ +rrLqEo1NXHs+AqvWkY/j57XbQKW7YS3w7iae2Fz53knnkEGWbf3oRjFUQkmApN3pg+p 9bX1a4Bbd5Fv8rrAUSlj6BjYAa7wZ/rDbJl4FLFYuegZ8c3FcRyl1wy1iXBGrNm/gZaq /cQQ== X-Forwarded-Encrypted: i=1; AJvYcCVhh1uplLvy0++iIzwUdUpSNIHyWyuaB0GomAnI4F22bL3VeynC3p3l+TOfwtpQa4QYs9viZ0sPkyXIaVgVfRTm+iZN434e8asy1m4u X-Gm-Message-State: AOJu0YxoyZVo2dYmj6vWZeIP1dPOn3WS0dCOAistNSOkVkJNQpbpF6pz Ld8krj1+8urwBVXL15WR/pasD9CTxTOzFCmMA97Klr9K3cKtPdV2wig6BL/4txU= 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-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable 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 Acked-by: Conor Dooley --- Documentation/devicetree/bindings/thermal/rockchip-thermal.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/thermal/rockchip-thermal.yam= l 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 =20 +$ref: thermal-sensor.yaml# + properties: compatible: enum: @@ -76,9 +78,8 @@ required: - clocks - clock-names - resets - - "#thermal-sensor-cells" =20 -additionalProperties: false +unevaluatedProperties: false =20 examples: - | --=20 2.43.0 From nobody Thu Sep 19 23:03:11 2024 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 52C1D19EEAB for ; Fri, 14 Jun 2024 09:47:08 +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=1718358430; cv=none; b=YIAISH4K5CDzx9M5E+wn/KNTI3DRuWpr5CVt07cbcTSqfszy9B1dZbzpnsedjtmBu1iLrX2kDtm77+4O5mMTMJP72/9L2otPBV7tvfMfzipYU4v7VO96GKQCQbSInp4jhU+zfvV4uvVseZeqPNauczxh+wcxqOOmyuPOCu5prfk= 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.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="Qd2jtjaT" Received: by mail-ej1-f43.google.com with SMTP id a640c23a62f3a-a6f04afcce1so256952466b.2 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=ifRl/C9h+2WM1m1j4eceKCLwNjjm64P94LkseuMuzit2bMCelHfz83KP5tHIDPCzaW 5yi/LoGqj8ih4qiEE9r7NhJkdxLCN6ZOCW9N3GDRS4Tc1cb8S8tRDrBfaKV6HpjWYAjk 46Vj3x5LKi2Gq4FSlRG3A6WCrMLn5f5nWmLzMtMIZdfi3vDmgHt0AZMo6nFKWnbQeBtq BbflMLIiK29DFknnnuo0ZZC3ifl6r2k18COXmfZoxZTJ/bJRG3EApOf2W5DzieOZiOix sa0r1KJmDlZ7yKuCiCIZ3cUhVk8gwB1OyNir7a5WBuCGFu2YnGaxfzgrTSQwPKoJ0vfP NwnQ== X-Forwarded-Encrypted: i=1; AJvYcCUdKwj1NfgLLRGfjYRv3Q3y7nXqKI/Xta/YH3Zx6vBFnLPMmIbrZJtcPcrcOOxsRrAkJaA/1nM8ZMOxU7x/u/M4CE2HbrtfP2uUHFN6 X-Gm-Message-State: AOJu0YywjHDYtBV9nmAW1Wf/o2lEEsVh/sbjDAFEcD+szW1WyYCRI3KY OzZQIZsaSXWkfeNjbwjrXjz7fOAmqPkbEPVLyewrHWsTcqT5xD+2wKm47t57ZlA= 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-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable 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 Acked-by: Conor Dooley --- 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 =20 +$ref: thermal-sensor.yaml# + properties: compatible: items: @@ -43,9 +45,8 @@ required: - clocks - power-domains - resets - - "#thermal-sensor-cells" =20 -additionalProperties: false +unevaluatedProperties: false =20 examples: - | --=20 2.43.0 From nobody Thu Sep 19 23:03:11 2024 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 ABC5819E7FC for ; Fri, 14 Jun 2024 09:47:10 +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=1718358432; cv=none; b=bEqXoLHZehGHVoxwG66mUCUZAxYRyKaFMCHEqPDIV6v8OPItzDtKzvg9UXQX0ZMT+IAm6rpaduk1qgxXVVj335GeiPBeLdz9l94OKmKRYX6greN9eGVwA+f2+v53q/PE052KCk4amez7igjv6VHNbThAiUHXzelHGNgQnMHl744= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718358432; c=relaxed/simple; bh=mIeSyvnLon2ygamBuRDffzz4itb60m44w9O1qvVSAt8=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=kvY6xUNZDcI9Ps+Re9W7as2BIhrrwPgEG9nLOJyRjzaNZqfl6ABcsGPBSrEfy+Swgo051O02135Vmpi7ZYiC4AeaioTO4cRrImH19k4nXYQCNlf5rZzlfeaTFTwby9hrjQXbxDgs2CpWl+r4VHFpr8MbZ9jnTWQiLFnhxsLRx6c= 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.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="nhK17m4P" Received: by mail-ej1-f43.google.com with SMTP id a640c23a62f3a-a6f1cf00b3aso309808766b.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=f3yQvIqVXULN4dDVTBhPlsot4MlcRFxOlyLD9hSPwGdPyiWeGW6VBHpi/8yp+BcD/i F6nUNaDvRow0H+Mjz9Vftr4jq+YS2lgDdKt8qQWvvKm6rZFAUMTaNIGGjs1cIh9X+3hQ 7T4nvbSaTZ0QJKXTzTqS+a3CB2FumXngCw7XKPEZhF3jcO8Jw1OyD3CSuOaRUUiOVV1g /m1OpaG4KT0GiZ/sTnhdieb0elWDdVeQDr06LDr87OMfiagEcyemZdJ7HCa7OoawZmzf 6o94HaZ5/yZAjpHMJ6AS2b2dY/IGQvxclp3ueGN6aBXJpoUtHBv47G6zyXTpq5C8bkxf +EQg== X-Forwarded-Encrypted: i=1; AJvYcCVQnUhR4RykhgeTsmPFMAD159XY+/Vgzm2HXRMjgFIFc9HfJ5khHovwyeAELZYtCw7PRRMDuHwHgew1pDSZ8ZQGaRNwRzhRdUAgFuw7 X-Gm-Message-State: AOJu0Yy5qDXMn94b1Y8QEntoIGsiP3ZOohu6/3JNO6vQx1feLUlEGbcH pNis1O+6JtQRp//Bv80THeO5/blC1u39bDjF5B0u91DhWmBu4XXjuyPrwQvWjEI= 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-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable 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 Acked-by: Conor Dooley --- .../devicetree/bindings/thermal/socionext,uniphier-thermal.yaml | 5 += ++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/thermal/socionext,uniphier-t= hermal.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 =20 +$ref: thermal-sensor.yaml# + properties: compatible: enum: @@ -38,9 +40,8 @@ properties: required: - compatible - interrupts - - "#thermal-sensor-cells" =20 -additionalProperties: false +unevaluatedProperties: false =20 examples: - | --=20 2.43.0 From nobody Thu Sep 19 23:03:11 2024 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 0A59019FA90 for ; Fri, 14 Jun 2024 09:47:12 +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=1718358436; cv=none; b=NOFLt8w7aro98HYXPkGzu2azfA4Rb3Qs74tynQkhFH4gh7Ro1qr/xZmyXXBrOjwUu0Le4HSoarp51cY8+xgh7klPRoopSRUPoRAgSD6tRJqZ5+CYD1i0kmp7h1PoHdW9ScHF0dy2ZyvedFUrjb2h/7OTjk0/y0NCWIxCl6zCI30= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718358436; c=relaxed/simple; bh=dEicE4oTwCczzzSyDwiogCPoDffxWlAHYRiHMVel/ec=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=eLjZ6ABKg0G0FcaSWydnKJq0P3IEb3kTKJiR8hp4KkG/xNZi1ztgvhkSxBJAWKNzDgtN/Kb4NttZdo+OQWTtFetTpidc+ypWQT9Z1Fru/v4kWsCAMOYHoJttaPPlLdST8WASFsR0MunY4Kw6lvAS6PmSx+ckrWeHVaRq4Qt+5XI= 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.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="KI/nJ0C1" Received: by mail-ej1-f49.google.com with SMTP id a640c23a62f3a-a6f177b78dcso266224766b.1 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=epOGOWaEivZ06tzMeoge7YOadb8yZ9aoysaH4yqwNY88I8CQE7lIj2fLtUoY2AyFzf Y3bysk3Fjx7ZhzzWe2fbynZcQS/neLYq4FMDgNoBaRKctAahbxYzG6ifZiQ/1WrZYefA njYEScZINYupWTcApjg8fcUfj2J541KYsNbSSdbbDblDio2ljaH9JZFWtbqadJYlh/R7 Sd3AEHTX9v/FQXtlGgqrvykwvbnZ5cUGsFrVzCWNYwigyIsXD+pjRsXSTnrkRFbalBS/ ZT8NL+yH5saH1XEV9L53qYGlB5OOoVqstLIo24kSP3ar9V+HZOHJd2NY0vWs8/BHxTqN R++Q== X-Forwarded-Encrypted: i=1; AJvYcCV21jiVV4vW1ynaFfCXhs4yp+WeqxQmTOmgz3NPLZAm2xRenvqBXzqQvmMM/rx+XlgtxW+iHCtxvKklScJF2rcJgNRw7xkuh+whFBsN X-Gm-Message-State: AOJu0Yxr1iabWNRO0DMkxmhgygPwfgN1DsxdzfwBxtX5mFBUakBPrhMd gtSFlKd08X+4eBuuD01CiGWEPTnn260kFrrevW0IFkuodfnElPgXOennYXCN8AM= 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-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable 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 Acked-by: Conor Dooley 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 =20 +$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" =20 -additionalProperties: false +unevaluatedProperties: false =20 examples: - | --=20 2.43.0 From nobody Thu Sep 19 23:03:11 2024 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 5E1E319EEAB for ; Fri, 14 Jun 2024 09:47:15 +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=1718358437; cv=none; b=r3fhmEhBZHQ9wWbhSuPEo9nw9613sOCN62kRHeeTt0H6Iqj3OX9O7VokpwNz+0qZVoc4ZJBlx/mQrBAk1IeRcbEuDQF2whfXsZmiteegrnhButBP2OLkSYbROn3Sj3f2gn5mTlBa+VMgrqlwuCfAhJCZ+NxL0xz/OJbn4aOoLpQ= 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.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="vBmGpj2A" Received: by mail-ej1-f46.google.com with SMTP id a640c23a62f3a-a6f0e153eddso266764066b.0 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=S8fZ27awFTjUwn8hhb7+h3U3LlhO1+K3EHmqiUCnnwpEzSnhz/gTS0dH2JGS7sB+Po 4u/CM6klqjp8TX2FLGWDD4M+Nvuq+Jb/ssoBx/ut+kRATICIz8oupJiNY8T7bFc8zFo2 eb0RVoeU0hLdRdJtiZ9bYqcu1aoDiJHe9Jgh3Gw5nMdyXRvaqqVX2A1HFn2TTq0qlM6P Ii5bdmaumvJeumGEtHDdpSaawXC3F5VTz9S7Pc0AaDZ+qvd6c+iuZW0rQTGNC8UPTN2d R8o6gEyL8Hvo45AmgD2uQM7xPGAbye+uGkHZ4ARf+bw6rHMzI79uSXirEw7XwHAKY3Jr 9azw== X-Forwarded-Encrypted: i=1; AJvYcCXZ3WYD00z7YXpnhpk7W6WjVfpgYOKDwToxn5sQjx8l3vdYOTSq5K+KO0iWh9w1ZByYR9VFnQy0h8D9owPwMzvWMtj004ID2oaP06wZ X-Gm-Message-State: AOJu0YyufAbMh4d5ceRIu1d+f0sNiheOLfzt7rABj3zG+mzHY3XQc9Du AB+WrisN/r3CYXo+DE++wC/Xu3u4laMhGrDv+YXbst22PPhT0gTxEELRMUYQn/I= 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-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable 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 Acked-by: Conor Dooley --- 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.yam= l 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 =20 +$ref: thermal-sensor.yaml# + properties: compatible: const: st,stm32-thermal @@ -30,14 +32,13 @@ properties: const: 0 =20 required: - - "#thermal-sensor-cells" - compatible - reg - interrupts - clocks - clock-names =20 -additionalProperties: false +unevaluatedProperties: false =20 examples: - | --=20 2.43.0 From nobody Thu Sep 19 23:03:11 2024 Received: from mail-ed1-f53.google.com (mail-ed1-f53.google.com [209.85.208.53]) (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 D29C61A01CB for ; Fri, 14 Jun 2024 09:47:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.53 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718358439; cv=none; b=QEuYNRnnu6Fon54Gzgee5rL7Td6tvQIqT9EArylZMd+pSUKTDCjqOUXFIGVbWkqFRE1cpzJeDhqBGiy/7DsZtzRI5Kx0IHasO6PC66FB8pDG2bXNshUB1B+RzmOBdpaqBT/j20UQuIzAEclcehbUF6DoC24c7RsTTBu6h/2Y9Og= 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.208.53 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-ed1-f53.google.com with SMTP id 4fb4d7f45d1cf-57cad452f8bso2096138a12.2 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=voo72MAMNbVB7P7O2xlP3Y/1u6Vct07mhLt/1n+shN5EX61qoUbTyhKFvpGTJd6rKO GhZMv1zGBLuwrnlcJgB3rwxB5hoENpkN9BEVH09S/FCEhTAhZ7l5UFywxjrcZQ0wM+aK d7+lPTpmEt9Hrc1JTwxNK4+hADRY3EcqGP4c5x5qNd9wqgzK4Gzc0jPPj7xdArhIFBVL DsSz36PFl09XYFp7To5/CbBqMMzFHjn9xWUA0iCf+oo//uJ+NdE7eGcrPi7WEZByOZVr vNSxwuRUPa/jd6+lW4blEj+eUwiasuM5AUJ8Q8ZPvcBfeB7qpnevPiWXDOPRWTMpA32L 7D5Q== X-Forwarded-Encrypted: i=1; AJvYcCUVQzxTkaSvK5C1mLF2mFFSWeXwNcWrQ2UhF346DhnlHI42Mcz6fTTTfrZdGAG89h6keX9Naw6eFUCP0fNOmSPRaQ0YrrtPyabsc0ly X-Gm-Message-State: AOJu0Yy3DkUcKM+pVF0j+UbQwFxf82wPjl6jFIFNcD9ZF3pDGibpbkYq e9M5/xL3bos44IcMI5gBsA6qJz8O0QwCI4LUktal9RErI662W2zOBivC4MZyb5g= 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-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable 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 Acked-by: Conor Dooley --- 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.yam= l 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 =20 +$ref: thermal-sensor.yaml# + properties: compatible: const: ti,am654-vtm @@ -26,9 +28,8 @@ required: - compatible - reg - power-domains - - "#thermal-sensor-cells" =20 -additionalProperties: false +unevaluatedProperties: false =20 examples: - | --=20 2.43.0 From nobody Thu Sep 19 23:03:11 2024 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 1EE621A0B1D for ; Fri, 14 Jun 2024 09:47:20 +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=1718358442; cv=none; b=NE/bt3thxb9TNBDZZVV8L4f4CZy89PkTQbPmGZNWE1aC+A/dMyJ9u4vrteYXHSqgi+n+bTIIkXjzgf+SKBOoccxi35+qMn8/CdyadNfMNRt76HgiWDgUY1tI1eKd0OFWljBCDoXiDcOLDB9SVuiNH3xobkqP1ECgnIUBvMUfWYw= 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.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="oLj/vCa9" Received: by mail-ej1-f52.google.com with SMTP id a640c23a62f3a-a6e349c0f2bso275235966b.2 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=wgeHYD5Z+zBGN0utte116/H2VJJn6hiJCpeymDIN6dWFrs6Ba59mG83yDFCMkGHktU GpaG/ib55tsRyM58YHCewsAHWa5ZT5tLVCT9g96ml3NAbaSSeAKvO9iDVChthFunETxx 7P6gYXd9khgRSb1/2BzDS6vgxZG/d4MKgy9OhPsmTGdtImn+vplIIGYTIw9bcCd+v4Ln +ZVB5zE6pJpvBvZA2VLHkklhPiOfebCDQja2qbuAaPHEu7nUskhdnG0dxeWSbKsebfg+ xhW3V42zuLVxUIDmALdIG8o/pjvL134oe1FBHnBATSkehl9wgmhlCZIC/JVwkRkc4TBk BPAQ== X-Forwarded-Encrypted: i=1; AJvYcCXu9Bu5BaPsSzHPufbkmgaRpXD+hO2V6jnewiBgLKU4fwcdx0B37dRKFUtdzkm7fpx1eRSCUQusm1dwfm7cz5OpkZXOwhASCfZCsAtU X-Gm-Message-State: AOJu0YyI/At5XaqE1r4epPoxm/+PqUa/55eO5vN5t5fQoQpRSdhrowLW aM40Dmtnm4ffLmyRo/ujjCeZasfhn+Vt2/5CpqQXVdr8g1OLyyfFNJIzvNsuguU= 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-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable 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 Acked-by: Conor Dooley --- 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.yam= l 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) =3D (-9.2627e-12) * x^4 + (6.0373e-08) * x^3 + \ (-1.7058e-04) * x^2 + (3.2512e-01) * x + (-4.9003e+01) =20 +$ref: thermal-sensor.yaml# + properties: compatible: enum: @@ -64,9 +66,8 @@ required: - compatible - reg - power-domains - - "#thermal-sensor-cells" =20 -additionalProperties: false +unevaluatedProperties: false =20 examples: - | --=20 2.43.0 From nobody Thu Sep 19 23:03:11 2024 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 8BB051A2574 for ; Fri, 14 Jun 2024 09:47:22 +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=1718358444; cv=none; b=upU/+gXB9PLa9N5N4F6NQDmR6XzLRaaJcoAjyem1o8QP4d3j2neK+sieOmaSLFfd5sF5S4mXGE4dVI2y2tZ1/YV9dwjLlk5ZBoHwIlymRbTuaV66Z5KgalpOxy9IQDoU9TOC3NWnkGDIkXLpDkAslZC5AnYgvLYVAL2hGyLZMcI= 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.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="eGeEvKac" Received: by mail-ej1-f46.google.com with SMTP id a640c23a62f3a-a6f0c3d0792so241401566b.3 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=baDIDqve66FhbGT4V/ak2AcE8SDZGOxdTsJDqnqeCLXa3VeFBfMo7TT4zYi8my4FyG ZBoxzRkiYRwuxEiKBr/kEQ/nriHiVPecDWJcfq8NYYsHZ7JdZceD0uXnsGLKgEw5Si9r tOJW6dkd+kyHpmsUVcxDGdKNg1qN2kUSghl54AVsnCXogU8a+tht2cZOiuHALGAdMqRF 0+yewFhi/434vtnVeUZPtmtL02EQ4pqd4XGVhouWa30HkNsAIpCLpIKwrB6c9EZe/Xlc +RaTxPhyKCx8taLQg00KyBQMIT1c2woZ5c2GatNrKQc/bgWo3Ca3rsq1mu8yK+5x/FUE SmFQ== X-Forwarded-Encrypted: i=1; AJvYcCUAUmrbRdWfxHwLZ0ReinNUNjnGOpq9Dt+UFQAiCAzDBHZrSSBwV6dBcuXcd2+GoyM125bX1VkkwZw9r/i/lrqUVWTM8c7/cpQHbFA/ X-Gm-Message-State: AOJu0YxqMMpP3pyQNN4fcT2svn4vTIABXVgo5WaN8lZKLJCHlEVYQzPa RmoF5Bghk+13YXD2v2wzLAu+bexO8CKd0EX8EwT9QNTUQq9wCEXXAgnIwAi+zBM= 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-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable 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 Acked-by: Conor Dooley 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" =20 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' =20 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: =20 required: - compatible - - '#thermal-sensor-cells' =20 additionalProperties: false =20 diff --git a/Documentation/devicetree/bindings/thermal/loongson,ls2k-therma= l.yaml b/Documentation/devicetree/bindings/thermal/loongson,ls2k-thermal.ya= ml 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' =20 if: properties: diff --git a/Documentation/devicetree/bindings/thermal/mediatek,lvts-therma= l.yaml b/Documentation/devicetree/bindings/thermal/mediatek,lvts-thermal.ya= ml 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" =20 additionalProperties: false =20 diff --git a/Documentation/devicetree/bindings/thermal/nvidia,tegra124-soct= herm.yaml b/Documentation/devicetree/bindings/thermal/nvidia,tegra124-socth= erm.yaml index b0237d236021..19bb1f324183 100644 --- a/Documentation/devicetree/bindings/thermal/nvidia,tegra124-soctherm.ya= ml +++ b/Documentation/devicetree/bindings/thermal/nvidia,tegra124-soctherm.ya= ml @@ -197,7 +197,6 @@ required: - clock-names - resets - reset-names - - "#thermal-sensor-cells" =20 allOf: - $ref: thermal-sensor.yaml diff --git a/Documentation/devicetree/bindings/thermal/nvidia,tegra30-tsens= or.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 =20 - 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' =20 additionalProperties: false =20 --=20 2.43.0 From nobody Thu Sep 19 23:03:11 2024 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 0D15D1A2C16 for ; Fri, 14 Jun 2024 09:47:25 +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=1718358448; cv=none; b=jCDXCgyyguIAdt5/TMw5Oyra17sCh1mPYVGlQezhArUtwBEeWF+6XNiK9K0Vi9TtY4U6ZEhlawoHcMRzQAqSvsLUnWgvPT9aDkKZ63k48fxEM7aRamX1F4zqd8sWxeRw3cSpeBP435rDCCdINx0vAdekIsKrmplE04R5JVQCQAY= 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.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="n8RO82co" Received: by mail-ej1-f42.google.com with SMTP id a640c23a62f3a-a6efe62f583so192137066b.3 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=qSY4OMgFM7E2cz0+hnSlX/zbfe15/TAZckGUNQ8IGPpOJzOa1WRo9t1tgg8NhHNsQH MiN1bxBK3+ecR5DY8iQH6X4+Kr3I/iA7+0IOQVDEc7iW+RyXeJcddE0IWkY2nEMqBDOs 5B6HhqniNQP/a+YzsdZ4FvNgeayhRVUsdPUo9e0j5paGOYLfl8YHYW6v8Sfqvsdlkg7c RwbaAlyxrWOz28wHXBuNuDlNQk5VDkEPsF7WGskrcS00SsMXSeZ6XgrdINCjt7vhM4FX wQKvg+Z/VaUEcMxizMMNNpJyBMhaZ+w/lT1zmvHBXY23ZKIgcOHCjJXuQTIkcaSnPxGU IWvA== X-Forwarded-Encrypted: i=1; AJvYcCUxUrQJmisXbM5sE81LmXm+JUsHxV+2FAXoODmakDn1+PdVXqAB56piCLuTBGlcV2GtsYPv0lIkHmTYq/8a/k/HeAcUxySHe8RMqsHK X-Gm-Message-State: AOJu0YxOcMwR+PatbXwCVbi145eMIU1zW4dVM6fVN+4XqrSscB0YjdhX a3PiWG0eYPf4dADceOEP1DKRDIfF/N/Lwv9tJc+msDDmalIbqioSwCt0C+qYsDk= 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-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable 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 Acked-by: Conor Dooley --- .../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 =20 examples: - | - cpu_temp: temperature-sensor@ff634800 { - compatible =3D "amlogic,g12a-cpu-thermal", - "amlogic,g12a-thermal"; - reg =3D <0xff634800 0x50>; - interrupts =3D <0x0 0x24 0x0>; - clocks =3D <&clk 164>; - #thermal-sensor-cells =3D <0>; - amlogic,ao-secure =3D <&sec_AO>; - }; + temperature-sensor@ff634800 { + compatible =3D "amlogic,g12a-cpu-thermal", + "amlogic,g12a-thermal"; + reg =3D <0xff634800 0x50>; + interrupts =3D <0x0 0x24 0x0>; + clocks =3D <&clk 164>; + #thermal-sensor-cells =3D <0>; + amlogic,ao-secure =3D <&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 =20 examples: - | - avs-monitor@7d5d2000 { - compatible =3D "brcm,bcm2711-avs-monitor", - "syscon", "simple-mfd"; - reg =3D <0x7d5d2000 0xf00>; + avs-monitor@7d5d2000 { + compatible =3D "brcm,bcm2711-avs-monitor", + "syscon", "simple-mfd"; + reg =3D <0x7d5d2000 0xf00>; =20 - thermal: thermal { - compatible =3D "brcm,bcm2711-thermal"; - #thermal-sensor-cells =3D <0>; - }; + thermal: thermal { + compatible =3D "brcm,bcm2711-thermal"; + #thermal-sensor-cells =3D <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: =20 examples: - | - thermal@f04d1500 { - compatible =3D "brcm,avs-tmon-bcm7445", "brcm,avs-tmon"; - reg =3D <0xf04d1500 0x28>; - interrupts =3D <0x6>; - interrupt-names =3D "tmon"; - interrupt-parent =3D <&avs_host_l2_intc>; - #thermal-sensor-cells =3D <0>; - }; + thermal@f04d1500 { + compatible =3D "brcm,avs-tmon-bcm7445", "brcm,avs-tmon"; + reg =3D <0xf04d1500 0x28>; + interrupts =3D <0x6>; + interrupt-names =3D "tmon"; + interrupt-parent =3D <&avs_host_l2_intc>; + #thermal-sensor-cells =3D <0>; + }; diff --git a/Documentation/devicetree/bindings/thermal/qcom-tsens.yaml b/Do= cumentation/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 =3D "qcom,ipq8064-tsens"; =20 - /* ... */ + nvmem-cells =3D <&tsens_calib>, <&tsens_calib_backup>; + nvmem-cell-names =3D "calib", "calib_backup"; + interrupts =3D ; + interrupt-names =3D "uplow"; =20 - tsens: thermal-sensor { - compatible =3D "qcom,ipq8064-tsens"; - - nvmem-cells =3D <&tsens_calib>, <&tsens_calib_backup>; - nvmem-cell-names =3D "calib", "calib_backup"; - interrupts =3D ; - interrupt-names =3D "uplow"; - - #qcom,sensors =3D <11>; - #thermal-sensor-cells =3D <1>; - }; + #qcom,sensors =3D <11>; + #thermal-sensor-cells =3D <1>; }; =20 - | @@ -347,66 +341,66 @@ examples: #include // Example 1 (legacy: for pre v1 IP): tsens1: thermal-sensor@4a9000 { - compatible =3D "qcom,msm8916-tsens", "qcom,tsens-v0_1"; - reg =3D <0x4a9000 0x1000>, /* TM */ - <0x4a8000 0x1000>; /* SROT */ + compatible =3D "qcom,msm8916-tsens", "qcom,tsens-v0_1"; + reg =3D <0x4a9000 0x1000>, /* TM */ + <0x4a8000 0x1000>; /* SROT */ =20 - nvmem-cells =3D <&tsens_caldata>, <&tsens_calsel>; - nvmem-cell-names =3D "calib", "calib_sel"; + nvmem-cells =3D <&tsens_caldata>, <&tsens_calsel>; + nvmem-cell-names =3D "calib", "calib_sel"; =20 - interrupts =3D ; - interrupt-names =3D "uplow"; + interrupts =3D ; + interrupt-names =3D "uplow"; =20 - #qcom,sensors =3D <5>; - #thermal-sensor-cells =3D <1>; + #qcom,sensors =3D <5>; + #thermal-sensor-cells =3D <1>; }; =20 - | #include // Example 2 (for any platform containing v1 of the TSENS IP): tsens2: thermal-sensor@4a9000 { - compatible =3D "qcom,qcs404-tsens", "qcom,tsens-v1"; - reg =3D <0x004a9000 0x1000>, /* TM */ - <0x004a8000 0x1000>; /* SROT */ + compatible =3D "qcom,qcs404-tsens", "qcom,tsens-v1"; + reg =3D <0x004a9000 0x1000>, /* TM */ + <0x004a8000 0x1000>; /* SROT */ =20 - nvmem-cells =3D <&tsens_caldata>; - nvmem-cell-names =3D "calib"; + nvmem-cells =3D <&tsens_caldata>; + nvmem-cell-names =3D "calib"; =20 - interrupts =3D ; - interrupt-names =3D "uplow"; + interrupts =3D ; + interrupt-names =3D "uplow"; =20 - #qcom,sensors =3D <10>; - #thermal-sensor-cells =3D <1>; + #qcom,sensors =3D <10>; + #thermal-sensor-cells =3D <1>; }; =20 - | #include // Example 3 (for any platform containing v2 of the TSENS IP): tsens3: thermal-sensor@c263000 { - compatible =3D "qcom,sdm845-tsens", "qcom,tsens-v2"; - reg =3D <0xc263000 0x1ff>, - <0xc222000 0x1ff>; + compatible =3D "qcom,sdm845-tsens", "qcom,tsens-v2"; + reg =3D <0xc263000 0x1ff>, + <0xc222000 0x1ff>; =20 - interrupts =3D , - ; - interrupt-names =3D "uplow", "critical"; + interrupts =3D , + ; + interrupt-names =3D "uplow", "critical"; =20 - #qcom,sensors =3D <13>; - #thermal-sensor-cells =3D <1>; + #qcom,sensors =3D <13>; + #thermal-sensor-cells =3D <1>; }; =20 - | #include // Example 4 (for any IPQ8074 based SoC-s): tsens4: thermal-sensor@4a9000 { - compatible =3D "qcom,ipq8074-tsens"; - reg =3D <0x4a9000 0x1000>, - <0x4a8000 0x1000>; + compatible =3D "qcom,ipq8074-tsens"; + reg =3D <0x4a9000 0x1000>, + <0x4a8000 0x1000>; =20 - interrupts =3D ; - interrupt-names =3D "combined"; + interrupts =3D ; + interrupt-names =3D "combined"; =20 - #qcom,sensors =3D <16>; - #thermal-sensor-cells =3D <1>; + #qcom,sensors =3D <16>; + #thermal-sensor-cells =3D <1>; }; ... diff --git a/Documentation/devicetree/bindings/thermal/rcar-gen3-thermal.ya= ml 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 =20 tsc: thermal@e6198000 { - compatible =3D "renesas,r8a7795-thermal"; - reg =3D <0xe6198000 0x100>, - <0xe61a0000 0x100>, - <0xe61a8000 0x100>; - interrupts =3D , - , - ; - clocks =3D <&cpg CPG_MOD 522>; - power-domains =3D <&sysc R8A7795_PD_ALWAYS_ON>; - resets =3D <&cpg 522>; - #thermal-sensor-cells =3D <1>; + compatible =3D "renesas,r8a7795-thermal"; + reg =3D <0xe6198000 0x100>, + <0xe61a0000 0x100>, + <0xe61a8000 0x100>; + interrupts =3D , + , + ; + clocks =3D <&cpg CPG_MOD 522>; + power-domains =3D <&sysc R8A7795_PD_ALWAYS_ON>; + resets =3D <&cpg 522>; + #thermal-sensor-cells =3D <1>; }; =20 thermal-zones { - sensor_thermal: sensor-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsc 0>; + sensor_thermal: sensor-thermal { + polling-delay-passive =3D <250>; + polling-delay =3D <1000>; + thermal-sensors =3D <&tsc 0>; =20 - trips { - sensor1_crit: sensor1-crit { - temperature =3D <90000>; - hysteresis =3D <2000>; - type =3D "critical"; - }; - }; + trips { + sensor1_crit: sensor1-crit { + temperature =3D <90000>; + hysteresis =3D <2000>; + type =3D "critical"; + }; }; + }; }; - | #include @@ -140,14 +140,14 @@ examples: #include =20 tsc_r8a779a0: thermal@e6190000 { - compatible =3D "renesas,r8a779a0-thermal"; - reg =3D <0xe6190000 0x200>, - <0xe6198000 0x200>, - <0xe61a0000 0x200>, - <0xe61a8000 0x200>, - <0xe61b0000 0x200>; - clocks =3D <&cpg CPG_MOD 919>; - power-domains =3D <&sysc R8A779A0_PD_ALWAYS_ON>; - resets =3D <&cpg 919>; - #thermal-sensor-cells =3D <1>; + compatible =3D "renesas,r8a779a0-thermal"; + reg =3D <0xe6190000 0x200>, + <0xe6198000 0x200>, + <0xe61a0000 0x200>, + <0xe61a8000 0x200>, + <0xe61b0000 0x200>; + clocks =3D <&cpg CPG_MOD 919>; + power-domains =3D <&sysc R8A779A0_PD_ALWAYS_ON>; + resets =3D <&cpg 919>; + #thermal-sensor-cells =3D <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 =3D "renesas,thermal-r8a7779", "renesas,rcar-therma= l"; - reg =3D <0xffc48000 0x38>; + compatible =3D "renesas,thermal-r8a7779", "renesas,rcar-thermal"; + reg =3D <0xffc48000 0x38>; }; =20 # Example (interrupt support) @@ -109,12 +109,12 @@ examples: #include =20 thermal@e61f0000 { - compatible =3D "renesas,thermal-r8a73a4", "renesas,rcar-therma= l"; - reg =3D <0xe61f0000 0x14>, <0xe61f0100 0x38>, - <0xe61f0200 0x38>, <0xe61f0300 0x38>; - interrupts =3D ; - clocks =3D <&mstp5_clks R8A73A4_CLK_THERMAL>; - power-domains =3D <&pd_c5>; + compatible =3D "renesas,thermal-r8a73a4", "renesas,rcar-thermal"; + reg =3D <0xe61f0000 0x14>, <0xe61f0100 0x38>, + <0xe61f0200 0x38>, <0xe61f0300 0x38>; + interrupts =3D ; + clocks =3D <&mstp5_clks R8A73A4_CLK_THERMAL>; + power-domains =3D <&pd_c5>; }; =20 # Example (with thermal-zone) @@ -124,32 +124,32 @@ examples: #include =20 thermal: thermal@e61f0000 { - compatible =3D "renesas,thermal-r8a7790", - "renesas,rcar-gen2-thermal", - "renesas,rcar-thermal"; - reg =3D <0xe61f0000 0x10>, <0xe61f0100 0x38>; - interrupts =3D ; - clocks =3D <&cpg CPG_MOD 522>; - power-domains =3D <&sysc R8A7790_PD_ALWAYS_ON>; - resets =3D <&cpg 522>; - #thermal-sensor-cells =3D <0>; + compatible =3D "renesas,thermal-r8a7790", + "renesas,rcar-gen2-thermal", + "renesas,rcar-thermal"; + reg =3D <0xe61f0000 0x10>, <0xe61f0100 0x38>; + interrupts =3D ; + clocks =3D <&cpg CPG_MOD 522>; + power-domains =3D <&sysc R8A7790_PD_ALWAYS_ON>; + resets =3D <&cpg 522>; + #thermal-sensor-cells =3D <0>; }; =20 thermal-zones { - cpu_thermal: cpu-thermal { - polling-delay-passive =3D <1000>; - polling-delay =3D <5000>; + cpu_thermal: cpu-thermal { + polling-delay-passive =3D <1000>; + polling-delay =3D <5000>; =20 - thermal-sensors =3D <&thermal>; + thermal-sensors =3D <&thermal>; =20 - trips { - cpu-crit { - temperature =3D <115000>; - hysteresis =3D <0>; - type =3D "critical"; - }; - }; - cooling-maps { - }; + trips { + cpu-crit { + temperature =3D <115000>; + hysteresis =3D <0>; + type =3D "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 =20 tsu: thermal@10059400 { - compatible =3D "renesas,r9a07g044-tsu", - "renesas,rzg2l-tsu"; - reg =3D <0x10059400 0x400>; - clocks =3D <&cpg CPG_MOD R9A07G044_TSU_PCLK>; - resets =3D <&cpg R9A07G044_TSU_PRESETN>; - power-domains =3D <&cpg>; - #thermal-sensor-cells =3D <1>; + compatible =3D "renesas,r9a07g044-tsu", + "renesas,rzg2l-tsu"; + reg =3D <0x10059400 0x400>; + clocks =3D <&cpg CPG_MOD R9A07G044_TSU_PCLK>; + resets =3D <&cpg R9A07G044_TSU_PRESETN>; + power-domains =3D <&cpg>; + #thermal-sensor-cells =3D <1>; }; =20 thermal-zones { - cpu-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsu 0>; + cpu-thermal { + polling-delay-passive =3D <250>; + polling-delay =3D <1000>; + thermal-sensors =3D <&tsu 0>; =20 - trips { - sensor_crit: sensor-crit { - temperature =3D <125000>; - hysteresis =3D <1000>; - type =3D "critical"; - }; - }; + trips { + sensor_crit: sensor-crit { + temperature =3D <125000>; + hysteresis =3D <1000>; + type =3D "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 =20 examples: - | - ap_thm0: thermal@32200000 { - compatible =3D "sprd,ums512-thermal"; - reg =3D <0x32200000 0x10000>; - clock-names =3D "enable"; - clocks =3D <&aonapb_gate 32>; - #thermal-sensor-cells =3D <1>; - nvmem-cells =3D <&thm0_sign>, <&thm0_ratio>; - nvmem-cell-names =3D "thm_sign_cal", "thm_ratio_cal"; - #address-cells =3D <1>; - #size-cells =3D <0>; + thermal@32200000 { + compatible =3D "sprd,ums512-thermal"; + reg =3D <0x32200000 0x10000>; + clock-names =3D "enable"; + clocks =3D <&aonapb_gate 32>; + #thermal-sensor-cells =3D <1>; + nvmem-cells =3D <&thm0_sign>, <&thm0_ratio>; + nvmem-cell-names =3D "thm_sign_cal", "thm_ratio_cal"; + #address-cells =3D <1>; + #size-cells =3D <0>; =20 - prometheus-sensor@0 { - reg =3D <0>; - nvmem-cells =3D <&thm0_sen0>; - nvmem-cell-names =3D "sen_delta_cal"; - }; - - ank-sensor@1 { - reg =3D <1>; - nvmem-cells =3D <&thm0_sen1>; - nvmem-cell-names =3D "sen_delta_cal"; - }; + prometheus-sensor@0 { + reg =3D <0>; + nvmem-cells =3D <&thm0_sen0>; + nvmem-cell-names =3D "sen_delta_cal"; }; + + ank-sensor@1 { + reg =3D <1>; + nvmem-cells =3D <&thm0_sen1>; + nvmem-cell-names =3D "sen_delta_cal"; + }; + }; ... diff --git a/Documentation/devicetree/bindings/thermal/ti,am654-thermal.yam= l 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 =3D <&vtm0 0>; =20 trips { - mpu0_crit: mpu0_crit { - temperature =3D <125000>; /* milliCelsius */ - hysteresis =3D <2000>; /* milliCelsius */ - type =3D "critical"; - }; + mpu0_crit: mpu0_crit { + temperature =3D <125000>; /* milliCelsius */ + hysteresis =3D <2000>; /* milliCelsius */ + type =3D "critical"; + }; }; }; ... --=20 2.43.0