1# SPDX-License-Identifier: GPL-2.0
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/sound/realtek,rt1015p.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Realtek rt1015p codec devicetree bindings
8
9maintainers:
10  - Tzung-Bi Shih <tzungbi@google.com>
11
12description: |
13  Rt1015p is a rt1015 variant which does not support I2C and
14  only supports S24, 48kHz, 64FS.
15
16properties:
17  compatible:
18    enum:
19      - realtek,rt1015p
20      - realtek,rt1019p
21
22  sdb-gpios:
23    description:
24      GPIO used for shutdown control.
25      0 means shut down; 1 means power on.
26    maxItems: 1
27
28  "#sound-dai-cells":
29    const: 0
30
31required:
32  - compatible
33
34additionalProperties: false
35
36examples:
37  - |
38    #include <dt-bindings/gpio/gpio.h>
39
40    rt1015p: rt1015p {
41        compatible = "realtek,rt1015p";
42        sdb-gpios = <&pio 175 GPIO_ACTIVE_HIGH>;
43    };
44