mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: yankei.fong@altera.com
To: Dinh Nguyen <dinguyen@kernel.org>, Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND
	FLATTENED DEVICE TREE BINDINGS),
	linux-kernel@vger.kernel.org (open list),
	Matthew Gerlach <matthew.gerlach@altera.com>,
	Khairul Anuar Romli <khairul.anuar.romli@altera.com>
Subject: [PATCH v2 3/4] arm64: dts: socfpga: agilex: Add 4-bit SPI bus width
Date: Thu, 11 Sep 2025 09:37:25 +0800	[thread overview]
Message-ID: <112410d51ee916590b974b07a0a3e082ac09aa68.1756881243.git.yan.kei.fong@altera.com> (raw)
In-Reply-To: <cover.1756881243.git.yan.kei.fong@altera.com>

From: "Fong, Yan Kei" <yan.kei.fong@altera.com>

Add spi-tx-bus-width and spi-rx-bus-width properties with value 4 to the agilex
device tree. This update configures the SPI controller to use a 4-bit bus width
for both transmission and reception, potentially improving SPI throughput and
matching the hardware capabilities more closely.

Signed-off-by: Fong, Yan Kei <yan.kei.fong@altera.com>
Reviewed-by: Khairul Anuar Romli <khairul.anuar.romli@altera.com>
Reviewed-by: Matthew Gerlach <matthew.gerlach@altera.com>
---
 arch/arm64/boot/dts/intel/socfpga_agilex_socdk.dts | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm64/boot/dts/intel/socfpga_agilex_socdk.dts b/arch/arm64/boot/dts/intel/socfpga_agilex_socdk.dts
index b31cfa6b802d..9ee312bae8d2 100644
--- a/arch/arm64/boot/dts/intel/socfpga_agilex_socdk.dts
+++ b/arch/arm64/boot/dts/intel/socfpga_agilex_socdk.dts
@@ -116,6 +116,8 @@ flash@0 {
 		cdns,tsd2d-ns = <50>;
 		cdns,tchsh-ns = <4>;
 		cdns,tslch-ns = <4>;
+		spi-tx-bus-width = <4>;
+		spi-rx-bus-width = <4>;
 
 		partitions {
 			compatible = "fixed-partitions";
-- 
2.25.1


WARNING: multiple messages have this Message-ID
From: "Fong, Yan Kei" <yan.kei.fong@altera.com>
To: Dinh Nguyen <dinguyen@kernel.org>, Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND
	FLATTENED DEVICE TREE BINDINGS),
	linux-kernel@vger.kernel.org (open list),
	Matthew Gerlach <matthew.gerlach@altera.com>,
	Khairul Anuar Romli <khairul.anuar.romli@altera.com>
Subject: [PATCH v3 3/4] arm64: dts: socfpga: agilex: Add 4-bit SPI bus width
Date: Thu, 11 Sep 2025 09:58:11 +0800	[thread overview]
Message-ID: <112410d51ee916590b974b07a0a3e082ac09aa68.1756881243.git.yan.kei.fong@altera.com> (raw)
Message-ID: <20250911015811.YS0UoYqP4TUzF82Dv5UH23Qsh9wYxgGFq81GSObA8-g@z> (raw)
In-Reply-To: <cover.1756881243.git.yan.kei.fong@altera.com>

Add spi-tx-bus-width and spi-rx-bus-width properties with value 4 to the agilex
device tree. This update configures the SPI controller to use a 4-bit bus width
for both transmission and reception, potentially improving SPI throughput and
matching the hardware capabilities more closely.

Signed-off-by: Fong, Yan Kei <yan.kei.fong@altera.com>
Reviewed-by: Khairul Anuar Romli <khairul.anuar.romli@altera.com>
Reviewed-by: Matthew Gerlach <matthew.gerlach@altera.com>
---
 arch/arm64/boot/dts/intel/socfpga_agilex_socdk.dts | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm64/boot/dts/intel/socfpga_agilex_socdk.dts b/arch/arm64/boot/dts/intel/socfpga_agilex_socdk.dts
index b31cfa6b802d..9ee312bae8d2 100644
--- a/arch/arm64/boot/dts/intel/socfpga_agilex_socdk.dts
+++ b/arch/arm64/boot/dts/intel/socfpga_agilex_socdk.dts
@@ -116,6 +116,8 @@ flash@0 {
 		cdns,tsd2d-ns = <50>;
 		cdns,tchsh-ns = <4>;
 		cdns,tslch-ns = <4>;
+		spi-tx-bus-width = <4>;
+		spi-rx-bus-width = <4>;
 
 		partitions {
 			compatible = "fixed-partitions";
-- 
2.25.1


  parent reply	other threads:[~2025-09-11  1:37 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-09-11  1:37 [PATCH v2 0/4] Add 4-bit SPI bus width on target devices yankei.fong
2025-09-11  1:37 ` [PATCH v2 1/4] arm64: dts: socfpga: n5x: Add 4-bit SPI bus width yankei.fong
2025-09-11  1:58   ` [PATCH v3 " Fong, Yan Kei
2025-09-11  1:37 ` [PATCH v2 2/4] arm64: dts: socfpga: stratix10: " yankei.fong
2025-09-11  1:58   ` [PATCH v3 " Fong, Yan Kei
2025-09-11  1:37 ` yankei.fong [this message]
2025-09-11  1:58   ` [PATCH v3 3/4] arm64: dts: socfpga: agilex: " Fong, Yan Kei
2025-09-11  1:37 ` [PATCH v2 4/4] arm64: dts: socfpga: agilex5: " yankei.fong
2025-09-11  1:58   ` [PATCH v3 " Fong, Yan Kei
2025-09-11  1:58 ` [PATCH v2 0/4] Add 4-bit SPI bus width on target devices Fong, Yan Kei
2025-09-11  2:21 ` [PATCH v3 " Fong, Yan Kei
2025-09-12 12:30 ` Dinh Nguyen
2025-09-17  6:44 ` Fong, Yan Kei
2025-10-15  3:10 ` Dinh Nguyen

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=112410d51ee916590b974b07a0a3e082ac09aa68.1756881243.git.yan.kei.fong@altera.com \
    --to=yankei.fong@altera.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=dinguyen@kernel.org \
    --cc=khairul.anuar.romli@altera.com \
    --cc=krzk+dt@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=matthew.gerlach@altera.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®