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: 559934 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 497F4C433FE for ; Thu, 7 Apr 2022 07:46:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242123AbiDGHsf (ORCPT ); Thu, 7 Apr 2022 03:48:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36180 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242174AbiDGHrm (ORCPT ); Thu, 7 Apr 2022 03:47:42 -0400 Received: from mx.socionext.com (mx.socionext.com [202.248.49.38]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id E76E6A27FB; Thu, 7 Apr 2022 00:45:41 -0700 (PDT) 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 Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.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: - |