History log of /openbsd/sys/dev/fdt/tascodec.c (Results 1 – 8 of 8)
Revision Date Author Comments
# 27b7e82d 26-Dec-2023 kettenis <kettenis@openbsd.org>

Apple machines with multiple speakers typically have the shutdown pin of
the digital amplifier codecs wired up to a single GPIO. This is apparently
problematic for Linux and Asahi Linux changed thei

Apple machines with multiple speakers typically have the shutdown pin of
the digital amplifier codecs wired up to a single GPIO. This is apparently
problematic for Linux and Asahi Linux changed their device trees to use a
regulator instead to such that reference counting makes sure that shutdown
isn't asserted until all codecs are ready for it. Follow suit, even though
our regulator code doesn't do the proper reference counting yet.

ok patrick@

show more ...


# 2a9d985d 15-Jul-2023 kettenis <kettenis@openbsd.org>

Add mute control. This makes the mute button on laptops that use
tascodec(4) work.

ok tobhe@


# d9b82de5 04-Feb-2023 kettenis <kettenis@openbsd.org>

Set default volume to -30 dB instead of using the hardware default of 0 dB
(which means maximum volume).

ok patrick@, ratchov@


# 7141bfc1 02-Sep-2022 kettenis <kettenis@openbsd.org>

Add a callback for setting the TDM slot used by an audio codec.
Implement this callback in tascodec(4) such that we can pick the audio
channel that it outputs. This will override the default which i

Add a callback for setting the TDM slot used by an audio codec.
Implement this callback in tascodec(4) such that we can pick the audio
channel that it outputs. This will override the default which is to
downmix stereo input from TDM channels 0 and 1 to mono output.

ok ratchov@

show more ...


# 6e49524e 25-Jul-2022 kettenis <kettenis@openbsd.org>

The GPIO pin on Apple M1 systems is actually connected to the SDZ pin, which
is reflected in more recent device trees. Adjust the driver accordingly.

ok patrick@


# 0d6a2fde 21-Mar-2022 miod <miod@openbsd.org>

Constify struct {audio,midi,radio,video}_hw_if. No functional change.

ok mpi@ ratchov@ "More const is good" deraadt@


# e095a1f0 14-Feb-2022 kettenis <kettenis@openbsd.org>

Use iic_is_compatible(9) and use the more generic compatible string to
match the device.

ok visa@


# 1bcfb20c 30-Jan-2022 kettenis <kettenis@openbsd.org>

Add tascodec(4), a driver for the TI TAS2770/TAS5770 digital audio
amplifier codec found on Apple M1 Macs.

ok patrick@, ratchov@