arm64: dts: meson: shorten audio card names for alsa compatibility
authorChristian Hewitt <christianshewitt@gmail.com>
Fri, 1 Jan 2021 06:37:37 +0000 (06:37 +0000)
committerKevin Hilman <khilman@baylibre.com>
Wed, 3 Feb 2021 18:22:09 +0000 (10:22 -0800)
This patch shortens all audio card model names by dropping the SoC prefix
(for conformity) and rewording those that are still longer than alsa's 15
character name limit [0] to avoid userspace config issues.

[0] https://github.com/torvalds/linux/blob/master/Documentation/sound/alsa-configuration.rst#common-parameters-for-top-sound-card-modules

Signed-off-by: Christian Hewitt <christianshewitt@gmail.com>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
Link: https://lore.kernel.org/r/20210101063737.26635-1-christianshewitt@gmail.com
21 files changed:
arch/arm64/boot/dts/amlogic/meson-g12a-sei510.dts
arch/arm64/boot/dts/amlogic/meson-g12a-x96-max.dts
arch/arm64/boot/dts/amlogic/meson-g12b-gtking-pro.dts
arch/arm64/boot/dts/amlogic/meson-g12b-gtking.dts
arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi
arch/arm64/boot/dts/amlogic/meson-g12b-ugoos-am6.dts
arch/arm64/boot/dts/amlogic/meson-gx-libretech-pc.dtsi
arch/arm64/boot/dts/amlogic/meson-gx-p23x-q20x.dtsi
arch/arm64/boot/dts/amlogic/meson-gxbb-nanopi-k2.dts
arch/arm64/boot/dts/amlogic/meson-gxbb-nexbox-a95x.dts
arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts
arch/arm64/boot/dts/amlogic/meson-gxbb-wetek-hub.dts
arch/arm64/boot/dts/amlogic/meson-gxbb-wetek-play2.dts
arch/arm64/boot/dts/amlogic/meson-gxl-s805x-libretech-ac.dts
arch/arm64/boot/dts/amlogic/meson-gxl-s905x-khadas-vim.dts
arch/arm64/boot/dts/amlogic/meson-gxl-s905x-libretech-cc-v2.dts
arch/arm64/boot/dts/amlogic/meson-gxl-s905x-libretech-cc.dts
arch/arm64/boot/dts/amlogic/meson-gxm-khadas-vim2.dts
arch/arm64/boot/dts/amlogic/meson-khadas-vim3.dtsi
arch/arm64/boot/dts/amlogic/meson-sm1-odroid-c4.dts
arch/arm64/boot/dts/amlogic/meson-sm1-sei610.dts

