[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <d1c26107-6365-4681-9f7f-5a8bbb2ba08b@collabora.com>
Date: Wed, 17 Sep 2025 11:02:27 +0200
From: AngeloGioacchino Del Regno <angelogioacchino.delregno@...labora.com>
To: Tim Kuo <Tim.Kuo@...iatek.com>, Mark Brown <broonie@...nel.org>,
Matthias Brugger <matthias.bgg@...il.com>
Cc: linux-spi@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org, linux-mediatek@...ts.infradead.org,
Steven Liu <Steven.Liu@...iatek.com>, Sky Huang <Skylake.Huang@...iatek.com>
Subject: Re: [PATCH v2] spi: mt65xx: add dual and quad mode for standard spi
device
Il 17/09/25 07:58, Tim Kuo ha scritto:
> From: "Tim Kuo" <Tim.Kuo@...iatek.com>
>
> Mediatek SPI hardware natively supports dual and quad modes, and these
> modes are already enabled for SPI flash devices under spi-mem framework
> in MTK SPI controller spi-mt65xx. However, other SPI devices, such as
> touch panels, are limited to single mode because spi-mt65xx lacks SPI
> mode argument parsing from SPI framework for these SPI devices outside
> spi-mem framework.
>
> This patch adds dual and quad mode support for these SPI devices by
> introducing a new API, mtk_spi_set_nbits, for SPI mode argument parsing.
>
> Signed-off-by: Tim Kuo <Tim.Kuo@...iatek.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@...labora.com>
Powered by blists - more mailing lists