<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/drivers/serial, branch main</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/u-boot.git/atom/drivers/serial?h=main</id>
<link rel='self' href='http://cgit.235523.xyz/u-boot.git/atom/drivers/serial?h=main'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<updated>2026-08-28T18:18:11Z</updated>
<entry>
<title>fix non-existing sysam.it domain</title>
<updated>2026-08-28T18:18:11Z</updated>
<author>
<name>Angelo Dureghello</name>
<email>angelo@kernel-space.org</email>
</author>
<published>2026-08-24T13:42:48Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=547b4d3bba7ecb4446fa55ed27f048fd27928f59'/>
<id>urn:sha1:547b4d3bba7ecb4446fa55ed27f048fd27928f59</id>
<content type='text'>
Change "Angelo Dureghello" emails replacing non-existing domain with the
currently working one.

Signed-off-by: Angelo Dureghello &lt;angelo@kernel-space.org&gt;
Acked-by: Michal Simek &lt;michal.simek@amd.com&gt;
</content>
</entry>
<entry>
<title>serial: coreboot: Accept DBG2 subtype 0x12</title>
<updated>2026-08-10T20:22:09Z</updated>
<author>
<name>Desapogu Jayaramudu</name>
<email>jayaramudu.desapogu@amd.com</email>
</author>
<published>2026-07-30T03:43:16Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=780808133b756261c1c1a0aacb4c7067fc97857b'/>
<id>urn:sha1:780808133b756261c1c1a0aacb4c7067fc97857b</id>
<content type='text'>
U-Boot running as a coreboot payload obtains serial console
information either from the coreboot table or from the ACPI DBG2
table.

When serial console support is disabled in coreboot, the coreboot
table does not contain serial information. In this case U-Boot falls
back to parsing the DBG2 table.

