]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: rockchip: Add analog audio switches to RK3576 EVB1
authorAlexey Charkov <alchark@flipper.net>
Wed, 11 Mar 2026 16:25:02 +0000 (20:25 +0400)
committerHeiko Stuebner <heiko@sntech.de>
Thu, 12 Mar 2026 19:19:19 +0000 (20:19 +0100)
These allow selective muting/unmuting of inputs and outputs, as well as
setting mutually-exclusive rules in ALSA UCM.

Signed-off-by: Alexey Charkov <alchark@flipper.net>
Link: https://patch.msgid.link/20260311-evb1-audio-switches-v1-1-0e0199e56c80@flipper.net
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk3576-evb1-v10.dts

index f5746bc2970b3ea4b3b7dc7fca2a9c068d140278..fb0dd1bc51482c737dabde27c17f2f5225254c6e 100644 (file)
                simple-audio-card,frame-master = <&masterdai>;
                simple-audio-card,hp-det-gpios = <&gpio0 RK_PD3 GPIO_ACTIVE_LOW>;
                simple-audio-card,mclk-fs = <256>;
+               simple-audio-card,pin-switches = "Headphones", "Speaker", "Main Mic", "Headset Mic";
                simple-audio-card,routing =
                        "Headphone Power INL", "LOUT1",
                        "Headphone Power INR", "ROUT1",