This patchset fixes rtc-da9063 registration failure caused by
platform_get_irq_byname() returning local irq instead of virtual one.
In first patch version it was supposed to just transform local IRQ to
VIRQ in rtc-da9063 driver but after discussion in [1] it was decided
to register mfd device with
Call platform_get_irq_byname() already returns VIRQ instead of local
IRQ. Passing this value to regmap_irq_get_virq() causes error which
results in IRQ registration failure. This patch fixes such behaviour.
Signed-off-by: Dmitry Lavnikevich
---
drivers/regulator/da9063-regulator.c | 19
After registering mfd device with proper irq_base
platform_get_irq_byname() calls will return VIRQ instead of local IRQ.
This fixes da9063 rtc registration issue:
da9063-rtc da9063-rtc: Failed to request ALARM IRQ 1: -22
Signed-off-by: Dmitry Lavnikevich
---
drivers/mfd/da9063-core.c | 4
> On 20Nov, 2014, at 15:43, Opensource [Steve Twiss]
> wrote:
>
> On 20 November 2014 13:09 Dmitry Lavnikevich wrote:
> [...]
>>>
>>> da9063-rtc da9063-rtc: Failed to request ALARM IRQ -22: -22
>>> da9063-rtc: probe of da9063-rtc failed with error -22
> On 20Nov, 2014, at 12:23, Opensource [Steve Twiss]
> wrote:
>
> On 20 November 2014 09:55 Dmitry Lavnikevich wrote:
>
>> Call platform_get_irq_byname() returns local IRQ number. Use
>> regmap_irq_get_virq() to get VIRQ instead.
>> This fixes rtc initializ
Call platform_get_irq_byname() returns local IRQ number. Use
regmap_irq_get_virq() to get VIRQ instead.
This fixes rtc initialization error:
da9063-rtc da9063-rtc: Failed to request ALARM IRQ 1: -22
Signed-off-by: Dmitry Lavnikevich
---
drivers/rtc/rtc-da9063.c | 1 +
1 file changed, 1
Audio on phyFLEX boards is presented by tlv320aic3007 codec connected
over SSI interface.
Signed-off-by: Dmitry Lavnikevich
---
arch/arm/boot/dts/imx6qdl-phytec-pbab01.dtsi | 101 ++-
arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi | 15
2 files changed, 114
Used on Phytec PBAB01 board.
Signed-off-by: Dmitry Lavnikevich
---
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
--- a/arch/arm/configs
@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
---
arch/arm
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 linux-kernel" in
the body of a message to majord...@vge
> On 3Nov, 2014, at 09:14, Shawn Guo wrote:
> On Wed, Oct 29, 2014 at 04:47:03PM +0300, Dmitry Lavnikevich wrote:
>> +fsl,audmux-port = <4>;
>> +fsl,port-config = <
>> +0x
>> +
@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
---
arch/arm
Audio on phyFLEX boards is presented by tlv320aic3007 codec connected
over SSI interface.
Signed-off-by: Dmitry Lavnikevich
---
arch/arm/boot/dts/imx6qdl-phytec-pbab01.dtsi | 100 ++-
arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi | 15
2 files changed, 113
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 rena
Used on Phytec PBAB01 board.
Signed-off-by: Dmitry Lavnikevich
---
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..cac07d67b933 100644
--- a/arch/arm/configs
Audio on phyFLEX boards is presented by tlv320aic3007 codec connected
over SSI interface.
Signed-off-by: Dmitry Lavnikevich
---
arch/arm/boot/dts/imx6qdl-phytec-pbab01.dtsi | 100 ++-
arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi | 15
2 files changed, 113
Used on Phytec PBAB01 board.
Signed-off-by: Dmitry Lavnikevich
---
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..cac07d67b933 100644
--- a/arch/arm/configs
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 un
@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
---
arch/arm
Used on Phytec PBAB01 board.
Signed-off-by: Dmitry Lavnikevich
---
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..cac07d67b933 100644
--- a/arch/arm/configs
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
---
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-nex
Audio on phyFLEX boards is presented by tlv320aic3007 codec connected
over SSI interface.
Signed-off-by: Dmitry Lavnikevich
---
arch/arm/boot/dts/imx6qdl-phytec-pbab01.dtsi | 100 ++-
arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi | 15
2 files changed, 113
@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
---
arch/arm
On 01/10/14 16:45, Fabio Estevam wrote:
On Wed, Oct 1, 2014 at 10:40 AM, Dmitry Lavnikevich
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 need
On 01/10/14 15:11, Fabio Estevam wrote:
On Tue, Sep 16, 2014 at 5:08 AM, Dmitry Lavnikevich
wrote:
+ regulators {
+ sound_1v8: regulator@2 {
We usually start counting from @0.
...
>> + };
>> +
>> + sound_3v3: regulator@3
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 lin
@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
---
arch/arm
Used on Phytec PBAB01 board.
Signed-off-by: Dmitry Lavnikevich
---
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..cac07d67b933 100644
--- a/arch/arm/configs
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
---
Audio on phyFLEX boards is presented by tlv320aic3007 codec connected
over SSI interface.
Signed-off-by: Dmitry Lavnikevich
---
arch/arm/boot/dts/imx6qdl-phytec-pbab01.dtsi | 103 ++-
arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi | 15
2 files changed, 116
New phyFLEX board audio patchset version.
Defines from dt-bindings/sound/fsl-imx-audmux.h are now used in audmux
configuration instead of hardcoded register values.
Also patchset is now based on branch for-next from
git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux.git which
means:
-
On 12/09/14 19:40, Fabio Estevam wrote:
On Fri, Sep 12, 2014 at 1:26 PM, Alexander Shiyan wrote:
Fri, 12 Sep 2014 19:04:30 +0300 от Dmitry Lavnikevich
:
Audio on phyFLEX boards is presented by tlv320aic3007 codec connected
over SSI interface.
Signed-off-by: Dmitry Lavnikevich
On 12/09/14 19:14, Alexander Shiyan wrote:
Fri, 12 Sep 2014 19:04:30 +0300 от Dmitry Lavnikevich
:
+&audmux {
+ status = "okay";
+
+ ssi2 {
+ fsl,audmux-port = <1>;
+ fsl,port-config = <0xa500 0x8000>
Since previous patchset version asoc machine driver imx-tlv320aic3x
was replaced with simple-audio-card and audmux.
Also changed commit message for first patch, which now explicitly
states that it has more than stylistic purpose.
--
To unsubscribe from this list: send the line "unsubscribe linux-k
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
---
@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
---
arch/arm
Used on Phytec PBAB01 board.
Signed-off-by: Dmitry Lavnikevich
---
arch/arm/configs/imx_v6_v7_defconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/configs/imx_v6_v7_defconfig
b/arch/arm/configs/imx_v6_v7_defconfig
index 16cfec4385c8..b344290c537b 100644
--- a/arch/arm
Audio on phyFLEX boards is presented by tlv320aic3007 codec connected
over SSI interface.
Signed-off-by: Dmitry Lavnikevich
---
arch/arm/boot/dts/imx6qdl-phytec-pbab01.dtsi | 93 +++-
arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi | 15 +
2 files changed, 106
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
I have
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 wrote:
Hi,
On Wed, Sep 10, 2014 at 04:46:46PM +0300, Dmitry Lavnikevich wrote:
This is driver for i.MX6 boards with tlv320aic3x audio
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 linux-kernel" in
the bod
This is driver for i.MX6 boards with tlv320aic3x audio codecs.
Signed-off-by: Dmitry Lavnikevich
---
.../bindings/sound/fsl,imx-audio-tlv320aic3x.txt | 27
sound/soc/fsl/Kconfig | 13 ++
sound/soc/fsl/Makefile | 2 +
sound/soc
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
---
arch/arm/boot/dts/imx6qdl-phytec-pbab01.dtsi | 22 --
arch/arm/boot/dts/imx6qdl-phytec-pfla02
Signed-off-by: Dmitry Lavnikevich
---
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/configs/imx_v6_v7_defconfig
+++ b
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
---
Audio on phyFLEX boards is presented by tlv320aic3007 codec connected over SSI
interface.
Signed-off-by: Dmitry Lavnikevich
---
arch/arm/boot/dts/imx6qdl-phytec-pbab01.dtsi | 59 +++-
arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi | 15 +++
2 files changed, 72
47 matches
Mail list logo