2023-01-13 13:21:54

by Padmanabhan Rajanbabu

[permalink] [raw]
Subject: [PATCH v3 4/5] arm64: dts: fsd: Add codec node for Tesla FSD

Add device tree node support for codec on Tesla FSD platform.

Signed-off-by: Padmanabhan Rajanbabu <[email protected]>
---
arch/arm64/boot/dts/tesla/fsd-evb.dts | 12 ++++++++++++
1 file changed, 12 insertions(+)

diff --git a/arch/arm64/boot/dts/tesla/fsd-evb.dts b/arch/arm64/boot/dts/tesla/fsd-evb.dts
index cf5f2ce4d2a7..2f211a1ad50d 100644
--- a/arch/arm64/boot/dts/tesla/fsd-evb.dts
+++ b/arch/arm64/boot/dts/tesla/fsd-evb.dts
@@ -10,6 +10,7 @@

/dts-v1/;
#include "fsd.dtsi"
+#include <dt-bindings/gpio/gpio.h>

/ {
model = "Tesla Full Self-Driving (FSD) Evaluation board";
@@ -34,6 +35,17 @@
clock-frequency = <24000000>;
};

+&hsi2c_5 {
+ status = "okay";
+
+ tlv320aic3x: codec@18 {
+ compatible = "ti,tlv320aic3104";
+ reg = <0x18>;
+ #sound-dai-cells = <0>;
+ reset-gpios = <&gpg1 6 GPIO_ACTIVE_LOW>;
+ };
+};
+
&serial_0 {
status = "okay";
};
--
2.17.1


2023-01-15 16:02:08

by Krzysztof Kozlowski

[permalink] [raw]
Subject: Re: [PATCH v3 4/5] arm64: dts: fsd: Add codec node for Tesla FSD

On 13/01/2023 13:17, Padmanabhan Rajanbabu wrote:
> Add device tree node support for codec on Tesla FSD platform.
>
> Signed-off-by: Padmanabhan Rajanbabu <[email protected]>
> ---
> arch/arm64/boot/dts/tesla/fsd-evb.dts | 12 ++++++++++++
> 1 file changed, 12 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/tesla/fsd-evb.dts b/arch/arm64/boot/dts/tesla/fsd-evb.dts
> index cf5f2ce4d2a7..2f211a1ad50d 100644
> --- a/arch/arm64/boot/dts/tesla/fsd-evb.dts
> +++ b/arch/arm64/boot/dts/tesla/fsd-evb.dts
> @@ -10,6 +10,7 @@
>
> /dts-v1/;
> #include "fsd.dtsi"
> +#include <dt-bindings/gpio/gpio.h>
>
> / {
> model = "Tesla Full Self-Driving (FSD) Evaluation board";
> @@ -34,6 +35,17 @@
> clock-frequency = <24000000>;
> };
>
> +&hsi2c_5 {
> + status = "okay";
> +
> + tlv320aic3x: codec@18 {
> + compatible = "ti,tlv320aic3104";
> + reg = <0x18>;
> + #sound-dai-cells = <0>;
> + reset-gpios = <&gpg1 6 GPIO_ACTIVE_LOW>;
> + };
> +};
> +

Why there is i2s here? What was the base of this patch?


Best regards,
Krzysztof

2023-01-16 05:57:43

by Padmanabhan Rajanbabu

[permalink] [raw]
Subject: RE: [PATCH v3 4/5] arm64: dts: fsd: Add codec node for Tesla FSD



