* [PATCH 0/9] Add sound support @ 2017-12-20 20:01 Biju Das 2017-12-20 20:01 ` [PATCH 2/9] ARM: dts: r8a7745: Add audio DMAC support Biju Das ` (6 more replies) 0 siblings, 7 replies; 18+ messages in thread From: Biju Das @ 2017-12-20 20:01 UTC (permalink / raw) To: Rob Herring, Mark Rutland Cc: Simon Horman, Magnus Damm, Chris Paterson, Fabrizio Castro, devicetree, linux-renesas-soc, Biju Das This series aims to add sound support for iWave RZ/G1E board. Biju Das (9): ARM: dts: r8a7745: Add audio clocks ARM: dts: r8a7745: Add audio DMAC support ARM: dts: r8a7745: Add sound support ARM: dts: iwg22d-sodimm: Enable SGTL5000 audio codec ARM: dts: iwg22d-sodimm: Sound PIO support ARM: dts: iwg22d-sodimm: Sound DMA support on DTS ARM: dts: iwg22d-sodimm: Sound DMA support via BUSIF on DTS ARM: dts: iwg22d-sodimm: Sound DMA support via SRC on DTS ARM: dts: iwg22d-sodimm: Sound DMA support via DVC on DTS arch/arm/boot/dts/r8a7745-iwg22d-sodimm.dts | 92 +++++++++++ arch/arm/boot/dts/r8a7745.dtsi | 232 ++++++++++++++++++++++++++++ 2 files changed, 324 insertions(+) -- 1.9.1 ^ permalink raw reply [flat|nested] 18+ messages in thread
* [PATCH 2/9] ARM: dts: r8a7745: Add audio DMAC support 2017-12-20 20:01 [PATCH 0/9] Add sound support Biju Das @ 2017-12-20 20:01 ` Biju Das [not found] ` <1513800125-53213-3-git-send-email-biju.das-kTT6dE0pTRh9uiUsa/gSgQ@public.gmane.org> 2017-12-20 20:02 ` [PATCH 4/9] ARM: dts: iwg22d-sodimm: Enable SGTL5000 audio codec Biju Das ` (5 subsequent siblings) 6 siblings, 1 reply; 18+ messages in thread From: Biju Das @ 2017-12-20 20:01 UTC (permalink / raw) To: Rob Herring, Mark Rutland Cc: Simon Horman, Magnus Damm, Chris Paterson, Fabrizio Castro, devicetree, linux-renesas-soc, Biju Das Instantiate the audio DMA controller on the r8a7745 device tree. Signed-off-by: Biju Das <biju.das@bp.renesas.com> Reviewed-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com> --- arch/arm/boot/dts/r8a7745.dtsi | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/arch/arm/boot/dts/r8a7745.dtsi b/arch/arm/boot/dts/r8a7745.dtsi index 6d085f0..d9488a1 100644 --- a/arch/arm/boot/dts/r8a7745.dtsi +++ b/arch/arm/boot/dts/r8a7745.dtsi @@ -397,6 +397,37 @@ dma-channels = <15>; }; + audma0: dma-controller@ec700000 { + compatible = "renesas,dmac-r8a7745", + "renesas,rcar-dmac"; + reg = <0 0xec700000 0 0x10000>; + interrupts = <GIC_SPI 346 IRQ_TYPE_LEVEL_HIGH + GIC_SPI 320 IRQ_TYPE_LEVEL_HIGH + GIC_SPI 321 IRQ_TYPE_LEVEL_HIGH + GIC_SPI 322 IRQ_TYPE_LEVEL_HIGH + GIC_SPI 323 IRQ_TYPE_LEVEL_HIGH + GIC_SPI 324 IRQ_TYPE_LEVEL_HIGH + GIC_SPI 325 IRQ_TYPE_LEVEL_HIGH + GIC_SPI 326 IRQ_TYPE_LEVEL_HIGH + GIC_SPI 327 IRQ_TYPE_LEVEL_HIGH + GIC_SPI 328 IRQ_TYPE_LEVEL_HIGH + GIC_SPI 329 IRQ_TYPE_LEVEL_HIGH + GIC_SPI 330 IRQ_TYPE_LEVEL_HIGH + GIC_SPI 331 IRQ_TYPE_LEVEL_HIGH + GIC_SPI 332 IRQ_TYPE_LEVEL_HIGH>; + interrupt-names = "error", + "ch0", "ch1", "ch2", "ch3", + "ch4", "ch5", "ch6", "ch7", + "ch8", "ch9", "ch10", "ch11", + "ch12"; + clocks = <&cpg CPG_MOD 502>; + clock-names = "fck"; + power-domains = <&sysc R8A7745_PD_ALWAYS_ON>; + resets = <&cpg 502>; + #dma-cells = <1>; + dma-channels = <13>; + }; + usb_dmac0: dma-controller@e65a0000 { compatible = "renesas,r8a7745-usb-dmac", "renesas,usb-dmac"; -- 1.9.1 ^ permalink raw reply related [flat|nested] 18+ messages in thread
[parent not found: <1513800125-53213-3-git-send-email-biju.das-kTT6dE0pTRh9uiUsa/gSgQ@public.gmane.org>]
* Re: [PATCH 2/9] ARM: dts: r8a7745: Add audio DMAC support [not found] ` <1513800125-53213-3-git-send-email-biju.das-kTT6dE0pTRh9uiUsa/gSgQ@public.gmane.org> @ 2017-12-21 9:39 ` Geert Uytterhoeven 0 siblings, 0 replies; 18+ messages in thread From: Geert Uytterhoeven @ 2017-12-21 9:39 UTC (permalink / raw) To: Biju Das Cc: Rob Herring, Mark Rutland, Simon Horman, Magnus Damm, Chris Paterson, Fabrizio Castro, devicetree-u79uwXL29TY76Z2rM5mHXA, Linux-Renesas On Wed, Dec 20, 2017 at 9:01 PM, Biju Das <biju.das-kTT6dE0pTRh9uiUsa/gSgQ@public.gmane.org> wrote: > Instantiate the audio DMA controller on the r8a7745 device tree. > > Signed-off-by: Biju Das <biju.das-kTT6dE0pTRh9uiUsa/gSgQ@public.gmane.org> > Reviewed-by: Fabrizio Castro <fabrizio.castro-kTT6dE0pTRh9uiUsa/gSgQ@public.gmane.org> Reviewed-by: Geert Uytterhoeven <geert+renesas-gXvu3+zWzMSzQB+pC5nmwQ@public.gmane.org> Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert-Td1EMuHUCqxL1ZNQvxDV9g@public.gmane.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 18+ messages in thread
* [PATCH 4/9] ARM: dts: iwg22d-sodimm: Enable SGTL5000 audio codec 2017-12-20 20:01 [PATCH 0/9] Add sound support Biju Das 2017-12-20 20:01 ` [PATCH 2/9] ARM: dts: r8a7745: Add audio DMAC support Biju Das @ 2017-12-20 20:02 ` Biju Das 2017-12-21 9:53 ` Geert Uytterhoeven [not found] ` <1513800125-53213-1-git-send-email-biju.das-kTT6dE0pTRh9uiUsa/gSgQ@public.gmane.org> ` (4 subsequent siblings) 6 siblings, 1 reply; 18+ messages in thread From: Biju Das @ 2017-12-20 20:02 UTC (permalink / raw) To: Rob Herring, Mark Rutland Cc: Simon Horman, Magnus Damm, Chris Paterson, Fabrizio Castro, devicetree, linux-renesas-soc, Biju Das This patch enables SGTL5000 audio codec on the carrier board. Signed-off-by: Biju Das <biju.das@bp.renesas.com> Reviewed-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com> --- arch/arm/boot/dts/r8a7745-iwg22d-sodimm.dts | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/arch/arm/boot/dts/r8a7745-iwg22d-sodimm.dts b/arch/arm/boot/dts/r8a7745-iwg22d-sodimm.dts index 39ce7e7..5d4b7d2 100644 --- a/arch/arm/boot/dts/r8a7745-iwg22d-sodimm.dts +++ b/arch/arm/boot/dts/r8a7745-iwg22d-sodimm.dts @@ -26,6 +26,12 @@ stdout-path = "serial3:115200n8"; }; + audio_clock: audio_clock { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <26000000>; + }; + vccq_sdhi0: regulator-vccq-sdhi0 { compatible = "regulator-gpio"; @@ -80,6 +86,23 @@ pinctrl-names = "default"; }; +&i2c5 { + pinctrl-0 = <&i2c5_pins>; + pinctrl-names = "default"; + + status = "okay"; + clock-frequency = <400000>; + + sgtl5000: codec@a { + compatible = "fsl,sgtl5000"; + #sound-dai-cells = <0>; + reg = <0x0a>; + clocks = <&audio_clock>; + VDDA-supply = <®_3p3v>; + VDDIO-supply = <®_3p3v>; + }; +}; + &pci1 { status = "okay"; pinctrl-0 = <&usb1_pins>; @@ -102,6 +125,11 @@ function = "hscif1"; }; + i2c5_pins: i2c5 { + groups = "i2c5_b"; + function = "i2c5"; + }; + scif4_pins: scif4 { groups = "scif4_data_b"; function = "scif4"; -- 1.9.1 ^ permalink raw reply related [flat|nested] 18+ messages in thread
* Re: [PATCH 4/9] ARM: dts: iwg22d-sodimm: Enable SGTL5000 audio codec 2017-12-20 20:02 ` [PATCH 4/9] ARM: dts: iwg22d-sodimm: Enable SGTL5000 audio codec Biju Das @ 2017-12-21 9:53 ` Geert Uytterhoeven 0 siblings, 0 replies; 18+ messages in thread From: Geert Uytterhoeven @ 2017-12-21 9:53 UTC (permalink / raw) To: Biju Das Cc: Rob Herring, Mark Rutland, Simon Horman, Magnus Damm, Chris Paterson, Fabrizio Castro, devicetree, Linux-Renesas On Wed, Dec 20, 2017 at 9:02 PM, Biju Das <biju.das@bp.renesas.com> wrote: > This patch enables SGTL5000 audio codec on the carrier board. > > Signed-off-by: Biju Das <biju.das@bp.renesas.com> > Reviewed-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds ^ permalink raw reply [flat|nested] 18+ messages in thread
[parent not found: <1513800125-53213-1-git-send-email-biju.das-kTT6dE0pTRh9uiUsa/gSgQ@public.gmane.org>]
* [PATCH 1/9] ARM: dts: r8a7745: Add audio clocks [not found] ` <1513800125-53213-1-git-send-email-biju.das-kTT6dE0pTRh9uiUsa/gSgQ@public.gmane.org> @ 2017-12-20 20:01 ` Biju Das [not found] ` <1513800125-53213-2-git-send-email-biju.das-kTT6dE0pTRh9uiUsa/gSgQ@public.gmane.org> 2017-12-20 20:01 ` [PATCH 3/9] ARM: dts: r8a7745: Add sound support Biju Das ` (2 subsequent siblings) 3 siblings, 1 reply; 18+ messages in thread From: Biju Das @ 2017-12-20 20:01 UTC (permalink / raw) To: Rob Herring, Mark Rutland Cc: Simon Horman, Magnus Damm, Chris Paterson, Fabrizio Castro, devicetree-u79uwXL29TY76Z2rM5mHXA, linux-renesas-soc-u79uwXL29TY76Z2rM5mHXA, Biju Das Describe the external audio clocks required by the sound driver. Boards that provide audio clocks need to override the clock frequencies. Signed-off-by: Biju Das <biju.das-kTT6dE0pTRh9uiUsa/gSgQ@public.gmane.org> Reviewed-by: Fabrizio Castro <fabrizio.castro-kTT6dE0pTRh9uiUsa/gSgQ@public.gmane.org> --- arch/arm/boot/dts/r8a7745.dtsi | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/arch/arm/boot/dts/r8a7745.dtsi b/arch/arm/boot/dts/r8a7745.dtsi index 2be7485..6d085f0 100644 --- a/arch/arm/boot/dts/r8a7745.dtsi +++ b/arch/arm/boot/dts/r8a7745.dtsi @@ -35,6 +35,27 @@ vin1 = &vin1; }; + /* + * The external audio clocks are configured as 0 Hz fixed + * frequency clocks by default. Boards that provide audio + * clocks should override them. + */ + audio_clka: audio_clka { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <0>; + }; + audio_clkb: audio_clkb { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <0>; + }; + audio_clkc: audio_clkc { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <0>; + }; + /* External CAN clock */ can_clk: can { compatible = "fixed-clock"; -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply related [flat|nested] 18+ messages in thread
[parent not found: <1513800125-53213-2-git-send-email-biju.das-kTT6dE0pTRh9uiUsa/gSgQ@public.gmane.org>]
* Re: [PATCH 1/9] ARM: dts: r8a7745: Add audio clocks [not found] ` <1513800125-53213-2-git-send-email-biju.das-kTT6dE0pTRh9uiUsa/gSgQ@public.gmane.org> @ 2017-12-21 9:37 ` Geert Uytterhoeven 0 siblings, 0 replies; 18+ messages in thread From: Geert Uytterhoeven @ 2017-12-21 9:37 UTC (permalink / raw) To: Biju Das Cc: Rob Herring, Mark Rutland, Simon Horman, Magnus Damm, Chris Paterson, Fabrizio Castro, devicetree-u79uwXL29TY76Z2rM5mHXA, Linux-Renesas On Wed, Dec 20, 2017 at 9:01 PM, Biju Das <biju.das-kTT6dE0pTRh9uiUsa/gSgQ@public.gmane.org> wrote: > Describe the external audio clocks required by the sound driver. > Boards that provide audio clocks need to override the clock frequencies. > > Signed-off-by: Biju Das <biju.das-kTT6dE0pTRh9uiUsa/gSgQ@public.gmane.org> > Reviewed-by: Fabrizio Castro <fabrizio.castro-kTT6dE0pTRh9uiUsa/gSgQ@public.gmane.org> Reviewed-by: Geert Uytterhoeven <geert+renesas-gXvu3+zWzMSzQB+pC5nmwQ@public.gmane.org> Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert-Td1EMuHUCqxL1ZNQvxDV9g@public.gmane.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 18+ messages in thread
* [PATCH 3/9] ARM: dts: r8a7745: Add sound support [not found] ` <1513800125-53213-1-git-send-email-biju.das-kTT6dE0pTRh9uiUsa/gSgQ@public.gmane.org> 2017-12-20 20:01 ` [PATCH 1/9] ARM: dts: r8a7745: Add audio clocks Biju Das @ 2017-12-20 20:01 ` Biju Das 2017-12-21 10:02 ` Geert Uytterhoeven 2017-12-20 20:02 ` [PATCH 5/9] ARM: dts: iwg22d-sodimm: Sound PIO support Biju Das 2017-12-20 20:02 ` [PATCH 7/9] ARM: dts: iwg22d-sodimm: Sound DMA support via BUSIF on DTS Biju Das 3 siblings, 1 reply; 18+ messages in thread From: Biju Das @ 2017-12-20 20:01 UTC (permalink / raw) To: Rob Herring, Mark Rutland Cc: Simon Horman, Magnus Damm, Chris Paterson, Fabrizio Castro, devicetree-u79uwXL29TY76Z2rM5mHXA, linux-renesas-soc-u79uwXL29TY76Z2rM5mHXA, Biju Das Define the generic r8a7745(RZ/G1E) part of the sound device node. This patch is based on the r8a7794 sound work by Sergei Shtylyov. Signed-off-by: Biju Das <biju.das-kTT6dE0pTRh9uiUsa/gSgQ@public.gmane.org> Reviewed-by: Fabrizio Castro <fabrizio.castro-kTT6dE0pTRh9uiUsa/gSgQ@public.gmane.org> --- arch/arm/boot/dts/r8a7745.dtsi | 180 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 180 insertions(+) diff --git a/arch/arm/boot/dts/r8a7745.dtsi b/arch/arm/boot/dts/r8a7745.dtsi index d9488a1..835a282 100644 --- a/arch/arm/boot/dts/r8a7745.dtsi +++ b/arch/arm/boot/dts/r8a7745.dtsi @@ -1293,6 +1293,186 @@ resets = <&cpg 915>; status = "disabled"; }; + + rcar_sound: sound@ec500000 { + /* + * #sound-dai-cells is required + * + * Single DAI : #sound-dai-cells = <0>; <&rcar_sound>; + * Multi DAI : #sound-dai-cells = <1>; <&rcar_sound N>; + */ + compatible = "renesas,rcar_sound-r8a7745", + "renesas,rcar_sound-gen2"; + reg = <0 0xec500000 0 0x1000>, /* SCU */ + <0 0xec5a0000 0 0x100>, /* ADG */ + <0 0xec540000 0 0x1000>, /* SSIU */ + <0 0xec541000 0 0x280>, /* SSI */ + <0 0xec740000 0 0x200>; /* Audio DMAC peri peri */ + reg-names = "scu", "adg", "ssiu", "ssi", "audmapp"; + + clocks = <&cpg CPG_MOD 1005>, + <&cpg CPG_MOD 1006>, <&cpg CPG_MOD 1007>, + <&cpg CPG_MOD 1008>, <&cpg CPG_MOD 1009>, + <&cpg CPG_MOD 1010>, <&cpg CPG_MOD 1011>, + <&cpg CPG_MOD 1012>, <&cpg CPG_MOD 1013>, + <&cpg CPG_MOD 1014>, <&cpg CPG_MOD 1015>, + <&cpg CPG_MOD 1025>, <&cpg CPG_MOD 1026>, + <&cpg CPG_MOD 1027>, <&cpg CPG_MOD 1028>, + <&cpg CPG_MOD 1029>, <&cpg CPG_MOD 1030>, + <&cpg CPG_MOD 1021>, <&cpg CPG_MOD 1020>, + <&cpg CPG_MOD 1021>, <&cpg CPG_MOD 1020>, + <&cpg CPG_MOD 1019>, <&cpg CPG_MOD 1018>, + <&audio_clka>, <&audio_clkb>, <&audio_clkc>, + <&cpg CPG_CORE R8A7745_CLK_M2>; + clock-names = "ssi-all", + "ssi.9", "ssi.8", "ssi.7", "ssi.6", + "ssi.5", "ssi.4", "ssi.3", "ssi.2", + "ssi.1", "ssi.0", + "src.6", "src.5", "src.4", "src.3", + "src.2", "src.1", + "ctu.0", "ctu.1", + "mix.0", "mix.1", + "dvc.0", "dvc.1", + "clk_a", "clk_b", "clk_c", "clk_i"; + power-domains = <&sysc R8A7745_PD_ALWAYS_ON>; + resets = <&cpg 1005>, + <&cpg 1006>, <&cpg 1007>, <&cpg 1008>, + <&cpg 1009>, <&cpg 1010>, <&cpg 1011>, + <&cpg 1012>, <&cpg 1013>, <&cpg 1014>, + <&cpg 1015>; + reset-names = "ssi-all", + "ssi.9", "ssi.8", "ssi.7", "ssi.6", + "ssi.5", "ssi.4", "ssi.3", "ssi.2", + "ssi.1", "ssi.0"; + + status = "disabled"; + + rcar_sound,dvc { + dvc0: dvc-0 { + dmas = <&audma0 0xbc>; + dma-names = "tx"; + }; + dvc1: dvc-1 { + dmas = <&audma0 0xbe>; + dma-names = "tx"; + }; + }; + + rcar_sound,mix { + mix0: mix-0 { }; + mix1: mix-1 { }; + }; + + rcar_sound,ctu { + ctu00: ctu-0 { }; + ctu01: ctu-1 { }; + ctu02: ctu-2 { }; + ctu03: ctu-3 { }; + ctu10: ctu-4 { }; + ctu11: ctu-5 { }; + ctu12: ctu-6 { }; + ctu13: ctu-7 { }; + }; + + rcar_sound,src { + src-0 { + status = "disabled"; + }; + src1: src-1 { + interrupts = <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>; + dmas = <&audma0 0x87>, <&audma0 0x9c>; + dma-names = "rx", "tx"; + }; + src2: src-2 { + interrupts = <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>; + dmas = <&audma0 0x89>, <&audma0 0x9e>; + dma-names = "rx", "tx"; + }; + src3: src-3 { + interrupts = <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>; + dmas = <&audma0 0x8b>, <&audma0 0xa0>; + dma-names = "rx", "tx"; + }; + src4: src-4 { + interrupts = <GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH>; + dmas = <&audma0 0x8d>, <&audma0 0xb0>; + dma-names = "rx", "tx"; + }; + src5: src-5 { + interrupts = <GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH>; + dmas = <&audma0 0x8f>, <&audma0 0xb2>; + dma-names = "rx", "tx"; + }; + src6: src-6 { + interrupts = <GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH>; + dmas = <&audma0 0x91>, <&audma0 0xb4>; + dma-names = "rx", "tx"; + }; + }; + + rcar_sound,ssi { + ssi0: ssi-0 { + interrupts = <GIC_SPI 370 IRQ_TYPE_LEVEL_HIGH>; + dmas = <&audma0 0x01>, <&audma0 0x02>, + <&audma0 0x15>, <&audma0 0x16>; + dma-names = "rx", "tx", "rxu", "txu"; + }; + ssi1: ssi-1 { + interrupts = <GIC_SPI 371 IRQ_TYPE_LEVEL_HIGH>; + dmas = <&audma0 0x03>, <&audma0 0x04>, + <&audma0 0x49>, <&audma0 0x4a>; + dma-names = "rx", "tx", "rxu", "txu"; + }; + ssi2: ssi-2 { + interrupts = <GIC_SPI 372 IRQ_TYPE_LEVEL_HIGH>; + dmas = <&audma0 0x05>, <&audma0 0x06>, + <&audma0 0x63>, <&audma0 0x64>; + dma-names = "rx", "tx", "rxu", "txu"; + }; + ssi3: ssi-3 { + interrupts = <GIC_SPI 373 IRQ_TYPE_LEVEL_HIGH>; + dmas = <&audma0 0x07>, <&audma0 0x08>, + <&audma0 0x6f>, <&audma0 0x70>; + dma-names = "rx", "tx", "rxu", "txu"; + }; + ssi4: ssi-4 { + interrupts = <GIC_SPI 374 IRQ_TYPE_LEVEL_HIGH>; + dmas = <&audma0 0x09>, <&audma0 0x0a>, + <&audma0 0x71>, <&audma0 0x72>; + dma-names = "rx", "tx", "rxu", "txu"; + }; + ssi5: ssi-5 { + interrupts = <GIC_SPI 375 IRQ_TYPE_LEVEL_HIGH>; + dmas = <&audma0 0x0b>, <&audma0 0x0c>, + <&audma0 0x73>, <&audma0 0x74>; + dma-names = "rx", "tx", "rxu", "txu"; + }; + ssi6: ssi-6 { + interrupts = <GIC_SPI 376 IRQ_TYPE_LEVEL_HIGH>; + dmas = <&audma0 0x0d>, <&audma0 0x0e>, + <&audma0 0x75>, <&audma0 0x76>; + dma-names = "rx", "tx", "rxu", "txu"; + }; + ssi7: ssi-7 { + interrupts = <GIC_SPI 377 IRQ_TYPE_LEVEL_HIGH>; + dmas = <&audma0 0x0f>, <&audma0 0x10>, + <&audma0 0x79>, <&audma0 0x7a>; + dma-names = "rx", "tx", "rxu", "txu"; + }; + ssi8: ssi-8 { + interrupts = <GIC_SPI 378 IRQ_TYPE_LEVEL_HIGH>; + dmas = <&audma0 0x11>, <&audma0 0x12>, + <&audma0 0x7b>, <&audma0 0x7c>; + dma-names = "rx", "tx", "rxu", "txu"; + }; + ssi9: ssi-9 { + interrupts = <GIC_SPI 379 IRQ_TYPE_LEVEL_HIGH>; + dmas = <&audma0 0x13>, <&audma0 0x14>, + <&audma0 0x7d>, <&audma0 0x7e>; + dma-names = "rx", "tx", "rxu", "txu"; + }; + }; + }; }; timer { -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply related [flat|nested] 18+ messages in thread
* Re: [PATCH 3/9] ARM: dts: r8a7745: Add sound support 2017-12-20 20:01 ` [PATCH 3/9] ARM: dts: r8a7745: Add sound support Biju Das @ 2017-12-21 10:02 ` Geert Uytterhoeven 0 siblings, 0 replies; 18+ messages in thread From: Geert Uytterhoeven @ 2017-12-21 10:02 UTC (permalink / raw) To: Biju Das Cc: Rob Herring, Mark Rutland, Simon Horman, Magnus Damm, Chris Paterson, Fabrizio Castro, devicetree, Linux-Renesas On Wed, Dec 20, 2017 at 9:01 PM, Biju Das <biju.das@bp.renesas.com> wrote: > Define the generic r8a7745(RZ/G1E) part of the sound device node. > > This patch is based on the r8a7794 sound work by Sergei Shtylyov. > > Signed-off-by: Biju Das <biju.das@bp.renesas.com> > Reviewed-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds ^ permalink raw reply [flat|nested] 18+ messages in thread
* [PATCH 5/9] ARM: dts: iwg22d-sodimm: Sound PIO support [not found] ` <1513800125-53213-1-git-send-email-biju.das-kTT6dE0pTRh9uiUsa/gSgQ@public.gmane.org> 2017-12-20 20:01 ` [PATCH 1/9] ARM: dts: r8a7745: Add audio clocks Biju Das 2017-12-20 20:01 ` [PATCH 3/9] ARM: dts: r8a7745: Add sound support Biju Das @ 2017-12-20 20:02 ` Biju Das 2017-12-20 20:02 ` [PATCH 7/9] ARM: dts: iwg22d-sodimm: Sound DMA support via BUSIF on DTS Biju Das 3 siblings, 0 replies; 18+ messages in thread From: Biju Das @ 2017-12-20 20:02 UTC (permalink / raw) To: Rob Herring, Mark Rutland Cc: Simon Horman, Magnus Damm, Chris Paterson, Fabrizio Castro, devicetree-u79uwXL29TY76Z2rM5mHXA, linux-renesas-soc-u79uwXL29TY76Z2rM5mHXA, Biju Das Enable sound PIO support on carrier board. Signed-off-by: Biju Das <biju.das-kTT6dE0pTRh9uiUsa/gSgQ@public.gmane.org> Reviewed-by: Fabrizio Castro <fabrizio.castro-kTT6dE0pTRh9uiUsa/gSgQ@public.gmane.org> --- arch/arm/boot/dts/r8a7745-iwg22d-sodimm.dts | 46 +++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/arch/arm/boot/dts/r8a7745-iwg22d-sodimm.dts b/arch/arm/boot/dts/r8a7745-iwg22d-sodimm.dts index 5d4b7d2..b6521da 100644 --- a/arch/arm/boot/dts/r8a7745-iwg22d-sodimm.dts +++ b/arch/arm/boot/dts/r8a7745-iwg22d-sodimm.dts @@ -32,6 +32,21 @@ clock-frequency = <26000000>; }; + rsnd_sgtl5000: sound { + compatible = "simple-audio-card"; + simple-audio-card,format = "i2s"; + simple-audio-card,bitclock-master = <&sndcodec>; + simple-audio-card,frame-master = <&sndcodec>; + + sndcpu: simple-audio-card,cpu { + sound-dai = <&rcar_sound>; + }; + + sndcodec: simple-audio-card,codec { + sound-dai = <&sgtl5000>; + }; + }; + vccq_sdhi0: regulator-vccq-sdhi0 { compatible = "regulator-gpio"; @@ -141,6 +156,11 @@ power-source = <3300>; }; + sound_pins: sound { + groups = "ssi34_ctrl", "ssi3_data", "ssi4_data"; + function = "ssi"; + }; + usb0_pins: usb0 { groups = "usb0"; function = "usb0"; @@ -152,6 +172,23 @@ }; }; +&rcar_sound { + pinctrl-0 = <&sound_pins>; + pinctrl-names = "default"; + status = "okay"; + + /* Single DAI */ + + #sound-dai-cells = <0>; + + rcar_sound,dai { + dai0 { + playback = <&ssi3>; + capture = <&ssi4>; + }; + }; +}; + &scif4 { pinctrl-0 = <&scif4_pins>; pinctrl-names = "default"; @@ -169,6 +206,15 @@ status = "okay"; }; +&ssi3 { + pio-transfer; +}; + +&ssi4 { + pio-transfer; + shared-pin; +}; + &usbphy { status = "okay"; }; -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply related [flat|nested] 18+ messages in thread
* [PATCH 7/9] ARM: dts: iwg22d-sodimm: Sound DMA support via BUSIF on DTS [not found] ` <1513800125-53213-1-git-send-email-biju.das-kTT6dE0pTRh9uiUsa/gSgQ@public.gmane.org> ` (2 preceding siblings ...) 2017-12-20 20:02 ` [PATCH 5/9] ARM: dts: iwg22d-sodimm: Sound PIO support Biju Das @ 2017-12-20 20:02 ` Biju Das 3 siblings, 0 replies; 18+ messages in thread From: Biju Das @ 2017-12-20 20:02 UTC (permalink / raw) To: Rob Herring, Mark Rutland Cc: Simon Horman, Magnus Damm, Chris Paterson, Fabrizio Castro, devicetree-u79uwXL29TY76Z2rM5mHXA, linux-renesas-soc-u79uwXL29TY76Z2rM5mHXA, Biju Das DMA transfer to/from SSIU DMA [MEM] -> [SSIU] -> [SSI] DMA [MEM] <- [SSIU] <- [SSI] Signed-off-by: Biju Das <biju.das-kTT6dE0pTRh9uiUsa/gSgQ@public.gmane.org> Reviewed-by: Fabrizio Castro <fabrizio.castro-kTT6dE0pTRh9uiUsa/gSgQ@public.gmane.org> --- arch/arm/boot/dts/r8a7745-iwg22d-sodimm.dts | 5 ----- 1 file changed, 5 deletions(-) diff --git a/arch/arm/boot/dts/r8a7745-iwg22d-sodimm.dts b/arch/arm/boot/dts/r8a7745-iwg22d-sodimm.dts index a9ba46d..0f880c1 100644 --- a/arch/arm/boot/dts/r8a7745-iwg22d-sodimm.dts +++ b/arch/arm/boot/dts/r8a7745-iwg22d-sodimm.dts @@ -206,12 +206,7 @@ status = "okay"; }; -&ssi3 { - no-busif; -}; - &ssi4 { - no-busif; shared-pin; }; -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply related [flat|nested] 18+ messages in thread
* [PATCH 6/9] ARM: dts: iwg22d-sodimm: Sound DMA support on DTS 2017-12-20 20:01 [PATCH 0/9] Add sound support Biju Das ` (2 preceding siblings ...) [not found] ` <1513800125-53213-1-git-send-email-biju.das-kTT6dE0pTRh9uiUsa/gSgQ@public.gmane.org> @ 2017-12-20 20:02 ` Biju Das 2017-12-20 20:02 ` [PATCH 8/9] ARM: dts: iwg22d-sodimm: Sound DMA support via SRC " Biju Das ` (2 subsequent siblings) 6 siblings, 0 replies; 18+ messages in thread From: Biju Das @ 2017-12-20 20:02 UTC (permalink / raw) To: Rob Herring, Mark Rutland Cc: Simon Horman, Magnus Damm, Chris Paterson, Fabrizio Castro, devicetree, linux-renesas-soc, Biju Das DMA transfer to/from SSI DMA [MEM] -> [SSI] DMA [MEM] <- [SSI] Signed-off-by: Biju Das <biju.das@bp.renesas.com> Reviewed-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com> --- arch/arm/boot/dts/r8a7745-iwg22d-sodimm.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/r8a7745-iwg22d-sodimm.dts b/arch/arm/boot/dts/r8a7745-iwg22d-sodimm.dts index b6521da..a9ba46d 100644 --- a/arch/arm/boot/dts/r8a7745-iwg22d-sodimm.dts +++ b/arch/arm/boot/dts/r8a7745-iwg22d-sodimm.dts @@ -207,11 +207,11 @@ }; &ssi3 { - pio-transfer; + no-busif; }; &ssi4 { - pio-transfer; + no-busif; shared-pin; }; -- 1.9.1 ^ permalink raw reply related [flat|nested] 18+ messages in thread
* [PATCH 8/9] ARM: dts: iwg22d-sodimm: Sound DMA support via SRC on DTS 2017-12-20 20:01 [PATCH 0/9] Add sound support Biju Das ` (3 preceding siblings ...) 2017-12-20 20:02 ` [PATCH 6/9] ARM: dts: iwg22d-sodimm: Sound DMA support " Biju Das @ 2017-12-20 20:02 ` Biju Das 2017-12-21 10:44 ` Simon Horman 2017-12-20 20:02 ` [PATCH 9/9] ARM: dts: iwg22d-sodimm: Sound DMA support via DVC " Biju Das 2017-12-21 11:25 ` [PATCH 0/9] Add sound support Simon Horman 6 siblings, 1 reply; 18+ messages in thread From: Biju Das @ 2017-12-20 20:02 UTC (permalink / raw) To: Rob Herring, Mark Rutland Cc: Simon Horman, Magnus Damm, Chris Paterson, Fabrizio Castro, devicetree, linux-renesas-soc, Biju Das DMA transfer to/from SRC DMA DMApp [MEM] -> [SRC] -> [SSIU] -> [SSI] DMA DMApp [MEM] <- [SRC] <- [SSIU] <- [SSI] Current sound driver is supporting SSI/SRC random connection. So, this patch is trying SSI3 -> SRC3 SSI4 <- SRC4 Signed-off-by: Biju Das <biju.das@bp.renesas.com> Reviewed-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com> --- arch/arm/boot/dts/r8a7745-iwg22d-sodimm.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/r8a7745-iwg22d-sodimm.dts b/arch/arm/boot/dts/r8a7745-iwg22d-sodimm.dts index 0f880c1..2cac57c 100644 --- a/arch/arm/boot/dts/r8a7745-iwg22d-sodimm.dts +++ b/arch/arm/boot/dts/r8a7745-iwg22d-sodimm.dts @@ -183,8 +183,8 @@ rcar_sound,dai { dai0 { - playback = <&ssi3>; - capture = <&ssi4>; + playback = <&ssi3 &src3>; + capture = <&ssi4 &src4>; }; }; }; -- 1.9.1 ^ permalink raw reply related [flat|nested] 18+ messages in thread
* Re: [PATCH 8/9] ARM: dts: iwg22d-sodimm: Sound DMA support via SRC on DTS 2017-12-20 20:02 ` [PATCH 8/9] ARM: dts: iwg22d-sodimm: Sound DMA support via SRC " Biju Das @ 2017-12-21 10:44 ` Simon Horman 2017-12-21 11:01 ` Biju Das 0 siblings, 1 reply; 18+ messages in thread From: Simon Horman @ 2017-12-21 10:44 UTC (permalink / raw) To: Biju Das Cc: Rob Herring, Mark Rutland, Magnus Damm, Chris Paterson, Fabrizio Castro, devicetree, linux-renesas-soc On Wed, Dec 20, 2017 at 08:02:04PM +0000, Biju Das wrote: > DMA transfer to/from SRC > > DMA DMApp > [MEM] -> [SRC] -> [SSIU] -> [SSI] > > DMA DMApp > [MEM] <- [SRC] <- [SSIU] <- [SSI] > > Current sound driver is supporting SSI/SRC random connection. > So, this patch is trying > SSI3 -> SRC3 > SSI4 <- SRC4 I am curious to know why the selection here differs from that present in iwg20d-q7-common. Is it an arbitrary decision? Likewise for other uses of ssi*, src* and dvc* in this patchset. > > Signed-off-by: Biju Das <biju.das@bp.renesas.com> > Reviewed-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com> > --- > arch/arm/boot/dts/r8a7745-iwg22d-sodimm.dts | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/arch/arm/boot/dts/r8a7745-iwg22d-sodimm.dts b/arch/arm/boot/dts/r8a7745-iwg22d-sodimm.dts > index 0f880c1..2cac57c 100644 > --- a/arch/arm/boot/dts/r8a7745-iwg22d-sodimm.dts > +++ b/arch/arm/boot/dts/r8a7745-iwg22d-sodimm.dts > @@ -183,8 +183,8 @@ > > rcar_sound,dai { > dai0 { > - playback = <&ssi3>; > - capture = <&ssi4>; > + playback = <&ssi3 &src3>; > + capture = <&ssi4 &src4>; > }; > }; > }; > -- > 1.9.1 > ^ permalink raw reply [flat|nested] 18+ messages in thread
* RE: [PATCH 8/9] ARM: dts: iwg22d-sodimm: Sound DMA support via SRC on DTS 2017-12-21 10:44 ` Simon Horman @ 2017-12-21 11:01 ` Biju Das 2017-12-21 11:20 ` Simon Horman 0 siblings, 1 reply; 18+ messages in thread From: Biju Das @ 2017-12-21 11:01 UTC (permalink / raw) To: Simon Horman Cc: Rob Herring, Mark Rutland, Magnus Damm, Chris Paterson, Fabrizio Castro, devicetree, linux-renesas-soc Hi Simon, > -----Original Message----- > From: Simon Horman [mailto:horms@verge.net.au] > Sent: 21 December 2017 10:45 > To: Biju Das <biju.das@bp.renesas.com> > Cc: Rob Herring <robh+dt@kernel.org>; Mark Rutland > <mark.rutland@arm.com>; Magnus Damm <magnus.damm@gmail.com>; > Chris Paterson <Chris.Paterson2@renesas.com>; Fabrizio Castro > <fabrizio.castro@bp.renesas.com>; devicetree@vger.kernel.org; linux-renesas- > soc@vger.kernel.org > Subject: Re: [PATCH 8/9] ARM: dts: iwg22d-sodimm: Sound DMA support via > SRC on DTS > > On Wed, Dec 20, 2017 at 08:02:04PM +0000, Biju Das wrote: > > DMA transfer to/from SRC > > > > DMA DMApp > > [MEM] -> [SRC] -> [SSIU] -> [SSI] > > > > DMA DMApp > > [MEM] <- [SRC] <- [SSIU] <- [SSI] > > > > Current sound driver is supporting SSI/SRC random connection. > > So, this patch is trying > > SSI3 -> SRC3 > > SSI4 <- SRC4 > > I am curious to know why the selection here differs from that present in > iwg20d-q7-common. Is it an arbitrary decision? > > Likewise for other uses of ssi*, src* and dvc* in this patchset. For ssi*, on this board, SSI3/4 interface is connected to Audio In/Out. For src*, the original bsp from iwave is using src3/src4, also it is arbitrary as per the data sheet. For dvc*, Again it is arbitrary as per the data sheet. > > > > Signed-off-by: Biju Das <biju.das@bp.renesas.com> > > Reviewed-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com> > > --- > > arch/arm/boot/dts/r8a7745-iwg22d-sodimm.dts | 4 ++-- > > 1 file changed, 2 insertions(+), 2 deletions(-) > > > > diff --git a/arch/arm/boot/dts/r8a7745-iwg22d-sodimm.dts > > b/arch/arm/boot/dts/r8a7745-iwg22d-sodimm.dts > > index 0f880c1..2cac57c 100644 > > --- a/arch/arm/boot/dts/r8a7745-iwg22d-sodimm.dts > > +++ b/arch/arm/boot/dts/r8a7745-iwg22d-sodimm.dts > > @@ -183,8 +183,8 @@ > > > > rcar_sound,dai { > > dai0 { > > -playback = <&ssi3>; > > -capture = <&ssi4>; > > +playback = <&ssi3 &src3>; > > +capture = <&ssi4 &src4>; > > }; > > }; > > }; > > -- > > 1.9.1 > > [https://www2.renesas.eu/media/email/unicef_2017.jpg] This Christmas, instead of sending out cards, Renesas Electronics Europe have decided to support Unicef with a donation. For further details click here<https://www.unicef.org/> to find out about the valuable work they do, helping children all over the world. We would like to take this opportunity to wish you a Merry Christmas and a prosperous New Year. Renesas Electronics Europe Ltd, Dukes Meadow, Millboard Road, Bourne End, Buckinghamshire, SL8 5FH, UK. Registered in England & Wales under Registered No. 04586709. ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [PATCH 8/9] ARM: dts: iwg22d-sodimm: Sound DMA support via SRC on DTS 2017-12-21 11:01 ` Biju Das @ 2017-12-21 11:20 ` Simon Horman 0 siblings, 0 replies; 18+ messages in thread From: Simon Horman @ 2017-12-21 11:20 UTC (permalink / raw) To: Biju Das Cc: Rob Herring, Mark Rutland, Magnus Damm, Chris Paterson, Fabrizio Castro, devicetree, linux-renesas-soc On Thu, Dec 21, 2017 at 11:01:28AM +0000, Biju Das wrote: > Hi Simon, > > > -----Original Message----- > > From: Simon Horman [mailto:horms@verge.net.au] > > Sent: 21 December 2017 10:45 > > To: Biju Das <biju.das@bp.renesas.com> > > Cc: Rob Herring <robh+dt@kernel.org>; Mark Rutland > > <mark.rutland@arm.com>; Magnus Damm <magnus.damm@gmail.com>; > > Chris Paterson <Chris.Paterson2@renesas.com>; Fabrizio Castro > > <fabrizio.castro@bp.renesas.com>; devicetree@vger.kernel.org; linux-renesas- > > soc@vger.kernel.org > > Subject: Re: [PATCH 8/9] ARM: dts: iwg22d-sodimm: Sound DMA support via > > SRC on DTS > > > > On Wed, Dec 20, 2017 at 08:02:04PM +0000, Biju Das wrote: > > > DMA transfer to/from SRC > > > > > > DMA DMApp > > > [MEM] -> [SRC] -> [SSIU] -> [SSI] > > > > > > DMA DMApp > > > [MEM] <- [SRC] <- [SSIU] <- [SSI] > > > > > > Current sound driver is supporting SSI/SRC random connection. > > > So, this patch is trying > > > SSI3 -> SRC3 > > > SSI4 <- SRC4 > > > > I am curious to know why the selection here differs from that present in > > iwg20d-q7-common. Is it an arbitrary decision? > > > > Likewise for other uses of ssi*, src* and dvc* in this patchset. > > For ssi*, on this board, SSI3/4 interface is connected to Audio In/Out. > > For src*, the original bsp from iwave is using src3/src4, also it is arbitrary as per the data sheet. > > For dvc*, Again it is arbitrary as per the data sheet. Thanks, understood. ^ permalink raw reply [flat|nested] 18+ messages in thread
* [PATCH 9/9] ARM: dts: iwg22d-sodimm: Sound DMA support via DVC on DTS 2017-12-20 20:01 [PATCH 0/9] Add sound support Biju Das ` (4 preceding siblings ...) 2017-12-20 20:02 ` [PATCH 8/9] ARM: dts: iwg22d-sodimm: Sound DMA support via SRC " Biju Das @ 2017-12-20 20:02 ` Biju Das 2017-12-21 11:25 ` [PATCH 0/9] Add sound support Simon Horman 6 siblings, 0 replies; 18+ messages in thread From: Biju Das @ 2017-12-20 20:02 UTC (permalink / raw) To: Rob Herring, Mark Rutland Cc: Simon Horman, Magnus Damm, Chris Paterson, Fabrizio Castro, devicetree, linux-renesas-soc, Biju Das DMA transfer uses DVC DMA DMApp [MEM] -> [SRC] -> [DVC] -> [SSIU] -> [SSI] DMA DMApp [MEM] <- [DVC] <- [SRC] <- [SSIU] <- [SSI] Signed-off-by: Biju Das <biju.das@bp.renesas.com> Reviewed-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com> --- arch/arm/boot/dts/r8a7745-iwg22d-sodimm.dts | 27 +++++++++++++++++++++++++-- 1 file changed, 25 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/r8a7745-iwg22d-sodimm.dts b/arch/arm/boot/dts/r8a7745-iwg22d-sodimm.dts index 2cac57c..a4058f4 100644 --- a/arch/arm/boot/dts/r8a7745-iwg22d-sodimm.dts +++ b/arch/arm/boot/dts/r8a7745-iwg22d-sodimm.dts @@ -8,6 +8,29 @@ * kind, whether express or implied. */ +/* + * SSI-SGTL5000 + * + * This command is required when Playback/Capture + * + * amixer set "DVC Out" 100% + * amixer set "DVC In" 100% + * + * You can use Mute + * + * amixer set "DVC Out Mute" on + * amixer set "DVC In Mute" on + * + * You can use Volume Ramp + * + * amixer set "DVC Out Ramp Up Rate" "0.125 dB/64 steps" + * amixer set "DVC Out Ramp Down Rate" "0.125 dB/512 steps" + * amixer set "DVC Out Ramp" on + * aplay xxx.wav & + * amixer set "DVC Out" 80% // Volume Down + * amixer set "DVC Out" 100% // Volume Up + */ + /dts-v1/; #include "r8a7745-iwg22m.dtsi" @@ -183,8 +206,8 @@ rcar_sound,dai { dai0 { - playback = <&ssi3 &src3>; - capture = <&ssi4 &src4>; + playback = <&ssi3 &src3 &dvc0>; + capture = <&ssi4 &src4 &dvc1>; }; }; }; -- 1.9.1 ^ permalink raw reply related [flat|nested] 18+ messages in thread
* Re: [PATCH 0/9] Add sound support 2017-12-20 20:01 [PATCH 0/9] Add sound support Biju Das ` (5 preceding siblings ...) 2017-12-20 20:02 ` [PATCH 9/9] ARM: dts: iwg22d-sodimm: Sound DMA support via DVC " Biju Das @ 2017-12-21 11:25 ` Simon Horman 6 siblings, 0 replies; 18+ messages in thread From: Simon Horman @ 2017-12-21 11:25 UTC (permalink / raw) To: Biju Das Cc: Rob Herring, Mark Rutland, Magnus Damm, Chris Paterson, Fabrizio Castro, devicetree, linux-renesas-soc On Wed, Dec 20, 2017 at 08:01:56PM +0000, Biju Das wrote: > This series aims to add sound support for iWave RZ/G1E board. > > Biju Das (9): > ARM: dts: r8a7745: Add audio clocks > ARM: dts: r8a7745: Add audio DMAC support > ARM: dts: r8a7745: Add sound support > ARM: dts: iwg22d-sodimm: Enable SGTL5000 audio codec > ARM: dts: iwg22d-sodimm: Sound PIO support > ARM: dts: iwg22d-sodimm: Sound DMA support on DTS > ARM: dts: iwg22d-sodimm: Sound DMA support via BUSIF on DTS > ARM: dts: iwg22d-sodimm: Sound DMA support via SRC on DTS > ARM: dts: iwg22d-sodimm: Sound DMA support via DVC on DTS > > arch/arm/boot/dts/r8a7745-iwg22d-sodimm.dts | 92 +++++++++++ > arch/arm/boot/dts/r8a7745.dtsi | 232 ++++++++++++++++++++++++++++ Thanks, applied. ^ permalink raw reply [flat|nested] 18+ messages in thread
end of thread, other threads:[~2017-12-21 11:25 UTC | newest] Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2017-12-20 20:01 [PATCH 0/9] Add sound support Biju Das 2017-12-20 20:01 ` [PATCH 2/9] ARM: dts: r8a7745: Add audio DMAC support Biju Das [not found] ` <1513800125-53213-3-git-send-email-biju.das-kTT6dE0pTRh9uiUsa/gSgQ@public.gmane.org> 2017-12-21 9:39 ` Geert Uytterhoeven 2017-12-20 20:02 ` [PATCH 4/9] ARM: dts: iwg22d-sodimm: Enable SGTL5000 audio codec Biju Das 2017-12-21 9:53 ` Geert Uytterhoeven [not found] ` <1513800125-53213-1-git-send-email-biju.das-kTT6dE0pTRh9uiUsa/gSgQ@public.gmane.org> 2017-12-20 20:01 ` [PATCH 1/9] ARM: dts: r8a7745: Add audio clocks Biju Das [not found] ` <1513800125-53213-2-git-send-email-biju.das-kTT6dE0pTRh9uiUsa/gSgQ@public.gmane.org> 2017-12-21 9:37 ` Geert Uytterhoeven 2017-12-20 20:01 ` [PATCH 3/9] ARM: dts: r8a7745: Add sound support Biju Das 2017-12-21 10:02 ` Geert Uytterhoeven 2017-12-20 20:02 ` [PATCH 5/9] ARM: dts: iwg22d-sodimm: Sound PIO support Biju Das 2017-12-20 20:02 ` [PATCH 7/9] ARM: dts: iwg22d-sodimm: Sound DMA support via BUSIF on DTS Biju Das 2017-12-20 20:02 ` [PATCH 6/9] ARM: dts: iwg22d-sodimm: Sound DMA support " Biju Das 2017-12-20 20:02 ` [PATCH 8/9] ARM: dts: iwg22d-sodimm: Sound DMA support via SRC " Biju Das 2017-12-21 10:44 ` Simon Horman 2017-12-21 11:01 ` Biju Das 2017-12-21 11:20 ` Simon Horman 2017-12-20 20:02 ` [PATCH 9/9] ARM: dts: iwg22d-sodimm: Sound DMA support via DVC " Biju Das 2017-12-21 11:25 ` [PATCH 0/9] Add sound support Simon Horman
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).