<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/dev/uart/uart_dev_pl011.c, branch upstream/11.1.0</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>Add support for the uart classes to set their default register shift value.</title>
<updated>2015-04-11T17:16:23+00:00</updated>
<author>
<name>Andrew Turner</name>
<email>andrew@FreeBSD.org</email>
</author>
<published>2015-04-11T17:16:23+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=405ada37fbdafaa6691a906f3630ba8d064e5f30'/>
<id>405ada37fbdafaa6691a906f3630ba8d064e5f30</id>
<content type='text'>
This is needed with the pl011 driver. Before this change it would default
to a shift of 0, however the hardware places the registers at 4-byte
addresses meaning the value should be 2.

This patch fixes this for the pl011 when configured using the fdt. The
other drivers have a default value of 0 to keep this a no-op.

MFC after:	1 week
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is needed with the pl011 driver. Before this change it would default
to a shift of 0, however the hardware places the registers at 4-byte
addresses meaning the value should be 2.

This patch fixes this for the pl011 when configured using the fdt. The
other drivers have a default value of 0 to keep this a no-op.

MFC after:	1 week
</pre>
</div>
</content>
</entry>
<entry>
<title>Move the uart_class definitions and fdt compat data into the individual</title>
<updated>2015-03-07T15:24:15+00:00</updated>
<author>
<name>Ian Lepore</name>
<email>ian@FreeBSD.org</email>
</author>
<published>2015-03-07T15:24:15+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=3bb693af87f70269e90b72d68f7fdea58aaac2ca'/>
<id>3bb693af87f70269e90b72d68f7fdea58aaac2ca</id>
<content type='text'>
uart implementations, and export them using the new linker-set mechanism.

Differential Revision:	https://reviews.freebsd.org/D1993
Submitted by:	Michal Meloun
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
uart implementations, and export them using the new linker-set mechanism.

Differential Revision:	https://reviews.freebsd.org/D1993
Submitted by:	Michal Meloun
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix the pl011 driver to work when the uart will write in zero cycles. This</title>
<updated>2015-03-03T09:48:19+00:00</updated>
<author>
<name>Andrew Turner</name>
<email>andrew@FreeBSD.org</email>
</author>
<published>2015-03-03T09:48:19+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=83724a87a4e82d07db0087bd9b0861f30d11f857'/>
<id>83724a87a4e82d07db0087bd9b0861f30d11f857</id>
<content type='text'>
is the case, depending on the options, in some of the ARM hardware
simulators. In these cases we don't get an interrupt so will need to
schedule the task to write more data to the uart.

MFC after:	1 week
Sponsored by:	The FreeBSD Foundation
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
is the case, depending on the options, in some of the ARM hardware
simulators. In these cases we don't get an interrupt so will need to
schedule the task to write more data to the uart.

MFC after:	1 week
Sponsored by:	The FreeBSD Foundation
</pre>
</div>
</content>
</entry>
<entry>
<title>Enable 'receive timeout' interrupt allowing us to not</title>
<updated>2015-02-24T15:35:26+00:00</updated>
<author>
<name>Ruslan Bukin</name>
<email>br@FreeBSD.org</email>
</author>
<published>2015-02-24T15:35:26+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=83dbea149e10da0ac7aa10a021f283e9de914d95'/>
<id>83dbea149e10da0ac7aa10a021f283e9de914d95</id>
<content type='text'>
loose 'rx buffer full' event.

This fixes operation on ARMv8 Foundation Model.

Sponsored by:	DARPA, AFRL
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
loose 'rx buffer full' event.

This fixes operation on ARMv8 Foundation Model.

Sponsored by:	DARPA, AFRL
</pre>
</div>
</content>
</entry>
<entry>
<title>Make PL011 UART to wait on putc only when TX FIFO is full</title>
<updated>2014-11-12T21:38:31+00:00</updated>
<author>
<name>Zbigniew Bodek</name>
<email>zbb@FreeBSD.org</email>
</author>
<published>2014-11-12T21:38:31+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=17d2ee0132e2f6fcd628021950ef08994d8c6dd0'/>
<id>17d2ee0132e2f6fcd628021950ef08994d8c6dd0</id>
<content type='text'>
Instead of waiting for empty TX FIFO it is more reasonable to
block on full FIFO. As soon as FIFO slot is free the character
can be transmitted.
In case of TX FIFO disabled, TXFF bit indicates that transmit
register is not empty.

