linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: Thierry Reding <thierry.reding@gmail.com>
To: "Uwe Kleine-König" <u.kleine-koenig@pengutronix.de>
Cc: Aisheng Dong <aisheng.dong@nxp.com>,
	Abel Vesa <abel.vesa@nxp.com>,
	"dri-devel@lists.freedesktop.org"
	<dri-devel@lists.freedesktop.org>,
	dl-linux-imx <linux-imx@nxp.com>,
	Philipp Zabel <p.zabel@pengutronix.de>,
	Fabio Estevam <fabio.estevam@nxp.com>,
	Leonard Crestez <leonard.crestez@nxp.com>,
	Shawn Guo <shawnguo@kernel.org>,
	"kernel@pengutronix.de" <kernel@pengutronix.de>,
	"linux-arm-kernel@lists.infradead.org"
	<linux-arm-kernel@lists.infradead.org>
Subject: Re: [PATCH] ARM: imx_v6_v7_defconfig: Enable CONFIG_PWM_IMX27
Date: Fri, 22 Mar 2019 10:47:00 +0100	[thread overview]
Message-ID: <20190322094700.GE28640@ulmo> (raw)
In-Reply-To: <20190321094903.p5smdd43r4tpj2kf@pengutronix.de>


[-- Attachment #1.1: Type: text/plain, Size: 3517 bytes --]

On Thu, Mar 21, 2019 at 10:49:03AM +0100, Uwe Kleine-König wrote:
> Hello,
> 
> On Wed, Mar 20, 2019 at 01:01:26PM +0000, Leonard Crestez wrote:
> > Commit d80f8206905c ("pwm: imx: Split into two drivers") also adds a new
> > CONFIG_PWM_IMX27 for the PWM block on recent IMX chips and we should
> > enable it by default for imx.
> > 
> > Restoring the PWM driver fixes an infinite probe loop in 5.1-rc1 on
> > various imx6qdl-sabresd boards.
> > 
> > Signed-off-by: Leonard Crestez <leonard.crestez@nxp.com>
> > Reported-by: Abel Vesa <abel.vesa@nxp.com>
> 
> This is prior art:
> 
> https://patchwork.ozlabs.org/project/linux-pwm/list/?series=85452&state=%2A&archive=both
> 
> unfortunately this didn't get an Ack by Shawn and Thierry (added to
> recipients) marked it as "Not Applicable".

If I mark patches as "not applicable" it generally means that I don't
intend to apply them to the PWM tree.

Thierry

> Given that the driver change is in Linus Torvald's tree now (since
> v5.1-rc1~38) it doesn't matter much via which tree this goes in and
> Shawn's tree is the easier now.
> 
> @Shawn: Would you please apply my patches? If you don't have them any
> more, I can bounce them to you. See
> 
> 	git show v5.1-rc1~38^2~17 -- drivers/pwm/Kconfig
> 
> for their justification.
> 
> > ---
> >  arch/arm/configs/imx_v6_v7_defconfig | 1 +
> >  1 file changed, 1 insertion(+)
> > 
> > Probe loop repeats following lines:
> > 
> > [    3.625031] pwm-backlight backlight-lvds: backlight-lvds supply power not found, using dummy regulator
> > [    3.635868] panel-simple panel: panel supply power not found, using dummy regulator
> > [    3.644844] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
> > [    3.651478] [drm] No driver support for vblank timestamp query.
> > [    3.657660] imx-drm display-subsystem: bound imx-ipuv3-crtc.2 (ops ipu_crtc_ops)
> > [    3.665240] imx-drm display-subsystem: bound imx-ipuv3-crtc.3 (ops ipu_crtc_ops)
> > [    3.672819] imx-drm display-subsystem: bound imx-ipuv3-crtc.6 (ops ipu_crtc_ops)
> > [    3.680393] imx-drm display-subsystem: bound imx-ipuv3-crtc.7 (ops ipu_crtc_ops)
> > [    3.688312] dwhdmi-imx 120000.hdmi: Detected HDMI TX controller v1.30a with HDCP (DWC HDMI 3D TX PHY)
> > [    3.699743] imx-drm display-subsystem: bound 120000.hdmi (ops dw_hdmi_imx_ops)
> > [    3.707343] imx-drm display-subsystem: failed to bind ldb (ops imx_ldb_ops): -517
> > [    3.716921] imx-drm display-subsystem: master bind failed: -517
> >
> > Maybe it's an imx-drm bug which got exposed by accident?
> 
> IMHO this should be debugged independent of this patch.
>  
> > diff --git a/arch/arm/configs/imx_v6_v7_defconfig b/arch/arm/configs/imx_v6_v7_defconfig
> > index 5586a5074a96..2fa5074f5244 100644
> > --- a/arch/arm/configs/imx_v6_v7_defconfig
> > +++ b/arch/arm/configs/imx_v6_v7_defconfig
> > @@ -397,10 +397,11 @@ CONFIG_SENSORS_ISL29018=y
> >  CONFIG_MAG3110=y
> >  CONFIG_MPL3115=y
> >  CONFIG_PWM=y
> >  CONFIG_PWM_FSL_FTM=y
> >  CONFIG_PWM_IMX=y
> > +CONFIG_PWM_IMX27=y
> 
> PWM_IMX is gone, so this can be dropped (but see my patch referenced
> above).
> 
> >  CONFIG_NVMEM_IMX_OCOTP=y
> >  CONFIG_NVMEM_VF610_OCOTP=y
> >  CONFIG_TEE=y
> >  CONFIG_OPTEE=y
> >  CONFIG_MUX_MMIO=y
> 
> Best regards
> Uwe
> 
> -- 
> Pengutronix e.K.                           | Uwe Kleine-König            |
> Industrial Linux Solutions                 | http://www.pengutronix.de/  |

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

[-- Attachment #2: Type: text/plain, Size: 176 bytes --]

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

  parent reply	other threads:[~2019-03-22  9:47 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-20 13:01 [PATCH] ARM: imx_v6_v7_defconfig: Enable CONFIG_PWM_IMX27 Leonard Crestez
2019-03-21  9:49 ` Uwe Kleine-König
2019-03-21 10:03   ` Leonard Crestez
2019-03-22  2:18   ` Shawn Guo
2019-03-22  9:47   ` Thierry Reding [this message]
2019-03-22 10:43     ` Uwe Kleine-König

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190322094700.GE28640@ulmo \
    --to=thierry.reding@gmail.com \
    --cc=abel.vesa@nxp.com \
    --cc=aisheng.dong@nxp.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=fabio.estevam@nxp.com \
    --cc=kernel@pengutronix.de \
    --cc=leonard.crestez@nxp.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-imx@nxp.com \
    --cc=p.zabel@pengutronix.de \
    --cc=shawnguo@kernel.org \
    --cc=u.kleine-koenig@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).