<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/tty/serial/altera_uart.c, branch linux-4.13.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.13.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.13.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2017-05-25T12:36:37Z</updated>
<entry>
<title>serial: altera_uart: call iounmap() at driver remove</title>
<updated>2017-05-25T12:36:37Z</updated>
<author>
<name>Tobias Klauser</name>
</author>
<published>2017-05-19T11:59:20Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=59fe2cc8b1c32dd139da80fc8222b5b3290b7a09'/>
<id>urn:sha1:59fe2cc8b1c32dd139da80fc8222b5b3290b7a09</id>
<content type='text'>
The driver calls ioremap() in the probe function but doesn't call
iounmap() in the remove function correspondingly. Do so now.

Follow commit 5c9d6abed9e0 ("serial: altera_jtaguart: adding iounmap()")

Cc: Alexey Khoroshilov &lt;khoroshilov@ispras.ru&gt;
Signed-off-by: Tobias Klauser &lt;tklauser@distanz.ch&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>serial: altera_uart: add earlycon support</title>
<updated>2017-03-31T14:56:10Z</updated>
<author>
<name>Tobias Klauser</name>
</author>
<published>2017-03-22T12:50:13Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4d9d7d896d77e70e6868cfe681e7fcd58dc9526d'/>
<id>urn:sha1:4d9d7d896d77e70e6868cfe681e7fcd58dc9526d</id>
<content type='text'>
Nios2 currently uses its own early printk implementation, rather than
using unified earlycon support to show boot messages on altera_uart.

Add earlycon support to altera_uart so that other archs may use it.
Also, this (together with the corresponding patch for altera_jtaguart)
will allow the early printk implementation in arch/nios2 to be removed
in a future patch.

Cc: Ley Foon Tan &lt;lftan@altera.com&gt;
Signed-off-by: Tobias Klauser &lt;tklauser@distanz.ch&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>serial: altera: constify uart_ops structures</title>
<updated>2016-09-02T13:01:16Z</updated>
<author>
<name>Julia Lawall</name>
</author>
<published>2016-09-01T17:51:32Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=03bd797f33ddbe1d14de7abc70a9dd21b2a12d3f'/>
<id>urn:sha1:03bd797f33ddbe1d14de7abc70a9dd21b2a12d3f</id>
<content type='text'>
Check for uart_ops structures that are only stored in the ops field of a
uart_port structure.  This field is declared const, so uart_ops structures
that have this property can be declared as const also.