Some AMD platforms or any other platforms that uses memory-mapped I/O
advertise the debug UART using DBG2 subtype 0x0012 ("16550-compatible
with parameters defined in Generic Address Structure"). U-Boot
currently accepts only subtype 0x0000, causing DBG2 UART detection to
fail and leaving no console output.

Accept subtype 0x0012 as well and keep the existing handling logic.

Signed-off-by: Desapogu Jayaramudu &lt;jayaramudu.desapogu@amd.com&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>serial: avoid redundant early UART initialization</title>
<updated>2026-07-28T18:30:55Z</updated>
<author>
<name>Aswin Murugan</name>
<email>aswin.murugan@oss.qualcomm.com</email>
</author>
<published>2026-07-15T17:30:00Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=8eb3f9ef9e0de0dcea4aa85d770d6aebdb577f4a'/>
<id>urn:sha1:8eb3f9ef9e0de0dcea4aa85d770d6aebdb577f4a</id>
<content type='text'>
When DEBUG_UART and SKIP_EARLY_DM are enabled, the serial console
is still probed before relocation even though DEBUG_UART already
configures the UART and provides early console output. The debug
UART configuration is sufficient until relocation, making full
serial driver initialization at this stage unnecessary.
Furthermore, the initialization is slow since it runs with dcache
disabled and is repeated again after relocation.

Skip pre-relocation serial probing in this configuration and
defer full UART initialization until after relocation. Update the
GENI UART probe logic accordingly.

This removes redundant UART initialization and improves boot
performance.

Signed-off-by: Aswin Murugan &lt;aswin.murugan@oss.qualcomm.com&gt;
</content>
</entry>
<entry>
<title>serial: sifive: remove busy-loops from getc and putc ops</title>
<updated>2026-07-27T04:04:42Z</updated>
<author>
<name>Naveen Kumar Chaudhary</name>
<email>naveen.osdev@gmail.com</email>
</author>
<published>2026-06-07T15:36:31Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=c201051a9cd3a358cb67cbba9b1c5fa717cf1c40'/>
<id>urn:sha1:c201051a9cd3a358cb67cbba9b1c5fa717cf1c40</id>
<content type='text'>
The DM serial framework in __serial_getc() and __serial_putc() already
retries when driver ops return -EAGAIN, calling schedule() between
attempts to service the watchdog.

sifive_serial_getc() and sifive_serial_putc() spin internally on
-EAGAIN, which prevents the framework from calling schedule(). This can
lead to watchdog timeouts when waiting for RX data or TX FIFO space.

Remove the busy-loops and return -EAGAIN directly from the underlying
helpers, letting the framework handle retries with proper watchdog
servicing. This is consistent with how other DM serial drivers (pl01x,
meson, cortina, etc.) implement their ops.

Signed-off-by: Naveen Kumar Chaudhary &lt;naveen.osdev@gmail.com&gt;
Reviewed-by: Leo Yu-Chi Liang &lt;leo.liang@sifive.com&gt;
</content>
</entry>
<entry>
<title>serial: esp32: add driver for esp32 series chips</title>
<updated>2026-07-23T21:16:22Z</updated>
<author>
<name>Honbo He</name>
<email>hehongbo918@gmail.com</email>
</author>
<published>2026-07-08T12:54:06Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=64ce0f86ab9ce931013195b68276770d8e02b40f'/>
<id>urn:sha1:64ce0f86ab9ce931013195b68276770d8e02b40f</id>
<content type='text'>
Add a driver model serial driver for Espressif ESP32 UART
controllers. The driver supports ESP32, ESP32-S3 and ESP32-S31 UART
register variants, including baud-rate setup, FIFO access and basic
port initialization.

Signed-off-by: Honbo He &lt;hehongbo918@gmail.com&gt;

Changes in v3:
- Add debug UART for early print output
</content>
</entry>
<entry>
<title>serial: lpuart: Clear the OR STAT in tstc to prevent hang</title>
<updated>2026-07-12T08:18:32Z</updated>
<author>
<name>Marek Vasut</name>
<email>marex@nabladev.com</email>
</author>
<published>2026-07-08T15:12:49Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=b17e6419ad99e757d96aa18ce1072172371cf381'/>
<id>urn:sha1:b17e6419ad99e757d96aa18ce1072172371cf381</id>
<content type='text'>
Clear the STAT register OR bit every time in .tstc callback, otherwise
a condition may occur when data are fed into the RX FIFO, the FIFO did
overflow, the OR bit is set and prevents any new data from being added
into the RX FIFO, the OR bit is never cleared, and watermark read back
is always 0. If this condition occurs, the .tstc callback will always
report no new characters, and the OR bit will never be cleared, so the
U-Boot shell will be unresponsive until next reboot or kernel boot.

This is easy to trigger on MX95, power on the system and send traffic
on UART from host to the MX95, the MX95 FIFO will overflow and the
U-Boot console will become unresponsive.

Fix this by clearing the OR bit early, in .tstc callback. This way,
even if an overflow occurs, there will be slight loss of RX data, but
the U-Boot console will not become unresponsive.

Signed-off-by: Marek Vasut &lt;marex@nabladev.com&gt;
Signed-off-by: Peng Fan &lt;peng.fan@nxp.com&gt;
</content>
</entry>
<entry>
<title>serial: lpuart: Use livetree API for fdt access</title>
<updated>2026-06-26T20:06:39Z</updated>
<author>
<name>Peng Fan</name>
<email>peng.fan@nxp.com</email>
</author>
<published>2026-06-09T08:36:25Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=b4610c7177c5ea978837693be7b18779414e6212'/>
<id>urn:sha1:b4610c7177c5ea978837693be7b18779414e6212</id>
<content type='text'>
Use livetree API, otherwise driver will fail to read properties
from the device tree when OF_LIVE is enabled.

Signed-off-by: Peng Fan &lt;peng.fan@nxp.com&gt;
</content>
</entry>
<entry>
<title>Kconfig: drivers: restyle remaining</title>
<updated>2026-06-25T21:00:58Z</updated>
<author>
<name>Johan Jonker</name>
<email>jbx6244@gmail.com</email>
</author>
<published>2026-06-10T14:41:21Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=145d58e2c7276f68195a7fc760457a5b88f867dd'/>
<id>urn:sha1:145d58e2c7276f68195a7fc760457a5b88f867dd</id>
<content type='text'>
Restyle all Kconfigs for the rest of "drivers":
Menu entries   : no space left
Menu attributes: 1 TAB
Help text      : 1 TAB + 2 spaces
Replace '---help---' by 'help'

Signed-off-by: Johan Jonker &lt;jbx6244@gmail.com&gt;
[trini: Add missing indentation on a few more multi-paragraph help texts]
Signed-off-by: Tom Rini &lt;trini@konsulko.com&gt;
</content>
</entry>
<entry>
<title>serial: goldfish: return error when device address is invalid</title>
<updated>2026-06-23T18:37:21Z</updated>
<author>
<name>Naveen Kumar Chaudhary</name>
<email>naveen.osdev@gmail.com</email>
</author>
<published>2026-06-07T15:45:42Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=d73aed0b0571828c7ee308adcb1bb1145892dfd1'/>
<id>urn:sha1:d73aed0b0571828c7ee308adcb1bb1145892dfd1</id>
<content type='text'>
goldfish_serial_of_to_plat() returns success even when dev_read_addr()
fails to find a valid address. This leaves plat-&gt;reg unset and defers
the failure to probe().

Return -EINVAL immediately when the address is FDT_ADDR_T_NONE so the
failure is reported at the of_to_plat stage where it belongs.

Signed-off-by: Naveen Kumar Chaudhary &lt;naveen.osdev@gmail.com&gt;
Acked-by: Kuan-Wei Chiu &lt;visitorckw@gmail.com&gt;
</content>
</entry>
<entry>
<title>serial: cortina: check RX FIFO status before reading data</title>
<updated>2026-06-23T18:37:02Z</updated>
<author>
<name>Naveen Kumar Chaudhary</name>
<email>naveen.osdev@gmail.com</email>
</author>
<published>2026-06-07T15:33:43Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=0bef438428ca0118da2ebb44493d5d2090cb05a2'/>
<id>urn:sha1:0bef438428ca0118da2ebb44493d5d2090cb05a2</id>
<content type='text'>
ca_serial_getc() reads from the URX_DATA register unconditionally
without first checking whether the RX FIFO contains valid data. When
the FIFO is empty, this returns whatever stale value is in the
register, which the DM serial framework interprets as a valid
character.

The DM serial framework expects getc() to return -EAGAIN when no data
is available, so it can handle retries and call schedule() to service
the watchdog between attempts.

Add a check of the UINFO register's UINFO_RX_FIFO_EMPTY bit before
reading URX_DATA, returning -EAGAIN when no data is pending. This
is consistent with how ca_serial_putc() already checks
UINFO_TX_FIFO_FULL before writing.

Signed-off-by: Naveen Kumar Chaudhary &lt;naveen.osdev@gmail.com&gt;
</content>
</entry>
</feed>
