xref: /linux/Documentation/devicetree/bindings/sound/cix,sky1-ipbloq-hda.yaml (revision 7f3c8f9191254654e6a88cd757ff079dafbd2f0b)
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
7title: CIX IPBLOQ HDA controller
8
9description:
10  CIX IPBLOQ High Definition Audio (HDA) Controller
11
12maintainers:
13  - Joakim Zhang <joakim.zhang@cixtech.com>
14
15allOf:
16  - $ref: sound-card-common.yaml#
17
18properties:
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
39required:
40  - compatible
41  - reg
42  - interrupts
43  - clocks
44  - clock-names
45  - resets
46
47unevaluatedProperties: false
48
49examples:
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    };
63