diff options
author | Binbin Zhou <zhoubinbin@loongson.cn> | 2024-11-22 10:47:58 +0300 |
---|---|---|
committer | Huacai Chen <chenhuacai@loongson.cn> | 2024-11-26 13:06:04 +0300 |
commit | b7915af6e73b2ec896f3c811a1dba4348269d272 (patch) | |
tree | bd7cfa47131b17d4ddade07af98e2ddf065abe6c /tools/perf/scripts/python/libxed.py | |
parent | 704f06eeff65f898364981e6803e587cd941a3ed (diff) | |
download | linux-b7915af6e73b2ec896f3c811a1dba4348269d272.tar.xz |
LoongArch: dts: Add I2S support to Loongson-2K1000
The module is supported, adding it.
Not all Loongson-2K1000 boards have an i2s interface, here is an example
of enabling it:
sound {
compatible = "loongson,ls-audio-card";
model = "Loongson-ASoC";
mclk-fs = <512>;
cpu {
sound-dai = <&i2s>;
};
codec {
sound-dai = <&uda1342>;
};
};
&apbdma2 {
status = "okay";
};
&apbdma3 {
status = "okay";
};
&i2c3 {
status = "okay";
pinctrl-0 = <&i2c1_pins_default>;
pinctrl-names = "default";
#address-cells = <1>;
#size-cells = <0>;
uda1342: codec@1a {
compatible = "nxp,uda1342";
reg = <0x1a>;
#sound-dai-cells = <0>;
};
};
&i2s {
status = "okay";
pinctrl-0 = <&hda_pins_default>;
pinctrl-names = "default";
};
Signed-off-by: Binbin Zhou <zhoubinbin@loongson.cn>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions