]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: tegra: Consolidate audio card names
authorThierry Reding <treding@nvidia.com>
Tue, 30 Mar 2021 18:18:31 +0000 (20:18 +0200)
committerThierry Reding <treding@nvidia.com>
Fri, 28 May 2021 16:13:41 +0000 (18:13 +0200)
commit01bd79ce56cca32fee7b0d9e511a310422fbe039
tree4f3ae4fab1d8278ca791f6b81b789307ad827161
parentd7b2e4933cadc4078f1e274a972020fc5d80574a
arm64: tegra: Consolidate audio card names

The current scheme for audio card names is suboptimal because it causes
the automatically generated names (for ID and driver) to be truncated,
which in turn can cause conflicts.

Introduce a new scheme which reuses the board model for the names and
appends the "HDA" and "APE" suffixes for the HDA and APE, respectively.
As a side-effect these suffixes end up being used as the ID of the SoC
sound cards which makes it easy for users to select them when using the
ALSA command-line utilities, for example.

As a separate measure, the driver name for the cards is now set by the
corresponding audio driver (either tegra-hda or tegra-ape), making it a
more useful identifier than the currently normalized card name.

Signed-off-by: Thierry Reding <treding@nvidia.com>
arch/arm64/boot/dts/nvidia/tegra186-p2771-0000.dts
arch/arm64/boot/dts/nvidia/tegra194-p2972-0000.dts
arch/arm64/boot/dts/nvidia/tegra194-p3509-0000.dtsi
arch/arm64/boot/dts/nvidia/tegra210-p2371-2180.dts
arch/arm64/boot/dts/nvidia/tegra210-p2597.dtsi
arch/arm64/boot/dts/nvidia/tegra210-p3450-0000.dts