From: Sean Anderson Date: Tue, 18 Feb 2020 11:32:30 -0500 Subject: [PATCH v4 07/17] spi: dw: Add mem_ops In-Reply-To: References: <20200211060425.1619471-1-seanga2@gmail.com> <20200211060425.1619471-8-seanga2@gmail.com> Message-ID: <80585119-5308-2c92-7839-91d32ade6c74@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 2/18/20 3:34 AM, Rick Chen wrote: > Hi Sean > >> The dw spi devices on the Kendryte K210 must be operated in a specific >> fasion which cannot be achived through multiple writes to via dw_spi_xfer >> (as it is currently written). This patch adds an implementation of exec_op, >> which gives correct behaviour when reading/writing spi flash. >> >> I would like to be able to modify the existing dw_spi_xfer function such >> that it works properly (e.g. with the mmc_spi driver). However, the only >> example code I have to work off is Kendryte's sdk (which is written in the >> exec_op style), and I do not have access to the datasheet (if anyone does, >> I would love to have a look!). >> >> Signed-off-by: Sean Anderson >> --- >> >> Changes in v4: >> - New >> >> drivers/spi/designware_spi.c | 123 +++++++++++++++++++++++++++++++++-- >> 1 file changed, 119 insertions(+), 4 deletions(-) >> > > Patch 6 and 7 shall be applied via spi tree. > You mix them together, the patchwork will become complicated. > It will be better for me to wait for a period of time to get the > approval(Reviewed-by or Acked-by) of SPI MAINTAINER. > > Thanks > Rick So is this just waiting for approval, or is there a change I should make on my end? --Sean