xref: /linux/Documentation/devicetree/bindings/sound/realtek,rt1015p.yaml (revision 58f7553fa424fd0fd74e8b796d50c66014cebebe)
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
29examples:
30  - |
31    #include <dt-bindings/gpio/gpio.h>
32
33    rt1015p: rt1015p {
34        compatible = "realtek,rt1015p";
35        sdb-gpios = <&pio 175 GPIO_ACTIVE_HIGH>;
36    };
37