Skip to content

Commit c9bf8ee

Browse files
Jaska Uimonencarlescufi
authored andcommitted
dts: xtensa: intel: add dmic dts definitions
Add Intel dmic dai dts definitions for ace15, cavs15 and cavs25 platforms. Add also pre dts cmake files as the dmic nodes use same address and emit warnings otherwise. Signed-off-by: Jaska Uimonen <[email protected]>
1 parent 4ee1386 commit c9bf8ee

File tree

6 files changed

+73
-0
lines changed

6 files changed

+73
-0
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Copyright (c) 2022 Intel Corporation
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
# Suppress "unique_unit_address_if_enabled" to handle the following overlaps:
5+
# - dmic0: dmic0@10000 & dmic1: dmic1@10000
6+
list(APPEND EXTRA_DTC_FLAGS "-Wno-unique_unit_address_if_enabled")
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Copyright (c) 2022 Intel Corporation
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
# Suppress "unique_unit_address_if_enabled" to handle the following overlaps:
5+
# - dmic0: dmic0@10000 & dmic1: dmic1@10000
6+
list(APPEND EXTRA_DTC_FLAGS "-Wno-unique_unit_address_if_enabled")
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Copyright (c) 2022 Intel Corporation
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
# Suppress "unique_unit_address_if_enabled" to handle the following overlaps:
5+
# - dmic0: dmic0@10000 & dmic1: dmic1@10000
6+
list(APPEND EXTRA_DTC_FLAGS "-Wno-unique_unit_address_if_enabled")

dts/xtensa/intel/intel_adsp_ace15_mtpm.dtsi

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -316,6 +316,24 @@
316316
status = "okay";
317317
};
318318

319+
dmic0: dmic0@10000 {
320+
compatible = "intel,dai-dmic";
321+
reg = <0x10000 0x8000>;
322+
shim = <0xC000>;
323+
fifo = <0x0008>;
324+
interrupts = <0x08 0 0>;
325+
interrupt-parent = <&ace_intc>;
326+
};
327+
328+
dmic1: dmic1@10000 {
329+
compatible = "intel,dai-dmic";
330+
reg = <0x10000 0x8000>;
331+
shim = <0xC000>;
332+
fifo = <0x0108>;
333+
interrupts = <0x09 0 0>;
334+
interrupt-parent = <&ace_intc>;
335+
};
336+
319337
hub_ulp_domain: hub_ulp_domain {
320338
compatible = "intel,adsp-power-domain";
321339
lps = <&lps>;

dts/xtensa/intel/intel_adsp_cavs15.dtsi

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -286,5 +286,24 @@
286286

287287
status = "okay";
288288
};
289+
290+
dmic0: dmic0@4000 {
291+
compatible = "intel,dai-dmic";
292+
reg = <0x4000 0x8000>;
293+
shim = <0x1000>;
294+
fifo = <0x0008>;
295+
interrupts = <0x08 0 0>;
296+
interrupt-parent = <&cavs_intc3>;
297+
};
298+
299+
dmic1: dmic1@4000 {
300+
compatible = "intel,dai-dmic";
301+
reg = <0x4000 0x8000>;
302+
shim = <0x1000>;
303+
fifo = <0x0108>;
304+
interrupts = <0x09 0 0>;
305+
interrupt-parent = <&cavs_intc3>;
306+
};
307+
289308
};
290309
};

dts/xtensa/intel/intel_adsp_cavs25.dtsi

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -266,5 +266,23 @@
266266

267267
status = "okay";
268268
};
269+
270+
dmic0: dmic0@10000 {
271+
compatible = "intel,dai-dmic";
272+
reg = <0x10000 0x8000>;
273+
shim = <0x71E80>;
274+
fifo = <0x0008>;
275+
interrupts = <0x08 0 0>;
276+
interrupt-parent = <&cavs_intc3>;
277+
};
278+
279+
dmic1: dmic1@10000 {
280+
compatible = "intel,dai-dmic";
281+
reg = <0x10000 0x8000>;
282+
shim = <0x71E80>;
283+
fifo = <0x0108>;
284+
interrupts = <0x09 0 0>;
285+
interrupt-parent = <&cavs_intc3>;
286+
};
269287
};
270288
};

0 commit comments

Comments
 (0)