From patchwork Thu Apr 7 07:45:33 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kunihiko Hayashi X-Patchwork-Id: 12804597 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 AF6F5C433F5 for ; Thu, 7 Apr 2022 07:47:10 +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:MIME-Version:List-Subscribe:List-Help: List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date:Subject:Cc:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=gcBNaC2KSKOpVeRefEfiEv+HSoF5plYe5tJ9ZGIY2C0=; b=p3cSPSRfyByL9W mvxoU5g2u/DCNaJTi1d6t0Jcki0L48SJTFfXb2UVTNMUGNoE8ld/s2t3oG9zKx6VwgNPOOvts3PUm BgxnWCjNbDIAK7VSKcLVrfmR07ejBgOVAXONSYkAm7U1uRVLcJPIbD4M3r8f/LfiBkyUznhJXVy37 zDwMFiq8IGZXmrXHOKy0PMXqj8tGu4Cq4SBcpXY1pLdCURkWhp4bF8dk90gsaGhkSTX7sQ4PftU3N R+/xHdCNWbg7JKf50/ailJdc1Koh4RjlndVMusftAME9QrEvzzFTItTl+1KuiTF3zBkS1ZpiyJ1k8 eu6sF5RoFRnHDRnEXNmQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ncMqB-00A55D-Q9; Thu, 07 Apr 2022 07:46:04 +0000 Received: from mx.socionext.com ([202.248.49.38]) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ncMpq-00A4vI-9l for linux-arm-kernel@lists.infradead.org; Thu, 07 Apr 2022 07:45:45 +0000 Received: from unknown (HELO iyokan2-ex.css.socionext.com) ([172.31.9.54]) by mx.socionext.com with ESMTP; 07 Apr 2022 16:45:41 +0900 Received: from mail.mfilter.local (m-filter-2 [10.213.24.62]) by iyokan2-ex.css.socionext.com (Postfix) with ESMTP id 641502058B50; Thu, 7 Apr 2022 16:45:41 +0900 (JST) Received: from 172.31.9.51 (172.31.9.51) by m-FILTER with ESMTP; Thu, 7 Apr 2022 16:45:41 +0900 Received: from plum.e01.socionext.com (unknown [10.212.243.119]) by kinkan2.css.socionext.com (Postfix) with ESMTP id 941D3B6395; Thu, 7 Apr 2022 16:45:40 +0900 (JST) From: Kunihiko Hayashi To: "Rafael J. Wysocki" , Daniel Lezcano , Amit Kucheria , Zhang Rui , Rob Herring , Krzysztof Kozlowski Cc: Masami Hiramatsu , linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Kunihiko Hayashi Subject: [PATCH] dt-bindings: thermal: uniphier: Use unevaluatedProperties and common bindings Date: Thu, 7 Apr 2022 16:45:33 +0900 Message-Id: <1649317533-21139-1-git-send-email-hayashi.kunihiko@socionext.com> X-Mailer: git-send-email 2.7.4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220407_004542_537102_8BBF0F7E X-CRM114-Status: GOOD ( 12.48 ) 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: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This adds common bindings thermal-sensor.yaml and this is preferred for unevaluatedProperties instead of additionalProperties. Signed-off-by: Kunihiko Hayashi --- .../bindings/thermal/socionext,uniphier-thermal.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/thermal/socionext,uniphier-thermal.yaml b/Documentation/devicetree/bindings/thermal/socionext,uniphier-thermal.yaml index c5b25ce44956..537c93da1397 100644 --- a/Documentation/devicetree/bindings/thermal/socionext,uniphier-thermal.yaml +++ b/Documentation/devicetree/bindings/thermal/socionext,uniphier-thermal.yaml @@ -14,6 +14,9 @@ description: | maintainers: - Kunihiko Hayashi +allOf: + - $ref: "thermal-sensor.yaml#" + properties: compatible: enum: @@ -40,7 +43,7 @@ required: - interrupts - "#thermal-sensor-cells" -additionalProperties: false +unevaluatedProperties: false examples: - |