mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 2/2] dt-bindings: spi: rockchip-sfc: add RK3506 support
       [not found] <20261121073246.1233736-1-1194781887@qq.com>
@ 2026-11-21  7:32 ` ZhuXiangyu
  2026-11-24 15:41   ` Krzysztof Kozlowski
  0 siblings, 1 reply; 4+ messages in thread
From: ZhuXiangyu @ 2026-11-21  7:32 UTC (permalink / raw)
  To: Mark Brown, Heiko Stuebner
  Cc: Chris Morgan, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	linux-spi, linux-arm-kernel, linux-rockchip, devicetree,
	linux-kernel, ZhuXiangyu

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 2/2] dt-bindings: spi: rockchip-sfc: add RK3506 support
  2026-11-21  7:32 ` [PATCH 2/2] dt-bindings: spi: rockchip-sfc: add RK3506 support ZhuXiangyu
@ 2026-11-24 15:41   ` Krzysztof Kozlowski
  2026-11-24 15:48     ` Mark Brown
  0 siblings, 1 reply; 4+ messages in thread
From: Krzysztof Kozlowski @ 2026-11-24 15:41 UTC (permalink / raw)
  To: ZhuXiangyu, Mark Brown, Heiko Stuebner
  Cc: Chris Morgan, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	linux-spi, linux-arm-kernel, linux-rockchip, devicetree,
	linux-kernel

On 21/11/2026 08:32, ZhuXiangyu wrote:
> 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>
> ---

I will mark everything you as changes requested. This is all half
broken, b4 review cannot even fetch for review.

Best regards,
Krzysztof

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 2/2] dt-bindings: spi: rockchip-sfc: add RK3506 support
  2026-11-24 15:41   ` Krzysztof Kozlowski
@ 2026-11-24 15:48     ` Mark Brown
  2026-11-24 15:50       ` Krzysztof Kozlowski
  0 siblings, 1 reply; 4+ messages in thread
From: Mark Brown @ 2026-11-24 15:48 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: ZhuXiangyu, Heiko Stuebner, Chris Morgan, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, linux-spi, linux-arm-kernel,
	linux-rockchip, devicetree, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 560 bytes --]

On Tue, Nov 24, 2026 at 04:41:53PM +0100, Krzysztof Kozlowski wrote:
> On 21/11/2026 08:32, ZhuXiangyu wrote:
> > 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>

> I will mark everything you as changes requested. This is all half
> broken, b4 review cannot even fetch for review.

FWIW it was perfectly happy to ingest it for me, might be some
network issue?

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 2/2] dt-bindings: spi: rockchip-sfc: add RK3506 support
  2026-11-24 15:48     ` Mark Brown
@ 2026-11-24 15:50       ` Krzysztof Kozlowski
  0 siblings, 0 replies; 4+ messages in thread
From: Krzysztof Kozlowski @ 2026-11-24 15:50 UTC (permalink / raw)
  To: Mark Brown
  Cc: ZhuXiangyu, Heiko Stuebner, Chris Morgan, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, linux-spi, linux-arm-kernel,
	linux-rockchip, devicetree, linux-kernel

On 24/11/2026 16:48, Mark Brown wrote:
> On Tue, Nov 24, 2026 at 04:41:53PM +0100, Krzysztof Kozlowski wrote:
>> On 21/11/2026 08:32, ZhuXiangyu wrote:
>>> 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>
> 
>> I will mark everything you as changes requested. This is all half
>> broken, b4 review cannot even fetch for review.
> 
> FWIW it was perfectly happy to ingest it for me, might be some
> network issue?

I am taking from Patchwork interface (not manually track) and there it
complained on missing cover letter.

Best regards,
Krzysztof

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-11-24 15:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20261121073246.1233736-1-1194781887@qq.com>
2026-11-21  7:32 ` [PATCH 2/2] dt-bindings: spi: rockchip-sfc: add RK3506 support ZhuXiangyu
2026-11-24 15:41   ` Krzysztof Kozlowski
2026-11-24 15:48     ` Mark Brown
2026-11-24 15:50       ` Krzysztof Kozlowski

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®