[PATCH 2/2] dt-bindings: spi: rockchip-sfc: add RK3506 support

From: ZhuXiangyu

Date: Sat Nov 21 2026 - 02:33:02 EST


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@xxxxxx>
---
.../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