Message ID | 20240614-dt-bindings-thermal-allof-v1-10-30b25a6ae24e@linaro.org (mailing list archive) |
---|---|
State | New |
Headers | show
Return-Path: <linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 913E0C27C6E for <linux-rockchip@archiver.kernel.org>; Fri, 14 Jun 2024 09:48:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References:Message-Id :MIME-Version:Subject:Date:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=wDeGjDgQrakGDXanZ3wfEen1DL1SZFuvL+lBZF1wVxo=; b=aKHq1chQtsgCJM 4mvbb5rf4Lrw7qLC4wHyXKnnMMSpRvmfiWtLWy3SIDoJWl1P2wdq04OMONkUuwlN9z+flFZyj5kkC 99FVTFJ6NZKMG5HoRKIp83Q6Iysyf9FE/Fkem6a8CRmzU6BGKP0juRuj440qaXDOOjcRBUaG6EzAC UswvFB+ZtjvchWOGQWf3m0wv4Frf3c/LhLrvcJTDg0ODWRzMSo498LL2X+2BJq84BGCxS6by7Dv4c TQC9+pbQdZONUeknvNrijKzSMs4+rn8AWbLi1P4HySStuZ391CwSkCDeRz5NLsTi2Lt5KssTR5rlG yeavVEMndnoFN6Wy+j4A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sI3XV-00000002GIb-2D2a; Fri, 14 Jun 2024 09:48:09 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sI3WS-00000002FQ7-0u5L for linux-rockchip@bombadil.infradead.org; Fri, 14 Jun 2024 09:47:04 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Cc:To:In-Reply-To:References: Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Sender:Reply-To:Content-ID:Content-Description; bh=diVITPG+U69FAXsrkSDgST1dz3g86H5cCTlmEO3M2Y0=; b=PefFxyNtSbaVkwTLIXXQBvdTf1 R9ZN/vxmoxmhXLiTBQP3THTG0/VWZx4JONJw2EABb9/O1vtxt1oapcOjhVGjyoaftVC0/fDmfIKYv JhCFRgqhlKaUBI7ON0kkHZB7XmfVCFwwEquZe4Sl+Wrlrk3jDr3VjwLbP296lJk1bpK0lmFmP6pVQ ZXvDF8/veWC7xC1D2cI0C1lT8taqNb2ndDD+myUzyvmAjuDSTSeAnn9n1HL8D7DchybflIhVSKjO5 A9jcjMqtdDxi1GMVqGWEQMcDtDpAg8LfnPHsgwnRLNtUnLlE7KVxqmORDR8MIybue2xEv5ACsUf6Q 6LJvhl5Q==; Received: from mail-ej1-x631.google.com ([2a00:1450:4864:20::631]) by desiato.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sI3WK-00000004F82-1fXl for linux-rockchip@lists.infradead.org; Fri, 14 Jun 2024 09:47:01 +0000 Received: by mail-ej1-x631.google.com with SMTP id a640c23a62f3a-a63359aaaa6so282255066b.2 for <linux-rockchip@lists.infradead.org>; Fri, 14 Jun 2024 02:46:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1718358415; x=1718963215; darn=lists.infradead.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=IBchOA4ck5sZ9jyc1rjzVbAZo3iZzzV6Rpa/UWpkRsnhqo32C0G43vFmdihYGZecQk fsNthVoStkbnNnYmO75ToQEQ+1ydHIVjmL/Mh/EMGdWKOoCGm7NyCEruKC0zOjQ8JoBI CphQE5EfHm41YU50+LxOCCDO1zNXbk4mpzOtUMImBF4K1KM0hiTGNcwGRuEDuoNAOUBH abxN8EcnvbsfEglY/dnVH3a2fwKzDNeilnPBuRQSwRTA4HOIKQUe8Bys7+8NKd+6bCeW 2/cvxOtSRGGW/MWPl4l2VQqZBTMLHUsnikBt+f9BC6QZcJvvt7qnrlEUTWBWpUM9f31b vAEg== 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=pkzSABFl+fmMW/xJK6g2iK28vmg7CP20A1mAW/huDq3BFkDyqxs2dQLasqJ3hLwcoo BZ3z0EhNg5zH9DeKJPBWY3et+wgvgV94qtsmBhf+FTKM7PZx00G/3PXIDT67qnWDdCkH OYetkYI+eYlG5VlVrjVkp3K/Y1Jcxoq8RGR+4qpJEfnCOSWkVymHJiegic8yP3aVu7R5 +jBatHbeEjmGFjETcCH2yuV7jPko1ZjIDsgm/wlR6bHVVrXDAa31TMVWCs1DUEKdE1kH 8gnL00TpvmYwsIi16eDl8PVh2bXSDEIe9vNRUNt4/PO3Sg9NQ6zjUsGr7I0tVuiKV1KX fpXg== X-Forwarded-Encrypted: i=1; AJvYcCX5mEL8+Bn6Gq05zdONgBmuuFXvzLN2O30BP0jk/BJKCt8ttIk9WOVB3OEN3mAi4rpRytqPmap0E0UKkcM2jKtTbhoH+TMQHsUU4zwsKYYivr5P X-Gm-Message-State: AOJu0YxJJ008oLlwnmwmJyn/GVaefdOY1xCbz5JtzDKXgDhf0I2PvFQS tFXJWT+dnnwDpiCm8ubsj7Cbh9gx012VKnqSHXC52/jJ8uj2IvTwJKBQsDsyHQ4= 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 <krzysztof.kozlowski@linaro.org> Date: Fri, 14 Jun 2024 11:46:09 +0200 Subject: [PATCH 10/22] dt-bindings: thermal: qcom-spmi-adc-tm5: reference thermal-sensor schema MIME-Version: 1.0 Message-Id: <20240614-dt-bindings-thermal-allof-v1-10-30b25a6ae24e@linaro.org> References: <20240614-dt-bindings-thermal-allof-v1-0-30b25a6ae24e@linaro.org> In-Reply-To: <20240614-dt-bindings-thermal-allof-v1-0-30b25a6ae24e@linaro.org> To: Daniel Lezcano <daniel.lezcano@linaro.org>, Zhang Rui <rui.zhang@intel.com>, Lukasz Luba <lukasz.luba@arm.com>, Rob Herring <robh@kernel.org>, Conor Dooley <conor+dt@kernel.org>, Alim Akhtar <alim.akhtar@samsung.com>, Guillaume La Roque <glaroque@baylibre.com>, Krzysztof Kozlowski <krzk+dt@kernel.org>, Vasily Khoruzhick <anarsoul@gmail.com>, Chen-Yu Tsai <wens@csie.org>, Jernej Skrabec <jernej.skrabec@gmail.com>, Samuel Holland <samuel@sholland.org>, Shawn Guo <shawnguo@kernel.org>, Sascha Hauer <s.hauer@pengutronix.de>, Pengutronix Kernel Team <kernel@pengutronix.de>, Fabio Estevam <festevam@gmail.com>, Anson Huang <Anson.Huang@nxp.com>, Thierry Reding <thierry.reding@gmail.com>, Jonathan Hunter <jonathanh@nvidia.com>, Dmitry Baryshkov <dmitry.baryshkov@linaro.org>, Amit Kucheria <amitk@kernel.org>, =?utf-8?q?Niklas_S=C3=B6derlund?= <niklas.soderlund@ragnatech.se>, Heiko Stuebner <heiko@sntech.de>, Biju Das <biju.das.jz@bp.renesas.com>, Orson Zhai <orsonzhai@gmail.com>, Baolin Wang <baolin.wang@linux.alibaba.com>, Chunyan Zhang <zhang.lyra@gmail.com>, Alexandre Torgue <alexandre.torgue@foss.st.com>, Pascal Paillet <p.paillet@foss.st.com>, Keerthy <j-keerthy@ti.com>, Broadcom internal kernel review list <bcm-kernel-feedback-list@broadcom.com>, Florian Fainelli <florian.fainelli@broadcom.com>, Scott Branden <sbranden@broadcom.com>, zhanghongchen <zhanghongchen@loongson.cn>, Matthias Brugger <matthias.bgg@gmail.com>, AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>, Bjorn Andersson <andersson@kernel.org>, Geert Uytterhoeven <geert+renesas@glider.be> 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 <f.fainelli@gmail.com>, linux-rpi-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240614_104657_375759_117ACDF9 X-CRM114-Status: GOOD ( 10.64 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms <linux-rockchip.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-rockchip>, <mailto:linux-rockchip-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-rockchip/> List-Post: <mailto:linux-rockchip@lists.infradead.org> List-Help: <mailto:linux-rockchip-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-rockchip>, <mailto:linux-rockchip-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Linux-rockchip" <linux-rockchip-bounces@lists.infradead.org> Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org |
Series |
dt-bindings: thermal: few cleanups
|
expand
|
On Fri, Jun 14, 2024 at 11:46:09AM GMT, Krzysztof Kozlowski wrote: > 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 <krzysztof.kozlowski@linaro.org> > --- > Documentation/devicetree/bindings/thermal/qcom-spmi-adc-tm5.yaml | 8 +++----- > 1 file changed, 3 insertions(+), 5 deletions(-) > Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
diff --git a/Documentation/devicetree/bindings/thermal/qcom-spmi-adc-tm5.yaml b/Documentation/devicetree/bindings/thermal/qcom-spmi-adc-tm5.yaml index d9d2657287cb..4470a5942fb2 100644 --- a/Documentation/devicetree/bindings/thermal/qcom-spmi-adc-tm5.yaml +++ b/Documentation/devicetree/bindings/thermal/qcom-spmi-adc-tm5.yaml @@ -8,6 +8,8 @@ title: Qualcomm's SPMI PMIC ADC Thermal Monitoring maintainers: - Dmitry Baryshkov <dmitry.baryshkov@linaro.org> +$ref: thermal-sensor.yaml# + properties: compatible: enum: @@ -23,9 +25,6 @@ properties: "#thermal-sensor-cells": const: 1 - description: - Number of cells required to uniquely identify the thermal sensors. Since - we have multiple sensors this is set to 1 "#address-cells": const: 1 @@ -159,9 +158,8 @@ required: - interrupts - "#address-cells" - "#size-cells" - - "#thermal-sensor-cells" -additionalProperties: false +unevaluatedProperties: false examples: - |
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 <krzysztof.kozlowski@linaro.org> --- Documentation/devicetree/bindings/thermal/qcom-spmi-adc-tm5.yaml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-)