summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/sound/cix,sky1-ipbloq-hda.yaml
blob: 02ac5f1aa926c237e2ffef7e4d08371dd3226ae5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/sound/cix,sky1-ipbloq-hda.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: CIX IPBLOQ HDA controller

description:
  CIX IPBLOQ High Definition Audio (HDA) Controller

maintainers:
  - Joakim Zhang <joakim.zhang@cixtech.com>

allOf:
  - $ref: sound-card-common.yaml#

properties:
  compatible:
    const: cix,sky1-ipbloq-hda

  reg:
    maxItems: 1

  interrupts:
    maxItems: 1

  clocks:
    maxItems: 2

  clock-names:
    items:
      - const: ipg
      - const: per

  resets:
    maxItems: 1

required:
  - compatible
  - reg
  - interrupts
  - clocks
  - clock-names
  - resets

unevaluatedProperties: false

examples:
  - |
    #include<dt-bindings/interrupt-controller/arm-gic.h>

    hda@70c0000 {
        compatible = "cix,sky1-ipbloq-hda";
        reg = <0x70c0000 0x10000>;
        interrupts = <GIC_SPI 234 IRQ_TYPE_LEVEL_HIGH>;
        clocks = <&audss_clk 7>,
                 <&audss_clk 8>;
        clock-names = "ipg", "per";
        resets = <&audss_rst 14>;
        model = "CIX SKY1 EVB HDA";
    };