The semantic patch that makes this change is as follows:
(http://coccinelle.lip6.fr/)

// &lt;smpl&gt;
@r disable optional_qualifier@
identifier i;
position p;
@@
static struct uart_ops i@p = { ... };

@ok@
identifier r.i;
struct uart_port e;
position p;
@@
e.ops = &amp;i@p;

@bad@
position p != {r.p,ok.p};
identifier r.i;
struct uart_ops e;
@@
e@i@p

@depends on !bad disable optional_qualifier@
identifier r.i;
@@
static
+const
 struct uart_ops i = { ... };
// &lt;/smpl&gt;

Signed-off-by: Julia Lawall &lt;Julia.Lawall@lip6.fr&gt;
Acked-by: Tobias Klauser &lt;tklauser@distanz.ch&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>serial: altera_uart: Use of_property_read_u32 instead of open-coding it</title>
<updated>2015-10-04T16:47:49Z</updated>
<author>
<name>Tobias Klauser</name>
</author>
<published>2015-09-09T18:34:12Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d144aff1363a332e43be3cb431f6f8600a449cdc'/>
<id>urn:sha1:d144aff1363a332e43be3cb431f6f8600a449cdc</id>
<content type='text'>
Use of_property_read_u32 instead of of_get_property with return value
checks and endianness conversion. Also remove the !CONFIG_OF
implementation of altera_uart_get_of_uartclk as of_property_read_u32
will return a non-zero value for !CONFIG_OF.

Signed-off-by: Tobias Klauser &lt;tklauser@distanz.ch&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>drivers/tty/serial: altera: fix typos in #endif comments</title>
<updated>2015-05-06T20:26:58Z</updated>
<author>
<name>Valentin Rothberg</name>
</author>
<published>2015-04-11T10:21:30Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0656b1a9a5228f27af3a010b75c2c587213ee4f1'/>
<id>urn:sha1:0656b1a9a5228f27af3a010b75c2c587213ee4f1</id>
<content type='text'>
Correct reference on CONFIG_SERIAL_ALTERA_{JTAG}UART_CONSOLE in
C-comment after #endif.

Signed-off-by: Valentin Rothberg &lt;valentinrothberg@gmail.com&gt;
Acked-by: Tobias Klauser &lt;tklauser@distanz.ch&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>serial: altera-uart: fix NULL device in log message</title>
<updated>2015-01-09T22:28:17Z</updated>
<author>
<name>Ley Foon Tan</name>
</author>
<published>2014-12-16T07:28:34Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b820cd7643d5fdf05d6f5d32507d330609113248'/>
<id>urn:sha1:b820cd7643d5fdf05d6f5d32507d330609113248</id>
<content type='text'>
Add device pointer to port-&gt;dev.

Before:

"(NULL device *): ttyAL0 at MMIO 0x2020 (irq = 6, base_baud = 3125000)
is a Altera UART"

After:
"altera_uart 2020.serial: ttyAL0 at MMIO 0x2020 (irq = 6, base_baud = 3125000)
is a Altera UART"

Signed-off-by: Ley Foon Tan &lt;lftan@altera.com&gt;
Acked-by: Tobias Klauser &lt;tklauser@distanz.ch&gt;
Acked-by: Pavel Machek &lt;pavel@ucw.cz&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>tty: serial: drop owner assignment from platform_drivers</title>
<updated>2014-10-20T14:21:45Z</updated>
<author>
<name>Wolfram Sang</name>
</author>
<published>2014-10-20T14:21:45Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9144b3cded04a05d4b4e18dc9dcfb5b8ada3f2fc'/>
<id>urn:sha1:9144b3cded04a05d4b4e18dc9dcfb5b8ada3f2fc</id>
<content type='text'>
A platform_driver does not need to set an owner, it will be populated by the
driver core.

Signed-off-by: Wolfram Sang &lt;wsa@the-dreams.de&gt;
</content>
</entry>
<entry>
<title>serial: altera: Make of_device_id arrays const</title>
<updated>2014-09-08T22:28:28Z</updated>
<author>
<name>Tobias Klauser</name>
</author>
<published>2014-08-05T07:14:35Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4d199a55c41b25f4255eaeea358f944e33e91a4b'/>
<id>urn:sha1:4d199a55c41b25f4255eaeea358f944e33e91a4b</id>
<content type='text'>
Make the of_device_id arrays const, as it is handled as const by all OF
functions.

Signed-off-by: Tobias Klauser &lt;tklauser@distanz.ch&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>serial: altera: Adopt uart_console_write()</title>
<updated>2014-07-12T00:49:46Z</updated>
<author>
<name>Daniel Thompson</name>
</author>
<published>2014-07-11T13:00:11Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2970b7f5ea3cea2f169ca23fd863e24d03748ffd'/>
<id>urn:sha1:2970b7f5ea3cea2f169ca23fd863e24d03748ffd</id>
<content type='text'>
This driver does not currently use uart_console_write() and instead
provides is own LF to LFCR conversion in it's console_write() method.
We should use the library function instead.

Cmopile tested only (with ARCH=arm).

Signed-off-by: Daniel Thompson &lt;daniel.thompson@linaro.org&gt;
Cc: Tobias Klauser &lt;tklauser@distanz.ch&gt;
Cc: Jiri Slaby &lt;jslaby@suse.cz&gt;
Cc: linux-serial@vger.kernel.org
Cc: nios2-dev@lists.rocketboards.org
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>serial: treewide: Remove empty implementations of enable_ms()</title>
<updated>2014-07-10T00:29:38Z</updated>
<author>
<name>Alexander Shiyan</name>
</author>
<published>2014-06-03T14:54:44Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8b152f1096975d012f60387b899d407e4a93b46c'/>
<id>urn:sha1:8b152f1096975d012f60387b899d407e4a93b46c</id>
<content type='text'>
Signed-off-by: Alexander Shiyan &lt;shc_work@mail.ru&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
</feed>
