<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/drivers/serial, branch v2017.05</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<entry>
<title>Merge git://git.denx.de/u-boot-sunxi</title>
<updated>2017-04-25T20:12:42+00:00</updated>
<author>
<name>Tom Rini</name>
<email>trini@konsulko.com</email>
</author>
<published>2017-04-25T20:12:42+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=6f008a2e16ec3b618363800e414023569007cd89'/>
<id>6f008a2e16ec3b618363800e414023569007cd89</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>sunxi: fix the default value of CONS_INDEX on non-A23/A33 SUN8I</title>
<updated>2017-04-25T09:44:21+00:00</updated>
<author>
<name>Icenowy Zheng</name>
<email>icenowy@aosc.io</email>
</author>
<published>2017-04-24T17:39:51+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=e8f86a026125ff2b2d6bd6eac73d2542852aab84'/>
<id>e8f86a026125ff2b2d6bd6eac73d2542852aab84</id>
<content type='text'>
Only A23/A33 in SUN8I want a default value of CONS_INDEX of 5, for other
chips the default value is 1 like other Allwinner SoCs.

Fix this default value.

The original wrong value has lead to wrong console on H3 Orange Pi
boards.

Fixes: 7095f8641863 ("sunxi: Convert CONS_INDEX to Kconfig")

Signed-off-by: Icenowy Zheng &lt;icenowy@aosc.io&gt;
Signed-off-by: Maxime Ripard &lt;maxime.ripard@free-electrons.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Only A23/A33 in SUN8I want a default value of CONS_INDEX of 5, for other
chips the default value is 1 like other Allwinner SoCs.

Fix this default value.

The original wrong value has lead to wrong console on H3 Orange Pi
boards.

Fixes: 7095f8641863 ("sunxi: Convert CONS_INDEX to Kconfig")

Signed-off-by: Icenowy Zheng &lt;icenowy@aosc.io&gt;
Signed-off-by: Maxime Ripard &lt;maxime.ripard@free-electrons.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>sunxi: Convert CONS_INDEX to Kconfig</title>
<updated>2017-04-20T11:20:32+00:00</updated>
<author>
<name>Mylène Josserand</name>
<email>mylene.josserand@free-electrons.com</email>
</author>
<published>2017-04-02T10:59:11+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=7095f864186350dd5773a0bda2df19a1fa8d0aeb'/>
<id>7095f864186350dd5773a0bda2df19a1fa8d0aeb</id>
<content type='text'>
Convert the CONS_INDEX configuration to Kconfig.
Update sunxi's defconfigs to remove SYS_EXTRA_OPTIONS variable not
needed anymore.
Default value is 1 except for sun5i (equals 2) and sun8i (equals 5).

Signed-off-by: Mylène Josserand &lt;mylene.josserand@free-electrons.com&gt;
[Maxime: Added a depends on ARCH_SUNXI to avoid build breakages]
Signed-off-by: Maxime Ripard &lt;maxime.ripard@free-electrons.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Convert the CONS_INDEX configuration to Kconfig.
Update sunxi's defconfigs to remove SYS_EXTRA_OPTIONS variable not
needed anymore.
Default value is 1 except for sun5i (equals 2) and sun8i (equals 5).

Signed-off-by: Mylène Josserand &lt;mylene.josserand@free-electrons.com&gt;
[Maxime: Added a depends on ARCH_SUNXI to avoid build breakages]
Signed-off-by: Maxime Ripard &lt;maxime.ripard@free-electrons.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>usbtty: avoid potential NULL pointer dereference</title>
<updated>2017-04-18T14:29:23+00:00</updated>
<author>
<name>xypron.glpk@gmx.de</name>
<email>xypron.glpk@gmx.de</email>
</author>
<published>2017-04-15T13:05:46+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=73be5b3fa73e329ad0d9e12db427cd665e1a483c'/>
<id>73be5b3fa73e329ad0d9e12db427cd665e1a483c</id>
<content type='text'>
If current_urb is NULL it should not be dereferenced.

The problem was indicated by cppcheck.

Signed-off-by: Heinrich Schuchardt &lt;xypron.glpk@gmx.de&gt;
Reviewed-by: Tom Rini &lt;trini@konsulko.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If current_urb is NULL it should not be dereferenced.

