ASoC: davinci-mcbsp: add binding for McBSP
Subsystems (6)
v4 cover ASoC: davinci-mcbsp: add binding for McBSP
This series of patches adds devicetree support for the davinci McBSP audio interface.
Changes in version 4 of the patch:
* minor correction in the binding example ("interrupt names")
* re-added index note to the "mpu" property.
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
A message that is not in the archive (sent off-list or not yet received): 1461327617-11435-1-git-send-email-petr-Qh/[email protected]
PATCH v4 1/7 ASoC: davinci-mcbsp: add binding for McBSP
Add devicetree binding for the TI DA850/OMAP-L138/AM18xx MultiChannel Buffered Serial Port (McBSP)
The optional register range "dat" is not implemented at the moment. The current driver supports only DMA into RX/TX registers but no FIFO. Once the FIFO is implemented in the driver the "dat" range will be used.
---
v1: initial
v2: add missing TC channel in dmas properties (for compatibility with the new EDMA3 binding)
remove "-audio" postfix from the compatible string
remove "channel-combine" property
v3: remove the index note from the "mpu" property.
specify exactly the supported platforms in compatible string
v4: minor correction in the example ("interrupt names"), re-added index note to the "mpu" property.
.../devicetree/bindings/sound/davinci-mcbsp.txt | 52 ++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/davinci-mcbsp.txt
Documentation/devicetree/bindings/sound/davinci-mcbsp.txt new file +52 -0
@@ -0,0 +1,52 @@ +Texas Instruments DaVinci McBSP module +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +This binding describes the "Multi-channel Buffered Serial Port" (McBSP) +audio interface found in some TI DaVinci processors like the OMAP-L138 or AM180x. + + +Required properties: +~~~~~~~~~~~~~~~~~~~~ +- compatible : + "ti,da850-mcbsp" : for DA850, AM180x and OPAM-L138 platforms + +- reg : physical base address and length of the controller memory mapped + region(s). +- reg-names : Should contain: + * "mpu" for the main registers (required). For compatibility + with the existing software, this is required to be the first entry. + * "dat" for the data FIFO (optional). + +- dmas: three element list of DMA controller phandles, DMA request line and + TC channel ordered triplets. +- dma-names: identifier string for each DMA request line in the dmas property. + These strings correspond 1:1 with the ordered pairs in dmas. The dma + identifiers must be "rx" and "tx". + +Optional properties: +~~~~~~~~~~~~~~~~~~~~ +- interrupts : Interrupt numbers for McBSP +- interrupt-names : Known interrupt names are "rx" and "tx" + +- pinctrl-0: Should specify pin control group used for this controller. +- pinctrl-names: Should contain only one value - "default", for more details + please refer to pinctrl-bindings.txt + +Example (AM1808): +~~~~~~~~~~~~~~~~~ + +mcbsp0: mcbsp@1d10000 { + compatible = "ti,da850-mcbsp"; + pinctrl-names = "default"; + pinctrl-0 = <&mcbsp0_pins>; + + reg = <0x00110000 0x1000>, + <0x00310000 0x1000>; + reg-names = "mpu", "dat"; + interrupts = <97 98>; + interrupt-names = "rx", "tx"; + dmas = <&edma0 3 1 + &edma0 2 1>; + dma-names = "tx", "rx"; + status = "okay"; +};
Signature · 6 lines
1.9.1 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
A message that is not in the archive (sent off-list or not yet received): 1461327617-11435-2-git-send-email-petr-Qh/[email protected]
Rob Herring
Acked-byQuoted 17 lines · Petr Kulhavy
Add devicetree binding for the TI DA850/OMAP-L138/AM18xx MultiChannel Buffered Serial Port (McBSP)
The optional register range "dat" is not implemented at the moment. The current driver supports only DMA into RX/TX registers but no FIFO. Once the FIFO is implemented in the driver the "dat" range will be used.
Signed-off-by Petr Kulhavy <petr-Qh/[email protected]>---
v1: initial
v2: add missing TC channel in dmas properties (for compatibility with the new EDMA3 binding)
remove "-audio" postfix from the compatible string
remove "channel-combine" property
v3: remove the index note from the "mpu" property.
specify exactly the supported platforms in compatible string
v4: minor correction in the example ("interrupt names"), re-added index note to the "mpu" property.
Quoted 3 lines
.../devicetree/bindings/sound/davinci-mcbsp.txt | 52 ++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/davinci-mcbsp.txt
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
PATCH v4 2/7 ASoC: Davinci: McBSP: add device tree support for McBSP
In reply to a message not in the archiveThis adds DT support for the TI DA8xx/OMAP-L1x/AM17xx/AM18xx McBSP driver.
---
v1: initial
v2: remove "-audio" postfix from the compatible string
of_match_table renamed consistently with the rest of the file (davinci_i2s_match) "channel-combine" property removed
devicetree DMA configuration in probe simplified
v3: remove the unused platform data
v4: no change
sound/soc/davinci/Kconfig | 6 +++- sound/soc/davinci/davinci-i2s.c | 80 +++++++++++++++++++++++++++-------------- 2 files changed, 59 insertions(+), 27 deletions(-)
sound/soc/davinci/Kconfig +5 -1
@@ -16,7 +16,11 @@ config SND_EDMA_SOC - DRA7xx family config SND_DAVINCI_SOC_I2S - tristate + tristate "DaVinci Multichannel Buffered Serial Port (McBSP) support" + depends on SND_EDMA_SOC + help + Say Y or M here if you want to have support for McBSP IP found in + Texas Instruments DaVinci DA850 SoCs. config SND_DAVINCI_SOC_MCASP tristate "Multichannel Audio Serial Port (McASP) support"
sound/soc/davinci/davinci-i2s.c +54 -26
126 lines not on this page · raw message
Signature · 6 lines
1.9.1 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
PATCH v4 3/7 ARM: davinci: da850: add clocks for mcbsp0 and 1
In reply to a message not in the archiveAdd clock definitions "davinci-mcbsp.0" and "davinci-mcbsp.1" in order to make McBSP driver work on the DA850 platform.
The McBSP 0 and 1 interfaces were not defined for the DA850 platform. Neither were the related clocks. In order to make the use of McBSP via devicetree the clocks need to be defined.
---
v1: initial
v2: no change
v3: no change
v4: no change
arch/arm/mach-davinci/da850.c | 16 ++++++++++++++++ arch/arm/mach-davinci/psc.h | 2 ++ 2 files changed, 18 insertions(+)
arch/arm/mach-davinci/da850.c +16 -0
@@ -306,6 +306,20 @@ static struct clk mcasp_clk = { .flags = DA850_CLK_ASYNC3, }; +static struct clk mcbsp0_clk = { + .name ="mcbsp0" , + .parent = &pll1_sysclk2, + .lpsc = DA850_LPSC1_McBSP0, + .gpsc =1 , +}; + +static struct clk mcbsp1_clk = { + .name ="mcbsp1" , + .parent = &pll1_sysclk2, + .lpsc = DA850_LPSC1_McBSP1, + .gpsc =1 , +}; +static struct clk lcdc_clk = { .name ="lcdc" , .parent = &pll0_sysclk2,
@@ -464,6 +478,8 @@ static struct clk_lookup da850_clks[] = {CLK ("davinci_emac.1" ,NULL , &emac_clk),CLK ("davinci_mdio.0" ,"fck" , &emac_clk),CLK ("davinci-mcasp.0" ,NULL , &mcasp_clk), +CLK ("davinci-mcbsp.0" ,NULL , &mcbsp0_clk), +CLK ("davinci-mcbsp.1" ,NULL , &mcbsp1_clk),CLK ("da8xx_lcdc.0" ,"fck" , &lcdc_clk),CLK ("da830-mmc.0" ,NULL , &mmcsd0_clk), CLK("da830-mmc.1", NULL, &mmcsd1_clk),
arch/arm/mach-davinci/psc.h +2 -0
@@ -171,6 +171,8 @@#define DA8XX_LPSC1_I2C 11#define DA8XX_LPSC1_UART1 12#define DA8XX_LPSC1_UART2 13 +#define DA850_LPSC1_McBSP0 14 +#define DA850_LPSC1_McBSP1 15#define DA8XX_LPSC1_LCDC 16#define DA8XX_LPSC1_PWM 17#define DA850_LPSC1_MMC_SD1 18
Signature · 6 lines
1.9.1 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
A message that is not in the archive (sent off-list or not yet received): 1461327617-11435-4-git-send-email-petr-Qh/[email protected]
Re: [PATCH v4 3/7] ARM: davinci: da850: add clocks for mcbsp0 and 1
Quoted 23 lines · Petr Kulhavy
Add clock definitions "davinci-mcbsp.0" and "davinci-mcbsp.1" in order to make McBSP driver work on the DA850 platform.
The McBSP 0 and 1 interfaces were not defined for the DA850 platform. Neither were the related clocks. In order to make the use of McBSP via devicetree the clocks need to be defined.
Signed-off-by Petr Kulhavy <petr-Qh/[email protected]>---
v1: initial
v2: no change
v3: no change
v4: no changearch/arm/mach-davinci/da850.c | 16 ++++++++++++++++ arch/arm/mach-davinci/psc.h | 2 ++ 2 files changed, 18 insertions(+)arch/arm/mach-davinci/da850.c +0
-0
arch/arm/mach-davinci/da850.c static struct clk mcasp_clk = { · line 314
Quoted 9 lines
arch/arm/mach-davinci/da850.c +6
-0@@ -306,6 +306,20 @@ static struct clk mcasp_clk = { .flags = DA850_CLK_ASYNC3, }; +static struct clk mcbsp0_clk = { + .name ="mcbsp0" , + .parent = &pll1_sysclk2, + .lpsc = DA850_LPSC1_McBSP0, + .gpsc =1 , +};
Can you please rebase this to the master branch ofgit://git.kernel.org/pub/scm/linux/kernel/git/nsekhar/linux-davinci.git?
We now have a clock called async3 which is to be used for all clocks in async3 domain.
Thanks,
Sekhar
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
PATCH v4 4/7 ARM: davinci: da8xx-dt: add OF_DEV_AUXDATA entries for mcbsp0 and mcbsp1
In reply to a message not in the archiveAdd OF_DEV_AUXDATA for mcbsp to be able to use clocks.
---
v1: initial
v2: remove "-audio" postfix from the compatible string
v3: no change
v4: no change
arch/arm/mach-davinci/da8xx-dt.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-)
arch/arm/mach-davinci/da8xx-dt.c +5 -2
@@ -45,8 +45,11 @@ static struct of_dev_auxdata da850_auxdata_lookup[] __initdata = {OF_DEV_AUXDATA ("ns16550a" ,0x01d0d000 ,"serial8250.2" ,NULL ),OF_DEV_AUXDATA ("ti,davinci_mdio" ,0x01e24000 ,"davinci_mdio.0" ,NULL ),OF_DEV_AUXDATA ("ti,davinci-dm6467-emac" ,0x01e20000 ,"davinci_emac.1" , -NULL ), - OF_DEV_AUXDATA("ti,da830-mcasp-audio", 0x01d00000, "davinci-mcasp.0", NULL), +NULL ), +OF_DEV_AUXDATA ("ti,da830-mcasp-audio" ,0x01d00000 ,"davinci-mcasp.0" , +NULL ), +OF_DEV_AUXDATA ("ti,da850-mcbsp" ,0x01d10000 ,"davinci-mcbsp.0" ,NULL ), + OF_DEV_AUXDATA("ti,da850-mcbsp", 0x01d11000, "davinci-mcbsp.1", NULL), {} };
Signature · 6 lines
1.9.1 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
PATCH v4 5/7 ARM: DTS: da850: Fix wrong number of interrupts
In reply to a message not in the archiveThe DA850 supports interrupts 0 to 100. The number of interrupts property "ti,intc-size" was wrongly set to 100. Corrected to 101.
---
v1: initial
v2: no change
v3: no change
v4: no change
arch/arm/boot/dts/da850.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/da850.dtsi +1 -1
@@ -19,7 +19,7 @@ compatible = "ti,cp-intc"; interrupt-controller; #interrupt-cells = <1>; - ti,intc-size = <100>; + ti,intc-size = <101>; reg = <0xfffee000 0x2000>; }; };
Signature · 6 lines
1.9.1 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
A message that is not in the archive (sent off-list or not yet received): 1461327617-11435-6-git-send-email-petr-Qh/[email protected]
Re: [PATCH v4 5/7] ARM: DTS: da850: Fix wrong number of interrupts
Quoted 4 lines · Petr Kulhavy
The DA850 supports interrupts 0 to 100. The number of interrupts property "ti,intc-size" was wrongly set to 100. Corrected to 101.
Signed-off-by Petr Kulhavy <petr-Qh/[email protected]>
This patch is already in my tree and sent for inclusion in v4.7.
Regards,
Sekhar
Quoted 15 lines
---
v1: initial
v2: no change
v3: no change
v4: no changearch/arm/boot/dts/da850.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)arch/arm/boot/dts/da850.dtsi +0
-0
arch/arm/boot/dts/da850.dtsi line 25
Quoted 8 lines
arch/arm/boot/dts/da850.dtsi +1
-1@@ -19,7 +19,7 @@ compatible = "ti,cp-intc"; interrupt-controller; #interrupt-cells = <1>; - ti,intc-size = <100>; + ti,intc-size = <101>; reg = <0xfffee000 0x2000>; }; };
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
A message that is not in the archive (sent off-list or not yet received): [email protected]
Re: [PATCH v4 5/7] ARM: DTS: da850: Fix wrong number of interrupts
Quoted 9 lines · Sekhar Nori
Quoted 4 lines · Petr Kulhavy
The DA850 supports interrupts 0 to 100. The number of interrupts property "ti,intc-size" was wrongly set to 100. Corrected to 101.
Signed-off-by Petr Kulhavy <petr-Qh/[email protected]>This patch is already in my tree and sent for inclusion in v4.7.
Regards,
Sekhar
Thanks, Sekhar, I didn't know that. Could you please just drop a message next time that it has been applied. Thanks!
Petr
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
A message that is not in the archive (sent off-list or not yet received): 57308739.6080800-Qh/[email protected]
Re: [PATCH v4 5/7] ARM: DTS: da850: Fix wrong number of interrupts
Quoted 6 lines · Petr Kulhavy
Quoted 4 lines · Sekhar Nori
Quoted 3 lines · Petr Kulhavy
The DA850 supports interrupts 0 to 100. The number of interrupts property "ti,intc-size" was wrongly set to 100. Corrected to 101.
Quoted 7 lines
Quoted 5 lines
Quoted 1 line
Signed-off-by Petr Kulhavy <petr-Qh/[email protected]>This patch is already in my tree and sent for inclusion in v4.7.
Regards,
SekharThanks, Sekhar, I didn't know that. Could you please just drop a message next time that it has been applied. Thanks!
Actually, the exact same change was submitted by David Lechner and I ended up applying his patch.
https://lkml.org/lkml/2016/4/13/852
Regards,
Sekhar
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
PATCH v4 6/7 ARM: DTS: da850: Add McBSP0 and McBSP1
In reply to a message not in the archiveAdd SoC nodes for McBSP0 and McBSP1 as well as the corresponding pinmux configurations.
---
v1: initial
v2: add missing TC channel in dmas properties (for compatibility with the new EDMA3 binding)
remove "-audio" postfix from the compatible string
v3: no change
v4: no change
arch/arm/boot/dts/da850.dtsi | 45 +++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 44 insertions(+), 1 deletion(-)
arch/arm/boot/dts/da850.dtsi +44 -1
@@ -148,7 +148,24 @@ 0xc 0x88888888 0xffffffff >; }; - + mcbsp0_pins: pinmux_mcbsp0_pins { + pinctrl-single,bits = < + /* PINMUX2: + * CLKS0, DX0, DR0, FSX0 + * FSR0, CLKX0, CLKR0 + */ + 0x8 0x02222220 0xfffffff0 + >; + }; + mcbsp1_pins: pinmux_mcbsp1_pins { + pinctrl-single,bits = < + /* PINMUX1: + * CLKS1, DX1, DR1, FSX1, + * FSR1, CLKX1, CLKR1 + */ + 0x4 0x22222220 0xfffffff0 + >; + }; }; edma0: edma@01c00000 { compatible = "ti,edma3-tpcc";
@@ -335,6 +352,32 @@ <&edma0 0 1>; dma-names = "tx", "rx"; }; + + mcbsp0: mcbsp@1d10000 { + compatible = "ti,da850-mcbsp"; + reg = <0x00110000 0x1000>, + <0x00310000 0x1000>; + reg-names = "mpu", "dat"; + interrupts = <97 98>; + interrupts-names = "rx", "tx"; + dmas = <&edma0 3 1 + &edma0 2 1>; + dma-names = "tx", "rx"; + status = "disabled"; + }; + mcbsp1: mcbsp@1d11000 { + compatible = "ti,da850-mcbsp"; + reg = <0x00111000 0x1000>, + <0x00311000 0x1000>; + reg-names = "mpu", "dat"; + interrupts = <99 100>; + interrupts-names = "rx", "tx"; + dmas = <&edma0 5 1 + &edma0 4 1>; + dma-names = "tx", "rx"; + status = "disabled"; + }; + }; nand_cs3@62000000 { compatible = "ti,davinci-nand";
Signature · 6 lines
1.9.1 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
A message that is not in the archive (sent off-list or not yet received): 1461327617-11435-7-git-send-email-petr-Qh/[email protected]
Re: [PATCH v4 6/7] ARM: DTS: da850: Add McBSP0 and McBSP1
Quoted 45 lines · Petr Kulhavy
Add SoC nodes for McBSP0 and McBSP1 as well as the corresponding pinmux configurations.
Signed-off-by Petr Kulhavy <petr-Qh/[email protected]>---
v1: initial
v2: add missing TC channel in dmas properties (for compatibility with the new EDMA3 binding)
remove "-audio" postfix from the compatible string
v3: no change
v4: no changearch/arm/boot/dts/da850.dtsi | 45 +++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 44 insertions(+), 1 deletion(-)arch/arm/boot/dts/da850.dtsi +18
-1@@ -148,7 +148,24 @@ 0xc 0x88888888 0xffffffff >; }; - + mcbsp0_pins: pinmux_mcbsp0_pins { + pinctrl-single,bits = < + /* PINMUX2: + * CLKS0, DX0, DR0, FSX0 + * FSR0, CLKX0, CLKR0 + */ + 0x8 0x02222220 0xfffffff0 + >; + }; + mcbsp1_pins: pinmux_mcbsp1_pins { + pinctrl-single,bits = < + /* PINMUX1: + * CLKS1, DX1, DR1, FSX1, + * FSR1, CLKX1, CLKR1 + */ + 0x4 0x22222220 0xfffffff0 + >; + }; }; edma0: edma@01c00000 { compatible = "ti,edma3-tpcc";
arch/arm/boot/dts/da850.dtsi line 359
Quoted 8 lines
arch/arm/boot/dts/da850.dtsi +5
-0@@ -335,6 +352,32 @@ <&edma0 0 1>; dma-names = "tx", "rx"; }; + + mcbsp0: mcbsp@1d10000 { + compatible = "ti,da850-mcbsp"; + reg = <0x00110000 0x1000>, + <0x00310000 0x1000>;
The node name should be sound@110000
sound because use of generic names is preferred (I know the mcasp has got this wrong). And the unit address after the @ should match the reg property. I would also lose the unnecessary 0s in the reg address.
Thanks,
Sekhar
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
PATCH v4 7/7 ARM: davinci: remove unused davinci-i2s pdata
In reply to a message not in the archiveThe davinci-i2s driver ("davinci-mcbsp") does not use platform data any longer. Remove the dummy pdata provided by the board drivers dm355, dm365, dm644x and neuros-osd2.
---
v3: initial
v4: no change
arch/arm/mach-davinci/board-dm355-evm.c | 4 +--- arch/arm/mach-davinci/board-dm365-evm.c | 6 +----- arch/arm/mach-davinci/board-dm644x-evm.c | 4 +--- arch/arm/mach-davinci/board-neuros-osd2.c | 4 +--- arch/arm/mach-davinci/davinci.h | 6 +++--- arch/arm/mach-davinci/dm355.c | 3 +-- arch/arm/mach-davinci/dm365.c | 3 +-- arch/arm/mach-davinci/dm644x.c | 3 +-- 8 files changed, 10 insertions(+), 23 deletions(-)
arch/arm/mach-davinci/board-dm355-evm.c +1 -3
@@ -115,8 +115,6 @@ static struct davinci_i2c_platform_data i2c_pdata = { .scl_pin = 14, }; -static struct snd_platform_data dm355_evm_snd_data; -static int dm355evm_mmc_gpios = -EINVAL ;static void dm355evm_mmcsd_gpios (unsigned gpio)
@@ -411,7 +409,7 @@ static __init void dm355_evm_init(void) ARRAY_SIZE(dm355_evm_spi_info));/* DM335 EVM uses ASP1; line-out is a stereo mini-jack */ -dm355_init_asp1 (ASP1_TX_EVT_EN |ASP1_RX_EVT_EN , &dm355_evm_snd_data); +dm355_init_asp1 (ASP1_TX_EVT_EN |ASP1_RX_EVT_EN ); }MACHINE_START (DAVINCI_DM355_EVM ,"DaVinci DM355 EVM" )
arch/arm/mach-davinci/board-dm365-evm.c +1 -5
@@ -176,10 +176,6 @@ static struct at24_platform_data eeprom_info = { .context = (void *)0x7f00, }; -static struct snd_platform_data dm365_evm_snd_data__maybe_unused = { - .asp_chan_q =EVENTQ_3 , -}; -static struct i2c_board_info i2c_info[] = { {I2C_BOARD_INFO ("24c256" ,0x50 ),
@@ -763,7 +759,7 @@ static __init void dm365_evm_init(void)evm_init_cpld ();#ifdef CONFIG_SND_DM365_AIC3X_CODEC -dm365_init_asp (&dm365_evm_snd_data); +dm365_init_asp ();#elif defined(CONFIG_SND_DM365_VOICE_CODEC )dm365_init_vc (&dm365_evm_snd_data);#endif
arch/arm/mach-davinci/board-dm644x-evm.c +1 -3
@@ -264,8 +264,6 @@ static struct platform_device rtc_dev = { .id = -1, }; -static struct snd_platform_data dm644x_evm_snd_data; -/*----------------------------------------------------------------------*/ #ifdef CONFIG_I2C /*
@@ -799,7 +797,7 @@ static __init void davinci_evm_init(void)dm644x_init_video (&dm644xevm_capture_cfg, &dm644xevm_display_cfg);davinci_serial_init (dm644x_serial_device); -dm644x_init_asp (&dm644x_evm_snd_data); +dm644x_init_asp ();/* irlml6401 switches over 1A, in under 8 msec */ davinci_setup_usb (1000 ,8 );
arch/arm/mach-davinci/board-neuros-osd2.c +1 -3
@@ -127,8 +127,6 @@ static struct platform_device davinci_fb_device = { .num_resources = 0, }; -static struct snd_platform_data dm644x_ntosd2_snd_data; -static struct gpio_led ntosd2_leds[] = { { .name ="led1_green" , .gpio =GPIO (10 ), }, { .name ="led1_red" , .gpio =GPIO (11 ), },
@@ -200,7 +198,7 @@ static __init void davinci_ntosd2_init(void) ARRAY_SIZE(davinci_ntosd2_devices));davinci_serial_init (dm644x_serial_device); -dm644x_init_asp (&dm644x_ntosd2_snd_data); +dm644x_init_asp (); soc_info->emac_pdata->phy_id =NEUROS_OSD2_PHY_ID ;
arch/arm/mach-davinci/davinci.h +3 -3
@@ -85,13 +85,13 @@ int davinci_init_wdt(void);void dm355_init (void );void dm355_init_spi0 (unsigned chipselect_mask,const struct spi_board_info *info,unsigned len); -void dm355_init_asp1 (u32 evt_enable,struct snd_platform_data *pdata); +void dm355_init_asp1 (u32 evt_enable);int dm355_init_video (struct vpfe_config *,struct vpbe_config *);int dm355_gpio_register (void );/* DM365 function declarations */ void dm365_init (void ); -void dm365_init_asp (struct snd_platform_data *pdata); +void dm365_init_asp (void );void dm365_init_vc (struct snd_platform_data *pdata);void dm365_init_ks (struct davinci_ks_platform_data *pdata);void dm365_init_rtc (void );
@@ -102,7 +102,7 @@ int dm365_gpio_register(void);/* DM644x function declarations */ void dm644x_init (void ); -void dm644x_init_asp (struct snd_platform_data *pdata); +void dm644x_init_asp (void );int dm644x_init_video (struct vpfe_config *,struct vpbe_config *);int dm644x_gpio_register (void );
arch/arm/mach-davinci/dm355.c +1 -2
@@ -1035,7 +1035,7 @@ static struct davinci_soc_info davinci_soc_info_dm355 = { .sram_len = SZ_32K, }; -void __init dm355_init_asp1 (u32 evt_enable,struct snd_platform_data *pdata) +void __init dm355_init_asp1 (u32 evt_enable) {/* we don't use ASP1 IRQs, or we'd need to mux them ... */ if (evt_enable &ASP1_TX_EVT_EN )
@@ -1044,7 +1044,6 @@ void __init dm355_init_asp1(u32 evt_enable, struct snd_platform_data *pdata)if (evt_enable &ASP1_RX_EVT_EN )davinci_cfg_reg (DM355_EVT9_ASP1_RX ); - dm355_asp1_device.dev.platform_data = pdata;platform_device_register (&dm355_asp1_device); }
arch/arm/mach-davinci/dm365.c +1 -2
@@ -1138,7 +1138,7 @@ static struct davinci_soc_info davinci_soc_info_dm365 = { .sram_len = SZ_32K, }; -void __init dm365_init_asp (struct snd_platform_data *pdata) +void __init dm365_init_asp (void ) {davinci_cfg_reg (DM365_MCBSP0_BDX );davinci_cfg_reg (DM365_MCBSP0_X );
@@ -1148,7 +1148,6 @@ void __init dm365_init_asp(struct snd_platform_data *pdata)davinci_cfg_reg (DM365_MCBSP0_BFSR );davinci_cfg_reg (DM365_EVT2_ASP_TX );davinci_cfg_reg (DM365_EVT3_ASP_RX ); - dm365_asp_device.dev.platform_data = pdata;platform_device_register (&dm365_asp_device); }
arch/arm/mach-davinci/dm644x.c +1 -2
@@ -921,10 +921,9 @@ static struct davinci_soc_info davinci_soc_info_dm644x = { .sram_len = SZ_16K, }; -void __init dm644x_init_asp (struct snd_platform_data *pdata) +void __init dm644x_init_asp (void ) {davinci_cfg_reg (DM644X_MCBSP ); - dm644x_asp_device.dev.platform_data = pdata;platform_device_register (&dm644x_asp_device); }
Signature · 6 lines
1.9.1 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 7 lines · Petr Kulhavy
This series of patches adds devicetree support for the davinci McBSP audio interface.
Changes in version 4 of the patch:
* minor correction in the binding example ("interrupt names")
* re-added index note to the "mpu" property.
Hi,
I'm just wondering if anybody is picking up on this.
Peter has reviewed the patch set (v3 where the code is identical to v4) and Rob has acked the DT part.
Thanks!
Petr
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
A message that is not in the archive (sent off-list or not yet received): 57289832.9050904-Qh/[email protected]
Quoted 8 lines · Petr Kulhavy
Quoted 6 lines · Petr Kulhavy
This series of patches adds devicetree support for the davinci McBSP audio
interface.Changes in version 4 of the patch:
Quoted 8 lines
Quoted 2 lines
* minor correction in the binding example ("interrupt names")
* re-added index note to the "mpu" property.Hi,
I'm just wondering if anybody is picking up on this.
Peter has reviewed the patch set (v3 where the code is identical to v4) and Rob has acked the DT part.
For the mach-davinci portions, I was actually waiting on the driver changes to be accepted first. I have already sent my pull request for v4.7. I am afraid these have to wait for v4.8.
Also, I just noticed that linux-arm-kernel-xBCQruHUn5ppWr+L1FloEB2eb7JE58TQ@public.gmane.org was not copied on the submission. That list must be copied on all mach-davinci
submissions.
And looks like not all patches in the series depend on the driver changes (3/7 and even 7/7?). In such cases, it always helps to send them separately so they can be queued independently.
Even now, can you please separate out such patches and resend them with linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org copied.
Regards,
Sekhar
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 18 lines · Sekhar Nori
Quoted 5 lines · Petr Kulhavy
Hi,
I'm just wondering if anybody is picking up on this.
Peter has reviewed the patch set (v3 where the code is identical to v4) and Rob has acked the DT part.For the mach-davinci portions, I was actually waiting on the driver changes to be accepted first. I have already sent my pull request for v4.7. I am afraid these have to wait for v4.8.
Also, I just noticed that linux-arm-kernel-xBCQruHUn5ppWr+L1FloEB2eb7JE58TQ@public.gmane.org was not copied on the submission. That list must be copied on all mach-davinci
submissions.And looks like not all patches in the series depend on the driver changes (3/7 and even 7/7?). In such cases, it always helps to send them separately so they can be queued independently.
Quoted 5 lines
Even now, can you please separate out such patches and resend them with linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org copied.
Regards,
Sekhar
Thanks a lot Sekhar for your time and comments. I'm re-basing the patches to your branch right now and I will submit patches 3 and 7 separately. Then I will re-submit the rest without 5, which has been already applied.
Regards
Petr
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 1 line · Petr Kulhavy
I'm just wondering if anybody is picking up on this.
Please don't send content free pings and please allow a reasonable time for review. People get busy, go on holiday, attend conferences and so on so unless there is some reason for urgency (like critical bug fixes) please allow at least a couple of weeks for review. If there have been review comments then people may be waiting for those to be addressed. Sending content free pings just adds to the mail volume (if they are seen at all) and if something has gone wrong you'll have to resend the patches anyway.
Quoted 2 lines
Peter has reviewed the patch set (v3 where the code is identical to v4) and Rob has acked the DT part.
I'm not seeing any review from Peter on what's in my inbox...
A message that is not in the archive (sent off-list or not yet received): [email protected]
Petr Kulhavy
Reviewed-by Peter UjfalusiQuoted 11 lines · Mark Brown
Quoted 1 line · Petr Kulhavy
I'm just wondering if anybody is picking up on this.
Please don't send content free pings and please allow a reasonable time for review. People get busy, go on holiday, attend conferences and so on so unless there is some reason for urgency (like critical bug fixes) please allow at least a couple of weeks for review. If there have been review comments then people may be waiting for those to be addressed. Sending content free pings just adds to the mail volume (if they are seen at all) and if something has gone wrong you'll have to resend the patches anyway.
Thanks Mark for your comment and sorry for the noise. I'm leaving the company in a couple of weeks so
I'm trying to conclude this patch and make sure no action is needed from my side as I won't be following it up any longer then.
Quoted 3 lines
Quoted 2 lines
Peter has reviewed the patch set (v3 where the code is identical to v4) and Rob has acked the DT part.
I'm not seeing any review from Peter on what's in my inbox...
On 18.04.2016 15:06, Peter Ujfalusi wrote:
To all patches:
Your address was in copy as well...
Petr
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html