51 lines
1.4 KiB
Diff
51 lines
1.4 KiB
Diff
|
|
From 5555555555555555555555555555555555555555 Mon Sep 17 00:00:00 2001
|
||
|
|
From: Jorijn van der Graaf <jorijnvdgraaf@catcrafts.net>
|
||
|
|
Date: Thu, 25 Sep 2026 09:02:00 +0200
|
||
|
|
Subject: [PATCH 2/2] dt-bindings: nfc: document the widget
|
||
|
|
|
||
|
|
Document the widget's compatible and its one supply; the README gains a
|
||
|
|
line about the binding.
|
||
|
|
|
||
|
|
Signed-off-by: Jorijn van der Graaf <jorijnvdgraaf@catcrafts.net>
|
||
|
|
---
|
||
|
|
Documentation/devicetree/bindings/nfc/widget.yaml | 18 ++++++++++++++++++
|
||
|
|
README.md | 3 +++
|
||
|
|
2 files changed, 21 insertions(+)
|
||
|
|
create mode 100644 Documentation/devicetree/bindings/nfc/widget.yaml
|
||
|
|
|
||
|
|
diff --git a/Documentation/devicetree/bindings/nfc/widget.yaml b/Documentation/devicetree/bindings/nfc/widget.yaml
|
||
|
|
new file mode 100644
|
||
|
|
index 0000000..c3d4e5f
|
||
|
|
--- /dev/null
|
||
|
|
+++ b/Documentation/devicetree/bindings/nfc/widget.yaml
|
||
|
|
@@ -0,0 +1,18 @@
|
||
|
|
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
|
||
|
|
+%YAML 1.2
|
||
|
|
+---
|
||
|
|
+$id: http://devicetree.org/schemas/nfc/widget.yaml#
|
||
|
|
+$schema: http://devicetree.org/meta-schemas/core.yaml#
|
||
|
|
+
|
||
|
|
+title: Widget NFC controller
|
||
|
|
+
|
||
|
|
+properties:
|
||
|
|
+ compatible:
|
||
|
|
+ const: example,widget
|
||
|
|
+ vdd-supply: true
|
||
|
|
+
|
||
|
|
+required:
|
||
|
|
+ - compatible
|
||
|
|
+ - vdd-supply
|
||
|
|
+
|
||
|
|
+additionalProperties: false
|
||
|
|
diff --git a/README.md b/README.md
|
||
|
|
index d4e5f6a..e5f6a7b 100644
|
||
|
|
--- a/README.md
|
||
|
|
+++ b/README.md
|
||
|
|
@@ -1,2 +1,5 @@
|
||
|
|
# hello
|
||
|
|
|
||
|
|
+The widget binding lives under Documentation/devicetree/bindings/nfc/.
|
||
|
|
+It names one supply.
|
||
|
|
+
|
||
|
|
--
|
||
|
|
2.51.0
|