<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-toradex.git/include, branch 3.0-imx6-ts3</title>
<subtitle>Linux kernel for Apalis and Colibri modules</subtitle>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/'/>
<entry>
<title>ENGR00234781 input: add novatek touch screen driver.</title>
<updated>2012-11-28T08:57:07+00:00</updated>
<author>
<name>Zhang Jiejing</name>
<email>jiejing.zhang@freescale.com</email>
</author>
<published>2012-11-23T06:09:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=3c7d2684054ee74a228a686496a27cd15e40fd7f'/>
<id>3c7d2684054ee74a228a686496a27cd15e40fd7f</id>
<content type='text'>
This patch add device drvier for novatek touch screen driver.
This touch screen chip will be support because it have
more populary screen size.

Signed-off-by: Zhang Jiejing &lt;jiejing.zhang@freescale.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch add device drvier for novatek touch screen driver.
This touch screen chip will be support because it have
more populary screen size.

Signed-off-by: Zhang Jiejing &lt;jiejing.zhang@freescale.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ENGR00233570-1 ASRC: Use hook to add support for ASRC loadable</title>
<updated>2012-11-15T09:19:17+00:00</updated>
<author>
<name>Ge Lei</name>
<email>b42127@freescale.com</email>
</author>
<published>2012-11-15T06:46:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=72ab3f46c599fadabf83f17b0bde7d6887c805fd'/>
<id>72ab3f46c599fadabf83f17b0bde7d6887c805fd</id>
<content type='text'>
ASoC ESAI machine driver and pcm platform driver use the APIs from mxc_asrc.c,
but once ASRC is used as a loadable module, these files can't find the APIs
from this ko. In this patch, we use 'asrc_p2p_hook' to hook the APIs which will
be used in ASoC ESAI machine driver and pcm platform driver.

Signed-off-by: Ge Lei &lt;b42127@freescale.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
ASoC ESAI machine driver and pcm platform driver use the APIs from mxc_asrc.c,
but once ASRC is used as a loadable module, these files can't find the APIs
from this ko. In this patch, we use 'asrc_p2p_hook' to hook the APIs which will
be used in ASoC ESAI machine driver and pcm platform driver.

Signed-off-by: Ge Lei &lt;b42127@freescale.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ENGR00233427 ASRC: add interface to modify ASRC input/output watermark</title>
<updated>2012-11-14T06:53:26+00:00</updated>
<author>
<name>Chen Liangjun</name>
<email>b36089@freescale.com</email>
</author>
<published>2012-11-13T08:43:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=2103aa2f98bfafb504783dca387f9b182556a9c0'/>
<id>2103aa2f98bfafb504783dca387f9b182556a9c0</id>
<content type='text'>
In this patch, add interface to modify ASRC input/output watermark.

Signed-off-by: Chen Liangjun &lt;b36089@freescale.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In this patch, add interface to modify ASRC input/output watermark.

Signed-off-by: Chen Liangjun &lt;b36089@freescale.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ENGR00231266-1: fsl_devices add csi_tx_addr</title>
<updated>2012-11-06T17:13:29+00:00</updated>
<author>
<name>Adrian Alonso</name>
<email>aalonso@freescale.com</email>
</author>
<published>2012-10-24T16:32:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=4f0137bdc5f9477fc7e9c913e57cc9ec300cb423'/>
<id>4f0137bdc5f9477fc7e9c913e57cc9ec300cb423</id>
<content type='text'>
* Add csi_tx_addr, so it can override slave addr
  for adv7280 tvin decoder device

Signed-off-by: Adrian Alonso &lt;aalonso@freescale.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Add csi_tx_addr, so it can override slave addr
  for adv7280 tvin decoder device

Signed-off-by: Adrian Alonso &lt;aalonso@freescale.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ENGR00231773-8 ASRC: prevent user app from processing input/output processing</title>
<updated>2012-11-06T05:43:41+00:00</updated>
<author>
<name>Chen Liangjun</name>
<email>b36089@freescale.com</email>
</author>
<published>2012-10-31T09:27:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=29d7200e2f5a07452a5c13799a57772097e4a8d6'/>
<id>29d7200e2f5a07452a5c13799a57772097e4a8d6</id>
<content type='text'>
To finish a buffer convert in ASRC, user should 1. prepare input buffer,
2. prepare output buffer 3. wait for output buffer's completion 4.wait
for input buffer's comletion. The flow make user application ugly.

