summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/sound/realtek,rt1015p.yaml
blob: ea7d4900ee4a563d00755aff6b587e0dbfd2d21c (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
# SPDX-License-Identifier: GPL-2.0
%YAML 1.2
---
$id: http://devicetree.org/schemas/sound/realtek,rt1015p.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Realtek rt1015p codec devicetree bindings

maintainers:
  - Tzung-Bi Shih <tzungbi@kernel.org>

description: |
  Rt1015p is a rt1015 variant which does not support I2C and
  only supports S24, 48kHz, 64FS.

properties:
  compatible:
    enum:
      - realtek,rt1015p
      - realtek,rt1019p

  sdb-gpios:
    description:
      GPIO used for shutdown control.
      0 means shut down; 1 means power on.
    maxItems: 1

  "#sound-dai-cells":
    const: 0

required:
  - compatible

additionalProperties: false

examples:
  - |
    #include <dt-bindings/gpio/gpio.h>

    rt1015p: rt1015p {
        compatible = "realtek,rt1015p";
        sdb-gpios = <&pio 175 GPIO_ACTIVE_HIGH>;
    };