Re: [PATCH v5 2/3] ARM: dts: pbab01: enable I2S audio on phyFLEX-i.MX6 boards

2014-11-04 Thread Dmitry Lavnikevich
On 3Nov, 2014, at 09:14, Shawn Guo shawn@linaro.org wrote: On Wed, Oct 29, 2014 at 04:47:03PM +0300, Dmitry Lavnikevich wrote: +fsl,audmux-port = 4; +fsl,port-config = +0x +IMX_AUDMUX_V2_PDCR_RXDSEL(1

[PATCH v6 2/3] ARM: dts: pbab01: enable I2S audio on phyFLEX-i.MX6 boards

2014-11-04 Thread Dmitry Lavnikevich
Audio on phyFLEX boards is presented by tlv320aic3007 codec connected over SSI interface. Signed-off-by: Dmitry Lavnikevich d.lavnikev...@sam-solutions.com --- arch/arm/boot/dts/imx6qdl-phytec-pbab01.dtsi | 101 ++- arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi | 15

[PATCH v6 1/3] ARM: dts: pbab01: move i2c pins and frequency configuration into pfla02

2014-11-04 Thread Dmitry Lavnikevich
@020e/i2c2grp imx6q-pinctrl 20e.iomuxc: no groups defined in /soc/aips-bus@0200/iomuxc@020e/i2c3grp imx6q-pinctrl 20e.iomuxc: unable to find group for node i2c2grp imx6q-pinctrl 20e.iomuxc: unable to find group for node i2c3grp Signed-off-by: Dmitry Lavnikevich d.lavnikev...@sam

[PATCH v6 3/3] ARM: imx_v6_v7_defconfig: enable tlv320aic3x audio codec by default

2014-11-04 Thread Dmitry Lavnikevich
Used on Phytec PBAB01 board. Signed-off-by: Dmitry Lavnikevich d.lavnikev...@sam-solutions.com --- arch/arm/configs/imx_v6_v7_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/imx_v6_v7_defconfig b/arch/arm/configs/imx_v6_v7_defconfig index 8fca6e2..cac07d6 100644

[PATCH v6 0/3] Add Phytec pbab01 audio support

2014-11-04 Thread Dmitry Lavnikevich
This version of patchset contains following style changes since v5: - nodes sorted in alphabetical order; - pinctrl entries sorted alphabetically; - new line inserted between nodes. -- To unsubscribe from this list: send the line unsubscribe devicetree in the body of a message to

[PATCH v5 3/3] ARM: imx_v6_v7_defconfig: enable tlv320aic3x audio codec by default

2014-10-29 Thread Dmitry Lavnikevich
Used on Phytec PBAB01 board. Signed-off-by: Dmitry Lavnikevich d.lavnikev...@sam-solutions.com --- arch/arm/configs/imx_v6_v7_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/imx_v6_v7_defconfig b/arch/arm/configs/imx_v6_v7_defconfig index 8fca6e276b69

[PATCH v5 1/3] ARM: dts: pbab01: move i2c pins and frequency configuration into pfla02

2014-10-29 Thread Dmitry Lavnikevich
@020e/i2c2grp imx6q-pinctrl 20e.iomuxc: no groups defined in /soc/aips-bus@0200/iomuxc@020e/i2c3grp imx6q-pinctrl 20e.iomuxc: unable to find group for node i2c2grp imx6q-pinctrl 20e.iomuxc: unable to find group for node i2c3grp Signed-off-by: Dmitry Lavnikevich d.lavnikev...@sam

[PATCH v5 2/3] ARM: dts: pbab01: enable I2S audio on phyFLEX-i.MX6 boards

2014-10-29 Thread Dmitry Lavnikevich
Audio on phyFLEX boards is presented by tlv320aic3007 codec connected over SSI interface. Signed-off-by: Dmitry Lavnikevich d.lavnikev...@sam-solutions.com --- arch/arm/boot/dts/imx6qdl-phytec-pbab01.dtsi | 100 ++- arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi | 15

[PATCH v5 0/3] Add Phytec pbab01 audio support

2014-10-29 Thread Dmitry Lavnikevich
By mistake previous patchset versions was sent as in-reply-to to previous patchset versions, so they may have been lost among other mails. One of pathces was already applied by Mark Brown, here is 3 patches implementing audio support on Phytec phyFLEX-i.MX6 boards. This patchset version only

[PATCH v4 RESEND 1/3] ARM: dts: pbab01: move i2c pins and frequency configuration into pfla02

2014-10-22 Thread Dmitry Lavnikevich
@020e/i2c2grp imx6q-pinctrl 20e.iomuxc: no groups defined in /soc/aips-bus@0200/iomuxc@020e/i2c3grp imx6q-pinctrl 20e.iomuxc: unable to find group for node i2c2grp imx6q-pinctrl 20e.iomuxc: unable to find group for node i2c3grp Signed-off-by: Dmitry Lavnikevich d.lavnikev...@sam

[PATCH v4 RESEND 3/3] ARM: imx_v6_v7_defconfig: enable tlv320aic3x audio codec by default

2014-10-22 Thread Dmitry Lavnikevich
Used on Phytec PBAB01 board. Signed-off-by: Dmitry Lavnikevich d.lavnikev...@sam-solutions.com --- arch/arm/configs/imx_v6_v7_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/imx_v6_v7_defconfig b/arch/arm/configs/imx_v6_v7_defconfig index 8fca6e276b69

[PATCH v4 0/3 RESEND] Add Phytec pbab01 audio support

2014-10-22 Thread Dmitry Lavnikevich
Patch fixing PLL D configuration (number 4 in previous patchset) was already accepted by Mark Brown. No notes or comments on other patches was made so resending them in case they were lost. Based on branch for-next branch of git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux.git -- To

[PATCH v4 RESEND 2/3] ARM: dts: pbab01: enable I2S audio on phyFLEX-i.MX6 boards

2014-10-22 Thread Dmitry Lavnikevich
Audio on phyFLEX boards is presented by tlv320aic3007 codec connected over SSI interface. Signed-off-by: Dmitry Lavnikevich d.lavnikev...@sam-solutions.com --- arch/arm/boot/dts/imx6qdl-phytec-pbab01.dtsi | 100 ++- arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi | 15

[PATCH v4 2/4] ARM: dts: pbab01: enable I2S audio on phyFLEX-i.MX6 boards

2014-10-03 Thread Dmitry Lavnikevich
Audio on phyFLEX boards is presented by tlv320aic3007 codec connected over SSI interface. Signed-off-by: Dmitry Lavnikevich d.lavnikev...@sam-solutions.com --- arch/arm/boot/dts/imx6qdl-phytec-pbab01.dtsi | 100 ++- arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi | 15

[PATCH v4 1/4] ARM: dts: pbab01: move i2c pins and frequency configuration into pfla02

2014-10-03 Thread Dmitry Lavnikevich
@020e/i2c2grp imx6q-pinctrl 20e.iomuxc: no groups defined in /soc/aips-bus@0200/iomuxc@020e/i2c3grp imx6q-pinctrl 20e.iomuxc: unable to find group for node i2c2grp imx6q-pinctrl 20e.iomuxc: unable to find group for node i2c3grp Signed-off-by: Dmitry Lavnikevich d.lavnikev...@sam

[PATCH v4 0/4] Add Phytec pbab01 audio support

2014-10-03 Thread Dmitry Lavnikevich
New phyFLEX board audio patchset version. Small changes made since last version: - removed unnecessary 'regulator-always-on' in fixed regulators dts description; - removed 'fsl,mode = i2s-slave' from ssi2 node in dts since it was already removed from fsl-ssi driver. Based on branch for-next

[PATCH v4 3/4] ARM: imx_v6_v7_defconfig: enable tlv320aic3x audio codec by default

2014-10-03 Thread Dmitry Lavnikevich
Used on Phytec PBAB01 board. Signed-off-by: Dmitry Lavnikevich d.lavnikev...@sam-solutions.com --- arch/arm/configs/imx_v6_v7_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/imx_v6_v7_defconfig b/arch/arm/configs/imx_v6_v7_defconfig index 8fca6e276b69

[PATCH v4 4/4] ASoC: tlv320aic3x: fix PLL D configuration

2014-10-03 Thread Dmitry Lavnikevich
AIC3X_PLL_PROGC_REG also remains not written and we get wrong playback speed. In this patch snd_soc_read() is used to get cached pll values and snd_soc_write() (unlike regcache_sync() this function doesn't bypasses hardware default values) to write them to registers. Signed-off-by: Dmitry Lavnikevich d.lavnikev

Re: [PATCH v3 0/4] Add Phytec pbab01 audio support

2014-10-01 Thread Dmitry Lavnikevich
Hello, I have resent my patchset rebased on git git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux.git couple weeks ago. Was it lost under other mails or should I change something else? Best regards, Lavnikevich Dmitry -- To unsubscribe from this list: send the line unsubscribe

Re: [PATCH v3 2/4] ARM: dts: pbab01: enable I2S audio on phyFLEX-i.MX6 boards

2014-10-01 Thread Dmitry Lavnikevich
On 01/10/14 15:11, Fabio Estevam wrote: On Tue, Sep 16, 2014 at 5:08 AM, Dmitry Lavnikevich d.lavnikev...@sam-solutions.com wrote: + regulators { + sound_1v8: regulator@2 { We usually start counting from @0. ... + }; + + sound_3v3

Re: [PATCH v3 2/4] ARM: dts: pbab01: enable I2S audio on phyFLEX-i.MX6 boards

2014-10-01 Thread Dmitry Lavnikevich
On 01/10/14 16:45, Fabio Estevam wrote: On Wed, Oct 1, 2014 at 10:40 AM, Dmitry Lavnikevich d.lavnikev...@sam-solutions.com wrote: No need to have this 'regulator-always-on' why is there no need for 'regulator-alweys-on'? I see it in For a regulator that is not GPIO controlled you don't

Re: [PATCH 1/5] ARM: dts: pbab01: move i2c pins and frequency configuration into pfla02

2014-09-12 Thread Dmitry Lavnikevich
On 11/09/14 11:47, Philipp Zabel wrote: Am Mittwoch, den 10.09.2014, 16:46 +0300 schrieb Dmitry Lavnikevich: Since pins and frequency are specific to module (pfla02), not base board (pbab02), it is better to be initialized in corresponding dts file. Signed-off-by: Dmitry Lavnikevich d.lavnikev

Re: [alsa-devel] [PATCH 2/5] ASoC: fsl: add imx-tlv320aic3x machine driver

2014-09-11 Thread Dmitry Lavnikevich
Hi, On 11/09/14 09:40, Markus Pargmann wrote: On Wed, Sep 10, 2014 at 11:14:15AM -0700, Nicolin Chen wrote: On Wed, Sep 10, 2014 at 7:27 AM, Markus Pargmann m...@pengutronix.de wrote: Hi, On Wed, Sep 10, 2014 at 04:46:46PM +0300, Dmitry Lavnikevich wrote: This is driver for i.MX6 boards

[PATCH 3/5] ARM: imx_v6_v7_defconfig: enable imx-tlv320aic3x by default

2014-09-10 Thread Dmitry Lavnikevich
Signed-off-by: Dmitry Lavnikevich d.lavnikev...@sam-solutions.com --- arch/arm/configs/imx_v6_v7_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/imx_v6_v7_defconfig b/arch/arm/configs/imx_v6_v7_defconfig index 16cfec4385c8..66a6a5c6e75a 100644 --- a/arch/arm

[PATCH 2/5] ASoC: fsl: add imx-tlv320aic3x machine driver

2014-09-10 Thread Dmitry Lavnikevich
This is driver for i.MX6 boards with tlv320aic3x audio codecs. Signed-off-by: Dmitry Lavnikevich d.lavnikev...@sam-solutions.com --- .../bindings/sound/fsl,imx-audio-tlv320aic3x.txt | 27 sound/soc/fsl/Kconfig | 13 ++ sound/soc/fsl/Makefile

[PATCH 5/5] ASoC: tlv320aic3x: fix PLL D configuration

2014-09-10 Thread Dmitry Lavnikevich
AIC3X_PLL_PROGC_REG also remains not written and we get wrong playback speed. In this patch snd_soc_read() is used to get cached pll values and snd_soc_write() (unlike regcache_sync() this function doesn't bypasses hardware default values) to write them to registers. Signed-off-by: Dmitry Lavnikevich d.lavnikev

[PATCH 1/5] ARM: dts: pbab01: move i2c pins and frequency configuration into pfla02

2014-09-10 Thread Dmitry Lavnikevich
Since pins and frequency are specific to module (pfla02), not base board (pbab02), it is better to be initialized in corresponding dts file. Signed-off-by: Dmitry Lavnikevich d.lavnikev...@sam-solutions.com --- arch/arm/boot/dts/imx6qdl-phytec-pbab01.dtsi | 22 -- arch/arm

[PATCH 0/5] Add Phytec pbab01 audio support

2014-09-10 Thread Dmitry Lavnikevich
This patchset implements audio support on Phytec's phyFLEX-i.MX6 boards. This includes creating imx-tlv320aic3x machine driver, fixing tlv320aic3x driver playback speed issue and enabling audio for pbab01 itself. -- To unsubscribe from this list: send the line unsubscribe devicetree in the body

[PATCH 4/5] ARM: dts: pbab01: enable I2S audio on phyFLEX-i.MX6 boards

2014-09-10 Thread Dmitry Lavnikevich
Audio on phyFLEX boards is presented by tlv320aic3007 codec connected over SSI interface. Signed-off-by: Dmitry Lavnikevich d.lavnikev...@sam-solutions.com --- arch/arm/boot/dts/imx6qdl-phytec-pbab01.dtsi | 59 +++- arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi | 15