Re: [alsa-devel] [PATCH v4 4/4] ASoC: samsung: Add machine driver for Exynos5433 based TM2 board

2016-07-25 Thread Sylwester Nawrocki
On 07/22/2016 11:51 AM, Charles Keepax wrote: > On Tue, Jul 05, 2016 at 07:14:37PM +0200, Sylwester Nawrocki wrote: >> This patch adds the sound machine driver for TM2 and TM2E board. >> Speaker and headphone playback, Main Mic capture, Bluetooth, >> Voice call and external accessory are supported.

Re: [alsa-devel] [PATCH v4 4/4] ASoC: samsung: Add machine driver for Exynos5433 based TM2 board

2016-07-22 Thread Charles Keepax
On Tue, Jul 05, 2016 at 07:14:37PM +0200, Sylwester Nawrocki wrote: > This patch adds the sound machine driver for TM2 and TM2E board. > Speaker and headphone playback, Main Mic capture, Bluetooth, > Voice call and external accessory are supported. > > Signed-off-by: Inha Song > [k.kozlowski: reb

Re: [alsa-devel] [PATCH v4 4/4] ASoC: samsung: Add machine driver for Exynos5433 based TM2 board

2016-07-21 Thread Sylwester Nawrocki
On 07/21/2016 12:28 PM, Chanwoo Choi wrote: > When I test it, I can get the clock pointer by devm_clk_get() as following: > > diff --git a/sound/soc/samsung/tm2_wm5110.c b/sound/soc/samsung/tm2_wm5110.c > index 9728b3c5927f..5de4fc554aec 100644 > --- a/sound/soc/samsung/tm2_wm5110.c > +++ b/sound/

Re: [PATCH v4 4/4] ASoC: samsung: Add machine driver for Exynos5433 based TM2 board

2016-07-21 Thread Chanwoo Choi
Hi Sylwester, On 2016년 07월 18일 19:41, Sylwester Nawrocki wrote: > Hi Chanwoo, > > On 07/15/2016 07:18 AM, Chanwoo Choi wrote: >>> +static int tm2_probe(struct platform_device *pdev) >>> +{ >>> + struct device *dev = &pdev->dev; > >>> + codec_dai_node = of_parse_phandle(dev->of_node, "audio-c

Re: [PATCH v4 4/4] ASoC: samsung: Add machine driver for Exynos5433 based TM2 board

2016-07-18 Thread Sylwester Nawrocki
Hi Chanwoo, On 07/15/2016 07:18 AM, Chanwoo Choi wrote: >> +static int tm2_probe(struct platform_device *pdev) >> +{ >> +struct device *dev = &pdev->dev; >> +codec_dai_node = of_parse_phandle(dev->of_node, "audio-codec", 0); >> +if (!codec_dai_node) { >> +dev_err(dev, "aud

Re: [PATCH v4 4/4] ASoC: samsung: Add machine driver for Exynos5433 based TM2 board

2016-07-14 Thread Chanwoo Choi
Hi Sylwester, [snip] > +static int tm2_probe(struct platform_device *pdev) > +{ > + struct device *dev = &pdev->dev; > + struct snd_soc_card *card = &tm2_card; > + struct tm2_machine_priv *priv; > + struct device_node *cpu_dai_node, *codec_dai_node; > + int ret, i; > + > +

[PATCH v4 4/4] ASoC: samsung: Add machine driver for Exynos5433 based TM2 board

2016-07-05 Thread Sylwester Nawrocki
This patch adds the sound machine driver for TM2 and TM2E board. Speaker and headphone playback, Main Mic capture, Bluetooth, Voice call and external accessory are supported. Signed-off-by: Inha Song [k.kozlowski: rebased on 4.1] Signed-off-by: Krzysztof Kozlowski [s.nawrocki: rebased to 4.7, ad