[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20210719091525.1453-1-mason.zhang@mediatek.com>
Date: Mon, 19 Jul 2021 17:15:26 +0800
From: Mason Zhang <mason.zhang@...iatek.com>
To: Mark Brown <broonie@...nel.org>,
Matthias Brugger <matthias.bgg@...il.com>
CC: <linux-spi@...r.kernel.org>,
<linux-arm-kernel@...ts.infradead.org>,
<linux-mediatek@...ts.infradead.org>,
<linux-kernel@...r.kernel.org>, <leilk.liu@...iatek.com>,
<wsd_upstream@...iatek.com>, Mason Zhang <Mason.Zhang@...iatek.com>
Subject: [PATCH 0/3] *** spi cs_timing restructure ***
From: Mason Zhang <Mason.Zhang@...iatek.com>
Hello,
This patchset has restructure spi cs_timing, as we know spi core has
removed spi_set_cs_timing() API, it is a correct decision because it
asked spi devices to call it in one more time.
so we need find another way to support user set cs_timing. Actually,
spi_device set spi_delay for cs_timing is enough, and about how to
set cs_timing, just put it one the master driver.
We have test this patch in mediatek platform, it can compeletly meets
our needs.
Mason Zhang (3):
spi: move cs spi_delay to spi_device
spi: modify set_cs_timing parameter
spi: mediatek: modify set_cs_timing callback
drivers/spi/spi-mt65xx.c | 102 +++++++++++++++++++++------------------
drivers/spi/spi.c | 6 +--
include/linux/spi/spi.h | 23 ++++-----
3 files changed, 69 insertions(+), 62 deletions(-)
--
2.18.0
Powered by blists - more mailing lists