Skip to content

Commit 0e4a5ac

Browse files
committed
drivers: audio: dmic: remove compatible from nxp,dmic child binding
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é <[email protected]>
1 parent fc7143f commit 0e4a5ac

File tree

4 files changed

+5
-22
lines changed

4 files changed

+5
-22
lines changed

dts/arm/nxp/nxp_rt5xx_common.dtsi

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -438,56 +438,48 @@
438438
clocks = <&clkctl0 MCUX_DMIC_CLK>;
439439

440440
pdmc0: dmic-channel@0 {
441-
compatible = "nxp,dmic-channel";
442441
reg = <0>;
443442
dmas = <&dma0 16>;
444443
status = "disabled";
445444
};
446445

447446
pdmc1: dmic-channel@1 {
448-
compatible = "nxp,dmic-channel";
449447
reg = <1>;
450448
dmas = <&dma0 17>;
451449
status = "disabled";
452450
};
453451

454452
pdmc2: dmic-channel@2 {
455-
compatible = "nxp,dmic-channel";
456453
reg = <2>;
457454
dmas = <&dma0 18>;
458455
status = "disabled";
459456
};
460457

461458
pdmc3: dmic-channel@3 {
462-
compatible = "nxp,dmic-channel";
463459
reg = <3>;
464460
dmas = <&dma0 19>;
465461
status = "disabled";
466462
};
467463

468464
pdmc4: dmic-channel@4 {
469-
compatible = "nxp,dmic-channel";
470465
reg = <4>;
471466
dmas = <&dma0 20>;
472467
status = "disabled";
473468
};
474469

475470
pdmc5: dmic-channel@5 {
476-
compatible = "nxp,dmic-channel";
477471
reg = <5>;
478472
dmas = <&dma0 21>;
479473
status = "disabled";
480474
};
481475

482476
pdmc6: dmic-channel@6 {
483-
compatible = "nxp,dmic-channel";
484477
reg = <6>;
485478
dmas = <&dma0 22>;
486479
status = "disabled";
487480
};
488481

489482
pdmc7: dmic-channel@7 {
490-
compatible = "nxp,dmic-channel";
491483
reg = <7>;
492484
dmas = <&dma0 23>;
493485
status = "disabled";

dts/arm/nxp/nxp_rt6xx_common.dtsi

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -345,56 +345,48 @@
345345
clocks = <&clkctl0 MCUX_DMIC_CLK>;
346346

347347
pdmc0: dmic-channel@0 {
348-
compatible = "nxp,dmic-channel";
349348
reg = <0>;
350349
dmas = <&dma0 16>;
351350
status = "disabled";
352351
};
353352

354353
pdmc1: dmic-channel@1 {
355-
compatible = "nxp,dmic-channel";
356354
reg = <1>;
357355
dmas = <&dma0 17>;
358356
status = "disabled";
359357
};
360358

361359
pdmc2: dmic-channel@2 {
362-
compatible = "nxp,dmic-channel";
363360
reg = <2>;
364361
dmas = <&dma0 18>;
365362
status = "disabled";
366363
};
367364

368365
pdmc3: dmic-channel@3 {
369-
compatible = "nxp,dmic-channel";
370366
reg = <3>;
371367
dmas = <&dma0 19>;
372368
status = "disabled";
373369
};
374370

375371
pdmc4: dmic-channel@4 {
376-
compatible = "nxp,dmic-channel";
377372
reg = <4>;
378373
dmas = <&dma0 20>;
379374
status = "disabled";
380375
};
381376

382377
pdmc5: dmic-channel@5 {
383-
compatible = "nxp,dmic-channel";
384378
reg = <5>;
385379
dmas = <&dma0 21>;
386380
status = "disabled";
387381
};
388382

389383
pdmc6: dmic-channel@6 {
390-
compatible = "nxp,dmic-channel";
391384
reg = <6>;
392385
dmas = <&dma0 22>;
393386
status = "disabled";
394387
};
395388

396389
pdmc7: dmic-channel@7 {
397-
compatible = "nxp,dmic-channel";
398390
reg = <7>;
399391
dmas = <&dma0 23>;
400392
status = "disabled";

dts/arm/nxp/nxp_rw6xx_common.dtsi

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -457,28 +457,24 @@
457457

458458
pdmc0: dmic-channel@0 {
459459
reg = <0>;
460-
compatible = "nxp,dmic-channel";
461460
dmas = <&dma0 16>;
462461
status = "disabled";
463462
};
464463

465464
pdmc1: dmic-channel@1 {
466465
reg = <1>;
467-
compatible = "nxp,dmic-channel";
468466
dmas = <&dma0 17>;
469467
status = "disabled";
470468
};
471469

472470
pdmc2: dmic-channel@2 {
473471
reg = <2>;
474-
compatible = "nxp,dmic-channel";
475472
dmas = <&dma0 18>;
476473
status = "disabled";
477474
};
478475

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

dts/bindings/audio/nxp,dmic.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,11 @@ child-binding:
3232
description: |
3333
NXP DMIC channel. Can be used to configure filtering and gain attributes
3434
of each channel
35-
include: base.yaml
36-
compatible: "nxp,dmic-channel"
35+
include:
36+
- name: base.yaml
37+
property-allowlist:
38+
- reg
39+
- dmas
3740
properties:
3841
reg:
3942
required: true

0 commit comments

Comments
 (0)