The problem was indicated by cppcheck.

Signed-off-by: Heinrich Schuchardt &lt;xypron.glpk@gmx.de&gt;
Reviewed-by: Tom Rini &lt;trini@konsulko.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge git://git.denx.de/u-boot-dm</title>
<updated>2017-04-13T21:31:06+00:00</updated>
<author>
<name>Tom Rini</name>
<email>trini@konsulko.com</email>
</author>
<published>2017-04-13T21:31:06+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=b7b24a7a3cd74bb165d28a2959ed9143e3648fbf'/>
<id>b7b24a7a3cd74bb165d28a2959ed9143e3648fbf</id>
<content type='text'>
Here with some DM changes as well as the long-standing AT91 DM/DT
conversion patches which I have picked up via dm.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Here with some DM changes as well as the long-standing AT91 DM/DT
conversion patches which I have picked up via dm.
</pre>
</div>
</content>
</entry>
<entry>
<title>serial: ns16550: Link in the DM driver when when using platdata</title>
<updated>2017-04-13T17:43:23+00:00</updated>
<author>
<name>Alexandru Gagniuc</name>
<email>alex.g@adaptrum.com</email>
</author>
<published>2017-03-27T19:54:19+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=6f8c351e98726ec9b569bf16f7efa2a4e4648727'/>
<id>6f8c351e98726ec9b569bf16f7efa2a4e4648727</id>
<content type='text'>
Do not condition the compilation of the U_BOOT_DRIVER by !OF_PLATDATA.
This is inconsistent with the majority of other drivers. This also
blocks OF_PLATDATA boards with an 16550-compatible serial from using
serial in SPL.

Signed-off-by: Alexandru Gagniuc &lt;alex.g@adaptrum.com&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
Added tweak for rock to avoid a TPL build failure:
Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Do not condition the compilation of the U_BOOT_DRIVER by !OF_PLATDATA.
This is inconsistent with the majority of other drivers. This also
blocks OF_PLATDATA boards with an 16550-compatible serial from using
serial in SPL.

Signed-off-by: Alexandru Gagniuc &lt;alex.g@adaptrum.com&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
Added tweak for rock to avoid a TPL build failure:
Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix a bug with PL010s running at 19200 baud</title>
<updated>2017-04-13T13:41:08+00:00</updated>
<author>
<name>Alyssa Rosenzweig</name>
<email>alyssa@rosenzweig.io</email>
</author>
<published>2017-04-07T16:48:22+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=b2aa88941110868485d38719d119ab79ef9cddfe'/>
<id>b2aa88941110868485d38719d119ab79ef9cddfe</id>
<content type='text'>
I don't have the hardware test this, but it is almost certainly a typo
in the code dating back to at least 2004.

Signed-off-by: Alyssa Rosenzweig &lt;alyssa@rosenzweig.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
I don't have the hardware test this, but it is almost certainly a typo
in the code dating back to at least 2004.

Signed-off-by: Alyssa Rosenzweig &lt;alyssa@rosenzweig.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>serial: Add serial driver for Intel MID</title>
<updated>2017-04-10T02:02:03+00:00</updated>
<author>
<name>Andy Shevchenko</name>
<email>andriy.shevchenko@linux.intel.com</email>
</author>
<published>2017-02-28T12:04:10+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=c5f8dd482b4178cda30be7355085a70521cd4813'/>
<id>c5f8dd482b4178cda30be7355085a70521cd4813</id>
<content type='text'>
Add a specific serial driver for Intel MID platforms.

It has special fractional divider which can be programmed via UART_PS,
UART_MUL, and UART_DIV registers.

The UART clock is calculated as

	UART clock = XTAL * UART_MUL / UART_DIV

The baudrate is calculated as

	baud rate = UART clock / UART_PS / DLAB

Initialize fractional divider correctly for Intel Edison platform.

For backward compatibility we have to set initial DLAB value to 16
and speed to 115200 baud, where initial frequency is 29491200Hz, and
XTAL frequency is 38.4MHz.

Signed-off-by: Andy Shevchenko &lt;andriy.shevchenko@linux.intel.com&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
Reviewed-by: Kever Yang &lt;kever.yang@rock-chips.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add a specific serial driver for Intel MID platforms.

