Re: [PATCH 1/2] dt-bindings: spi: Add Spreadtrum SPI controller documentation

2018-08-14 Thread Baolin Wang
Hi Rob, On 15 August 2018 at 04:27, Rob Herring wrote: > On Thu, Aug 09, 2018 at 11:03:11AM +0800, Baolin Wang wrote: >> Hi Trent, >> >> On 9 August 2018 at 02:57, Trent Piepho wrote: >> > On Wed, 2018-08-08 at 11:54 +0100, Mark Brown wrote: >> >> On Wed, Aug 08, 2018 at 06:35:28PM +0800,

Re: [PATCH 1/2] dt-bindings: spi: Add Spreadtrum SPI controller documentation

2018-08-14 Thread Baolin Wang
Hi Rob, On 15 August 2018 at 04:27, Rob Herring wrote: > On Thu, Aug 09, 2018 at 11:03:11AM +0800, Baolin Wang wrote: >> Hi Trent, >> >> On 9 August 2018 at 02:57, Trent Piepho wrote: >> > On Wed, 2018-08-08 at 11:54 +0100, Mark Brown wrote: >> >> On Wed, Aug 08, 2018 at 06:35:28PM +0800,

Re: [PATCH 1/2] dt-bindings: spi: Add Spreadtrum SPI controller documentation

2018-08-14 Thread Baolin Wang
Hi Rob, On 15 August 2018 at 04:21, Rob Herring wrote: > On Tue, Aug 07, 2018 at 06:43:37PM +0800, Baolin Wang wrote: >> From: Lanqing Liu >> >> This patch adds the binding documentation for Spreadtrum SPI >> controller device. >> >> Signed-off-by: Lanqing Liu >> Signed-off-by: Baolin Wang >>

Re: [PATCH 1/2] dt-bindings: spi: Add Spreadtrum SPI controller documentation

2018-08-14 Thread Baolin Wang
Hi Rob, On 15 August 2018 at 04:21, Rob Herring wrote: > On Tue, Aug 07, 2018 at 06:43:37PM +0800, Baolin Wang wrote: >> From: Lanqing Liu >> >> This patch adds the binding documentation for Spreadtrum SPI >> controller device. >> >> Signed-off-by: Lanqing Liu >> Signed-off-by: Baolin Wang >>

Re: [PATCH 1/2] dt-bindings: spi: Add Spreadtrum SPI controller documentation

2018-08-14 Thread Rob Herring
On Thu, Aug 09, 2018 at 11:03:11AM +0800, Baolin Wang wrote: > Hi Trent, > > On 9 August 2018 at 02:57, Trent Piepho wrote: > > On Wed, 2018-08-08 at 11:54 +0100, Mark Brown wrote: > >> On Wed, Aug 08, 2018 at 06:35:28PM +0800, Baolin Wang wrote: > >> > On 8 August 2018 at 17:50, Mark Brown

Re: [PATCH 1/2] dt-bindings: spi: Add Spreadtrum SPI controller documentation

2018-08-14 Thread Rob Herring
On Thu, Aug 09, 2018 at 11:03:11AM +0800, Baolin Wang wrote: > Hi Trent, > > On 9 August 2018 at 02:57, Trent Piepho wrote: > > On Wed, 2018-08-08 at 11:54 +0100, Mark Brown wrote: > >> On Wed, Aug 08, 2018 at 06:35:28PM +0800, Baolin Wang wrote: > >> > On 8 August 2018 at 17:50, Mark Brown

Re: [PATCH 1/2] dt-bindings: spi: Add Spreadtrum SPI controller documentation

2018-08-14 Thread Rob Herring
On Tue, Aug 07, 2018 at 06:43:37PM +0800, Baolin Wang wrote: > From: Lanqing Liu > > This patch adds the binding documentation for Spreadtrum SPI > controller device. > > Signed-off-by: Lanqing Liu > Signed-off-by: Baolin Wang > --- > Documentation/devicetree/bindings/spi/spi-sprd.txt | 31

Re: [PATCH 1/2] dt-bindings: spi: Add Spreadtrum SPI controller documentation

2018-08-14 Thread Rob Herring
On Tue, Aug 07, 2018 at 06:43:37PM +0800, Baolin Wang wrote: > From: Lanqing Liu > > This patch adds the binding documentation for Spreadtrum SPI > controller device. > > Signed-off-by: Lanqing Liu > Signed-off-by: Baolin Wang > --- > Documentation/devicetree/bindings/spi/spi-sprd.txt | 31

