arm64: tegra: custom name for hda sound card
authorSameer Pujar <spujar@nvidia.com>
Wed, 20 Feb 2019 15:13:23 +0000 (20:43 +0530)
committerTakashi Iwai <tiwai@suse.de>
Fri, 22 Feb 2019 09:46:37 +0000 (10:46 +0100)
"nvidia,model" property is added to pass custom name for hda sound card.
This is parsed in hda driver and used for card name. This aligns with the
way with which sound cards are named in general.

This patch populates above for jetson-tx1, jetson-tx2 and jetson-xavier.

Signed-off-by: Sameer Pujar <spujar@nvidia.com>
Reviewed-by: Jonathan Hunter <jonathanh@nvidia.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
arch/arm64/boot/dts/nvidia/tegra186-p2771-0000.dts
arch/arm64/boot/dts/nvidia/tegra194-p2972-0000.dts
arch/arm64/boot/dts/nvidia/tegra210-p2597.dtsi

index 65487eee2ce61d7aa587be9614d53f43d4dc7942..05611eff53f68356d47874374119187d995191ca 100644 (file)
@@ -52,6 +52,7 @@
        };
 
        hda@3510000 {
+               nvidia,model = "jetson-tx2-hda";
                status = "okay";
        };
 
index adf351010ff5384c98d1c864911404dba9992732..39c61673723283fe21efcc3e3bf892e28dff8d8e 100644 (file)
@@ -25,6 +25,7 @@
                };
 
                hda@3510000 {
+                       nvidia,model = "jetson-xavier-hda";
                        status = "okay";
                };
 
index a96e6ee70c2152e878c2b537b9eb1df8575611f4..6096dfb7e17a72f7729dc3a854d971ad711b3895 100644 (file)
        };
 
        hda@70030000 {
+               nvidia,model = "jetson-tx1-hda";
                status = "okay";
        };