It has special fractional divider which can be programmed via UART_PS,
UART_MUL, and UART_DIV registers.

The UART clock is calculated as

	UART clock = XTAL * UART_MUL / UART_DIV

The baudrate is calculated as

	baud rate = UART clock / UART_PS / DLAB

Initialize fractional divider correctly for Intel Edison platform.

For backward compatibility we have to set initial DLAB value to 16
and speed to 115200 baud, where initial frequency is 29491200Hz, and
XTAL frequency is 38.4MHz.

Signed-off-by: Andy Shevchenko &lt;andriy.shevchenko@linux.intel.com&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
Reviewed-by: Kever Yang &lt;kever.yang@rock-chips.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>dm: serial: Allow driver-model serial to be disabled for TPL</title>
<updated>2017-04-05T20:36:59+00:00</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2017-04-02T15:50:32+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=891f7ae63318293cd5807fb611f86f545080b1f6'/>
<id>891f7ae63318293cd5807fb611f86f545080b1f6</id>
<content type='text'>
Add separate enable/disable controls for driver-model serial. While this
is generally enabled in SPL it may not be in TPL, since serial output can
be obtained with the debug UART with minimal code size.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add separate enable/disable controls for driver-model serial. While this
is generally enabled in SPL it may not be in TPL, since serial output can
be obtained with the debug UART with minimal code size.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Blackfin: Remove</title>
<updated>2017-04-05T17:52:01+00:00</updated>
<author>
<name>Tom Rini</name>
<email>trini@konsulko.com</email>
</author>
<published>2017-03-14T15:08:10+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=ea3310e8aafad1da72d9a5e60568d725cbdefdbd'/>
<id>ea3310e8aafad1da72d9a5e60568d725cbdefdbd</id>
<content type='text'>
The architecture is currently unmaintained, remove.

Cc: Benjamin Matthews &lt;mben12@gmail.com&gt;
Cc: Chong Huang &lt;chuang@ucrobotics.com&gt;
Cc: Dimitar Penev &lt;dpn@switchfin.org&gt;
Cc: Haitao Zhang &lt;hzhang@ucrobotics.com&gt;
Cc: I-SYST Micromodule &lt;support@i-syst.com&gt;
Cc: M.Hasewinkel (MHA) &lt;info@ssv-embedded.de&gt;
Cc: Marek Vasut &lt;marex@denx.de&gt;
Cc: Martin Strubel &lt;strubel@section5.ch&gt;
Cc: Peter Meerwald &lt;devel@bct-electronic.com&gt;
Cc: Sonic Zhang &lt;sonic.adi@gmail.com&gt;
Cc: Valentin Yakovenkov &lt;yakovenkov@niistt.ru&gt;
Cc: Wojtek Skulski &lt;info@skutek.com&gt;
Cc: Wojtek Skulski &lt;skulski@pas.rochester.edu&gt;
Signed-off-by: Tom Rini &lt;trini@konsulko.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The architecture is currently unmaintained, remove.

Cc: Benjamin Matthews &lt;mben12@gmail.com&gt;
Cc: Chong Huang &lt;chuang@ucrobotics.com&gt;
Cc: Dimitar Penev &lt;dpn@switchfin.org&gt;
Cc: Haitao Zhang &lt;hzhang@ucrobotics.com&gt;
Cc: I-SYST Micromodule &lt;support@i-syst.com&gt;
Cc: M.Hasewinkel (MHA) &lt;info@ssv-embedded.de&gt;
Cc: Marek Vasut &lt;marex@denx.de&gt;
Cc: Martin Strubel &lt;strubel@section5.ch&gt;
Cc: Peter Meerwald &lt;devel@bct-electronic.com&gt;
Cc: Sonic Zhang &lt;sonic.adi@gmail.com&gt;
Cc: Valentin Yakovenkov &lt;yakovenkov@niistt.ru&gt;
Cc: Wojtek Skulski &lt;info@skutek.com&gt;
Cc: Wojtek Skulski &lt;skulski@pas.rochester.edu&gt;
Signed-off-by: Tom Rini &lt;trini@konsulko.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
