# # ALSA configuration for the Tegra HDMI/DP audio # # SPDX-FileCopyrightText: Copyright (c) 2018-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # SPDX-License-Identifier: LicenseRef-NvidiaProprietary # # NVIDIA CORPORATION, its affiliates and licensors retain all intellectual # property and proprietary rights in and to this material, related # documentation and any modifications thereto. Any use, reproduction, # disclosure or distribution of this material and related documentation # without an express license agreement from NVIDIA CORPORATION or # its affiliates is strictly prohibited. tegra-hda."NVIDIA Jetson TX1 HDA".pcm.hdmi.common { @args [ CARD DEVICE ] @args.CARD { type string } @args.DEVICE { type integer } type hooks slave.pcm { type hw card $CARD device $DEVICE } hint.device $DEVICE } tegra-hda."NVIDIA Jetson Nano HDA".pcm.hdmi.common { @args [ CARD DEVICE ] @args.CARD { type string } @args.DEVICE { type integer } type hooks slave.pcm { type hw card $CARD device $DEVICE } hint.device $DEVICE } tegra-hda."NVIDIA Jetson TX2 HDA".pcm.hdmi.common { @args [ CARD DEVICE ] @args.CARD { type string } @args.DEVICE { type integer } type hooks slave.pcm { type hw card $CARD device $DEVICE } hint.device $DEVICE } tegra-hda."NVIDIA Jetson Xavier NX HDA".pcm.hdmi.common { @args [ CARD DEVICE ] @args.CARD { type string } @args.DEVICE { type integer } type hooks slave.pcm { type hw card $CARD device $DEVICE } hint.device $DEVICE } tegra-hda."NVIDIA Jetson AGX Xavier HDA".pcm.hdmi.common { @args [ CARD DEVICE ] @args.CARD { type string } @args.DEVICE { type integer } type hooks slave.pcm { type hw card $CARD device $DEVICE } hint.device $DEVICE } tegra-hda."NVIDIA Jetson Clara AGX HDA".pcm.hdmi.common { @args [ CARD DEVICE ] @args.CARD { type string } @args.DEVICE { type integer } type hooks slave.pcm { type hw card $CARD device $DEVICE } hint.device $DEVICE } tegra-hda."NVIDIA Jetson AGX Orin HDA".pcm.hdmi.common { @args [ CARD DEVICE ] @args.CARD { type string } @args.DEVICE { type integer } type hooks slave.pcm { type hw card $CARD device $DEVICE } hint.device $DEVICE } tegra-hda."NVIDIA Holoscan HDA".pcm.hdmi.common { @args [ CARD DEVICE ] @args.CARD { type string } @args.DEVICE { type integer } type hooks slave.pcm { type hw card $CARD device $DEVICE } hint.device $DEVICE } tegra-hda."NVIDIA Jetson Orin NX HDA".pcm.hdmi.common { @args [ CARD DEVICE ] @args.CARD { type string } @args.DEVICE { type integer } type hooks slave.pcm { type hw card $CARD device $DEVICE } hint.device $DEVICE } tegra-hda."NVIDIA Jetson Orin Nano HDA".pcm.hdmi.common { @args [ CARD DEVICE ] @args.CARD { type string } @args.DEVICE { type integer } type hooks slave.pcm { type hw card $CARD device $DEVICE } hint.device $DEVICE } tegra-hda."NVIDIA Jetson Dane SLT HDA".pcm.hdmi.common { @args [ CARD DEVICE ] @args.CARD { type string } @args.DEVICE { type integer } type hooks slave.pcm { type hw card $CARD device $DEVICE } hint.device $DEVICE } tegra-hda."NVIDIA IGX Orin HDA".pcm.hdmi.common { @args [ CARD DEVICE ] @args.CARD { type string } @args.DEVICE { type integer } type hooks slave.pcm { type hw card $CARD device $DEVICE } hint.device $DEVICE } tegra-hda.pcm.hdmi.0 { @args [ CARD AES0 AES1 AES2 AES3 ] @args.CARD { type string } @args.AES0 { type integer } @args.AES1 { type integer } @args.AES2 { type integer } @args.AES3 { type integer } @func refer name { @func concat strings [ "cards.tegra-hda." { @func card_name card $CARD } ".pcm.hdmi.common:" "CARD=" $CARD "," "DEVICE=3" ] } } tegra-hda.pcm.hdmi.1 { @args [ CARD AES0 AES1 AES2 AES3 ] @args.CARD { type string } @args.AES0 { type integer } @args.AES1 { type integer } @args.AES2 { type integer } @args.AES3 { type integer } @func refer name { @func concat strings [ "cards.tegra-hda." { @func card_name card $CARD } ".pcm.hdmi.common:" "CARD=" $CARD "," "DEVICE=7" ] } } tegra-hda.pcm.hdmi.2 { @args [ CARD AES0 AES1 AES2 AES3 ] @args.CARD { type string } @args.AES0 { type integer } @args.AES1 { type integer } @args.AES2 { type integer } @args.AES3 { type integer } @func refer name { @func concat strings [ "cards.tegra-hda." { @func card_name card $CARD } ".pcm.hdmi.common:" "CARD=" $CARD "," "DEVICE=8" ] } }