In this patch, pack steps above to 1 stop: ASRC_CONVERT.

Signed-off-by: Chen Liangjun &lt;b36089@freescale.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
To finish a buffer convert in ASRC, user should 1. prepare input buffer,
2. prepare output buffer 3. wait for output buffer's completion 4.wait
for input buffer's comletion. The flow make user application ugly.

In this patch, pack steps above to 1 stop: ASRC_CONVERT.

Signed-off-by: Chen Liangjun &lt;b36089@freescale.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ENGR00231773-5 ASRC: use poll mode to receive last period of ASRC data</title>
<updated>2012-11-06T05:43:41+00:00</updated>
<author>
<name>Chen Liangjun</name>
<email>b36089@freescale.com</email>
</author>
<published>2012-10-31T03:11:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=f10e0cf7a83b920cede6e8fd933b66b454040a72'/>
<id>f10e0cf7a83b920cede6e8fd933b66b454040a72</id>
<content type='text'>
ASRC driver use DMA to transfer data from ASRC output FIFO to memory.
However, DMA way require the data number in ASRC output FIFO being larger
than watermark level. Thus a dma request can trigger a DMA burst. For
the last period of output data, its number is possiblely less than output
FIFO watermark level. In this case, the output DMA would pending for the
last period of output data until timeout.

In this patch:
	1 divide expected output data length into 2 parts: DMA part
and poll part. Using DMA to get the DMA part data and poll mode to
get the poll part.
	2 to prevent user from processing these 2 parts above, kernel
buffers would be untouchable. User application only need send its data
buffer address to driver instead of query the kernel buffer.

Signed-off-by: Chen Liangjun &lt;b36089@freescale.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
ASRC driver use DMA to transfer data from ASRC output FIFO to memory.
However, DMA way require the data number in ASRC output FIFO being larger
than watermark level. Thus a dma request can trigger a DMA burst. For
the last period of output data, its number is possiblely less than output
FIFO watermark level. In this case, the output DMA would pending for the
last period of output data until timeout.

In this patch:
	1 divide expected output data length into 2 parts: DMA part
and poll part. Using DMA to get the DMA part data and poll mode to
get the poll part.
	2 to prevent user from processing these 2 parts above, kernel
buffers would be untouchable. User application only need send its data
buffer address to driver instead of query the kernel buffer.

Signed-off-by: Chen Liangjun &lt;b36089@freescale.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ENGR00231773-4 ASRC: use scatter list and stall bit for asrc convert</title>
<updated>2012-11-06T05:43:41+00:00</updated>
<author>
<name>Chen Liangjun</name>
<email>b36089@freescale.com</email>
</author>
<published>2012-10-26T09:43:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=e49af26851c3f5a899b69682189f7849da45452b'/>
<id>e49af26851c3f5a899b69682189f7849da45452b</id>
<content type='text'>
In the origin code, ASRC driver use cyclic way to process DMA task
transfering data to/from ASRC input/output FIFO. In this case, it is
necessary that user application should promise that the input buffer
flow is continuous. If not, there would be 0 data be inserted into data
flow. The output data would be noisy.

In this patch,
	1 use scatter list instead of cyclic SDMA: with scatter list,
SDMA would stop when the applied scatter list nents are finished.
	2 set stall bit for ASRC "memory-&gt;ASRC-&gt;memory" convert to stop
ASRC convert when input data is not send into ASRC input FIFO in time.

Signed-off-by: Chen Liangjun &lt;b36089@freescale.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In the origin code, ASRC driver use cyclic way to process DMA task
transfering data to/from ASRC input/output FIFO. In this case, it is
necessary that user application should promise that the input buffer
flow is continuous. If not, there would be 0 data be inserted into data
flow. The output data would be noisy.

In this patch,
	1 use scatter list instead of cyclic SDMA: with scatter list,
SDMA would stop when the applied scatter list nents are finished.
	2 set stall bit for ASRC "memory-&gt;ASRC-&gt;memory" convert to stop
