History log of /netbsd-current/sys/arch/arm/sunxi/sun50i_a64_acodec.c
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.10 27-Jan-2021 thorpej

Rename of_match_compat_data() to of_compatible_match(). Similarly,
rename of_search_compatible() to of_compatible_lookup().

Standardize on of_compatible_match() for driver matching, and adapt
all call sites.


Revision tags: thorpej-futex-base netbsd-9-1-RELEASE bouyer-xenpvh-base2 phil-wifi-20200421 bouyer-xenpvh-base1 phil-wifi-20200411 bouyer-xenpvh-base is-mlppp-base phil-wifi-20200406 ad-namecache-base3 netbsd-9-0-RELEASE netbsd-9-0-RC2 ad-namecache-base2 ad-namecache-base1 ad-namecache-base netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609
# 1.9 08-May-2019 isaki

Merge isaki-audio2 branch, the overhaul of audio subsystem.
- Interrupt-oriented system rather than thread-oriented.
- Improve stability, quality and performance.
- Split playback and record cleanly. Improve halfduplex support.
- Many bugs are fixed including deadlocks, resource leaks, abuses, etc.
- Simplify audio filter mechanism. The encoding/channels/frequency
conversions are completely handled in the upper layer. So the hard-
ware driver only converts its hardware encoding (if necessary).
- audio_hw_if changes:
- Obsoletes query_encoding and add query_format instead.
- Obsoletes set_params and add set_format instead.
- Remove drain, setfd, mappage.
- The call sequences are changed.
- ioctl AUDIO_GETFD/SETFD, AUDIO_GETCHAN/SETCHAN are obsoleted.
- ioctl AUDIO_{QUERY,GET,SET}FORMAT are introduced.
- cleanup config attributes: au*conv and mulaw.
- All hardware drivers should follow it (I've done as much as possible).

Some file paths are changed:
- dev/audio.c -> dev/audio/audio.c (rewritten)
- dev/audiovar.h -> dev/audio/audiovar.h
- dev/audio_dai.h -> dev/audio/audio_dai.h
- dev/audio_if.h -> dev/audio/audio_if.h
- dev/audiobell.c -> dev/audio/audiobell.c
- dev/audiobellvar.h -> dev/audio/audiobellvar.h
- dev/mulaw.[ch] -> dev/audio/mulaw.[ch] + dev/audio/alaw.c


Revision tags: isaki-audio2-base pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625 pgoyette-compat-0521
# 1.8 16-May-2018 jmcneill

branches: 1.8.2; 1.8.4; 1.8.6;
Add mic preamp controls and unswap L/R DAC channels to ADC mixer


# 1.7 16-May-2018 jmcneill

Rename mic1 control to mic so audiorecord can use it


# 1.6 15-May-2018 jmcneill

Add outputs.mute control


# 1.5 13-May-2018 jmcneill

Mixer improvements:

- outputs.master switches between line and hp volume control, depending
on jack sense
- add outputs.source to override jack sense output routing
- (playback) line and hp controls are in the input class
- (capture) line and mic controls are in the record class


# 1.4 11-May-2018 jmcneill

Disable lineout by default. If HP is not plugged at boot, we get an
unplug event. However, no plug event when HP is plugged at boot.


# 1.3 11-May-2018 jmcneill

Add HP jack detect support. When HP is present, mute lineout.


# 1.2 10-May-2018 jmcneill

Enable HP PA output


# 1.1 10-May-2018 jmcneill

Add support for Allwinner A64 audio codec.


# 1.9 08-May-2019 isaki

Merge isaki-audio2 branch, the overhaul of audio subsystem.
- Interrupt-oriented system rather than thread-oriented.
- Improve stability, quality and performance.
- Split playback and record cleanly. Improve halfduplex support.
- Many bugs are fixed including deadlocks, resource leaks, abuses, etc.
- Simplify audio filter mechanism. The encoding/channels/frequency
conversions are completely handled in the upper layer. So the hard-
ware driver only converts its hardware encoding (if necessary).
- audio_hw_if changes:
- Obsoletes query_encoding and add query_format instead.
- Obsoletes set_params and add set_format instead.
- Remove drain, setfd, mappage.
- The call sequences are changed.
- ioctl AUDIO_GETFD/SETFD, AUDIO_GETCHAN/SETCHAN are obsoleted.
- ioctl AUDIO_{QUERY,GET,SET}FORMAT are introduced.
- cleanup config attributes: au*conv and mulaw.
- All hardware drivers should follow it (I've done as much as possible).

Some file paths are changed:
- dev/audio.c -> dev/audio/audio.c (rewritten)
- dev/audiovar.h -> dev/audio/audiovar.h
- dev/audio_dai.h -> dev/audio/audio_dai.h
- dev/audio_if.h -> dev/audio/audio_if.h
- dev/audiobell.c -> dev/audio/audiobell.c
- dev/audiobellvar.h -> dev/audio/audiobellvar.h
- dev/mulaw.[ch] -> dev/audio/mulaw.[ch] + dev/audio/alaw.c


Revision tags: isaki-audio2-base pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625 pgoyette-compat-0521
# 1.8 16-May-2018 jmcneill

branches: 1.8.2; 1.8.6;
Add mic preamp controls and unswap L/R DAC channels to ADC mixer


# 1.7 16-May-2018 jmcneill

Rename mic1 control to mic so audiorecord can use it


# 1.6 15-May-2018 jmcneill

Add outputs.mute control


# 1.5 13-May-2018 jmcneill

Mixer improvements:

- outputs.master switches between line and hp volume control, depending
on jack sense
- add outputs.source to override jack sense output routing
- (playback) line and hp controls are in the input class
- (capture) line and mic controls are in the record class


# 1.4 11-May-2018 jmcneill

Disable lineout by default. If HP is not plugged at boot, we get an
unplug event. However, no plug event when HP is plugged at boot.


# 1.3 11-May-2018 jmcneill

Add HP jack detect support. When HP is present, mute lineout.


# 1.2 10-May-2018 jmcneill

Enable HP PA output


# 1.1 10-May-2018 jmcneill

Add support for Allwinner A64 audio codec.


Revision tags: isaki-audio2-base pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625 pgoyette-compat-0521
# 1.8 16-May-2018 jmcneill

branches: 1.8.2;
Add mic preamp controls and unswap L/R DAC channels to ADC mixer


# 1.7 16-May-2018 jmcneill

Rename mic1 control to mic so audiorecord can use it


# 1.6 15-May-2018 jmcneill

Add outputs.mute control


# 1.5 13-May-2018 jmcneill

Mixer improvements:

- outputs.master switches between line and hp volume control, depending
on jack sense
- add outputs.source to override jack sense output routing
- (playback) line and hp controls are in the input class
- (capture) line and mic controls are in the record class


# 1.4 11-May-2018 jmcneill

Disable lineout by default. If HP is not plugged at boot, we get an
unplug event. However, no plug event when HP is plugged at boot.


# 1.3 11-May-2018 jmcneill

Add HP jack detect support. When HP is present, mute lineout.


# 1.2 10-May-2018 jmcneill

Enable HP PA output


# 1.1 10-May-2018 jmcneill

Add support for Allwinner A64 audio codec.