From: Yu-Chun Lin <eleanor.lin@realtek.com>
To: <broonie@kernel.org>, <robh@kernel.org>, <krzk+dt@kernel.org>,
<conor+dt@kernel.org>, <jyanchou@realtek.com>,
<p.zabel@pengutronix.de>
Cc: <afaerber@suse.com>, <devicetree@vger.kernel.org>,
<linux-spi@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
<james.tai@realtek.com>, <cy.huang@realtek.com>,
<stanley_chang@realtek.com>, <eleanor.lin@realtek.com>
Subject: [PATCH v2 1/2] dt-bindings: spi: Add Realtek RTD1625 SPI support
Date: Sun, 6 Sep 2026 22:57:54 +0800 [thread overview]
Message-ID: <20260906145755.1230079-2-eleanor.lin@realtek.com> (raw)
In-Reply-To: <20260906145755.1230079-1-eleanor.lin@realtek.com>
From: Jyan Chou <jyanchou@realtek.com>
Add DT binding schema for Realtek RTD1625 SPI Flash Controller
Signed-off-by: Jyan Chou <jyanchou@realtek.com>
Co-developed-by: Yu-Chun Lin <eleanor.lin@realtek.com>
Signed-off-by: Yu-Chun Lin <eleanor.lin@realtek.com>
---
Changes in v2:
- Removed clock and reset header inclusions, and replaced macros with raw
numbers in the dt-binding example to resolve dependencies.
---
.../bindings/spi/realtek,rtd1625-nor.yaml | 65 +++++++++++++++++++
1 file changed, 65 insertions(+)
create mode 100644 Documentation/devicetree/bindings/spi/realtek,rtd1625-nor.yaml
diff --git a/Documentation/devicetree/bindings/spi/realtek,rtd1625-nor.yaml b/Documentation/devicetree/bindings/spi/realtek,rtd1625-nor.yaml
new file mode 100644
index 000000000000..b967fdac333f
--- /dev/null
+++ b/Documentation/devicetree/bindings/spi/realtek,rtd1625-nor.yaml
@@ -0,0 +1,65 @@
+# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/spi/realtek,rtd1625-nor.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Realtek RTD1625 SPI Flash Controller
+
+maintainers:
+ - Jyan Chou <jyanchou@realtek.com>
+ - Yu-Chun Lin <eleanor.lin@realtek.com>
+
+properties:
+ compatible:
+ enum:
+ - realtek,rtd1625-nor
+
+ reg:
+ maxItems: 3
+
+ reg-names:
+ items:
+ - const: ctrl
+ - const: dma
+ - const: dirmap
+
+ clocks:
+ maxItems: 1
+
+ resets:
+ maxItems: 1
+
+ "#address-cells":
+ const: 1
+
+ "#size-cells":
+ const: 0
+
+required:
+ - compatible
+ - reg
+ - reg-names
+ - clocks
+ - resets
+ - "#address-cells"
+ - "#size-cells"
+
+allOf:
+ - $ref: /schemas/spi/spi-controller.yaml#
+
+unevaluatedProperties: false
+
+examples:
+ - |
+ spi@14b000 {
+ compatible = "realtek,rtd1625-nor";
+ reg = <0x14b000 0x50>, <0x14bf00 0x30>, <0x88100000 0x2000000>;
+ reg-names = "ctrl", "dma", "dirmap";
+ clocks = <&cc 18>;
+ resets = <&cc 26>;
+ pinctrl-0 = <&spi_pins>;
+ pinctrl-names = "default";
+ #address-cells = <1>;
+ #size-cells = <0>;
+ };
--
2.43.0
next prev parent reply other threads:[~2026-09-06 14:58 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-06 14:57 [PATCH v2 0/2] spi: realtek: Add support for RTD1625 SPI Flash Controller Yu-Chun Lin
2026-09-06 14:57 ` Yu-Chun Lin [this message]
2026-09-07 17:29 ` [PATCH v2 1/2] dt-bindings: spi: Add Realtek RTD1625 SPI support Conor Dooley
2026-09-06 14:57 ` [PATCH v2 2/2] spi: spi-mem: Add Realtek SPI flash controller driver Yu-Chun Lin
2026-09-06 15:18 ` Kuan-Wei Chiu
2026-09-07 13:47 ` Mark Brown
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=20260906145755.1230079-2-eleanor.lin@realtek.com \
--to=eleanor.lin@realtek.com \
--cc=afaerber@suse.com \
--cc=broonie@kernel.org \
--cc=conor+dt@kernel.org \
--cc=cy.huang@realtek.com \
--cc=devicetree@vger.kernel.org \
--cc=james.tai@realtek.com \
--cc=jyanchou@realtek.com \
--cc=krzk+dt@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-spi@vger.kernel.org \
--cc=p.zabel@pengutronix.de \
--cc=robh@kernel.org \
--cc=stanley_chang@realtek.com \
/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