ASRC convert when input data is not send into ASRC input FIFO in time.

Signed-off-by: Chen Liangjun &lt;b36089@freescale.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ENGR00231773-3 ASRC: use kzalloc to allocate buffer to support scatterlist</title>
<updated>2012-11-06T05:43:41+00:00</updated>
<author>
<name>Chen Liangjun</name>
<email>b36089@freescale.com</email>
</author>
<published>2012-10-26T07:10:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=9e81e368be12a07cdff2b54ec7e7a13e82aa38ec'/>
<id>9e81e368be12a07cdff2b54ec7e7a13e82aa38ec</id>
<content type='text'>
For ASRC's "memory -&gt; ASRC -&gt; memory" using, new driver would support
model below: user input one buffer into ASRC and an corresponding output
buffer would be poped out. There is no timing requirement between this
input buffer and next input buffer. Thus driver would not use the cyclic
way to config SDMA and scatterlist is used. buffer allocated by
dma_alloc_coherent() can't support scatterlist well.

In this patch, use kzalloc to allocate buffer to support scatterlist.

Signed-off-by: Chen Liangjun &lt;b36089@freescale.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
For ASRC's "memory -&gt; ASRC -&gt; memory" using, new driver would support
model below: user input one buffer into ASRC and an corresponding output
buffer would be poped out. There is no timing requirement between this
input buffer and next input buffer. Thus driver would not use the cyclic
way to config SDMA and scatterlist is used. buffer allocated by
dma_alloc_coherent() can't support scatterlist well.

In this patch, use kzalloc to allocate buffer to support scatterlist.

Signed-off-by: Chen Liangjun &lt;b36089@freescale.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ENGR00231773-2 ASRC: add work struct for asrc output data receive</title>
<updated>2012-11-06T05:43:40+00:00</updated>
<author>
<name>Chen Liangjun</name>
<email>b36089@freescale.com</email>
</author>
<published>2012-10-26T05:42:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=07eeb987cd59cecd527ba4658ef8220e8f0c13ad'/>
<id>07eeb987cd59cecd527ba4658ef8220e8f0c13ad</id>
<content type='text'>
SDMA driver can't promise receive all output data generated. Cause when
the data in output FIFO is less than ASRC output FIFO watermark, there
would be no DMA request generated and thus no SDMA transfer would
happens.

In this patch, add work struct to support ASRC driver receive last part
of data in OUTPUT FIFO in polling way.

Signed-off-by: Chen Liangjun &lt;b36089@freescale.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
SDMA driver can't promise receive all output data generated. Cause when
the data in output FIFO is less than ASRC output FIFO watermark, there
would be no DMA request generated and thus no SDMA transfer would
happens.

In this patch, add work struct to support ASRC driver receive last part
of data in OUTPUT FIFO in polling way.

Signed-off-by: Chen Liangjun &lt;b36089@freescale.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ENGR00231773-1 ASRC: remove queue operation in ASRC driver</title>
<updated>2012-11-06T05:43:40+00:00</updated>
<author>
<name>Chen Liangjun</name>
<email>b36089@freescale.com</email>
</author>
<published>2012-10-26T08:07:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=9ad976c9dfcb9937c71720d21eebe928370dd83b'/>
<id>9ad976c9dfcb9937c71720d21eebe928370dd83b</id>
<content type='text'>
According to ASRC memory-&gt;ASRC-&gt;memory requirement, driver should
satisfy the feature below: user application would passed into one buffer
and waiting until the output buffer is generated. In this case, only one
buffer is on processing and it is no necessary to use the queue to do
the convert. What is worse, queue operation would make the ASRC driver
hard to understand and maintain.

In this patch, remove the queue operation in ASRC driver.

Signed-off-by: Chen Liangjun &lt;b36089@freescale.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
According to ASRC memory-&gt;ASRC-&gt;memory requirement, driver should
satisfy the feature below: user application would passed into one buffer
and waiting until the output buffer is generated. In this case, only one
buffer is on processing and it is no necessary to use the queue to do
the convert. What is worse, queue operation would make the ASRC driver
hard to understand and maintain.

In this patch, remove the queue operation in ASRC driver.

Signed-off-by: Chen Liangjun &lt;b36089@freescale.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