Re: [PATCH 1/2] dt-bindings: spi: Add Spreadtrum SPI controller documentation

2018-08-08 Thread Baolin Wang
Hi Trent, On 9 August 2018 at 02:57, Trent Piepho wrote: > On Wed, 2018-08-08 at 11:54 +0100, Mark Brown wrote: >> On Wed, Aug 08, 2018 at 06:35:28PM +0800, Baolin Wang wrote: >> > On 8 August 2018 at 17:50, Mark Brown wrote: >> > > Right, I don't think we added this yet (if we did I can't see

Re: [PATCH 1/2] dt-bindings: spi: Add Spreadtrum SPI controller documentation

2018-08-08 Thread Baolin Wang
Hi Trent, On 9 August 2018 at 02:57, Trent Piepho wrote: > On Wed, 2018-08-08 at 11:54 +0100, Mark Brown wrote: >> On Wed, Aug 08, 2018 at 06:35:28PM +0800, Baolin Wang wrote: >> > On 8 August 2018 at 17:50, Mark Brown wrote: >> > > Right, I don't think we added this yet (if we did I can't see

Re: [PATCH 1/2] dt-bindings: spi: Add Spreadtrum SPI controller documentation

2018-08-08 Thread Trent Piepho
On Wed, 2018-08-08 at 11:54 +0100, Mark Brown wrote: > On Wed, Aug 08, 2018 at 06:35:28PM +0800, Baolin Wang wrote: > > On 8 August 2018 at 17:50, Mark Brown wrote: > > > Right, I don't think we added this yet (if we did I can't see > > > it). I'd > > > add a new field to spi_transfer for this,

Re: [PATCH 1/2] dt-bindings: spi: Add Spreadtrum SPI controller documentation

2018-08-08 Thread Trent Piepho
On Wed, 2018-08-08 at 11:54 +0100, Mark Brown wrote: > On Wed, Aug 08, 2018 at 06:35:28PM +0800, Baolin Wang wrote: > > On 8 August 2018 at 17:50, Mark Brown wrote: > > > Right, I don't think we added this yet (if we did I can't see > > > it). I'd > > > add a new field to spi_transfer for this,

Re: [PATCH 1/2] dt-bindings: spi: Add Spreadtrum SPI controller documentation

2018-08-08 Thread Baolin Wang
On 8 August 2018 at 18:54, Mark Brown wrote: > On Wed, Aug 08, 2018 at 06:35:28PM +0800, Baolin Wang wrote: >> On 8 August 2018 at 17:50, Mark Brown wrote: > >> > Right, I don't think we added this yet (if we did I can't see it). I'd >> > add a new field to spi_transfer for this, then other

Re: [PATCH 1/2] dt-bindings: spi: Add Spreadtrum SPI controller documentation

2018-08-08 Thread Baolin Wang
On 8 August 2018 at 18:54, Mark Brown wrote: > On Wed, Aug 08, 2018 at 06:35:28PM +0800, Baolin Wang wrote: >> On 8 August 2018 at 17:50, Mark Brown wrote: > >> > Right, I don't think we added this yet (if we did I can't see it). I'd >> > add a new field to spi_transfer for this, then other

Re: [PATCH 1/2] dt-bindings: spi: Add Spreadtrum SPI controller documentation

2018-08-08 Thread Mark Brown
On Wed, Aug 08, 2018 at 06:35:28PM +0800, Baolin Wang wrote: > On 8 August 2018 at 17:50, Mark Brown wrote: > > Right, I don't think we added this yet (if we did I can't see it). I'd > > add a new field to spi_transfer for this, then other controllers with > > the same support can implement it

Re: [PATCH 1/2] dt-bindings: spi: Add Spreadtrum SPI controller documentation

2018-08-08 Thread Mark Brown
On Wed, Aug 08, 2018 at 06:35:28PM +0800, Baolin Wang wrote: > On 8 August 2018 at 17:50, Mark Brown wrote: > > Right, I don't think we added this yet (if we did I can't see it). I'd > > add a new field to spi_transfer for this, then other controllers with > > the same support can implement it

Re: [PATCH 1/2] dt-bindings: spi: Add Spreadtrum SPI controller documentation

