OpenBSD cvs log

created 2024-03-09T19:23:32Z
begin 2024-03-02T00:00:00Z
end 2024-03-03T00:00:00Z
path src/sys
commits 7

date 2024-03-02T15:04:27Z
author stsp
files src/sys/dev/ic/qwx.c log diff annotate
message repair QWX_DEBUG build

date 2024-03-02T15:06:20Z
author stsp
files src/sys/dev/ic/qwx.c log diff annotate
message silently ignore update-stats events from qwx(4) firmware

Reduces noise with QWX_DEBUG enabled.

date 2024-03-02T15:18:57Z
author stsp
files src/sys/dev/ic/qwx.c log diff annotate
src/sys/dev/ic/qwxvar.h log diff annotate
message implement qwx(4) monitor status ring polling

On QCNFA765 the monitor status ring does not trigger any interrupts.
Unless the driver keeps polling this ring from a timer the device
will eventually lock up if this ring is enabled.

Even though we're not using this ring yet, add the tiny bits of code
required to poll it so that the next person who enables this code
won't have to waste time figuring out why the device stops working.

The monitor status ring provides details about received frames in special
TLV-format packets which the driver can parse and update statistics with.
Interesting info includes per-frame RSSI. Which we already learn from
beacons, so we don't need to enable an entire extra ring just for that.

Another reason to keep this disabled is that it triggers mbuf corruption
for reasons I haven't been able to figure out. Help welcome.

date 2024-03-02T19:48:13Z
author kettenis
files src/sys/dev/fdt/rkclock.c log diff annotate
src/sys/dev/fdt/rkclock_clocks.h log diff annotate
message Add clocks for the RK3588 SPI controller.

From patrick@

date 2024-03-02T19:50:30Z
author kettenis
files src/sys/dev/fdt/files.fdt log diff annotate
src/sys/dev/fdt/rkspi.c log diff annotate
message Add rkspi(4), a driver for the SPI controller found on various Rockchip
SoCs. Based on an earlier diff from patrick@

ok patrick@

date 2024-03-02T19:52:41Z
author kettenis
files src/sys/dev/fdt/files.fdt log diff annotate
src/sys/dev/fdt/rkpmic.c log diff annotate
message Add support for attaching rkpmic(4) to an SPI bus. Add support for
the RK806 PMIC which can attach to both I2C and SPI. Based on an old
diff from patrick@

ok patrick@

date 2024-03-02T19:53:17Z
author kettenis
files src/sys/arch/arm64/conf/GENERIC log diff annotate
src/sys/arch/arm64/conf/RAMDISK log diff annotate
message Enable rkspi(4) and rkpmic(4) at spi.

ok patrick@