[PATCH v11 02/19] spi: dt-bindings: add spi-phy-pattern-partition property

Krzysztof Kozlowski krzk at kernel.org
Thu Nov 5 08:42:08 PST 2026


On 05/11/2026 11:58, Santhosh Kumar K wrote:
> Add spi-phy-pattern-partition, a per-device phandle property on the
> flash sub-node that allows the DT author to directly reference the
> partition holding the SPI PHY tuning pattern. Used to locate the
> pattern data during PHY tuning when the device cannot load the
> pattern dynamically.
> 
> PHY tuning works by reading a known data pattern from the device
> repeatedly while sweeping controller delay parameters until the
> capture window is stable. For SPI NAND, the driver loads the pattern
> into the page cache once using write-to-cache opcodes, then reads it
> during the sweep. SPI NOR devices have no equivalent opcode, so the
> pattern must be pre-programmed in a dedicated flash partition. One
> partition per device is required to keep the procedure unambiguous
> when multiple devices share a bus.
> 
> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski at oss.qualcomm.com>

> Tested-by: Srikanth Boyapally <srikanth.boyapally at amd.com>
> Tested-by: Moteen Shah <m-shah at ti.com>

Drop tags, this did not happen. Please do not add blindly tags which are
obviously not applicable.

Best regards,
Krzysztof



More information about the linux-mtd mailing list