Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp3411936ybx; Sun, 3 Nov 2019 18:24:24 -0800 (PST) X-Google-Smtp-Source: APXvYqzC0rtMiEYcaXDHTnQ8aQWjb0j5U1U69iD5espwHXKH9ljIADIiI5pdk5XV47QQKm6aWtRM X-Received: by 2002:a50:bb48:: with SMTP id y66mr26889830ede.66.1572834264259; Sun, 03 Nov 2019 18:24:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1572834264; cv=none; d=google.com; s=arc-20160816; b=RvcEnvbLKvPH+xO2O5XunIEEdf94xmpciA4I1Kmo+q1PCZY00mPlmPT0op7JWPWCjX nMOr68tyl42PKvGUdy28gcmgPkg1oDjiKGdmu8RUbf1eVoYH19D6l25UyIRQ2DiHE7Xp ELua8SvrAEOwhKIIVoOv/KBhhN578WEjce6yIc8iuIb9mBEKLk+B0S35GXRtWSd5pWwk oLPvCD4h5E9AnKBn8Qm4nMxwqG9ug3T+rBtjTZWhcnO3xSa11VniFwhRxCnWZJ8B5otq JbKi7r8DmpswBWWbo65z7mbZjIauXIgvdylAVycKRfYko5S0e4U0zganA4t6Hwm7M9Lp mvrg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=NYUSikbcK8e72+vLd/LUGq20vomTTPgdsEnIBG3+avY=; b=NUbV8M27hp8fUwEp6fsXadkiIhnKvfIfu2KB8iOcLTSK8Z7uWx41UQoxEkA1tQrzqt 9g3l3DmdMTA7sIyJBChKXKM1SYAiDvp7nXy8H404uHPpYwpBJiJzGs+kBpMS1xWpkZ89 6tNMCDk554AV9GcLcjfIp6get6FACodVXTNjsscSUllYWcJGG1FV/1aHrQr+c6j38hh1 ZtL15s6VjGaGx6rnAtQetxxNRbATOFYmklhtgXhhHVllpf4hSkdf5ZoLdgW63GqVsNSK mQj7kNtusuDCRL/sX6et6JJyDCubXFcVYjr29WsCu2vFeVgr6VyqtnY2xpKp9AvymSL5 ZlOg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=uFGqMMQU; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f6si4431511ejx.0.2019.11.03.18.23.58; Sun, 03 Nov 2019 18:24:24 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=uFGqMMQU; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728904AbfKDB5t (ORCPT + 99 others); Sun, 3 Nov 2019 20:57:49 -0500 Received: from mail.kernel.org ([198.145.29.99]:45810 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728432AbfKDB5t (ORCPT ); Sun, 3 Nov 2019 20:57:49 -0500 Received: from dragon (li1038-30.members.linode.com [45.33.96.30]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 5FBEA217F5; Mon, 4 Nov 2019 01:57:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1572832668; bh=mtTHSbd7Hygdqlh64EyjBn0IsDGy91z2yQc/KOzX5WU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=uFGqMMQUSdY8FeF1cxANXcYO0epjGC61gmKn4S+OW0/Fx4k3PD3xtBqv9JPI9642X 2xPvSnF+uXUEXdrhuT8Rc/n6L6aPR3hypcKwH97mHpRtARM1mtV+sByJLA/hhyV9ja rum3NU0wfmTs9wtJTTYMYKB9FtlsaQmB+oo7kX38= Date: Mon, 4 Nov 2019 09:57:23 +0800 From: Shawn Guo To: Anson Huang Cc: robh+dt@kernel.org, mark.rutland@arm.com, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Linux-imx@nxp.com Subject: Re: [PATCH V2] ARM: dts: imx7ulp-evk: Use APLL_PFD1 as usdhc's clock source Message-ID: <20191104015722.GM24620@dragon> References: <1572482622-22070-1-git-send-email-Anson.Huang@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1572482622-22070-1-git-send-email-Anson.Huang@nxp.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Oct 31, 2019 at 08:43:42AM +0800, Anson Huang 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: ============================================ > > Fixes: 20434dc92c05 ("ARM: dts: imx: add common imx7ulp dtsi support") > Signed-off-by: Anson Huang > Tested-by: Fabio Estevam Applied, thanks.