Re: [U-Boot] [PATCH v5 4/5] mips: ath79: add spi driver

2015-12-30 Thread Antony Pavlov
On Wed, 30 Dec 2015 01:51:47 +0100 Marek Vasut wrote: > On Wednesday, December 30, 2015 at 12:46:23 AM, Thomas Chou wrote: > > Hi Marek, > > > > On 2015年12月29日 21:25, Marek Vasut wrote: > > > On Tuesday, December 29, 2015 at 02:00:27 PM, Thomas Chou wrote: > > >> Hi Wills, > > >>

Re: [U-Boot] [PATCH v5 4/5] mips: ath79: add spi driver

2015-12-30 Thread Marek Vasut
On Wednesday, December 30, 2015 at 09:32:52 AM, Antony Pavlov wrote: > On Wed, 30 Dec 2015 01:51:47 +0100 > > Marek Vasut wrote: > > On Wednesday, December 30, 2015 at 12:46:23 AM, Thomas Chou wrote: > > > Hi Marek, > > > > > > On 2015年12月29日 21:25, Marek Vasut wrote: > > > > On

Re: [U-Boot] [PATCH v5 4/5] mips: ath79: add spi driver

2015-12-29 Thread Marek Vasut
On Wednesday, December 30, 2015 at 02:35:01 AM, Wills Wang wrote: > On 12/29/2015 09:25 PM, Marek Vasut wrote: > > On Tuesday, December 29, 2015 at 02:00:27 PM, Thomas Chou wrote: > >> Hi Wills, > >> > >> On 2015年12月29日 19:17, Wills Wang wrote: > >>> diff --git a/arch/mips/mach-ath79/Kconfig >

Re: [U-Boot] [PATCH v5 4/5] mips: ath79: add spi driver

2015-12-29 Thread Thomas Chou
Hi Marek, On 2015年12月29日 21:25, Marek Vasut wrote: On Tuesday, December 29, 2015 at 02:00:27 PM, Thomas Chou wrote: Hi Wills, On 2015年12月29日 19:17, Wills Wang wrote: diff --git a/arch/mips/mach-ath79/Kconfig b/arch/mips/mach-ath79/Kconfig index 1d92a5b..b5668e9 100644 ---

Re: [U-Boot] [PATCH v5 4/5] mips: ath79: add spi driver

2015-12-29 Thread Marek Vasut
On Wednesday, December 30, 2015 at 12:46:23 AM, Thomas Chou wrote: > Hi Marek, > > On 2015年12月29日 21:25, Marek Vasut wrote: > > On Tuesday, December 29, 2015 at 02:00:27 PM, Thomas Chou wrote: > >> Hi Wills, > >> > >> On 2015年12月29日 19:17, Wills Wang wrote: > >>> diff --git

Re: [U-Boot] [PATCH v5 4/5] mips: ath79: add spi driver

2015-12-29 Thread Wills Wang
On 12/29/2015 09:00 PM, Thomas Chou wrote: Hi Wills, On 2015年12月29日 19:17, Wills Wang wrote: diff --git a/arch/mips/mach-ath79/Kconfig b/arch/mips/mach-ath79/Kconfig index 1d92a5b..b5668e9 100644 --- a/arch/mips/mach-ath79/Kconfig +++ b/arch/mips/mach-ath79/Kconfig @@ -15,6 +15,7 @@ config

Re: [U-Boot] [PATCH v5 4/5] mips: ath79: add spi driver

2015-12-29 Thread Wills Wang
On 12/29/2015 09:25 PM, Marek Vasut wrote: On Tuesday, December 29, 2015 at 02:00:27 PM, Thomas Chou wrote: Hi Wills, On 2015年12月29日 19:17, Wills Wang wrote: diff --git a/arch/mips/mach-ath79/Kconfig b/arch/mips/mach-ath79/Kconfig index 1d92a5b..b5668e9 100644 ---

Re: [U-Boot] [PATCH v5 4/5] mips: ath79: add spi driver

2015-12-29 Thread Thomas Chou
Hi Marek and Wills, On 2015年12月30日 08:51, Marek Vasut wrote: Just skimming through the code, it seems like bitbanging the SPI using the generic soft-spi driver might be easier ;-/ I read the data sheet and Linux driver. Now I have clearer picture of this device. In serial flash mode, it

[U-Boot] [PATCH v5 4/5] mips: ath79: add spi driver

2015-12-29 Thread Wills Wang
Signed-off-by: Wills Wang --- Changes in v5: - remove ar933x_spi_platdata - Import document "spi-ath79.txt" from kernel - Add delay for bitbang operation Changes in v4: - Use get_bus_freq instead of hardcode in SPI driver Changes in v3: - Convert spi driver to driver model

Re: [U-Boot] [PATCH v5 4/5] mips: ath79: add spi driver

2015-12-29 Thread Thomas Chou
Hi Wills, On 2015年12月29日 19:17, Wills Wang wrote: diff --git a/arch/mips/mach-ath79/Kconfig b/arch/mips/mach-ath79/Kconfig index 1d92a5b..b5668e9 100644 --- a/arch/mips/mach-ath79/Kconfig +++ b/arch/mips/mach-ath79/Kconfig @@ -15,6 +15,7 @@ config SOC_AR933X select

Re: [U-Boot] [PATCH v5 4/5] mips: ath79: add spi driver

2015-12-29 Thread Marek Vasut
On Tuesday, December 29, 2015 at 02:00:27 PM, Thomas Chou wrote: > Hi Wills, > > On 2015年12月29日 19:17, Wills Wang wrote: > > diff --git a/arch/mips/mach-ath79/Kconfig b/arch/mips/mach-ath79/Kconfig > > index 1d92a5b..b5668e9 100644 > > --- a/arch/mips/mach-ath79/Kconfig > > +++