> -----Original Message-----
> From: Krzysztof Kozlowski [mailto:[email protected]]
> Sent: 15 January 2023 08:37 PM
> To: Padmanabhan Rajanbabu <[email protected]>;
> [email protected]; [email protected]; [email protected];
> [email protected]; [email protected];
> [email protected]; [email protected]; [email protected];
> [email protected]; [email protected];
> [email protected]
> Cc: [email protected]; [email protected]; linux-
> [email protected]; [email protected]
> Subject: Re: [PATCH v3 4/5] arm64: dts: fsd: Add codec node for Tesla FSD
>
> On 13/01/2023 13:17, Padmanabhan Rajanbabu wrote:
> > Add device tree node support for codec on Tesla FSD platform.
> >
> > Signed-off-by: Padmanabhan Rajanbabu <[email protected]>
> > ---
> > arch/arm64/boot/dts/tesla/fsd-evb.dts | 12 ++++++++++++
> > 1 file changed, 12 insertions(+)
> >
> > diff --git a/arch/arm64/boot/dts/tesla/fsd-evb.dts
> > b/arch/arm64/boot/dts/tesla/fsd-evb.dts
> > index cf5f2ce4d2a7..2f211a1ad50d 100644
> > --- a/arch/arm64/boot/dts/tesla/fsd-evb.dts
> > +++ b/arch/arm64/boot/dts/tesla/fsd-evb.dts
> > @@ -10,6 +10,7 @@
> >
> > /dts-v1/;
> > #include "fsd.dtsi"
> > +#include <dt-bindings/gpio/gpio.h>
> >
> > / {
> > model = "Tesla Full Self-Driving (FSD) Evaluation board"; @@ -34,6
> > +35,17 @@
> > clock-frequency = <24000000>;
> > };
> >
> > +&hsi2c_5 {
> > + status = "okay";
> > +
> > + tlv320aic3x: codec@18 {
> > + compatible = "ti,tlv320aic3104";
> > + reg = <0x18>;
> > + #sound-dai-cells = <0>;
> > + reset-gpios = <&gpg1 6 GPIO_ACTIVE_LOW>;
> > + };
> > +};
> > +
>
> Why there is i2s here? What was the base of this patch?

Sorry, I could not get what you were asking for. Would be really
helpful if you can elaborate on this query.

>
>
> Best regards,
> Krzysztof


2023-01-16 09:13:26

by Krzysztof Kozlowski

[permalink] [raw]
Subject: Re: [PATCH v3 4/5] arm64: dts: fsd: Add codec node for Tesla FSD

On 16/01/2023 05:23, Padmanabhan Rajanbabu wrote:
>
>
>> -----Original Message-----
>> From: Krzysztof Kozlowski [mailto:[email protected]]
>> Sent: 15 January 2023 08:37 PM
>> To: Padmanabhan Rajanbabu <[email protected]>;
>> [email protected]; [email protected]; [email protected];
>> [email protected]; [email protected];
>> [email protected]; [email protected]; [email protected];
>> [email protected]; [email protected];
>> [email protected]
>> Cc: [email protected]; [email protected]; linux-
>> [email protected]; [email protected]
>> Subject: Re: [PATCH v3 4/5] arm64: dts: fsd: Add codec node for Tesla FSD
>>
>> On 13/01/2023 13:17, Padmanabhan Rajanbabu wrote:
>>> Add device tree node support for codec on Tesla FSD platform.
>>>
>>> Signed-off-by: Padmanabhan Rajanbabu <[email protected]>
>>> ---
>>> arch/arm64/boot/dts/tesla/fsd-evb.dts | 12 ++++++++++++
>>> 1 file changed, 12 insertions(+)
>>>
>>> diff --git a/arch/arm64/boot/dts/tesla/fsd-evb.dts
>>> b/arch/arm64/boot/dts/tesla/fsd-evb.dts
>>> index cf5f2ce4d2a7..2f211a1ad50d 100644
>>> --- a/arch/arm64/boot/dts/tesla/fsd-evb.dts
>>> +++ b/arch/arm64/boot/dts/tesla/fsd-evb.dts
>>> @@ -10,6 +10,7 @@
>>>
>>> /dts-v1/;
>>> #include "fsd.dtsi"
>>> +#include <dt-bindings/gpio/gpio.h>
>>>
>>> / {
>>> model = "Tesla Full Self-Driving (FSD) Evaluation board"; @@ -34,6
>>> +35,17 @@
>>> clock-frequency = <24000000>;
>>> };
>>>
>>> +&hsi2c_5 {
>>> + status = "okay";
>>> +
>>> + tlv320aic3x: codec@18 {
>>> + compatible = "ti,tlv320aic3104";
>>> + reg = <0x18>;
>>> + #sound-dai-cells = <0>;
>>> + reset-gpios = <&gpg1 6 GPIO_ACTIVE_LOW>;
>>> + };
>>> +};
>>> +
>>
>> Why there is i2s here? What was the base of this patch?
>
> Sorry, I could not get what you were asking for. Would be really
> helpful if you can elaborate on this query.

Eh, I missed a "not" in the sentence - why there is no i2s here? You
added the i2s in previous patch and by ordering this should be just
after this node, right? i2s should be before serial, so it should be
visible in the diff. Are your nodes properly ordered?


Best regards,
Krzysztof