Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp3504734rwl; Mon, 27 Mar 2023 15:22:36 -0700 (PDT) X-Google-Smtp-Source: AKy350ZIFzjtVQt1CmMVIryuvJPTaptkyDFPIdNPot/XigElpImsSfYRYaMEfkxohbX7sY3v4Kqp X-Received: by 2002:a17:90b:3c49:b0:23d:19c6:84b7 with SMTP id pm9-20020a17090b3c4900b0023d19c684b7mr14177074pjb.16.1679955756435; Mon, 27 Mar 2023 15:22:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679955756; cv=none; d=google.com; s=arc-20160816; b=tLhLWb0P7ZVSLPDfK+h8NF2iQHRcmCTi5Q8YDFfTF2i4TFoC8CtIlNCHWjYqqz0JJi cKu2a2+xtQfwM3iWNR0ky09SzGRysn0498sE11gWvRNjTBhjWNU9TpRnxt7cVVJzXIZs D1ytAJ2i67MRssMFgp9MMizoaiKOgx2RwfL2L4SuyVdavy48IT/xoF++FML9mrd8RNKo J9jUjdCxdWCxYKetN3NHIPXdNA9nlIwKLFRrh4qiqST833nmPRKOjpdxRbqxSODNgF77 b83HkXnkLO0wlc9a10eEp6r/SXFIP/NU7bY9d5m7b7EvfWN/LagTRl6eUyQhbgEUhHuX AvXg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=FyO3TrOwQMvkBgZqGK0kW1U55hN9olhm7RJB7piyX28=; b=j/NrbH2PRNLO0UUn7Oks8d1qmWvpHZFPxVtYR5ZoD4ZbrfVHAuX/53wTGmPGfa5to7 y8tzJ8r1zArAcxSoVM9c94srIRMQnPAk6uIawj6xLS5JY6hpweRqv8PadNkHxGTC0xOP DDI7tV0l7ehH0mfgs9MJjpUJTCjp/DxYlBapKP5PHkoNJ1K1Lw1VAHFRgJkjjIEmAuXX aO7PcZddBakH29i7AFmHQrpFT7qxP/wcradhZSUZKYQDGSWItuJUIwypStYjEBc6g72H Y75YA9QLBCWB8fPLJva0SFFJkpp6RXwbC8SWZka0XJ8cBaq0pdNK/Nce37OhM+IyM+YQ ILvg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=V00OL3jT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o11-20020a170902d4cb00b001a1e0fd406csi18210024plg.217.2023.03.27.15.22.24; Mon, 27 Mar 2023 15:22:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=V00OL3jT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229822AbjC0WWK (ORCPT + 99 others); Mon, 27 Mar 2023 18:22:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53678 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229512AbjC0WWG (ORCPT ); Mon, 27 Mar 2023 18:22:06 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7F86E1BE2; Mon, 27 Mar 2023 15:22:05 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 30BFEB819A9; Mon, 27 Mar 2023 22:22:04 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 61150C4339B; Mon, 27 Mar 2023 22:22:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1679955723; bh=bhokcF+DbXFgXVckSN1ln99pGP0gXkWwW2oZ9i5CFas=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=V00OL3jTV6QgFfjqOE7LoQL7xurcZ/rqpDoo2AY1Xnud9rwhZ9YIEBvLyS3lN4Khj d9PK8ZqYdm24hovlXOAVLpGrUeadXINpMU6zeXAM+q2pPwkAo42xoVqcJGU+ow/UXh MoMwVE6FwVUeO45ATrcvmxjk9XBcqZm53DrOFeF6EXHQnaJXEZfwS1W1rHwPqdogNx OAxKx5WD/+CuQjHAVuIsffRuKBoFDDfRumQckdgkHvzrQsuPyZtgWpoSX2tzmbF9IK XUh6X18WmVLuRx4DWu0+OMWdfM1aIwTZ00E62x2EaqYFQ+JwU4AYWP6pbQRfCkUPOC kCg8axYyioRtg== From: Stephen Boyd To: Michael Turquette , Stephen Boyd Cc: linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, patches@lists.linux.dev, Brendan Higgins , David Gow , Greg Kroah-Hartman , "Rafael J . Wysocki" , Rob Herring , Frank Rowand , Christian Marangi , Krzysztof Kozlowski , devicetree@vger.kernel.org, linux-kselftest@vger.kernel.org, kunit-dev@googlegroups.com, Maxime Ripard Subject: [PATCH v3 04/11] dt-bindings: test: Add KUnit empty node binding Date: Mon, 27 Mar 2023 15:21:52 -0700 Message-Id: <20230327222159.3509818-5-sboyd@kernel.org> X-Mailer: git-send-email 2.40.0.348.gf938b09366-goog In-Reply-To: <20230327222159.3509818-1-sboyd@kernel.org> References: <20230327222159.3509818-1-sboyd@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-5.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI,SPF_HELO_NONE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Describe a binding for an empty device node used by KUnit tests to confirm overlays load properly. Cc: Rob Herring Cc: Krzysztof Kozlowski Cc: Brendan Higgins Cc: David Gow Signed-off-by: Stephen Boyd --- .../devicetree/bindings/test/test,empty.yaml | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 Documentation/devicetree/bindings/test/test,empty.yaml diff --git a/Documentation/devicetree/bindings/test/test,empty.yaml b/Documentation/devicetree/bindings/test/test,empty.yaml new file mode 100644 index 000000000000..20dc83b15bbf --- /dev/null +++ b/Documentation/devicetree/bindings/test/test,empty.yaml @@ -0,0 +1,30 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/test/test,empty.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Empty node + +maintainers: + - David Gow + - Brendan Higgins + +description: + An empty node to confirm tests can load device tree overlays. + +properties: + compatible: + const: test,empty + +required: + - compatible + +additionalProperties: false + +examples: + - | + kunit-node { + compatible = "test,empty"; + }; +... -- https://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git/ https://git.kernel.org/pub/scm/linux/kernel/git/sboyd/spmi.git