From: ZhuXiangyu <1194781887@qq.com>
To: Mark Brown <broonie@kernel.org>, Heiko Stuebner <heiko@sntech.de>
Cc: Chris Morgan <macromorgan@hotmail.com>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
linux-spi@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org, ZhuXiangyu <1194781887@qq.com>
Subject: [PATCH 2/2] dt-bindings: spi: rockchip-sfc: add RK3506 support
Date: Sat, 21 Nov 2026 15:32:46 +0800 [thread overview]
Message-ID: <tencent_E24973E955D1A26CF5A4F983929F8F8B0006@qq.com> (raw)
In-Reply-To: <20261121073246.1233736-1-1194781887@qq.com>
Document the RK3506 FSPI compatible with the generic SFC fallback, and
the rockchip,grf and rockchip,max-dll properties used for the
power-good handshake and DLL training.
Signed-off-by: ZhuXiangyu <1194781887@qq.com>
---
.../devicetree/bindings/spi/rockchip-sfc.yaml | 30 ++++++++++++++++---
1 file changed, 26 insertions(+), 4 deletions(-)
diff --git a/Documentation/devicetree/bindings/spi/rockchip-sfc.yaml b/Documentation/devicetree/bindings/spi/rockchip-sfc.yaml
index ac1503de..428740c8 100644
--- a/Documentation/devicetree/bindings/spi/rockchip-sfc.yaml
+++ b/Documentation/devicetree/bindings/spi/rockchip-sfc.yaml
@@ -13,13 +13,27 @@ maintainers:
allOf:
- $ref: spi-controller.yaml#
+ - if:
+ properties:
+ compatible:
+ contains:
+ const: rockchip,rk3506-fspi
+ then:
+ required:
+ - rockchip,grf
+
properties:
compatible:
- const: rockchip,sfc
+ oneOf:
+ - const: rockchip,sfc
+ - items:
+ - const: rockchip,rk3506-fspi
+ - const: rockchip,sfc
description:
- The rockchip sfc controller is a standalone IP with version register,
- and the driver can handle all the feature difference inside the IP
- depending on the version register.
+ The Rockchip SFC controller is a standalone IP with a version
+ register. The driver handles most feature differences based on the
+ version register, while SoC-specific data such as the power-good
+ GRF offset is selected by the SoC-specific compatible.
reg:
maxItems: 1
@@ -44,6 +58,14 @@ properties:
description: Disable DMA and utilize FIFO mode only
type: boolean
+ rockchip,grf:
+ $ref: /schemas/types.yaml#/definitions/phandle
+ description: Phandle to the PMU GRF used for the power-good check.
+
+ rockchip,max-dll:
+ $ref: /schemas/types.yaml#/definitions/uint32
+ description: Maximum DLL cells used for delay-line training.
+
patternProperties:
"^flash@[0-3]$":
type: object
--
2.47.3
next parent reply other threads:[~2026-11-21 7:32 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20261121073246.1233736-1-1194781887@qq.com>
2026-11-21 7:32 ` ZhuXiangyu [this message]
2026-11-24 15:41 ` Krzysztof Kozlowski
2026-11-24 15:48 ` Mark Brown
2026-11-24 15:50 ` Krzysztof Kozlowski
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=tencent_E24973E955D1A26CF5A4F983929F8F8B0006@qq.com \
--to=1194781887@qq.com \
--cc=broonie@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=heiko@sntech.de \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rockchip@lists.infradead.org \
--cc=linux-spi@vger.kernel.org \
--cc=macromorgan@hotmail.com \
--cc=robh@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®