linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: Anson Huang <anson.huang@nxp.com>
To: Fabio Estevam <festevam@gmail.com>
Cc: Mark Rutland <mark.rutland@arm.com>,
	"open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS"
	<devicetree@vger.kernel.org>,
	Sascha Hauer <s.hauer@pengutronix.de>,
	linux-kernel <linux-kernel@vger.kernel.org>,
	Rob Herring <robh+dt@kernel.org>,
	dl-linux-imx <linux-imx@nxp.com>,
	Sascha Hauer <kernel@pengutronix.de>,
	Shawn Guo <shawnguo@kernel.org>,
	"moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE"
	<linux-arm-kernel@lists.infradead.org>
Subject: RE: [PATCH] ARM: dts: imx7ulp-evk: Use APLL_PFD1 as usdhc's clock source
Date: Thu, 31 Oct 2019 00:38:55 +0000	[thread overview]
Message-ID: <DB3PR0402MB391696BD522A252C9E386F0BF5630@DB3PR0402MB3916.eurprd04.prod.outlook.com> (raw)
In-Reply-To: <CAOMZO5CnBCbM2uhDpgUgRVXkVsPTDw27CxZUp3+FMZi+7DH1XQ@mail.gmail.com>

Hi, Fabio

> On Tue, Oct 29, 2019 at 7:06 AM Anson Huang <Anson.Huang@nxp.com>
> wrote:
> >
> > i.MX7ULP does NOT support runtime switching clock source for PCC,
> > APLL_PFD1 by default is usdhc's clock source, so just use it in kernel
> > to avoid below kernel dump during kernel boot up and make sure kernel
> > can boot up with SD root file-system.
> >
> > [    3.035892] Loading compiled-in X.509 certificates
> > [    3.136301] sdhci-esdhc-imx 40370000.mmc: Got CD GPIO
> > [    3.242886] mmc0: Reset 0x1 never completed.
> > [    3.247190] mmc0: sdhci: ============ SDHCI REGISTER DUMP
> ===========
> > [    3.253751] mmc0: sdhci: Sys addr:  0x00000000 | Version:  0x00000002
> > [    3.260218] mmc0: sdhci: Blk size:  0x00000200 | Blk cnt:  0x00000001
> > [    3.266775] mmc0: sdhci: Argument:  0x00009a64 | Trn mode:
> 0x00000000
> > [    3.273333] mmc0: sdhci: Present:   0x00088088 | Host ctl: 0x00000002
> > [    3.279794] mmc0: sdhci: Power:     0x00000000 | Blk gap:  0x00000080
> > [    3.286350] mmc0: sdhci: Wake-up:   0x00000008 | Clock:    0x0000007f
> > [    3.292901] mmc0: sdhci: Timeout:   0x0000008c | Int stat: 0x00000000
> > [    3.299364] mmc0: sdhci: Int enab:  0x007f010b | Sig enab: 0x00000000
> > [    3.305918] mmc0: sdhci: ACmd stat: 0x00000000 | Slot int: 0x00008402
> > [    3.312471] mmc0: sdhci: Caps:      0x07eb0000 | Caps_1:   0x0000b400
> > [    3.318934] mmc0: sdhci: Cmd:       0x0000113a | Max curr: 0x00ffffff
> > [    3.325488] mmc0: sdhci: Resp[0]:   0x00000900 | Resp[1]:  0x0039b37f
> > [    3.332040] mmc0: sdhci: Resp[2]:   0x325b5900 | Resp[3]:  0x00400e00
> > [    3.338501] mmc0: sdhci: Host ctl2: 0x00000000
> > [    3.343051] mmc0: sdhci:
> ============================================
> >
> > Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
> 
> Thanks, with this patch applied I can get SD card rootfs to get mounted:
> 
> Tested-by: Fabio Estevam <festevam@gmail.com>
> 
> I think this fix deserves a Fixes tag so that it can be backported to older
> kernels.

Will add fix tag in V2, thanks.

Anson

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

      reply	other threads:[~2019-10-31  0:39 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-29 10:02 [PATCH] ARM: dts: imx7ulp-evk: Use APLL_PFD1 as usdhc's clock source Anson Huang
2019-10-29 13:15 ` Fabio Estevam
2019-10-31  0:38   ` Anson Huang [this message]

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=DB3PR0402MB391696BD522A252C9E386F0BF5630@DB3PR0402MB3916.eurprd04.prod.outlook.com \
    --to=anson.huang@nxp.com \
    --cc=devicetree@vger.kernel.org \
    --cc=festevam@gmail.com \
    --cc=kernel@pengutronix.de \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-imx@nxp.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mark.rutland@arm.com \
    --cc=robh+dt@kernel.org \
    --cc=s.hauer@pengutronix.de \
    --cc=shawnguo@kernel.org \
    /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).