From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=203.205.221.209 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795246376; b=dU8+5Ryo6GotJh8MNJVFVTO8EM0J0/G1Wy94sd7xtDg+uhPIk1L0Bg94Z+YO6fROJ5fO y3JQ046uOuwebxd1v5/gkvg6J4kBLuWmdFYnMJPHC8sgwGrZjTtqhFK1YkUZE2d0MpRl6 ZpiFRSTCpPPpTm/hzi2dEbZ5aDa4VE3C2EUjs1qJ6vtJ6GpJbM/mfNjaLs3jFduildzPS zMZBURGIIuMBbzzFeJYiDtZDUDZMvtJplrJkhVc0VCzav4+lAD3aoD2dA72vzUNAka9Zn Jp+zSLJrKb93/kB9HQ34GDW30d1okWJqPUptNK9KIC4yGpTLQjc6M9TXhkAONSSJvFQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795246376; h=DMARC-Filter:DKIM-Signature:Received:X-QQ-mid:Message-ID: X-QQ-XMAILINFO:X-QQ-XMRINFO:From:To:Cc:Subject:Date:X-OQ-MSGID: X-Mailer:In-Reply-To:References:MIME-Version: Content-Transfer-Encoding; bh=J+dcPkcXZ3s3MrRG1MQfLHmivGBQKC1Xk8mvOi8nCLY=; b=YWQFLXIIJufsqaOgEmPl9ur2DxaQFWfjw+GKAxNfxT6uWsZ2NR9qEOdyRsjSmoHqme3t 7OmrhbvBG65zXIX6/XQGC/fYYTJekbrwm4EfTS2G+syG1fbWpJHuZ/97ZUi1w1t49PdRl 15Q9Zf2SJM/YEQVFUfJQ0ULcbe25+XSW6aBcIn9X4g2080Dl03AeXNa7D+cafZ2Ks4NNP 4OUggECTOIEMH56awtfn+lV+EWm2rR2u3gWZaNWLo/r0TM8DHQnzb5UKGM1qa3v4t8K63 XZ6Xu6N6pW/5NqpfrIjYhFk7yrDDPpVsExRkFuk2Ur7qZ+QgX0m9ErSGKOoZyMpi49g== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=qq.com; spf=pass smtp.mailfrom=qq.com; dkim=pass header.d=qq.com header.i=@qq.com header.a=rsa-sha256 header.s=s201512 header.b=cdVaEk5e; arc=none smtp.remote-ip=203.205.221.209 Received: from out203-205-221-209.mail.qq.com (out203-205-221-209.mail.qq.com [203.205.221.209]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id ABAE1606A335 for ; Sat, 21 Nov 2026 07:32:55 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org ABAE1606A335 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=qq.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=qq.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=qq.com header.i=@qq.com header.a=rsa-sha256 header.s=s201512 header.b=cdVaEk5e DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qq.com; s=s201512; t=1795246373; bh=J+dcPkcXZ3s3MrRG1MQfLHmivGBQKC1Xk8mvOi8nCLY=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=cdVaEk5eAIPmIOk5+F6iMsEjzv/6emr9/7h2mxKPmyKZLAUvRxaK4ZINgaScYjX8E 5qUruKO6tpmBZ7BiX5sgmPmY+nvwdXQFxI/bgQlLEoRTS5Fgrq/bhFwCU6eLTzD69j ZWwlvXhWWmreQC3PGSWE87ou6cNTxlG5wW/cmTEg= Received: from jerry-PC.lan ([2408:8249:5f:7101:71a:8713:56b4:5043]) by newxmesmtplogicsvrszc43-0.qq.com (NewEsmtp) with SMTP id 830284BE; Sat, 21 Nov 2026 15:32:48 +0800 X-QQ-mid: xmsmtpt1795246370tpq3bznqd Message-ID: X-QQ-XMAILINFO: OAT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cDXQyJHFSIDKUHi8ZcEfTSWtqv0pDGAoFoA0RFe KB7byoRic0F++fgksk+yFnEZC/tQ== X-QQ-XMRINFO: Nq+8W0+stu50tPAe92KXseR0ZZmBTk3gLg== From: ZhuXiangyu <1194781887@qq.com> To: Mark Brown , Heiko Stuebner Cc: Chris Morgan , Rob Herring , Krzysztof Kozlowski , Conor Dooley , 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 X-OQ-MSGID: <20261121073246.1233736-2-1194781887@qq.com> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20261121073246.1233736-1-1194781887@qq.com> References: <20261121073246.1233736-1-1194781887@qq.com> X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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