ucm2: Rockchip: rk817: Add ALSA UCM support
Add ALSA-UCM support for the Rockchip RK817 audio codec. This codec
is typically configured either with an internal or external amplifier
as reflected by the longname. This configuration has been tested on
the Anbernic RG353P (rk817_ext) and the Odroid Go Advance (rk817_int).
Changes from V1:
- Use a constant to control if the output mux is set to HP or SPK.
Link: https://lore.kernel.org/alsa-devel/20230224193320.1503-1-macroalpha82@gmail.com/
Signed-off-by: Chris Morgan <macromorgan@hotmail.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>