OpenBSD cvs log

created 2019-05-02T15:41:35Z
begin 2019-04-30T00:00:00Z
end 2019-05-01T00:00:00Z
path src/sys
commits 15

date 2019-04-30T01:39:19Z
author jsg
files src/sys/dev/pci/drm/drm_fb_helper.c log diff annotate
message Add an equivalent test for master in drm_fb_helper_is_bound()
Prevents black screens on hotplugging a new display with Xorg running
which required a vt switch for screens to be useable.

Reported by various people on misc@. Tested by and ok sthen@

date 2019-04-30T01:45:04Z
author jsg
files src/sys/dev/pci/drm/drm_fb_helper.c log diff annotate
message Convert a linux specific test for master in currently disabled code.

date 2019-04-30T15:51:53Z
author cheloha
files src/sys/kern/kern_tc.c log diff annotate
message tc_setclock: always call tc_windup() before leaving windup_mtx.

We ought to conform to the windup_mtx protocol and call tc_windup() even
if we aren't changing the system uptime.

date 2019-04-30T19:53:27Z
author patrick
files src/sys/dev/ofw/ofw_regulator.c log diff annotate
message We are allowed to enable regulators with the "regulator-always-on"
property. The definition is that a regulator with this property
should never be disabled.

ok kettenis@

date 2019-04-30T20:00:25Z
author patrick
files src/sys/dev/fdt/mvclock.c log diff annotate
message Add support for the Armada 3720 clocks to mvclock(4).

ok kettenis@

date 2019-04-30T20:04:31Z
author patrick
files src/sys/arch/arm64/arm64/machdep.c log diff annotate
src/sys/arch/arm64/conf/GENERIC log diff annotate
src/sys/arch/arm64/conf/RAMDISK log diff annotate
src/sys/dev/fdt/files.fdt log diff annotate
src/sys/dev/fdt/mvuart.c log diff annotate
message Add mvuart(4) to support the Armada 3720's serial console.

ok kettenis@

date 2019-04-30T20:06:32Z
author patrick
files src/sys/dev/fdt/mvpinctrl.c log diff annotate
message Add support for the Armada 3720 pinctrl controller to mvpinctrl(4).
This controller does not only support pinmuxing, but also includes
GPIO controller functionality. This is needed to e.g. turn on USB
VBus on the Turris Mox.

ok kettenis@

date 2019-04-30T20:09:12Z
author ratchov
files src/sys/dev/usb/xhci.c log diff annotate
message Decrease verbosity when XHCI_DEBUG is defined.

ok mpi

date 2019-04-30T20:17:12Z
author ratchov
files src/sys/dev/pci/envy.c log diff annotate
src/sys/dev/pci/envyreg.h log diff annotate
message Enable EnvyHT-specific sample rates (above 96kHz) on the host controller.

Tests and help from Andrey Oktyabrskiy . Thanks.

date 2019-04-30T20:21:36Z
author ratchov
files src/sys/dev/pci/envy.c log diff annotate
message Fix ESI juil@'s EEPROM contents holding default GPIO state.

The new GPIO state doesn't set masked bits and matches the default
48kHz sampling rate. As the codec uses the host clock, this is a
no-op, but this way the code is less confusing.

date 2019-04-30T20:22:54Z
author patrick
files src/sys/arch/arm64/conf/GENERIC log diff annotate
src/sys/arch/arm64/conf/RAMDISK log diff annotate
message Enable mvmdio(4) and mvneta(4) on arm64 as well. These are part
of the Armada 3720 SoC as used on the Turris Mox.

date 2019-04-30T20:26:02Z
author patrick
files src/sys/dev/fdt/if_mvneta.c log diff annotate
message Attach mvneta(4) on the Armada 3720 SoC.

date 2019-04-30T20:29:46Z
author ratchov
files src/sys/dev/pci/envy.c log diff annotate
src/sys/dev/pci/envyvar.h log diff annotate
message Add a "set_rate" method to the envy codec API.

This allows to hook card-specific codec initialization code
called when the sample rate is changed. As codecs follow host
clock, this method will be typically used to switch between
simple-speed to double-speed modes when necessary.

date 2019-04-30T20:38:04Z
author ratchov
files src/sys/dev/pci/envy.c log diff annotate
src/sys/dev/pci/envyreg.h log diff annotate
message Implement the set_rate() method for ESI Juli@ cards.

The set_rate method switches the AK5385 and the AK4358 chips between
single-, double- or quad-speed modes depending on the host sample
rate. This suppresses aliasing noise in 96kHz and 192kHz sample
rates.

Help and testing by Andrey Oktyabrskiy . Thanks!

date 2019-04-30T20:44:15Z
author ratchov
files src/sys/dev/pci/envy.c log diff annotate
message Make AK5385-related macros of ap192k cards look like julia ones.

As ap192k and julia cards are very similar, this change will hopefully
help reusing part of the juilia codec initialization code as is in the
ap192k card code. No behavior change.