History log of /freebsd-current/sys/arm64/rockchip/rk3328_codec.c
Revision Date Author Comments
# 408a9efd 11-Jan-2022 Andriy Gapon <avg@FreeBSD.org>

rk3328_codec: remove diagostic printfs

Most likeyly there were intended as reminders for unimplemented functions,
but they do not seem to be useful.

Also, a small style nit.


# 62e8ccc3 26-Dec-2023 Emmanuel Vadot <manu@FreeBSD.org>

syscon: Move syscon code in dev/syscon

We've removed kernel option EXT_RESOURCES almost two years ago.
While it was ok to have some code under a common 'extres' subdirectory
at first, we now have a lot of consumer of it and we made it mandatory
so no need to have it under a cryptic name.

Reviewed by: mhorne
Sponsored by: Beckhoff Automation GmbH & Co. KG
Differential Revision: https://reviews.freebsd.org/D43196


# be82b3a0 26-Dec-2023 Emmanuel Vadot <manu@FreeBSD.org>

clk: Move clock code in dev/clk

We've removed kernel option EXT_RESOURCES almost two years ago.
While it was ok to have some code under a common 'extres' subdirectory
at first, we now have a lot of consumer of it and we made it mandatory
so no need to have it under a cryptic name.

Reviewed by: mhorne
Sponsored by: Beckhoff Automation GmbH & Co. KG
Differential Revision: https://reviews.freebsd.org/D43191


# fdafd315 24-Nov-2023 Warner Losh <imp@FreeBSD.org>

sys: Automated cleanup of cdefs and other formatting

Apply the following automated changes to try to eliminate
no-longer-needed sys/cdefs.h includes as well as now-empty
blank lines in a row.

Remove /^#if.*\n#endif.*\n#include\s+<sys/cdefs.h>.*\n/
Remove /\n+#include\s+<sys/cdefs.h>.*\n+#if.*\n#endif.*\n+/
Remove /\n+#if.*\n#endif.*\n+/
Remove /^#if.*\n#endif.*\n/
Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/types.h>/
Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/param.h>/
Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/capsicum.h>/

Sponsored by: Netflix


# 685dc743 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

sys: Remove $FreeBSD$: one-line .c pattern

Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/


# 95ee2897 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

sys: Remove $FreeBSD$: two-line .h pattern

Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/


# 4d846d26 10-May-2023 Warner Losh <imp@FreeBSD.org>

spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD

The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch
up to that fact and revert to their recommended match of BSD-2-Clause.

Discussed with: pfg
MFC After: 3 days
Sponsored by: Netflix


# b2c1681a 09-May-2022 John Baldwin <jhb@FreeBSD.org>

arm64 rockchip: Remove unused devclass arguments to DRIVER_MODULE.


# 2d1de2d5 09-Jun-2021 Andriy Gapon <avg@FreeBSD.org>

rk3328_codec: set output gain to the value found in linux

According to Linux code the new value should correspond to 0dB gain
while the original value corresponded to 6dB gain which may be
uncomfortable for some output types.

MFC after: 1 month


# 507fdedd 08-Jun-2021 Andriy Gapon <avg@FreeBSD.org>

rk3328_codec: add delays between register writes in the initial setup

MFC after: 1 month


# 69d202f2 09-Jun-2021 Andriy Gapon <avg@FreeBSD.org>

rk3328_codec: bump delays in set_power and set_mute

According to Linux they should be 10 ms, not 10 us.
Also, add a read before the second write in set_power.

MFC after: 1 month


# 8c9bdaf2 09-Jun-2021 Andriy Gapon <avg@FreeBSD.org>

rk3328_codec: fix a problem with the enable value

The previous value contained only the mask bit ("twice"),
but not the value bit.

While here, make a couple of lines a little bit prettier.

MFC after: 1 month


# aa917184 04-Jun-2021 Oleksandr Tymoshenko <gonzo@FreeBSD.org>

add rk3328_codec and rk_i2s from gonzoua/socaudio

Not sure why these haven't been committed with the rest of the SoC Audio
project. They work sufficiently well for me.

Discussed with: manu
MFC after: 1 month