arm64: dts: allwinner: pinephone: Set audio card name
authorArnaud Ferraris <arnaud.ferraris@collabora.com>
Fri, 30 Apr 2021 03:58:59 +0000 (22:58 -0500)
committerMaxime Ripard <maxime@cerno.tech>
Mon, 24 May 2021 12:08:10 +0000 (14:08 +0200)
Add the "PinePhone" name to the sound card: this will make
upstreaming an ALSA UCM config easier as we can use a unique name.

It also avoids an issue where the default card name is truncated.

Signed-off-by: Arnaud Ferraris <arnaud.ferraris@collabora.com>
[Samuel: Split out change, updated commit message]
Signed-off-by: Samuel Holland <samuel@sholland.org>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://lore.kernel.org/r/20210430035859.3487-8-samuel@sholland.org
arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone.dtsi

index 4759cd97684389efb5a020bf0decc6327cb8562c..5b44a979f2503dd8c7c06bca3b05a44d072bf245 100644 (file)
 
 &sound {
        status = "okay";
+       simple-audio-card,name = "PinePhone";
        simple-audio-card,aux-devs = <&codec_analog>, <&speaker_amp>;
        simple-audio-card,widgets = "Microphone", "Headset Microphone",
                                    "Microphone", "Internal Microphone",