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    const: realtek,rt1015p
19
20  sdb-gpios:
21    description:
22      GPIO used for shutdown control.
23      0 means shut down; 1 means power on.
24    maxItems: 1
25
26required:
27  - compatible
28
29additionalProperties: false
30
31examples:
32  - |
33    #include <dt-bindings/gpio/gpio.h>
34
35    rt1015p: rt1015p {
36        compatible = "realtek,rt1015p";
37        sdb-gpios = <&pio 175 GPIO_ACTIVE_HIGH>;
38    };
39