Re: [PATCH v1] dt-bindings: sound: tegra-audio-rt5677: Correct example

From: Dmitry Osipenko
Date: Thu Dec 16 2021 - 11:07:25 EST


16.12.2021 19:02, Dmitry Osipenko пишет:
> Remove non-existent properties from the example of the binding. These
> properties were borrower from the old txt binding, but they were never
> used in practice and aren't documented in the new binding. They aren't
> reported by the binding checker because dtschema needs extra patch that
> hasn't been upstreamed yet to make unevaluatedProperties work properly.
>
> Signed-off-by: Dmitry Osipenko <digetx@xxxxxxxxx>
> ---
> .../devicetree/bindings/sound/nvidia,tegra-audio-rt5677.yaml | 3 ---
> 1 file changed, 3 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/sound/nvidia,tegra-audio-rt5677.yaml b/Documentation/devicetree/bindings/sound/nvidia,tegra-audio-rt5677.yaml
> index 03ff691c26c8..a49997d6028b 100644
> --- a/Documentation/devicetree/bindings/sound/nvidia,tegra-audio-rt5677.yaml
> +++ b/Documentation/devicetree/bindings/sound/nvidia,tegra-audio-rt5677.yaml
> @@ -92,9 +92,6 @@ examples:
> 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>;
>
> clocks = <&clk 216>,
> <&clk 217>,
>

Interestingly, I can't find any Tegra device-tree that uses this rt5677
binding. Maybe we should remove it?