[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <f967b1b3-25c7-9c81-192e-82ff9f25113e@nvidia.com>
Date: Fri, 10 Feb 2023 14:32:07 +0530
From: Sameer Pujar <spujar@...dia.com>
To: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>,
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 10-02-2023 14:15, Krzysztof Kozlowski wrote:
> 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?
I can drop this in v2 as it would be the default state and it is not
disabled anywhere else. Thanks.
Powered by blists - more mailing lists