Samsung DTS ARM changes for v4.18, part 2
1. Add support for audio over HDMI for Odroid X/X2/U3. -----BEGIN PGP SIGNATURE----- iQItBAABCAAXBQJbBwGHEBxrcnprQGtlcm5lbC5vcmcACgkQwTdm5oaLg9e3FxAA iI9TPJamfrLNrfWmLvBIFnPdcLpWTKckoObWUWfeOJeA5yU6Fb9a0BIx2DzDMB05 sxQEXLgFtfAg3iliTh/7Iy7Nogjo0iMixTBcdtK3hHm9h99uibrB4RcBLRQUkTgL qUJzZgNYXP6ZE2hUlph5BegjDZZliVMGYde/iC5KQwJ2+kC882TRJute3A0M79O0 IDN8JuJI5b+imMDApb8lXXqSa8vk/nAGDhzZbU7zwQ4Klx/VO7CZ4WetditJOnH4 /QGEO7YdLsXfKyYzZXx52VThem4gh94hrLt3NqnwrOs6x8Dga3oiZK9wvvkpGgGt +Aqz8doQb485yn9Z5Ca1QIhdR1fQFllOtgBCSqgXefeBTV7En9dYDcd2Qw39MonY +XMpciJz/VqjLdUgJ3Yw/pVJ0QlgsYsEAhzYFiWVS0KtpNFUTXOqDDjHmyLePc6X syRNJAYkvMCVUoNyYgcGWfoxiruIP6szw9zxV07T1hx8HtdMnlcKNwsXpQAbcFFT hpihXdV7MBfEaN67z4BCVOUw49cmTkDPWq4s1C9ioneyqK4cAf/4tvzaGur4VmBR +2RJflCN1aWGspu+DJAbOlGbh5I0l+XoU7KeBDjYcNm1j8ou14JGAI+tb5Q74Bw7 t/8klRnIqTCChBc6G/Q2Qhk7h4YA1xGdl/Yv4ESJFuM= =Bzy3 -----END PGP SIGNATURE----- Merge tag 'samsung-dt-4.18-2' of https://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux into next/dt Samsung DTS ARM changes for v4.18, part 2 1. Add support for audio over HDMI for Odroid X/X2/U3. * tag 'samsung-dt-4.18-2' of https://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux: ARM: dts: exynos: Add support for audio over HDMI for Odroid X/X2/U3 Signed-off-by: Olof Johansson <olof@lixom.net>
This commit is contained in:
commit
da91a61df4
|
@ -37,20 +37,14 @@
|
|||
};
|
||||
|
||||
sound: sound {
|
||||
compatible = "simple-audio-card";
|
||||
compatible = "hardkernel,odroid-xu4-audio";
|
||||
|
||||
simple-audio-card,format = "i2s";
|
||||
simple-audio-card,bitclock-master = <&link0_codec>;
|
||||
simple-audio-card,frame-master = <&link0_codec>;
|
||||
|
||||
simple-audio-card,cpu {
|
||||
cpu {
|
||||
sound-dai = <&i2s0 0>;
|
||||
system-clock-frequency = <19200000>;
|
||||
};
|
||||
|
||||
link0_codec: simple-audio-card,codec {
|
||||
sound-dai = <&max98090>;
|
||||
clocks = <&i2s0 CLK_I2S_CDCLK>;
|
||||
codec {
|
||||
sound-dai = <&hdmi>, <&max98090>;
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -142,14 +136,25 @@
|
|||
pinctrl-0 = <>;
|
||||
};
|
||||
|
||||
&clock {
|
||||
assigned-clocks = <&clock CLK_FOUT_EPLL>;
|
||||
assigned-clock-rates = <45158401>;
|
||||
};
|
||||
|
||||
&clock_audss {
|
||||
assigned-clocks = <&clock_audss EXYNOS_MOUT_AUDSS>,
|
||||
<&clock_audss EXYNOS_MOUT_I2S>,
|
||||
<&clock_audss EXYNOS_DOUT_SRP>,
|
||||
<&clock_audss EXYNOS_DOUT_AUD_BUS>;
|
||||
<&clock_audss EXYNOS_DOUT_AUD_BUS>,
|
||||
<&clock_audss EXYNOS_DOUT_I2S>;
|
||||
|
||||
assigned-clock-parents = <&clock CLK_FOUT_EPLL>,
|
||||
<&clock_audss EXYNOS_MOUT_AUDSS>;
|
||||
assigned-clock-rates = <0>, <0>, <192000000>, <19200000>;
|
||||
|
||||
assigned-clock-rates = <0>, <0>,
|
||||
<196608001>,
|
||||
<(196608001 / 2)>,
|
||||
<(196608001 / 8)>;
|
||||
};
|
||||
|
||||
&cpu0 {
|
||||
|
@ -498,6 +503,8 @@
|
|||
pinctrl-0 = <&i2s0_bus>;
|
||||
pinctrl-names = "default";
|
||||
status = "okay";
|
||||
assigned-clocks = <&i2s0 CLK_I2S_RCLK_SRC>;
|
||||
assigned-clock-parents = <&clock_audss EXYNOS_SCLK_I2S>;
|
||||
};
|
||||
|
||||
&mixer {
|
||||
|
|
|
@ -113,11 +113,11 @@
|
|||
};
|
||||
|
||||
&sound {
|
||||
simple-audio-card,name = "Odroid-U3";
|
||||
simple-audio-card,widgets =
|
||||
model = "Odroid-U3";
|
||||
samsung,audio-widgets =
|
||||
"Headphone", "Headphone Jack",
|
||||
"Speakers", "Speakers";
|
||||
simple-audio-card,routing =
|
||||
samsung,audio-routing =
|
||||
"Headphone Jack", "HPL",
|
||||
"Headphone Jack", "HPR",
|
||||
"Headphone Jack", "MICBIAS",
|
||||
|
|
|
@ -97,12 +97,12 @@
|
|||
};
|
||||
|
||||
&sound {
|
||||
simple-audio-card,name = "Odroid-X";
|
||||
simple-audio-card,widgets =
|
||||
model = "Odroid-X";
|
||||
samsung,audio-widgets =
|
||||
"Headphone", "Headphone Jack",
|
||||
"Microphone", "Mic Jack",
|
||||
"Microphone", "DMIC";
|
||||
simple-audio-card,routing =
|
||||
samsung,audio-routing =
|
||||
"Headphone Jack", "HPL",
|
||||
"Headphone Jack", "HPR",
|
||||
"IN1", "Mic Jack",
|
||||
|
|
Loading…
Reference in New Issue