From patchwork Fri Jul 5 09:51:24 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13724809 Return-Path: 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 9263BC30658 for ; Fri, 5 Jul 2024 09:54:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References :Message-Id:Content-Transfer-Encoding:Content-Type: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=GzjIIKaoQE5SHKk2q2uAy6nqX+WGU4NAuF2D0sAZ4sQ=; b=tRYQIoMnWK0uxIQ9+/cYE7ePvm /02nZy2FGU0y1xKnAdGvWFA/fFq5VvrIJMGZW9Hcagh0OF6Gg9lXsK/1lm6hJPYloqiFc+ZEiHsVs pNKgb+uVucLMfc0p0H+N09Zz/s/0s6tYIB6eiZLyZjWQQ8TNaVxL9UtFG0mJ0RQbpQuQ+92mg3QSJ URRJYbWgufZAuEF6LkOlzfP1W3+1Zdv/lZHeC0rDf6TlUX2vMo+4kQlXFtVejXWLgGZwdT6tMjfSW +DVmaQnPqtODuRXB+PkV8PXblUdLiVfTJJ8vVhiIlk24Xt+5EBJhYGfu/R/0e/M60O8Lp8PR0exbi UcaTRHJg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sPfdc-0000000FXDw-0VAD; Fri, 05 Jul 2024 09:53:56 +0000 Received: from mail-wm1-x331.google.com ([2a00:1450:4864:20::331]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sPfbp-0000000FVzu-1OOO for linux-arm-kernel@lists.infradead.org; Fri, 05 Jul 2024 09:52:07 +0000 Received: by mail-wm1-x331.google.com with SMTP id 5b1f17b1804b1-42122ac2f38so9045715e9.1 for ; Fri, 05 Jul 2024 02:52:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1720173123; x=1720777923; 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=GzjIIKaoQE5SHKk2q2uAy6nqX+WGU4NAuF2D0sAZ4sQ=; b=oPhnLjevPUyVu6k7v9jaSz47RhvCAsinwWMy16oYT5pQhO+5ZsiN5oA5OtAfCxSHl6 E3QiqEMSFZFYC2levBVk/m2k559hv/szFKau00/Tt+ZGfUqO/A9wa/PflpDRja/hmDWi UDC7eTt7zonwf1HVseMKDff7hbujGoFFi7AAlPvE9wePlYxEBJwxnPZCM6QQrQE1PbXv elmqhpm85bw1upFll15wva8uaGLvqSDdB91HgdtfkLK1QLMA3OMcpwXYtveAaAEDap+u PPeT30I7TLLMdUpdzvFXELiWrvSFafRhXW2Ro4CVhDX3jK1qFCmFPw6qNB5Mxjz+4XGb NQ7Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720173123; x=1720777923; 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=GzjIIKaoQE5SHKk2q2uAy6nqX+WGU4NAuF2D0sAZ4sQ=; b=OL3euWbNyYCsNzeeoRFCd7W5ifdhBrxaFMhG37LAgM5//cHsMNiG7q0PZrg/0wteZe HJ4iDNySoDLkc6vNKUKYkbhlcnT2GjSoVLtuIFWIRPGYRm3TO3PB2H2W/8yMQU7ptuPb rSOEo/Y5RB993xiBne0Yl/AzufUez83b1NdTloTLxQXwBNk9x2vqoHBPngp3QTGuIam0 kYroI7myuzeIUyOc8pOAULcrORoiRKaQl+WHOdMzbBJOiSl2f0UrHdh8uEDHxsVAArSh ZmJMk3auNhYFtK7Px7s3ccss10+XcDhA89AY8zs4jcf6hqvaKM2+oixDs/pRUyU1RmWg +4nA== X-Forwarded-Encrypted: i=1; AJvYcCWcB3MuHulTjGhZpB9lmADllFysJO81TJnb4fo6q1x/BVOPhr8LUIdU3VbDjMMYIXgpfX/plhUtGwSwqM11nQLoM4QCAZci96Bi6RQsuHPsIkKCOCM= X-Gm-Message-State: AOJu0Yx1ryyIJCUDfY+JzpgA/hJq08E2PYPpN3oG8rySiJU8LifsAXRG Ik1G8GGptpWNDvf8zTfGyDeJd1QBgo9vFzMBYa338sCeVdFkKd7AsVn0MZWfOQM= X-Google-Smtp-Source: AGHT+IEQcA20h38s2g6Ses3CSWYigWtghZ46X0AMmLlWuAFBEueee78GxaQQ7J8Wp1trOqfa0lXIHg== X-Received: by 2002:a05:600c:2d16:b0:426:5b52:84fb with SMTP id 5b1f17b1804b1-4265b528599mr450995e9.7.1720173123637; Fri, 05 Jul 2024 02:52:03 -0700 (PDT) Received: from [127.0.1.1] ([178.197.219.137]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4264a1d1650sm55528995e9.2.2024.07.05.02.52.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Jul 2024 02:52:03 -0700 (PDT) From: Krzysztof Kozlowski Date: Fri, 05 Jul 2024 11:51:24 +0200 Subject: [PATCH RESEND 05/22] dt-bindings: thermal: generic-adc: reference thermal-sensor schema MIME-Version: 1.0 Message-Id: <20240705-dt-bindings-thermal-allof-v1-5-554061b52fbc@linaro.org> References: <20240705-dt-bindings-thermal-allof-v1-0-554061b52fbc@linaro.org> In-Reply-To: <20240705-dt-bindings-thermal-allof-v1-0-554061b52fbc@linaro.org> To: Daniel Lezcano , Zhang Rui , Rob Herring , Conor Dooley , Guillaume La Roque , Krzysztof Kozlowski , Chen-Yu Tsai , Fabio Estevam 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, Conor Dooley , Krzysztof Kozlowski X-Mailer: b4 0.14.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1284; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=0fSb5xqcGi4HKz3CDANpHnfXYtl8RCvr5qhaTQ5S2P0=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmh8Io7vHh9SbWP804f84WKaCS+gN67JOZDpJ41 c7gdcSv29+JAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZofCKAAKCRDBN2bmhouD 1+8WD/9874fMQJU7KMpw+RJkf1AXrSErvGZqp1YNJWcmDsOz+1Tp2k35XRBfCNDd4nDARTBW6JC /Xr357TKiY69Zpiz/6IcOBOXOrbsS+3sovbC8/+gW/BhEBaSTTXtHv6KmSkXSD/Nz0AlIYhZUQT AbIefNplxTDpH/VzarDlGXQfXRb43L6qdntvnUaECYnMZtahhPE2ejNg/PT7hEBY4GJZwwQQw2q uwXWuOGuU6JW/1Nrjk36mNrl0gb0RXhvPTfCp5uF9+iAwWKfwuIUN5WJUj0+jRNrJLwLjDBQ5EO U9xpRjZnhahvHyOAuFjy4loDCHA7X1galk/JwSl87mAZLVUaQo1uu7EfhC/8z/eyOtnDlPZePV5 yf6clqtHUvhyzXnMnzqY4AegFT94QQ3x7RYMClqZGB6DzPFaDUqbuOtp9OUmhOyyNRfPnfG/lVH 84Q01sbbgVEq7fUfcG7ckbBBr9FVxuTkSSLkdwiVjlzUcby0YT4gZ6ZEceVL6qEr4G2ft8xvnYS t1tyYn5KC0qS5ag4npu4NQUCZJ0fW4yol49RHj7Haxf5nrLnMcLD8KIwdGi16A74pjmP4JdmuPP fLFzRTf3fo6D6ftg7zQmYHZnAiuFZDmyEhvuBRZRo4qJTJ4bx8zqTE/LMpApxQJXMYaFm9iyj6j gteb/K4P/0ftdsw== 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-20240705_025205_454953_2BA50227 X-CRM114-Status: GOOD ( 10.57 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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. Acked-by: Conor Dooley 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: - |