197249a89SBenjamin Gaignard# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 297249a89SBenjamin Gaignard%YAML 1.2 397249a89SBenjamin Gaignard--- 497249a89SBenjamin Gaignard$id: http://devicetree.org/schemas/sound/cirrus,cs42l51.yaml# 597249a89SBenjamin Gaignard$schema: http://devicetree.org/meta-schemas/core.yaml# 697249a89SBenjamin Gaignard 7*a612130cSKrzysztof Kozlowskititle: CS42L51 audio codec 897249a89SBenjamin Gaignard 997249a89SBenjamin Gaignardmaintainers: 10f4eedebdSPatrice Chotard - Olivier Moysan <olivier.moysan@foss.st.com> 1197249a89SBenjamin Gaignard 1258ae9a2aSKrzysztof KozlowskiallOf: 1358ae9a2aSKrzysztof Kozlowski - $ref: dai-common.yaml# 1458ae9a2aSKrzysztof Kozlowski 1597249a89SBenjamin Gaignardproperties: 1697249a89SBenjamin Gaignard compatible: 1797249a89SBenjamin Gaignard const: cirrus,cs42l51 1897249a89SBenjamin Gaignard 1997249a89SBenjamin Gaignard reg: 2097249a89SBenjamin Gaignard maxItems: 1 2197249a89SBenjamin Gaignard 2297249a89SBenjamin Gaignard "#sound-dai-cells": 2397249a89SBenjamin Gaignard const: 0 2497249a89SBenjamin Gaignard 2597249a89SBenjamin Gaignard clocks: 2697249a89SBenjamin Gaignard maxItems: 1 2797249a89SBenjamin Gaignard 2897249a89SBenjamin Gaignard clock-names: 2997249a89SBenjamin Gaignard items: 3097249a89SBenjamin Gaignard - const: MCLK 3197249a89SBenjamin Gaignard 3297249a89SBenjamin Gaignard reset-gpios: 3397249a89SBenjamin Gaignard maxItems: 1 3497249a89SBenjamin Gaignard 3597249a89SBenjamin Gaignard VL-supply: 3697249a89SBenjamin Gaignard description: phandle to voltage regulator of digital interface section 3797249a89SBenjamin Gaignard 3897249a89SBenjamin Gaignard VD-supply: 3997249a89SBenjamin Gaignard description: phandle to voltage regulator of digital internal section 4097249a89SBenjamin Gaignard 4197249a89SBenjamin Gaignard VA-supply: 4297249a89SBenjamin Gaignard description: phandle to voltage regulator of analog internal section 4397249a89SBenjamin Gaignard 4497249a89SBenjamin Gaignard VAHP-supply: 4597249a89SBenjamin Gaignard description: phandle to voltage regulator of headphone 4697249a89SBenjamin Gaignard 4797249a89SBenjamin Gaignardrequired: 4897249a89SBenjamin Gaignard - compatible 4997249a89SBenjamin Gaignard - reg 5097249a89SBenjamin Gaignard - "#sound-dai-cells" 5197249a89SBenjamin Gaignard 5258ae9a2aSKrzysztof KozlowskiunevaluatedProperties: false 535be478f9SRob Herring 5497249a89SBenjamin Gaignardexamples: 5597249a89SBenjamin Gaignard - | 5697249a89SBenjamin Gaignard #include <dt-bindings/gpio/gpio.h> 57f3ca3f5bSFabio Estevam i2c { 5897249a89SBenjamin Gaignard #address-cells = <1>; 5997249a89SBenjamin Gaignard #size-cells = <0>; 6097249a89SBenjamin Gaignard 6197249a89SBenjamin Gaignard cs42l51@4a { 6297249a89SBenjamin Gaignard compatible = "cirrus,cs42l51"; 6397249a89SBenjamin Gaignard reg = <0x4a>; 6497249a89SBenjamin Gaignard #sound-dai-cells = <0>; 6597249a89SBenjamin Gaignard clocks = <&mclk_prov>; 6697249a89SBenjamin Gaignard clock-names = "MCLK"; 6797249a89SBenjamin Gaignard VL-supply = <®_audio>; 6897249a89SBenjamin Gaignard VD-supply = <®_audio>; 6997249a89SBenjamin Gaignard VA-supply = <®_audio>; 7097249a89SBenjamin Gaignard VAHP-supply = <®_audio>; 7197249a89SBenjamin Gaignard reset-gpios = <&gpiog 9 GPIO_ACTIVE_LOW>; 7297249a89SBenjamin Gaignard }; 7397249a89SBenjamin Gaignard }; 7497249a89SBenjamin Gaignard... 75