Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

ASoC: dt-bindings: renesas: rsnd: Update example

Miscellaneous updates to make the example match reality:
- Correct SSI resource region size,
- Complete half-conversion to new-style CPG/MSSR bindings,
- Add missing power-domains, resets, and reset-names properties,
- Use interrupt binding definitions instead of hardcoded numbers,
- Correct interrupt flags,
- Drop double blank line.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Acked-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://lore.kernel.org/r/ba4ec999dc152ea1f113253e497c093b8789d414.1678790879.git.geert+renesas@glider.be
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Geert Uytterhoeven and committed by
Mark Brown
ff750f8e 8a1636a1

+32 -19
+32 -19
Documentation/devicetree/bindings/sound/renesas,rsnd.yaml
··· 372 372 373 373 examples: 374 374 - | 375 + #include <dt-bindings/clock/r8a7790-cpg-mssr.h> 376 + #include <dt-bindings/interrupt-controller/arm-gic.h> 377 + #include <dt-bindings/power/r8a7790-sysc.h> 375 378 rcar_sound: sound@ec500000 { 376 379 #sound-dai-cells = <1>; 377 380 compatible = "renesas,rcar_sound-r8a7790", "renesas,rcar_sound-gen2"; 378 381 reg = <0xec500000 0x1000>, /* SCU */ 379 382 <0xec5a0000 0x100>, /* ADG */ 380 383 <0xec540000 0x1000>, /* SSIU */ 381 - <0xec541000 0x1280>, /* SSI */ 384 + <0xec541000 0x280>, /* SSI */ 382 385 <0xec740000 0x200>; /* Audio DMAC peri peri*/ 383 386 reg-names = "scu", "adg", "ssiu", "ssi", "audmapp"; 384 387 385 - clocks = <&mstp10_clks 1005>, /* SSI-ALL */ 386 - <&mstp10_clks 1006>, <&mstp10_clks 1007>, /* SSI9, SSI8 */ 387 - <&mstp10_clks 1008>, <&mstp10_clks 1009>, /* SSI7, SSI6 */ 388 - <&mstp10_clks 1010>, <&mstp10_clks 1011>, /* SSI5, SSI4 */ 389 - <&mstp10_clks 1012>, <&mstp10_clks 1013>, /* SSI3, SSI2 */ 390 - <&mstp10_clks 1014>, <&mstp10_clks 1015>, /* SSI1, SSI0 */ 391 - <&mstp10_clks 1022>, <&mstp10_clks 1023>, /* SRC9, SRC8 */ 392 - <&mstp10_clks 1024>, <&mstp10_clks 1025>, /* SRC7, SRC6 */ 393 - <&mstp10_clks 1026>, <&mstp10_clks 1027>, /* SRC5, SRC4 */ 394 - <&mstp10_clks 1028>, <&mstp10_clks 1029>, /* SRC3, SRC2 */ 395 - <&mstp10_clks 1030>, <&mstp10_clks 1031>, /* SRC1, SRC0 */ 396 - <&mstp10_clks 1020>, <&mstp10_clks 1021>, /* MIX1, MIX0 */ 397 - <&mstp10_clks 1020>, <&mstp10_clks 1021>, /* CTU1, CTU0 */ 398 - <&mstp10_clks 1019>, <&mstp10_clks 1018>, /* DVC0, DVC1 */ 388 + clocks = <&cpg CPG_MOD 1005>, /* SSI-ALL */ 389 + <&cpg CPG_MOD 1006>, <&cpg CPG_MOD 1007>, /* SSI9, SSI8 */ 390 + <&cpg CPG_MOD 1008>, <&cpg CPG_MOD 1009>, /* SSI7, SSI6 */ 391 + <&cpg CPG_MOD 1010>, <&cpg CPG_MOD 1011>, /* SSI5, SSI4 */ 392 + <&cpg CPG_MOD 1012>, <&cpg CPG_MOD 1013>, /* SSI3, SSI2 */ 393 + <&cpg CPG_MOD 1014>, <&cpg CPG_MOD 1015>, /* SSI1, SSI0 */ 394 + <&cpg CPG_MOD 1022>, <&cpg CPG_MOD 1023>, /* SRC9, SRC8 */ 395 + <&cpg CPG_MOD 1024>, <&cpg CPG_MOD 1025>, /* SRC7, SRC6 */ 396 + <&cpg CPG_MOD 1026>, <&cpg CPG_MOD 1027>, /* SRC5, SRC4 */ 397 + <&cpg CPG_MOD 1028>, <&cpg CPG_MOD 1029>, /* SRC3, SRC2 */ 398 + <&cpg CPG_MOD 1030>, <&cpg CPG_MOD 1031>, /* SRC1, SRC0 */ 399 + <&cpg CPG_MOD 1020>, <&cpg CPG_MOD 1021>, /* MIX1, MIX0 */ 400 + <&cpg CPG_MOD 1020>, <&cpg CPG_MOD 1021>, /* CTU1, CTU0 */ 401 + <&cpg CPG_MOD 1019>, <&cpg CPG_MOD 1018>, /* DVC0, DVC1 */ 399 402 <&audio_clk_a>, <&audio_clk_b>, /* CLKA, CLKB */ 400 403 <&audio_clk_c>, <&audio_clk_i>; /* CLKC, CLKI */ 401 404 ··· 418 415 "dvc.0", "dvc.1", 419 416 "clk_a", "clk_b", 420 417 "clk_c", "clk_i"; 418 + 419 + power-domains = <&sysc R8A7790_PD_ALWAYS_ON>; 420 + 421 + resets = <&cpg 1005>, 422 + <&cpg 1006>, <&cpg 1007>, <&cpg 1008>, <&cpg 1009>, 423 + <&cpg 1010>, <&cpg 1011>, <&cpg 1012>, <&cpg 1013>, 424 + <&cpg 1014>, <&cpg 1015>; 425 + reset-names = "ssi-all", 426 + "ssi.9", "ssi.8", "ssi.7", "ssi.6", 427 + "ssi.5", "ssi.4", "ssi.3", "ssi.2", 428 + "ssi.1", "ssi.0"; 421 429 422 430 rcar_sound,dvc { 423 431 dvc0: dvc-0 { ··· 462 448 status = "disabled"; 463 449 }; 464 450 src1: src-1 { 465 - interrupts = <0 353 0>; 451 + interrupts = <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>; 466 452 dmas = <&audma0 0x87>, <&audma1 0x9c>; 467 453 dma-names = "rx", "tx"; 468 454 }; ··· 483 469 484 470 rcar_sound,ssi { 485 471 ssi0: ssi-0 { 486 - interrupts = <0 370 1>; 472 + interrupts = <GIC_SPI 370 IRQ_TYPE_LEVEL_HIGH>; 487 473 dmas = <&audma0 0x01>, <&audma1 0x02>; 488 474 dma-names = "rx", "tx"; 489 475 }; 490 476 ssi1: ssi-1 { 491 - interrupts = <0 371 1>; 477 + interrupts = <GIC_SPI 371 IRQ_TYPE_LEVEL_HIGH>; 492 478 dmas = <&audma0 0x03>, <&audma1 0x04>; 493 479 dma-names = "rx", "tx"; 494 480 }; ··· 529 515 }; 530 516 }; 531 517 }; 532 - 533 518 534 519 /* assume audio-graph */ 535 520 codec {