Received: by 2002:a89:413:0:b0:1fd:dba5:e537 with SMTP id m19csp691123lqs; Fri, 14 Jun 2024 02:50:35 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVNUBVmT5MbJt2fL/vVckRRflMcP4kSP1F86a1StTj/5URwGux2CHOX7sBSwoel+CI9shwN+gtj095xh3yr6sc+VsMKNaPB9QvCI2U1CQ== X-Google-Smtp-Source: AGHT+IGsOlcUow72Atd2yYiCmYQFPc2GHYD57VkhPLEODIWUupaKVWv7O6CrFD85OcVB2W8KFXoz X-Received: by 2002:a05:6808:1687:b0:3d2:1fda:577 with SMTP id 5614622812f47-3d24e8e3d0cmr2215320b6e.24.1718358635463; Fri, 14 Jun 2024 02:50:35 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718358635; cv=pass; d=google.com; s=arc-20160816; b=0vWfokgh4zunkCct9AGcbWkghSn+Cfl2VbV1nWkNQCKGAyw7Q/oR0R06RoYEf8qOKG KFCVfTd23YRj87BB8PES4rSSsGd0tgFJ3HML7DGWm1c/hUwmYCBb4P0kJ5R4U/qgEkl1 3l8asCrYP9QdMxeFH8aMHNjQ4nDr+X/+4kyhFNItuGYmrkHR0AhTrMqbENSjNNVgkj2d 6PLgbOfZySQiMzR5lTZYJkPSLZp9d8VY70BpYoCVHdiksCP1vnPuUjbkNmFW4mUQRlfF rU3N+vG9qaCArGj9plxsvD6EBgEVW3H+/6L0lUGBq4qk3s/j/9RhWhODEnsQN0o1cTs1 btcQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=HRsblTKIKueUASpgZPIAhHvU/Xf2tJR2h/CrNqwHNsA=; fh=WeBL52XBiANNTZpyI0f2SalTCf8duw1Td0s2KIjkCDw=; b=NAcVBhy8pAVv9yEUVzRXG9VP06lJMUcOIL5+mfGpu2Zg5qFxL+BG7Mr27i2stx42GY t2Hiobj7hh9Lq9elfjU8OzJm9jfE3mRzrqcxTEEF0WKWqEsuIzqrlKaV2Fe80bK2MQS7 mcZ7eeEWKP8QKKEDmmggbR/guXZRj/STR44tyVUTm7Uo1zhSp37a9KIKH0qzF07gdxMO VjFANpauK3NG+07pnMOkSKhCWIcXs4mDH38SIZn8fbC3KBm9JhkulEGoG/shoAuZzKb3 RvLRHRFydhjBYnodGIFS+CZVRtj45Yn7Duq8uqwfhB5b4SJu/fh1+O/NkXILIy/mA/le cBEw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=bdRyO0e5; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-214675-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-214675-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id af79cd13be357-798ac087ddfsi339396585a.708.2024.06.14.02.50.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Jun 2024 02:50:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-214675-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=bdRyO0e5; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-214675-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-214675-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 224CC1C2519E for ; Fri, 14 Jun 2024 09:49:20 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 09B9C198A11; Fri, 14 Jun 2024 09:46:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="bdRyO0e5" 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 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-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: 7bit Message-Id: <20240614-dt-bindings-thermal-allof-v1-5-30b25a6ae24e@linaro.org> References: <20240614-dt-bindings-thermal-allof-v1-0-30b25a6ae24e@linaro.org> In-Reply-To: <20240614-dt-bindings-thermal-allof-v1-0-30b25a6ae24e@linaro.org> To: Daniel Lezcano , Zhang Rui , Lukasz Luba , Rob Herring , Conor Dooley , Alim Akhtar , Guillaume La Roque , Krzysztof Kozlowski , Vasily Khoruzhick , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Anson Huang , Thierry Reding , Jonathan Hunter , Dmitry Baryshkov , Amit Kucheria , =?utf-8?q?Niklas_S=C3=B6derlund?= , Heiko Stuebner , Biju Das , Orson Zhai , Baolin Wang , Chunyan Zhang , Alexandre Torgue , Pascal Paillet , Keerthy , Broadcom internal kernel review list , Florian Fainelli , Scott Branden , zhanghongchen , Matthias Brugger , AngeloGioacchino Del Regno , Bjorn Andersson , Geert Uytterhoeven Cc: linux-pm@vger.kernel.org, linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-sunxi@lists.linux.dev, imx@lists.linux.dev, linux-tegra@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com, Florian Fainelli , linux-rpi-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1231; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=Ai81JSuQOdlCv1p1Eoa8aLrKA1CvKqWZCg0pr4dpmPA=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmbBFk+/e4mLd8U5fNTEKa3WDi6sHWNOs+Kjv6y YiAHKkIy/OJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZmwRZAAKCRDBN2bmhouD 18tOD/sGEt/+Dkm52ln4YMwmPWkNNxRx/rHJj4mdO3bytCygp+noPWg2IhLxNuoM/XTWFt10nzG 0f79B1p8TZZorhJKb10piKpMEwop1YmDWDY0y6qPPY3AxEVqdIHcPVDccIBLIlRTyWTIAtK+sKg fpKPQxaUgFxyOgFBwmxKkUTqkiHtac8RouoPVnrtIf6CMweyHY6E9DYmD3x2Ughzedz1SClLbQM k432cdtgiPy6APeqO/xVvX/cUcT2k6CuwHRfXeoESe+oAzdACJbUj5RJNjL1KqGKwIT7a/fJt4w MG6ayvMJ1hiYn+avP6uBw61Y9aM53Uyx0iksXCzovSiCvjdDPDT4P09ZYy52nXIXohF6Ct3Mx/y wn4qE+O1akccWIwrVF/7qUIH6/KZn4jARxe7AWsqHjdbYqNuU8D84P/Uv1JpfNok0Q4SuAx0gJG woHg0DyS6g5TiJHj+FO5JQ3U/yfgRX5eJgc1VqmKZKMTaAmLWhsk9OVBkLiYbIlNnYVZYwtZm30 Wk+hbyjStKbqzcCI42C2wy8tLAi6YBYcouKGxeu4FlOowRsBx51ZFr7/tOOxj3iKiKOzufxqFqw /O3E5fAHfmLVkX7w9ETIIgs8/YjdsPoumGfSdF8STZzrKfdIqKokZ/Fe3XoS7ltExAkv5uMmVWR vOx428/JGca/mQQ== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B Device is a thermal sensor and it requires '#thermal-sensor-cells', so reference the thermal-sensor.yaml to simplify it and bring the common definition of '#thermal-sensor-cells' property. Signed-off-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/thermal/generic-adc-thermal.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/thermal/generic-adc-thermal.yaml b/Documentation/devicetree/bindings/thermal/generic-adc-thermal.yaml index f1fc3b0d8608..12e6418dc24d 100644 --- a/Documentation/devicetree/bindings/thermal/generic-adc-thermal.yaml +++ b/Documentation/devicetree/bindings/thermal/generic-adc-thermal.yaml @@ -15,6 +15,8 @@ description: sensor resistor. The voltage read across the sensor is mapped to temperature using voltage-temperature lookup table. +$ref: thermal-sensor.yaml# + properties: compatible: const: generic-adc-thermal @@ -44,11 +46,10 @@ properties: required: - compatible - - '#thermal-sensor-cells' - io-channels - io-channel-names -additionalProperties: false +unevaluatedProperties: false examples: - | -- 2.43.0