From patchwork Wed Mar 15 18:37:21 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Boyd X-Patchwork-Id: 664366 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 DE1BBC7618D for ; Wed, 15 Mar 2023 18:38:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232237AbjCOSiF (ORCPT ); Wed, 15 Mar 2023 14:38:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55724 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231849AbjCOSiE (ORCPT ); Wed, 15 Mar 2023 14:38:04 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 65E6716316; Wed, 15 Mar 2023 11:37:34 -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 dfw.source.kernel.org (Postfix) with ESMTPS id BA3F861E3E; Wed, 15 Mar 2023 18:37:33 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9E51AC433EF; Wed, 15 Mar 2023 18:37:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1678905453; bh=cJdEtVm6ODIXJfM6lGV664xSH31/t/E20tGUJ18IXTM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=sEp1zFiDnCcpNjIbJvqLNDY0r52uXKTzoTgUGECmJCfamQJLhTuinwfCDEfiM1F25 MGKwL5EjGDuPPjWHbq6p3vJh+qZVWtkweEySohmgalsA6LHrG3wRYIftkodt3dlALs fRHTiDNzuoqLqwhvdiJHZGCHdMN99XBpgq8DnDWw+Gp1qLnOVkUXc4lHwOFn1qSshB ywoe2Pk48NlQrDT53b3Nkc7U4LWy6CpN2a26CMT/QTtAVgKkbnmWy8VxMum9uE30MC m2snV7OBoCjdaf2UdN7pRId2e8Yl/58bzR4Bd9ki0qqfGogkUTEVdBgNKS4YcEyqSb ARBTGzL60SV+w== 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 v2 04/11] dt-bindings: test: Add KUnit empty node binding Date: Wed, 15 Mar 2023 11:37:21 -0700 Message-Id: <20230315183729.2376178-5-sboyd@kernel.org> X-Mailer: git-send-email 2.40.0.rc1.284.g88254d51c5-goog In-Reply-To: <20230315183729.2376178-1-sboyd@kernel.org> References: <20230315183729.2376178-1-sboyd@kernel.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-kselftest@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 --- .../bindings/test/test,kunit-empty.yaml | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 Documentation/devicetree/bindings/test/test,kunit-empty.yaml diff --git a/Documentation/devicetree/bindings/test/test,kunit-empty.yaml b/Documentation/devicetree/bindings/test/test,kunit-empty.yaml new file mode 100644 index 000000000000..592fd06031b8 --- /dev/null +++ b/Documentation/devicetree/bindings/test/test,kunit-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/clock/test,kunit-empty.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: KUnit empty node + +maintainers: + - David Gow + - Brendan Higgins + +description: | + An empty node to confirm KUnit can load device tree overlays. + +properties: + compatible: + const: test,kunit-empty + +required: + - compatible + +additionalProperties: false + +examples: + - | + kunit-node { + compatible = "test,kunit-empty"; + }; +...