[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <9570b0fb-1fe2-00fe-e224-229752f26a9a@linaro.org>
Date: Fri, 10 Feb 2023 09:45:50 +0100
From: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
To: Sameer Pujar <spujar@...dia.com>, robh+dt@...nel.org,
krzysztof.kozlowski+dt@...aro.org, thierry.reding@...il.com,
jonathanh@...dia.com, oder_chiou@...ltek.com, broonie@...nel.org
Cc: perex@...ex.cz, tiwai@...e.com, lgirdwood@...il.com,
kuninori.morimoto.gx@...esas.com, devicetree@...r.kernel.org,
linux-tegra@...r.kernel.org, linux-kernel@...r.kernel.org,
alsa-devel@...a-project.org
Subject: Re: [PATCH 2/2] arm64: tegra: Audio codec support on Jetson AGX Orin
On 09/02/2023 15:36, Sameer Pujar wrote:
> Jetson AGX Orin has onboard RT5640 audio codec. This patch adds the
> codec device node and the bindings to I2S1 interface.
>
> Signed-off-by: Sameer Pujar <spujar@...dia.com>
> ---
> .../dts/nvidia/tegra234-p3737-0000+p3701-0000.dts | 47 +++++++++++++++++++++-
> 1 file changed, 46 insertions(+), 1 deletion(-)
>
> diff --git a/arch/arm64/boot/dts/nvidia/tegra234-p3737-0000+p3701-0000.dts b/arch/arm64/boot/dts/nvidia/tegra234-p3737-0000+p3701-0000.dts
> index 8a97478..5881fbf 100644
> --- a/arch/arm64/boot/dts/nvidia/tegra234-p3737-0000+p3701-0000.dts
> +++ b/arch/arm64/boot/dts/nvidia/tegra234-p3737-0000+p3701-0000.dts
> @@ -3,6 +3,7 @@
>
> #include <dt-bindings/input/linux-event-codes.h>
> #include <dt-bindings/input/gpio-keys.h>
> +#include <dt-bindings/sound/rt5640.h>
>
> #include "tegra234-p3701-0000.dtsi"
> #include "tegra234-p3737-0000.dtsi"
> @@ -49,7 +50,7 @@
>
> i2s1_dap: endpoint {
> dai-format = "i2s";
> - /* placeholder for external codec */
> + remote-endpoint = <&rt5640_ep>;
> };
> };
> };
> @@ -2017,6 +2018,32 @@
> status = "okay";
> };
>
> + i2c@...0000 {
> + status = "okay";
> +
> + audio-codec@1c {
> + status = "okay";
Are you sure you need this?
Best regards,
Krzysztof
Powered by blists - more mailing lists