Commit 405fa9e9 authored by Sameer Pujar's avatar Sameer Pujar Committed by Thierry Reding

arm64: tegra: Move clocks from RT5658 endpoint to device node

An endpoint is not a device and it is recommended to use clocks property
in device node. RT5658 Codec binding already specifies the usage of
clocks property. Thus move the clocks from endpoint to device node.

Fixes: 5b4f6323 ("arm64: tegra: Audio graph sound card for Jetson AGX Xavier")
Suggested-by: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarSameer Pujar <spujar@nvidia.com>
Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
parent bb05e11f
...@@ -651,6 +651,8 @@ rt5658: audio-codec@1a { ...@@ -651,6 +651,8 @@ rt5658: audio-codec@1a {
reg = <0x1a>; reg = <0x1a>;
interrupt-parent = <&gpio>; interrupt-parent = <&gpio>;
interrupts = <TEGRA194_MAIN_GPIO(S, 5) GPIO_ACTIVE_HIGH>; interrupts = <TEGRA194_MAIN_GPIO(S, 5) GPIO_ACTIVE_HIGH>;
clocks = <&bpmp TEGRA194_CLK_AUD_MCLK>;
clock-names = "mclk";
realtek,jd-src = <2>; realtek,jd-src = <2>;
sound-name-prefix = "CVB-RT"; sound-name-prefix = "CVB-RT";
...@@ -658,7 +660,6 @@ port { ...@@ -658,7 +660,6 @@ port {
rt5658_ep: endpoint { rt5658_ep: endpoint {
remote-endpoint = <&i2s1_dap_ep>; remote-endpoint = <&i2s1_dap_ep>;
mclk-fs = <256>; mclk-fs = <256>;
clocks = <&bpmp TEGRA194_CLK_AUD_MCLK>;
}; };
}; };
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment