mirror of
git://nv-tegra.nvidia.com/device/hardware/nvidia/t23x-public-dts.git
synced 2025-12-22 09:12:02 +03:00
This commit helps to use upstream graph sound card driver and has
following changes to support it:
- compatible property update for sound node is removed from the
nv-platform DTSI file. No need to support legacy machine driver
anymore and thus compatible from generic DT is good enough.
- Rename 'nvidia-audio-card,mclk-fs' property to just 'mclk-fs'
to align with upstream binding.
- Upstream device tree sources have the audio codec enabled by
default for AGX Orin platform. This was done so because all
publicly available AGX Orin boards have onboard codec. But,
downstream still runs some sanity tests on older boards which
don't have codec. To support this, disable the codec in the
downstream device tree and conditionally enable them based on
the board revision check.
- Upstream device tree doesn't enable all the I/O instances,
however downstream enables all of them and has sanity coverage.
Thus enable these by updating 'dais' property in downstream
device tree.
- There is codec specific setting required from machine driver
for RT5640 codec. Add the legacy DAI link name in the codec
endpoint node.
Bug 4451662
Bug 4453772
Change-Id: Ib471ed4526c6b45def7e1797ba9ac8b05da0946c
Signed-off-by: Sameer Pujar <spujar@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3095766
Reviewed-by: Mohan kumar <mkumard@nvidia.com>
Reviewed-by: Sharad Gupta <sharadg@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
Reviewed-by: svcacv <svcacv@nvidia.com>
35 lines
770 B
Devicetree
35 lines
770 B
Devicetree
// SPDX-License-Identifier: GPL-2.0-only
|
|
// SPDX-FileCopyrightText: Copyright (c) 2023-2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
|
|
|
/ {
|
|
bus@0 {
|
|
|
|
aconnect@2900000 {
|
|
ahub@2900800 {
|
|
i2s@2901100 {
|
|
ports {
|
|
port@1 {
|
|
hdr40_snd_i2s_dap_ep: endpoint {
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
};
|
|
|
|
tegra_sound_graph: tegra_sound: sound {
|
|
clocks = <&bpmp TEGRA234_CLK_PLLA>,
|
|
<&bpmp TEGRA234_CLK_PLLA_OUT0>,
|
|
<&bpmp TEGRA234_CLK_AUD_MCLK>;
|
|
clock-names = "pll_a", "plla_out0", "extern1";
|
|
assigned-clocks = <&bpmp TEGRA234_CLK_AUD_MCLK>;
|
|
assigned-clock-parents = <&bpmp TEGRA234_CLK_PLLA_OUT0>;
|
|
|
|
nvidia-audio-card,name = "NVIDIA Jetson Orin NX APE";
|
|
|
|
hdr40_snd_link_i2s: nvidia-audio-card,dai-link@77 { };
|
|
};
|
|
};
|