diff options
author | Sameer Pujar <spujar@nvidia.com> | 2019-02-20 18:13:22 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2019-02-22 12:46:31 +0300 |
commit | a0d183c329165fdd77becba1f58bbe22a5f72ae9 (patch) | |
tree | f77d022c63989083fa182afaf62852a04d813b6e /Documentation/devicetree/bindings/sound/nvidia,tegra30-hda.txt | |
parent | 8bb37a2a4d7c02affef554f5dc05f6d2e39c31f9 (diff) | |
download | linux-a0d183c329165fdd77becba1f58bbe22a5f72ae9.tar.xz |
ALSA: hda/tegra: property for card name
An optional property "nvidia,model" is introduced for hda to pass custom
name for the sound card. The suffix "-hda" in the name passed is useful
to distinguish between multiple cards available for a platform.
When the property is not specified, default name("tegra-hda") mentioned
in hda driver is used. This property can be added in platform specific
file of the board and card name can relate to the board in use.
Signed-off-by: Sameer Pujar <spujar@nvidia.com>
Reviewed-by: Jonathan Hunter <jonathanh@nvidia.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'Documentation/devicetree/bindings/sound/nvidia,tegra30-hda.txt')
-rw-r--r-- | Documentation/devicetree/bindings/sound/nvidia,tegra30-hda.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/sound/nvidia,tegra30-hda.txt b/Documentation/devicetree/bindings/sound/nvidia,tegra30-hda.txt index 44d27456e8a4..21cd310963b1 100644 --- a/Documentation/devicetree/bindings/sound/nvidia,tegra30-hda.txt +++ b/Documentation/devicetree/bindings/sound/nvidia,tegra30-hda.txt @@ -13,6 +13,10 @@ Required properties: See ../reset/reset.txt for details. - reset-names : Must include the following entries: hda, hda2hdmi, hda2codec_2x +Optional properties: +- nvidia,model : The user-visible name of this sound complex. Since the property + is optional, legacy boards can use default name provided in hda driver. + Example: hda@70030000 { @@ -27,4 +31,5 @@ hda@70030000 { <&tegra_car 128>, /* hda2hdmi */ <&tegra_car 111>; /* hda2codec_2x */ reset-names = "hda", "hda2hdmi", "hda2codec_2x"; + nvidia,model = "jetson-tk1-hda"; }; |