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
28required:
29  - compatible
30
31additionalProperties: false
32
33examples:
34  - |
35    #include <dt-bindings/gpio/gpio.h>
36
37    rt1015p: rt1015p {
38        compatible = "realtek,rt1015p";
39        sdb-gpios = <&pio 175 GPIO_ACTIVE_HIGH>;
40    };
41