From: "Rob Herring (Arm)" <robh@kernel.org>
To: "Lee Jones" <lee@kernel.org>,
"Krzysztof Kozlowski" <krzk+dt@kernel.org>,
"Conor Dooley" <conor+dt@kernel.org>,
"Andreas Färber" <afaerber@suse.de>
Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH] dt-bindings: mfd: Add Realtek RTD1xxx system controllers
Date: Mon, 15 Dec 2025 15:26:21 -0600 [thread overview]
Message-ID: <20251215212624.3319681-1-robh@kernel.org> (raw)
The Realtek system controllers are already in use with only generic
'"syscon", "simple-mfd"' compatibles and are missing specific
compatibles as required. Add a schema with specific compatibles. The
labels used in .dts files serve as the basis for the names.
It's doubtful the child nodes upstream are complete and I don't have
documentation, so the specific child nodes aren't documented here. Of
the ones in use, bindings already exist for them.
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
---
.../bindings/mfd/realtek,rtd1xxx.yaml | 69 +++++++++++++++++++
1 file changed, 69 insertions(+)
create mode 100644 Documentation/devicetree/bindings/mfd/realtek,rtd1xxx.yaml
diff --git a/Documentation/devicetree/bindings/mfd/realtek,rtd1xxx.yaml b/Documentation/devicetree/bindings/mfd/realtek,rtd1xxx.yaml
new file mode 100644
index 000000000000..b0342df0e32a
--- /dev/null
+++ b/Documentation/devicetree/bindings/mfd/realtek,rtd1xxx.yaml
@@ -0,0 +1,69 @@
+# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/mfd/realtek,rtd1xxx.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Realtek RTD1xxx system controllers
+
+maintainers:
+ - Andreas Färber <afaerber@suse.de>
+
+properties:
+ compatible:
+ items:
+ - enum:
+ - realtek,rtd1293-crt
+ - realtek,rtd1293-iso
+ - realtek,rtd1293-misc
+ - realtek,rtd1293-sb2
+ - realtek,rtd1293-scpu-wrapper
+ - realtek,rtd1295-crt
+ - realtek,rtd1295-iso
+ - realtek,rtd1295-misc
+ - realtek,rtd1295-sb2
+ - realtek,rtd1295-scpu-wrapper
+ - realtek,rtd1296-crt
+ - realtek,rtd1296-iso
+ - realtek,rtd1296-misc
+ - realtek,rtd1296-sb2
+ - realtek,rtd1296-scpu-wrapper
+ - realtek,rtd1395-crt
+ - realtek,rtd1395-iso
+ - realtek,rtd1395-misc
+ - realtek,rtd1395-sb2
+ - realtek,rtd1395-scpu-wrapper
+ - realtek,rtd1619-crt
+ - realtek,rtd1619-iso
+ - realtek,rtd1619-misc
+ - realtek,rtd1619-sb2
+ - realtek,rtd1619-scpu-wrapper
+ - const: syscon
+ - const: simple-mfd
+
+ reg:
+ maxItems: 1
+
+ reg-io-width:
+ const: 4
+
+ ranges: true
+
+ '#address-cells':
+ const: 1
+
+ '#size-cells':
+ const: 1
+
+patternProperties:
+ '@[0-9a-f]+$':
+ type: object
+
+ required:
+ - compatible
+
+required:
+ - compatible
+ - reg
+
+additionalProperties: false
--
2.51.0
reply other threads:[~2025-12-15 21:26 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20251215212624.3319681-1-robh@kernel.org \
--to=robh@kernel.org \
--cc=afaerber@suse.de \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=krzk+dt@kernel.org \
--cc=lee@kernel.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®