linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Regression: i.MX6: pinctrl: fsl: add scu based pinctrl support
@ 2019-01-14 10:21 Mika Penttilä
  2019-01-14 16:58 ` Fabio Estevam
  0 siblings, 1 reply; 5+ messages in thread
From: Mika Penttilä @ 2019-01-14 10:21 UTC (permalink / raw)
  To: aisheng.dong; +Cc: festevam, shawnguo, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 280 bytes --]

Hello,


The patch titled "pinctrl: fsl: add scu based pinctrl support" causes
regression on i.MX6. Tested on a custom board based on
i.MX6Q and sgtl5000 codec, there is no sound,  tested with simple wav
playing.

Reverting the patch makes audio work again.

--Mika


[-- Attachment #2: pEpkey.asc --]
[-- Type: application/pgp-keys, Size: 2509 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Regression: i.MX6: pinctrl: fsl: add scu based pinctrl support
  2019-01-14 10:21 Regression: i.MX6: pinctrl: fsl: add scu based pinctrl support Mika Penttilä
@ 2019-01-14 16:58 ` Fabio Estevam
  2019-01-14 17:17   ` Mika Penttilä
  0 siblings, 1 reply; 5+ messages in thread
From: Fabio Estevam @ 2019-01-14 16:58 UTC (permalink / raw)
  To: Mika Penttilä; +Cc: aisheng.dong, shawnguo, linux-kernel

Hi Mika,

On Mon, Jan 14, 2019 at 8:21 AM Mika Penttilä
<mika.penttila@nextfour.com> wrote:
>
> Hello,
>
>
> The patch titled "pinctrl: fsl: add scu based pinctrl support" causes
> regression on i.MX6. Tested on a custom board based on
> i.MX6Q and sgtl5000 codec, there is no sound,  tested with simple wav
> playing.
>
> Reverting the patch makes audio work again.

Which kernel version do you use?

Most likely this has already been fixed by the following commit:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/drivers/pinctrl/freescale/pinctrl-imx.c?h=v5.0-rc2&id=571610678bf344006ab4c47c6fd0a842e9ac6a1b

Please let us know if you still have issues with such commit applied.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Regression: i.MX6: pinctrl: fsl: add scu based pinctrl support
  2019-01-14 16:58 ` Fabio Estevam
@ 2019-01-14 17:17   ` Mika Penttilä
  2019-01-14 17:35     ` Fabio Estevam
  2019-01-18  8:29     ` Aisheng Dong
  0 siblings, 2 replies; 5+ messages in thread
From: Mika Penttilä @ 2019-01-14 17:17 UTC (permalink / raw)
  To: Fabio Estevam; +Cc: aisheng.dong, shawnguo, linux-kernel

Hi!

On 14.1.2019 18.58, Fabio Estevam wrote:
> Hi Mika,
>
> On Mon, Jan 14, 2019 at 8:21 AM Mika Penttilä
> <mika.penttila@nextfour.com> wrote:
>> Hello,
>>
>>
>> The patch titled "pinctrl: fsl: add scu based pinctrl support" causes
>> regression on i.MX6. Tested on a custom board based on
>> i.MX6Q and sgtl5000 codec, there is no sound,  tested with simple wav
>> playing.
>>
>> Reverting the patch makes audio work again.
> Which kernel version do you use?
>
> Most likely this has already been fixed by the following commit:
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/drivers/pinctrl/freescale/pinctrl-imx.c?h=v5.0-rc2&id=571610678bf344006ab4c47c6fd0a842e9ac6a1b
>
> Please let us know if you still have issues with such commit applied.

I am merging mainline and this regression is present in 5.0-rc2 so it should have the mentioned patch applied.

Obviously I had to revert them both ("pinctrl: imx: fix NO_PAD_CTL setting for MMIO pads"
 and "pinctrl: fsl: add scu based pinctrl support"), and after that it works. Is there something more I could test?


--Mika



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Regression: i.MX6: pinctrl: fsl: add scu based pinctrl support
  2019-01-14 17:17   ` Mika Penttilä
@ 2019-01-14 17:35     ` Fabio Estevam
  2019-01-18  8:29     ` Aisheng Dong
  1 sibling, 0 replies; 5+ messages in thread
From: Fabio Estevam @ 2019-01-14 17:35 UTC (permalink / raw)
  To: Mika Penttilä; +Cc: aisheng.dong, shawnguo, linux-kernel

Hi Mika,

On Mon, Jan 14, 2019 at 3:17 PM Mika Penttilä
<mika.penttila@nextfour.com> wrote:

> I am merging mainline and this regression is present in 5.0-rc2 so it should have the mentioned patch applied.

Merging mainline? Could you test this against a clean mainline tree?

> Obviously I had to revert them both ("pinctrl: imx: fix NO_PAD_CTL setting for MMIO pads"
>  and "pinctrl: fsl: add scu based pinctrl support"), and after that it works. Is there something more I could test?

Please share your dts so that we can try to understand what is going on.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE: Regression: i.MX6: pinctrl: fsl: add scu based pinctrl support
  2019-01-14 17:17   ` Mika Penttilä
  2019-01-14 17:35     ` Fabio Estevam
@ 2019-01-18  8:29     ` Aisheng Dong
  1 sibling, 0 replies; 5+ messages in thread
From: Aisheng Dong @ 2019-01-18  8:29 UTC (permalink / raw)
  To: Mika Penttilä, Fabio Estevam; +Cc: shawnguo, linux-kernel

> -----Original Message-----
> From: Mika Penttilä [mailto:mika.penttila@nextfour.com]
> Sent: Tuesday, January 15, 2019 1:18 AM
> 
> Hi!
> 
> On 14.1.2019 18.58, Fabio Estevam wrote:
> > Hi Mika,
> >
> > On Mon, Jan 14, 2019 at 8:21 AM Mika Penttilä
> > <mika.penttila@nextfour.com> wrote:
> >> Hello,
> >>
> >>
> >> The patch titled "pinctrl: fsl: add scu based pinctrl support" causes
> >> regression on i.MX6. Tested on a custom board based on i.MX6Q and
> >> sgtl5000 codec, there is no sound,  tested with simple wav playing.
> >>
> >> Reverting the patch makes audio work again.
> > Which kernel version do you use?
> >

[...]

> > Please let us know if you still have issues with such commit applied.
> 
> I am merging mainline and this regression is present in 5.0-rc2 so it should
> have the mentioned patch applied.
> 
> Obviously I had to revert them both ("pinctrl: imx: fix NO_PAD_CTL setting for
> MMIO pads"
>  and "pinctrl: fsl: add scu based pinctrl support"), and after that it works. Is
> there something more I could test?
> 

Any status update?

Can you please try enable CONFIG_DEBUG_PINCTRL which can help you locate
the root cause?
Don't forget to add "DEBUG" in kernel boot param. Or you can use dmesg.

Regards
Dong Aisheng

> 
> --Mika
> 


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-01-18  8:29 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-14 10:21 Regression: i.MX6: pinctrl: fsl: add scu based pinctrl support Mika Penttilä
2019-01-14 16:58 ` Fabio Estevam
2019-01-14 17:17   ` Mika Penttilä
2019-01-14 17:35     ` Fabio Estevam
2019-01-18  8:29     ` Aisheng Dong

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).