lkml.org 
[lkml]   [2021]   [Dec]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v2] dt-bindings: sound: nvidia,tegra-audio: Convert multiple txt bindings to yaml
From
Date
12.12.2021 01:49, David Heidelberg пишет:
> +unevaluatedProperties: false
> +
> +examples:
> + - |
> + sound {
> + compatible = "nvidia,tegra-audio-rt5677-ryu",
> + "nvidia,tegra-audio-rt5677";
> + nvidia,model = "NVIDIA Tegra Ryu";
> +
> + nvidia,audio-routing =
> + "Headphone", "LOUT2",
> + "Headphone", "LOUT1",
> + "Headset Mic", "MICBIAS1",
> + "IN1P", "Headset Mic",
> + "IN1N", "Headset Mic",
> + "DMIC L1", "Internal Mic 1",
> + "DMIC R1", "Internal Mic 1",
> + "DMIC L2", "Internal Mic 2",
> + "DMIC R2", "Internal Mic 2",
> + "Speaker", "PDM1L",
> + "Speaker", "PDM1R";
> +
> + nvidia,i2s-controller = <&tegra_i2s1>;
> + nvidia,audio-codec = <&rt5677>;
> +
> + nvidia,hp-det-gpios = <&gpio 143 0>;
> + nvidia,mic-present-gpios = <&gpio 132 1>;
> + nvidia,hp-en-gpios = <&rt5677 1 0>;
> + nvidia,dmic-clk-en-gpios = <&rt5677 2 1>;

I spotted that nvidia,dmic-clk-en-gpios is undocumented, but DTs and
binding are passing the validation. We will make another patch to fix it.

Rob, could you please tell whether this is because unevaluatedProperties
doesn't work yet or we're missing something?

\
 
 \ /
  Last update: 2021-12-16 03:52    [W:0.117 / U:0.076 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site