index b00d0468c7534ab49ad346d303b43e182176a3c4..81269ccc24968d51ac73f4b7e7ac967b40fae810 100644 (file)
 
        sound {
                compatible = "amlogic,axg-sound-card";
-               model = "G12A-SEI510";
+               model = "SEI510";
                audio-aux-devs = <&tdmout_a>, <&tdmout_b>,
                                 <&tdmin_a>, <&tdmin_b>;
                audio-routing = "TDMOUT_A IN 0", "FRDDR_A OUT 0",
index 463a72d6bb7c7beb9547120a7f30c20f4c982db7..579f3d02d613edcb9a65f683573abc184337a643 100644 (file)
 
        sound {
                compatible = "amlogic,axg-sound-card";
-               model = "G12A-X96-MAX";
+               model = "X96-MAX";
                audio-aux-devs = <&tdmout_b>;
                audio-routing = "TDMOUT_B IN 0", "FRDDR_A OUT 1",
                                "TDMOUT_B IN 1", "FRDDR_B OUT 1",
index 0e5c500fb78faa2e45f45fbe92e5f07fc70434a4..0e331aa5a2d7c46da21577de8f489b7134aab7b9 100644 (file)
@@ -44,7 +44,7 @@
 
        sound {
                compatible = "amlogic,axg-sound-card";
-               model = "G12B-GTKING-PRO";
+               model = "GTKING-PRO";
                audio-aux-devs = <&tdmout_b>;
                audio-routing = "TDMOUT_B IN 0", "FRDDR_A OUT 1",
                                "TDMOUT_B IN 1", "FRDDR_B OUT 1",
index 10b87eb97b14552e533e01db8cbdf131e3bc43a2..a7db84a500bb6f4c656edbdfac959f2130e18878 100644 (file)
@@ -28,7 +28,7 @@
 
        sound {
                compatible = "amlogic,axg-sound-card";
-               model = "G12B-GTKING";
+               model = "GTKING";
                audio-aux-devs = <&tdmout_b>;
                audio-routing = "TDMOUT_B IN 0", "FRDDR_A OUT 1",
                                "TDMOUT_B IN 1", "FRDDR_B OUT 1",
index 39a09661c5f62f18f1f1312d57da01528b8e57ac..abc052c72420ee79c754985bfa33cbf65793dbe3 100644 (file)
 
        sound {
                compatible = "amlogic,axg-sound-card";
-               model = "G12B-ODROID-N2";
+               model = "ODROID-N2";
                audio-widgets = "Line", "Lineout";
                audio-aux-devs = <&tdmout_b>, <&tdmout_c>, <&tdmin_a>,
                                 <&tdmin_b>, <&tdmin_c>, <&tdmin_lb>,
index b57bb0befc69913e8f18308d7e461fa2364ac137..0c7892600d5639c79963a41c6b3e380593c6abea 100644 (file)
@@ -23,7 +23,7 @@
 
        sound {
                compatible = "amlogic,axg-sound-card";
-               model = "G12B-UGOOS-AM6";
+               model = "UGOOS-AM6";
                audio-aux-devs = <&tdmout_b>;
                audio-routing = "TDMOUT_B IN 0", "FRDDR_A OUT 1",
                                "TDMOUT_B IN 1", "FRDDR_B OUT 1",
index c2480bab8d3374f13a90368d9671044d0da1d229..2d7032f41e4b585c3d7aa25af77fc21648fc3730 100644 (file)
 
        sound {
                compatible = "amlogic,gx-sound-card";
-               model = "GXL-LIBRETECH-S9XX-PC";
+               model = "LIBRETECH-PC";
                audio-aux-devs = <&dio2133>;
                audio-widgets = "Speaker", "7J4-14 LEFT",
                                "Speaker", "7J4-11 RIGHT";
index 6b57e15aade35999cc1f427dfa0f8d8baa89886e..dafc841f7c163d513eed2b5afab8122fbce79718 100644 (file)
 
        sound {
                compatible = "amlogic,gx-sound-card";
-               model = "GX-P230-Q200";
+               model = "P230-Q200";
                audio-aux-devs = <&dio2133>;
                audio-widgets = "Line", "Lineout";
                audio-routing = "AU2 INL", "ACODEC LOLP",
index 089e0636ba8a7fe5b94f49c52d326e6dd2ad0013..7273eed5292c84db786cff066c85c106db39cd3c 100644 (file)
 
        sound {
                compatible = "amlogic,gx-sound-card";
-               model = "GXBB-NANOPI-K2";
+               model = "NANOPI-K2";
                assigned-clocks = <&clkc CLKID_MPLL0>,
                                  <&clkc CLKID_MPLL1>,
                                  <&clkc CLKID_MPLL2>;
index b5b11cb9f393c33d12d83a9d5015f50deba4f4cf..f887bfb445fd7f4fbeed91307cd01719dcc93f7f 100644 (file)
 
        sound {
                compatible = "amlogic,gx-sound-card";
-               model = "GXBB-NEXBOX-A95X";
+               model = "NEXBOX-A95X";
                assigned-clocks = <&clkc CLKID_MPLL0>,
                                  <&clkc CLKID_MPLL1>,
                                  <&clkc CLKID_MPLL2>;
index c04ef57f7b3b9b4b8b88af066788d4687ba7fa32..bfaf7f41a2d6d9d76612d10865cffb1474be38f8 100644 (file)
 
        sound {
                compatible = "amlogic,gx-sound-card";
-               model = "GXBB-ODROID-C2";
+               model = "ODROID-C2";
                assigned-clocks = <&clkc CLKID_MPLL0>,
                                  <&clkc CLKID_MPLL1>,
                                  <&clkc CLKID_MPLL2>;
index 0c1570153842d155f4400fce2935ba17e8657432..58733017eda83cd4e693bcb0145b3532d22bb3a8 100644 (file)
@@ -15,7 +15,7 @@
 
        sound {
                compatible = "amlogic,gx-sound-card";
-               model = "GXBB-WETEK-HUB";
+               model = "WETEK-HUB";
                assigned-clocks = <&clkc CLKID_MPLL0>,
                                  <&clkc CLKID_MPLL1>,
                                  <&clkc CLKID_MPLL2>;
index f2562c7de67ce747885cea9784125ab7d614c5d4..6eae692792ecde5e32e75af1a2ac08550d9bde26 100644 (file)
@@ -50,7 +50,7 @@
 
        sound {
                compatible = "amlogic,gx-sound-card";
-               model = "GXBB-WETEK-PLAY2";
+               model = "WETEK-PLAY2";
                assigned-clocks = <&clkc CLKID_MPLL0>,
                                  <&clkc CLKID_MPLL1>,
                                  <&clkc CLKID_MPLL2>;
index 9e43f4dca90dd92637527b70c7bc9c9daa87b05b..2d769203f67180629a7aaff9ab90f2c535da9261 100644 (file)
 
        sound {
                compatible = "amlogic,gx-sound-card";
-               model = "GXL-LIBRETECH-S805X-AC";
+               model = "LIBRETECH-AC";
                audio-widgets = "Speaker", "9J5-3 LEFT",
                                "Speaker", "9J5-2 RIGHT";
                audio-routing = "9J5-3 LEFT", "ACODEC LOLN",
index 45adae480a3da01786fcebfdd08172ff66212f76..60feac0179c0308341c38a29d6b374480d4bd184 100644 (file)
@@ -66,7 +66,7 @@
 
        sound {
                compatible = "amlogic,gx-sound-card";
-               model = "GXL-KHADAS-VIM1";
+               model = "KHADAS-VIM";
                assigned-clocks = <&clkc CLKID_MPLL0>,
                                  <&clkc CLKID_MPLL1>,
                                  <&clkc CLKID_MPLL2>;
index 9a3c08e6e6cc5e4ea12c82c2b80615d86d74a885..93d8f8aff70d99fa8e269d4252e39919d96d0feb 100644 (file)
 
        sound {
                compatible = "amlogic,gx-sound-card";
-               model = "GXL-LIBRETECH-S905X-CC-V2";
+               model = "LIBRETECH-CC-V2";
                assigned-clocks = <&clkc CLKID_MPLL0>,
                                  <&clkc CLKID_MPLL1>,
                                  <&clkc CLKID_MPLL2>;
index 5ae7bb6209cbef94ae32d80b3050df96b1b32591..82bfabfbd39ca87f6d7bbd509e7cee31371551f2 100644 (file)
 
        sound {
                compatible = "amlogic,gx-sound-card";
-               model = "GXL-LIBRETECH-S905X-CC";
+               model = "LIBRETECH-CC";
                audio-aux-devs = <&dio2133>;
                audio-widgets = "Line", "Lineout";
                audio-routing = "AU2 INL", "ACODEC LOLN",
index 25857e0c0831574fd963635722c354a77f29e00c..18a4b7a6c5df5b835ea7b62c322c3fe76a58a065 100644 (file)
 
        sound {
                compatible = "amlogic,gx-sound-card";
-               model = "GXM-KHADAS-VIM2";
+               model = "KHADAS-VIM2";
                assigned-clocks = <&clkc CLKID_MPLL0>,
                                  <&clkc CLKID_MPLL1>,
                                  <&clkc CLKID_MPLL2>;
index d3b25163b42198e1672e52c6cd694c64a8b1346f..877e3b98920398a544506fc8aa89c79f79b4564a 100644 (file)
 
        sound {
                compatible = "amlogic,axg-sound-card";
-               model = "G12B-KHADAS-VIM3";
+               model = "KHADAS-VIM3";
                audio-aux-devs = <&tdmout_a>;
                audio-routing = "TDMOUT_A IN 0", "FRDDR_A OUT 0",
                                "TDMOUT_A IN 1", "FRDDR_B OUT 0",
index a712273c905afc72aff9a7e663ed64a81f234031..eadd75e6e067546f7017e269455ded424a168920 100644 (file)
 
        sound {
                compatible = "amlogic,axg-sound-card";
-               model = "SM1-ODROID-C4";
+               model = "ODROID-C4";
                audio-aux-devs = <&tdmout_b>;
                audio-routing = "TDMOUT_B IN 0", "FRDDR_A OUT 1",
                                "TDMOUT_B IN 1", "FRDDR_B OUT 1",
index 039a8d0d1e9b92d5bbe7de1cd6e22d185eb5b234..2194a778973f16b4e68e965cd60f8df0e204175d 100644 (file)
 
        sound {
                compatible = "amlogic,axg-sound-card";
-               model = "SM1-SEI610";
+               model = "SEI610";
                audio-aux-devs = <&tdmout_a>, <&tdmout_b>,
                                 <&tdmin_a>, <&tdmin_b>;
                audio-routing = "TDMOUT_A IN 0", "FRDDR_A OUT 0",