16be33864SEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0 26be33864SEmmanuel Vadot%YAML 1.2 36be33864SEmmanuel Vadot--- 46be33864SEmmanuel Vadot$id: http://devicetree.org/schemas/sound/realtek,rt1015p.yaml# 56be33864SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 66be33864SEmmanuel Vadot 7*8bab661aSEmmanuel Vadottitle: Realtek rt1015p codec 86be33864SEmmanuel Vadot 96be33864SEmmanuel Vadotmaintainers: 107ef62cebSEmmanuel Vadot - Tzung-Bi Shih <tzungbi@kernel.org> 116be33864SEmmanuel Vadot 126be33864SEmmanuel Vadotdescription: | 136be33864SEmmanuel Vadot Rt1015p is a rt1015 variant which does not support I2C and 146be33864SEmmanuel Vadot only supports S24, 48kHz, 64FS. 156be33864SEmmanuel Vadot 166be33864SEmmanuel Vadotproperties: 176be33864SEmmanuel Vadot compatible: 18354d7675SEmmanuel Vadot enum: 19354d7675SEmmanuel Vadot - realtek,rt1015p 20354d7675SEmmanuel Vadot - realtek,rt1019p 216be33864SEmmanuel Vadot 226be33864SEmmanuel Vadot sdb-gpios: 236be33864SEmmanuel Vadot description: 246be33864SEmmanuel Vadot GPIO used for shutdown control. 256be33864SEmmanuel Vadot 0 means shut down; 1 means power on. 266be33864SEmmanuel Vadot maxItems: 1 276be33864SEmmanuel Vadot 28d5b0e70fSEmmanuel Vadot "#sound-dai-cells": 29d5b0e70fSEmmanuel Vadot const: 0 30d5b0e70fSEmmanuel Vadot 316be33864SEmmanuel Vadotrequired: 326be33864SEmmanuel Vadot - compatible 336be33864SEmmanuel Vadot 346be33864SEmmanuel VadotadditionalProperties: false 356be33864SEmmanuel Vadot 366be33864SEmmanuel Vadotexamples: 376be33864SEmmanuel Vadot - | 386be33864SEmmanuel Vadot #include <dt-bindings/gpio/gpio.h> 396be33864SEmmanuel Vadot 406be33864SEmmanuel Vadot rt1015p: rt1015p { 416be33864SEmmanuel Vadot compatible = "realtek,rt1015p"; 426be33864SEmmanuel Vadot sdb-gpios = <&pio 175 GPIO_ACTIVE_HIGH>; 436be33864SEmmanuel Vadot }; 44