mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 20:07:46 +09:00
FROMLIST: ARM: dts: rockchip: add simple sound card for RK3036 SoCs
Using I2S as the audio input source, and force the mclk_fs to 256. Change-Id: Ib85ba7be4de430d5536aaaebe74bb9fde9174f16 Signed-off-by: Yakir Yang <ykk@rock-chips.com> (am from https://patchwork.kernel.org/patch/9178533/)
This commit is contained in:
@@ -335,6 +335,9 @@
|
||||
rockchip,grf = <&grf>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&hdmi_ctl>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
#sound-dai-cells = <0>;
|
||||
status = "disabled";
|
||||
|
||||
hdmi_in: port {
|
||||
@@ -347,6 +350,25 @@
|
||||
};
|
||||
};
|
||||
|
||||
hdmi_sound: hdmi-sound {
|
||||
compatible = "simple-audio-card";
|
||||
simple-audio-card,name = "rockchip,hdmi";
|
||||
simple-audio-card,widgets = "Headphone", "Out Jack",
|
||||
"Line", "In Jack";
|
||||
status = "disabled";
|
||||
|
||||
simple-audio-card,dai-link {
|
||||
format = "i2s";
|
||||
mclk-fs = <256>;
|
||||
cpu {
|
||||
sound-dai = <&i2s>;
|
||||
};
|
||||
codec {
|
||||
sound-dai = <&hdmi>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
timer: timer@20044000 {
|
||||
compatible = "rockchip,rk3036-timer", "rockchip,rk3288-timer";
|
||||
reg = <0x20044000 0x20>;
|
||||
|
||||
Reference in New Issue
Block a user