2018-08-08 Thread Baolin Wang
On 8 August 2018 at 17:50, Mark Brown wrote: > On Wed, Aug 08, 2018 at 10:26:42AM +0800, Baolin Wang wrote: > >> Sorry for confusing. Let me try to explain it explicitly. >> We can set the word size (bits_per_word) for each transmission, for >> our SPI controller, after every word size

Re: [PATCH 1/2] dt-bindings: spi: Add Spreadtrum SPI controller documentation

2018-08-08 Thread Baolin Wang
On 8 August 2018 at 17:50, Mark Brown wrote: > On Wed, Aug 08, 2018 at 10:26:42AM +0800, Baolin Wang wrote: > >> Sorry for confusing. Let me try to explain it explicitly. >> We can set the word size (bits_per_word) for each transmission, for >> our SPI controller, after every word size

Re: [PATCH 1/2] dt-bindings: spi: Add Spreadtrum SPI controller documentation

2018-08-08 Thread Mark Brown
On Wed, Aug 08, 2018 at 10:26:42AM +0800, Baolin Wang wrote: > Sorry for confusing. Let me try to explain it explicitly. > We can set the word size (bits_per_word) for each transmission, for > our SPI controller, after every word size transmission, we need one > interval time (hardware

Re: [PATCH 1/2] dt-bindings: spi: Add Spreadtrum SPI controller documentation

2018-08-08 Thread Mark Brown
On Wed, Aug 08, 2018 at 10:26:42AM +0800, Baolin Wang wrote: > Sorry for confusing. Let me try to explain it explicitly. > We can set the word size (bits_per_word) for each transmission, for > our SPI controller, after every word size transmission, we need one > interval time (hardware

Re: [PATCH 1/2] dt-bindings: spi: Add Spreadtrum SPI controller documentation

2018-08-07 Thread Baolin Wang
Hi Mark, On 7 August 2018 at 21:41, Mark Brown wrote: > On Tue, Aug 07, 2018 at 06:43:37PM +0800, Baolin Wang wrote: > >> +Optional properties: >> +- sprd,spi-interval: Specify the intervals of two SPI frames, which can be >> + converted to the delay clock cycles = interval number * 4 + 10.

Re: [PATCH 1/2] dt-bindings: spi: Add Spreadtrum SPI controller documentation

2018-08-07 Thread Baolin Wang
Hi Mark, On 7 August 2018 at 21:41, Mark Brown wrote: > On Tue, Aug 07, 2018 at 06:43:37PM +0800, Baolin Wang wrote: > >> +Optional properties: >> +- sprd,spi-interval: Specify the intervals of two SPI frames, which can be >> + converted to the delay clock cycles = interval number * 4 + 10.

Re: [PATCH 1/2] dt-bindings: spi: Add Spreadtrum SPI controller documentation

2018-08-07 Thread Mark Brown
On Tue, Aug 07, 2018 at 06:43:37PM +0800, Baolin Wang wrote: > +Optional properties: > +- sprd,spi-interval: Specify the intervals of two SPI frames, which can be > + converted to the delay clock cycles = interval number * 4 + 10. What's a frame here, and does it overlap with any of the

Re: [PATCH 1/2] dt-bindings: spi: Add Spreadtrum SPI controller documentation

2018-08-07 Thread Mark Brown
On Tue, Aug 07, 2018 at 06:43:37PM +0800, Baolin Wang wrote: > +Optional properties: > +- sprd,spi-interval: Specify the intervals of two SPI frames, which can be > + converted to the delay clock cycles = interval number * 4 + 10. What's a frame here, and does it overlap with any of the

[PATCH 1/2] dt-bindings: spi: Add Spreadtrum SPI controller documentation

2018-08-07 Thread Baolin Wang
From: Lanqing Liu This patch adds the binding documentation for Spreadtrum SPI controller device. Signed-off-by: Lanqing Liu Signed-off-by: Baolin Wang --- Documentation/devicetree/bindings/spi/spi-sprd.txt | 31 1 file changed, 31 insertions(+) create mode 100644

[PATCH 1/2] dt-bindings: spi: Add Spreadtrum SPI controller documentation

2018-08-07 Thread Baolin Wang
From: Lanqing Liu This patch adds the binding documentation for Spreadtrum SPI controller device. Signed-off-by: Lanqing Liu Signed-off-by: Baolin Wang --- Documentation/devicetree/bindings/spi/spi-sprd.txt | 31 1 file changed, 31 insertions(+) create mode 100644