[PATCH v3 01/13] spi: dt-bindings: allow spi-max-frequency to specify a frequency pair
Miquel Raynal
miquel.raynal at bootlin.com
Thu May 28 01:32:10 PDT 2026
On 27/05/2026 at 23:25:15 +0530, Santhosh Kumar K <s-k6 at ti.com> wrote:
> Some SPI controllers support high-speed operating modes that require
> controller-side configuration before the device can be driven at its
> rated maximum frequency. In these cases two frequencies are relevant:
> a conservative speed usable without any such configuration, and the
> maximum speed achievable once the controller is set up accordingly.
>
> The existing spi-max-frequency property accepts only a single u32,
> which cannot express this distinction. Extend it to accept either a
> single value (retaining full backward compatibility) or a two-element
> array [base-frequency, max-frequency], where base-frequency is the
> conservative operating speed and max-frequency is the highest speed
> the device supports after controller-side configuration.
>
> Signed-off-by: Santhosh Kumar K <s-k6 at ti.com>
Reviewed-by: Miquel Raynal <miquel.raynal at bootlin.com>
More information about the linux-mtd
mailing list