Commit 56a14f01 authored by Padmanabhan Rajanbabu's avatar Padmanabhan Rajanbabu Committed by Krzysztof Kozlowski
Browse files

arm64: dts: fsd: Add sound card node for Tesla FSD



Add device tree node support for sound card on Tesla FSD platform

Signed-off-by: default avatarPadmanabhan Rajanbabu <p.rajanbabu@samsung.com>
Link: https://lore.kernel.org/r/20230116103823.90757-6-p.rajanbabu@samsung.com


Signed-off-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
parent be8599d0
Loading
Loading
Loading
Loading
+33 −0
Original line number Diff line number Diff line
@@ -29,6 +29,39 @@ memory@80000000 {
		device_type = "memory";
		reg = <0x0 0x80000000 0x2 0x00000000>;
	};

	sound {
		compatible = "simple-audio-card";

		#address-cells = <1>;
		#size-cells = <0>;

		simple-audio-card,name = "FSD Audio Card";
		simple-audio-card,widgets = "Line", "Line Out",
					    "Line", "Line In";
		simple-audio-card,routing = "Line Out", "LLOUT",
					    "Line Out", "RLOUT",
					    "MIC2L", "Line In",
					    "MIC2R", "Line In";

		simple-audio-card,dai-link@0 {
			reg = <0>;
			format = "i2s";
			bitclock-master = <&tlv320aic3x>;
			frame-master = <&tlv320aic3x>;

			cpu-0 {
				sound-dai = <&i2s_0 0>;
			};
			cpu-1 {
				sound-dai = <&i2s_0 1>;
			};
			codec {
				sound-dai = <&tlv320aic3x>;
				system-clock-frequency = <33000000>;
			};
		};
	};
};

&fin_pll {