Obtained from:   Semihalf
Reviewed by:     andrew, emaste
Sponsored by:    The FreeBSD Foundation
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Instead of waiting for empty TX FIFO it is more reasonable to
block on full FIFO. As soon as FIFO slot is free the character
can be transmitted.
In case of TX FIFO disabled, TXFF bit indicates that transmit
register is not empty.

Obtained from:   Semihalf
Reviewed by:     andrew, emaste
Sponsored by:    The FreeBSD Foundation
</pre>
</div>
</content>
</entry>
<entry>
<title>Introduce grab and ungrab upcalls. When the kernel desires to grab the</title>
<updated>2014-01-19T19:39:13+00:00</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2014-01-19T19:39:13+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=d76a1ef4e1adf1729f970e3787bd89276e2ee9db'/>
<id>d76a1ef4e1adf1729f970e3787bd89276e2ee9db</id>
<content type='text'>
console, it calls the grab functions. These functions should turn off
the RX interrupts, and any others that interfere. This makes mountroot
prompt work again. If there's more generalized need other than
prompting, many of these routines should be expanded to do those new
things.

Should have been part of r260889, but waasn't due to command line typo.

Reviewed by:	bde (with reservations)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
console, it calls the grab functions. These functions should turn off
the RX interrupts, and any others that interfere. This makes mountroot
prompt work again. If there's more generalized need other than
prompting, many of these routines should be expanded to do those new
things.

Should have been part of r260889, but waasn't due to command line typo.

Reviewed by:	bde (with reservations)
</pre>
</div>
</content>
</entry>
<entry>
<title>Calculate the baud rate divisor rather than using a hard-coded value.</title>
<updated>2013-10-20T23:40:16+00:00</updated>
<author>
<name>Ian Lepore</name>
<email>ian@FreeBSD.org</email>
</author>
<published>2013-10-20T23:40:16+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=6dd028d8f8936db56c51fe2d5c46e10dc2ca44d3'/>
<id>6dd028d8f8936db56c51fe2d5c46e10dc2ca44d3</id>
<content type='text'>
Submitted by:	Steven Lawrance &lt;stl@koffein.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Submitted by:	Steven Lawrance &lt;stl@koffein.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix low-level uart drivers that set their fifo sizes in the softc too late.</title>
<updated>2013-04-01T00:44:20+00:00</updated>
<author>
<name>Ian Lepore</name>
<email>ian@FreeBSD.org</email>
</author>
<published>2013-04-01T00:44:20+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=4d7abca0576b034bbe0c4ac8d723ff15d36f4323'/>
<id>4d7abca0576b034bbe0c4ac8d723ff15d36f4323</id>
<content type='text'>
uart(4) allocates send and receiver buffers in attach() before it calls
the low-level driver's attach routine.  Many low-level drivers set the
fifo sizes in their attach routine, which is too late.  Other drivers set
them in the probe() routine, so that they're available when uart(4)
allocates buffers.  This fixes the ones that were setting the values too
late by moving the code to probe().
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
uart(4) allocates send and receiver buffers in attach() before it calls
the low-level driver's attach routine.  Many low-level drivers set the
fifo sizes in their attach routine, which is too late.  Other drivers set
them in the probe() routine, so that they're available when uart(4)
allocates buffers.  This fixes the ones that were setting the values too
late by moving the code to probe().
</pre>
</div>
</content>
</entry>
<entry>
<title>Separate interrupts enable/disable logic from setting port parameters.</title>
<updated>2012-10-30T01:52:49+00:00</updated>
<author>
<name>Oleksandr Tymoshenko</name>
<email>gonzo@FreeBSD.org</email>
</author>
<published>2012-10-30T01:52:49+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=a0eae699c9abec10d158f26916fe7edcdd7f443f'/>
<id>a0eae699c9abec10d158f26916fe7edcdd7f443f</id>
<content type='text'>
Otherwise setting baud rate in TTY mode effectively disables TX/RX
interrupts and renders port unusable.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Otherwise setting baud rate in TTY mode effectively disables TX/RX
interrupts and renders port unusable.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add PrimeCell UART (PL011) driver</title>
<updated>2012-08-30T20:31:53+00:00</updated>
<author>
<name>Oleksandr Tymoshenko</name>
<email>gonzo@FreeBSD.org</email>
</author>
<published>2012-08-30T20:31:53+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=f70f23cc3e76477e7bf1fb8c2c81249c2163b680'/>
<id>f70f23cc3e76477e7bf1fb8c2c81249c2163b680</id>
<content type='text'>
Obtained from:	Semihalf
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Obtained from:	Semihalf
</pre>
</div>
</content>
</entry>
</feed>
