Skip to content

Commit 85a6544

Browse files
Joakim Zhangtiwai
authored andcommitted
ALSA: hda: dt-bindings: add CIX IPBLOQ HDA controller support
Add CIX IPBLOQ HDA controller support, which is integrated into CIX SKY1 audio subsystem. HDA controller supports 64bit, but the audio subsystem can only 32bit transaction. Use jack polling mode as there is a hardware issue, lead to interrupt strom if the RIRB interrupt enabled. Host and hdac has different view of memory, so need do dma address translation. Signed-off-by: Joakim Zhang <joakim.zhang@cixtech.com> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com> Signed-off-by: Takashi Iwai <tiwai@suse.de> Link: https://patch.msgid.link/20251205154621.3019640-2-joakim.zhang@cixtech.com
1 parent 826c0b1 commit 85a6544

1 file changed

Lines changed: 62 additions & 0 deletions

File tree

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/sound/cix,sky1-ipbloq-hda.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: CIX IPBLOQ HDA controller
8+
9+
description:
10+
CIX IPBLOQ High Definition Audio (HDA) Controller
11+
12+
maintainers:
13+
- Joakim Zhang <joakim.zhang@cixtech.com>
14+
15+
allOf:
16+
- $ref: sound-card-common.yaml#
17+
18+
properties:
19+
compatible:
20+
const: cix,sky1-ipbloq-hda
21+
22+
reg:
23+
maxItems: 1
24+
25+
interrupts:
26+
maxItems: 1
27+
28+
clocks:
29+
maxItems: 2
30+
31+
clock-names:
32+
items:
33+
- const: ipg
34+
- const: per
35+
36+
resets:
37+
maxItems: 1
38+
39+
required:
40+
- compatible
41+
- reg
42+
- interrupts
43+
- clocks
44+
- clock-names
45+
- resets
46+
47+
unevaluatedProperties: false
48+
49+
examples:
50+
- |
51+
#include<dt-bindings/interrupt-controller/arm-gic.h>
52+
53+
hda@70c0000 {
54+
compatible = "cix,sky1-ipbloq-hda";
55+
reg = <0x70c0000 0x10000>;
56+
interrupts = <GIC_SPI 234 IRQ_TYPE_LEVEL_HIGH>;
57+
clocks = <&audss_clk 7>,
58+
<&audss_clk 8>;
59+
clock-names = "ipg", "per";
60+
resets = <&audss_rst 14>;
61+
model = "CIX SKY1 EVB HDA";
62+
};

0 commit comments

Comments
 (0)