Tzung-Bi Shih | 36760d4 | 2020-09-10 12:29:49 +0800 | [diff] [blame] | 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 | |
| 7 | title: Realtek rt1015p codec devicetree bindings |
| 8 | |
| 9 | maintainers: |
| 10 | - Tzung-Bi Shih <tzungbi@google.com> |
| 11 | |
| 12 | description: | |
| 13 | Rt1015p is a rt1015 variant which does not support I2C and |
| 14 | only supports S24, 48kHz, 64FS. |
| 15 | |
| 16 | properties: |
| 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 | |
| 26 | required: |
| 27 | - compatible |
| 28 | |
Rob Herring | f84e2c5 | 2020-10-06 12:19:08 -0500 | [diff] [blame] | 29 | additionalProperties: false |
| 30 | |
Tzung-Bi Shih | 36760d4 | 2020-09-10 12:29:49 +0800 | [diff] [blame] | 31 | examples: |
| 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 | }; |