<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/drivers/video/ipu_common.c, branch v2018.01-rc2</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/u-boot.git/atom/drivers/video/ipu_common.c?h=v2018.01-rc2</id>
<link rel='self' href='http://cgit.235523.xyz/u-boot.git/atom/drivers/video/ipu_common.c?h=v2018.01-rc2'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<updated>2017-09-11T10:46:51Z</updated>
<entry>
<title>ipu_common: Let the MX6 IPU clock be calculated in run-time</title>
<updated>2017-09-11T10:46:51Z</updated>
<author>
<name>Fabio Estevam</name>
<email>fabio.estevam@nxp.com</email>
</author>
<published>2017-09-06T16:49:31Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=c7430d7d5efc45666476dab0da97466cb8ccff8e'/>
<id>urn:sha1:c7430d7d5efc45666476dab0da97466cb8ccff8e</id>
<content type='text'>
MX6Q/QP IPU operates at 264MHz and MX6DL IPU at 198MHz.

When running a SPL target, which supports multiple MX6 variants we cannot
properly setup the IPU clock frequency via CONFIG_IPUV3_CLK option as
such decision is done in build-time currently.

Remove the CONFIG_IPUV3_CLK option and let the IPU clock frequency be
configured in run-time on mx6.

Reported-by: Eric Nelson &lt;eric@nelint.com&gt;
Signed-off-by: Fabio Estevam &lt;fabio.estevam@nxp.com&gt;
Reviewed-by: Eric Nelson &lt;eric@nelint.com&gt;
Reviewed-by: Stefano Babic &lt;sbabic@denx.de&gt;
[agust: fixed #endif in cgtqmx6eval.h]
Signed-off-by: Anatolij Gustschin &lt;agust@denx.de&gt;
</content>
</entry>
<entry>
<title>video: ipuv3_fb: skip IPU shutdown if IPU was not enabled before</title>
<updated>2017-09-04T21:33:45Z</updated>
<author>
<name>Anatolij Gustschin</name>
<email>agust@denx.de</email>
</author>
<published>2017-09-04T21:33:45Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=f8ba7f27740b42f17bf145d0e1e5aec66ac8dc0e'/>
<id>urn:sha1:f8ba7f27740b42f17bf145d0e1e5aec66ac8dc0e</id>
<content type='text'>
Boards can skip display interface init using board_video_skip().
If display interface was not initialized (e.g. no ipuv3 framebuffer
registered or IPU clock disabled), booting Linux stops due to the
crash in IPU shutdown function, when accessing IPU registers.
Check IPU clock and skip shutdown if clock is not enabled.

Signed-off-by: Anatolij Gustschin &lt;agust@denx.de&gt;
</content>
</entry>
<entry>
<title>treewide: replace #include &lt;asm/errno.h&gt; with &lt;linux/errno.h&gt;</title>
<updated>2016-09-23T21:55:42Z</updated>
<author>
<name>Masahiro Yamada</name>
<email>yamada.masahiro@socionext.com</email>
</author>
<published>2016-09-21T02:28:55Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=1221ce459d04a428f8880f58581f671b736c3c27'/>
<id>urn:sha1:1221ce459d04a428f8880f58581f671b736c3c27</id>
<content type='text'>
Now, arch/${ARCH}/include/asm/errno.h and include/linux/errno.h have
the same content.  (both just wrap &lt;asm-generic/errno.h&gt;)

Replace all include directives for &lt;asm/errno.h&gt; with &lt;linux/errno.h&gt;.

Signed-off-by: Masahiro Yamada &lt;yamada.masahiro@socionext.com&gt;
[trini: Fixup include/clk.]
Signed-off-by: Tom Rini &lt;trini@konsulko.com&gt;
</content>
</entry>
<entry>
<title>video: ipu_common: fix build error</title>
<updated>2016-04-28T14:28:45Z</updated>
<author>
<name>Peng Fan</name>
<email>van.freenix@gmail.com</email>
</author>
<published>2016-04-28T02:07:53Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=c510f2e436008e55a50b063f2180cb1e63984224'/>
<id>urn:sha1:c510f2e436008e55a50b063f2180cb1e63984224</id>
<content type='text'>
Some toolchains fail to build
"clk-&gt;rate = (u64)(clk-&gt;parent-&gt;rate * 16) / div;"
And the cast usage is wrong.

Use the following code to fix the issue,
"
  do_div(parent_rate, div);
  clk-&gt;rate = parent_rate;
"

Reported-by: Peter Robinson &lt;pbrobinson@gmail.com&gt;
Signed-off-by: Peng Fan &lt;van.freenix@gmail.com&gt;
Cc: Stefano Babic &lt;sbabic@denx.de&gt;
Cc: Fabio Estevam &lt;fabio.estevam@nxp.com&gt;
Cc: Tom Rini &lt;trini@konsulko.com&gt;
Cc: Anatolij Gustschin &lt;agust@denx.de&gt;
Cc: Peter Robinson &lt;pbrobinson@gmail.com&gt;
Reviewed-by: Tom Rini &lt;trini@konsulko.com&gt;
Tested-by: Peter Robinson &lt;pbrobinson@gmail.com&gt;
</content>
</entry>
<entry>
<title>video: ipu: avoid overflow issue</title>
<updated>2016-03-14T21:47:41Z</updated>
<author>
<name>Peng Fan</name>
<email>van.freenix@gmail.com</email>
</author>
<published>2016-03-09T08:07:21Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=3cb4f25cc702db17455583599d0940c81337a17a'/>
<id>urn:sha1:3cb4f25cc702db17455583599d0940c81337a17a</id>
<content type='text'>
Multiplication, as "clk-&gt;parent-&gt;rate * 16" may overflow. So use
do_div to avoid such issue.

Signed-off-by: Peng Fan &lt;van.freenix@gmail.com&gt;
Signed-off-by: Sandor Yu &lt;sandor.yu@nxp.com&gt;
Cc: Anatolij Gustschin &lt;agust@denx.de&gt;
Cc: Stefano Babic &lt;sbabic@denx.de&gt;
Cc: Fabio Estevam &lt;fabio.estevam@nxp.com&gt;
</content>
</entry>
<entry>
<title>video, ipu: make ldb clock frequency overwritable through board code</title>
<updated>2015-04-20T07:36:59Z</updated>
<author>
<name>Heiko Schocher</name>
<email>hs@denx.de</email>
</author>
<published>2015-04-20T05:53:48Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=cb9f8e6a737e60f460896111b32bbebc45aa1cd1'/>
<id>urn:sha1:cb9f8e6a737e60f460896111b32bbebc45aa1cd1</id>
<content type='text'>
the ldb clock can be setup in board code (for example set through PLL5).
Update the ldb_clock rate also through board code.

This should be removed, if a clock framework is availiable.

Signed-off-by: Heiko Schocher &lt;hs@denx.de&gt;
Tested-by: Eric Nelson &lt;eric.nelson@boundarydevices.com&gt;
</content>
</entry>
<entry>
<title>video, ipu: make ldb_clock configurable</title>
<updated>2015-04-20T07:34:45Z</updated>
<author>
<name>Heiko Schocher</name>
<email>hs@denx.de</email>
</author>
<published>2015-04-20T05:52:21Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=0ced25beb5c0ee6aefe183c980560bed3d664fdb'/>
<id>urn:sha1:0ced25beb5c0ee6aefe183c980560bed3d664fdb</id>
<content type='text'>
make the ldb_clock configurable through the new define
CONFIG_SYS_LDB_CLOCK. This is needed as the ldb clock is not
always 650000000, for example on the aristainetos2 board,
where the ldb clock derives from PLL5 clock.

Signed-off-by: Heiko Schocher &lt;hs@denx.de&gt;
Tested-by: Eric Nelson &lt;eric.nelson@boundarydevices.com&gt;
</content>
</entry>
<entry>
<title>video: ipu: prevent warnings with W=1</title>
<updated>2014-10-25T11:27:37Z</updated>
<author>
<name>Jeroen Hofstee</name>
<email>jeroen@myspectrum.nl</email>
</author>
<published>2014-10-08T20:57:47Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=c5fe2532acf61acdc8da459110dbf4ad56496cb1'/>
<id>urn:sha1:c5fe2532acf61acdc8da459110dbf4ad56496cb1</id>
<content type='text'>
- make local functions static
- remove unused is_interlaced function

Signed-off-by: Jeroen Hofstee &lt;jeroen@myspectrum.nl&gt;
</content>
</entry>
<entry>
<title>Add GPL-2.0+ SPDX-License-Identifier to source files</title>
<updated>2013-07-24T13:44:38Z</updated>
<author>
<name>Wolfgang Denk</name>
<email>wd@denx.de</email>
</author>
<published>2013-07-08T07:37:19Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=1a4596601fd395f3afb8f82f3f840c5e00bdd57a'/>
<id>urn:sha1:1a4596601fd395f3afb8f82f3f840c5e00bdd57a</id>
<content type='text'>
Signed-off-by: Wolfgang Denk &lt;wd@denx.de&gt;
[trini: Fixup common/cmd_io.c]
Signed-off-by: Tom Rini &lt;trini@ti.com&gt;
</content>
</entry>
<entry>
<title>ipu common: reset ipuv3 correctly</title>
<updated>2012-11-06T21:24:11Z</updated>
<author>
<name>Liu Ying</name>
<email>Ying.Liu@freescale.com</email>
</author>
<published>2012-10-06T04:16:04Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=945d069fb5c8932e74aeba178c60a9dc6e9cba93'/>
<id>urn:sha1:945d069fb5c8932e74aeba178c60a9dc6e9cba93</id>
<content type='text'>
This patch checks self-clear sw_ipu_rst bit in
SCR register of SRC controller to be cleared
after setting it to high to reset IPUv3. This
makes sure that IPUv3 finishes sofware reset.
A timeout mechanism is added to stop polling
on the bit status in case the bit could not be
cleared by the hardware automatically within
10 millisecond.

Signed-off-by: Liu Ying &lt;Ying.Liu@freescale.com&gt;
</content>
</entry>
</feed>
