Skip to content

Commit

Permalink
drivers: audio: dmic: remove compatible from nxp,dmic child binding
Browse files Browse the repository at this point in the history
There is no such thing as associating a compatible to a child binding
so remove this from the nxp,dmic binding definition and devicetree files
that incorrectly set one.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
  • Loading branch information
kartben committed Dec 12, 2024
1 parent 241270a commit 0a61630
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 22 deletions.
8 changes: 0 additions & 8 deletions dts/arm/nxp/nxp_rt5xx_common.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -438,56 +438,48 @@
clocks = <&clkctl0 MCUX_DMIC_CLK>;

pdmc0: dmic-channel@0 {
compatible = "nxp,dmic-channel";
reg = <0>;
dmas = <&dma0 16>;
status = "disabled";
};

pdmc1: dmic-channel@1 {
compatible = "nxp,dmic-channel";
reg = <1>;
dmas = <&dma0 17>;
status = "disabled";
};

pdmc2: dmic-channel@2 {
compatible = "nxp,dmic-channel";
reg = <2>;
dmas = <&dma0 18>;
status = "disabled";
};

pdmc3: dmic-channel@3 {
compatible = "nxp,dmic-channel";
reg = <3>;
dmas = <&dma0 19>;
status = "disabled";
};

pdmc4: dmic-channel@4 {
compatible = "nxp,dmic-channel";
reg = <4>;
dmas = <&dma0 20>;
status = "disabled";
};

pdmc5: dmic-channel@5 {
compatible = "nxp,dmic-channel";
reg = <5>;
dmas = <&dma0 21>;
status = "disabled";
};

pdmc6: dmic-channel@6 {
compatible = "nxp,dmic-channel";
reg = <6>;
dmas = <&dma0 22>;
status = "disabled";
};

pdmc7: dmic-channel@7 {
compatible = "nxp,dmic-channel";
reg = <7>;
dmas = <&dma0 23>;
status = "disabled";
Expand Down
8 changes: 0 additions & 8 deletions dts/arm/nxp/nxp_rt6xx_common.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -345,56 +345,48 @@
clocks = <&clkctl0 MCUX_DMIC_CLK>;

pdmc0: dmic-channel@0 {
compatible = "nxp,dmic-channel";
reg = <0>;
dmas = <&dma0 16>;
status = "disabled";
};

pdmc1: dmic-channel@1 {
compatible = "nxp,dmic-channel";
reg = <1>;
dmas = <&dma0 17>;
status = "disabled";
};

pdmc2: dmic-channel@2 {
compatible = "nxp,dmic-channel";
reg = <2>;
dmas = <&dma0 18>;
status = "disabled";
};

pdmc3: dmic-channel@3 {
compatible = "nxp,dmic-channel";
reg = <3>;
dmas = <&dma0 19>;
status = "disabled";
};

pdmc4: dmic-channel@4 {
compatible = "nxp,dmic-channel";
reg = <4>;
dmas = <&dma0 20>;
status = "disabled";
};

pdmc5: dmic-channel@5 {
compatible = "nxp,dmic-channel";
reg = <5>;
dmas = <&dma0 21>;
status = "disabled";
};

pdmc6: dmic-channel@6 {
compatible = "nxp,dmic-channel";
reg = <6>;
dmas = <&dma0 22>;
status = "disabled";
};

pdmc7: dmic-channel@7 {
compatible = "nxp,dmic-channel";
reg = <7>;
dmas = <&dma0 23>;
status = "disabled";
Expand Down
4 changes: 0 additions & 4 deletions dts/arm/nxp/nxp_rw6xx_common.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -451,28 +451,24 @@

pdmc0: dmic-channel@0 {
reg = <0>;
compatible = "nxp,dmic-channel";
dmas = <&dma0 16>;
status = "disabled";
};

pdmc1: dmic-channel@1 {
reg = <1>;
compatible = "nxp,dmic-channel";
dmas = <&dma0 17>;
status = "disabled";
};

pdmc2: dmic-channel@2 {
reg = <2>;
compatible = "nxp,dmic-channel";
dmas = <&dma0 18>;
status = "disabled";
};

pdmc3: dmic-channel@3 {
reg = <3>;
compatible = "nxp,dmic-channel";
dmas = <&dma0 19>;
status = "disabled";
};
Expand Down
4 changes: 2 additions & 2 deletions dts/bindings/audio/nxp,dmic.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@ child-binding:
description: |
NXP DMIC channel. Can be used to configure filtering and gain attributes
of each channel
include: base.yaml
compatible: "nxp,dmic-channel"
properties:
reg:
type: array
required: true
dmas:
type: phandle-array
required: true

gainshift:
Expand Down

0 comments on commit 0a61630

Please sign in to comment.