lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250930075644.1665970-1-jun.guo@cixtech.com>
Date: Tue, 30 Sep 2025 15:56:41 +0800
From: Jun Guo <jun.guo@...tech.com>
To: peter.chen@...tech.com,
	fugang.duan@...tech.com,
	robh@...nel.org,
	krzk+dt@...nel.org,
	conor+dt@...nel.org,
	broonie@...nel.org
Cc: linux-spi@...r.kernel.org,
	michal.simek@....com,
	cix-kernel-upstream@...tech.com,
	linux-arm-kernel@...ts.infradead.org,
	devicetree@...r.kernel.org,
	linux-kernel@...r.kernel.org,
	Jun Guo <jun.guo@...tech.com>
Subject: [PATCH 0/3] spi-cadence: support transmission with bits_per_word

The Cadence SPI IP supports configurable FIFO data widths during
integration. On some SoCs, the FIFO data width is designed to be 16 or
32 bits at the chip design stage. However, the current driver only
supports communication with an 8-bit FIFO data width. Therefore, these
patches are added to enable the driver to support communication with
16-bit and 32-bit FIFO data widths.

This series introduces the following enhancements for Cadence SPI
controller support on arm64 platforms:

Patch 1: Document the 'fifo-width' property as optional in
spi-cadence device tree bindings.
Patch 2: Enhance the SPI Cadence driver to support data transmission
with bits_per_word values of 16 and 32.
Patch 3: Add a new 'fifo-width' configuration property to Cadence
SPI node in the CIX device tree.

The CIX Sky1 SPI supported patch is added:
https://lore.kernel.org/all/20250919013118.853078-1-jun.guo@cixtech.com/

This series:
- Documents the new property usage.
- Enables 16/32 bits per word in the driver for broader hardware
  compatibility.
- Makes fifo-width configurable via DT.

The patches have been tested on CIX SKY1 platform.

Jun Guo (3):
  dt-bindings: spi: spi-cadence: document optional fifo-width DT
    property
  spi: spi-cadence: supports transmission with bits_per_word of 16 and
    32
  arm64: dts: cix: add the fifo-width configuration field for cadence
    SPI

 .../devicetree/bindings/spi/spi-cadence.yaml  |  11 ++
 arch/arm64/boot/dts/cix/sky1.dtsi             |   2 +
 drivers/spi/spi-cadence.c                     | 125 ++++++++++++++++--
 3 files changed, 125 insertions(+), 13 deletions(-)

-- 
2.34.1


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