Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp5158459imm; Tue, 16 Oct 2018 06:10:40 -0700 (PDT) X-Google-Smtp-Source: ACcGV60Xs0JVL2i+poES2LTBgSeALyhaRHGGX/OXAyn1Ydj8foPQejj1zITohaBK/3mlkzlr/Uf5 X-Received: by 2002:a17:902:187:: with SMTP id b7-v6mr21526293plb.150.1539695440031; Tue, 16 Oct 2018 06:10:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539695439; cv=none; d=google.com; s=arc-20160816; b=HQ5AdXytFvuquAMllVvMlYkQ5W97ahw6qKaLr6oDBRtlH2IgqMi1oOypJrHSMqh9pW CRChracQZFNA7/A+S6ScWaq+rhna3WdKnob6dQCf53dFDwNwkbDCbxuuUkmAUDuB4AyX hvkTTlrecXaoWtz0zQQxHybSCj6wgjm8lyBaa3AJph/2q8me2LDibeN6rlr1vb3v6U4T hCY6urdxmNYfPozB8RlW4dmfd3DkAwlwJmzqS8GNSzabH/FJVbMLCLymvKVZ1RuvtBVu v5h6FS8JvOUurcyUhyZosJEZ94uD11apAq67+XHU5r3bBNrokUEe6tOXJqcPRSyJXG98 ZyNA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=S+YwlvGKgqVBzawjXi4gT3e3M2kOjyLok/yPGREotpE=; b=CRGGNTuIQ+d0VhNwvoxfDos1AtZwyGKYR0GUZz3acdsChCTSysG2oGOHcs4p1iSFaS Y2DiD9GOEIdtRySoYEdu1qAjzueU64e0nFFE/5h/YogD4GET/3mMWd14QzuDZKTIdSXU FBT19R/mFfR2Q7Acq1bS3V1WbJTKghBUyDy16JHOI7Qb39xR2jkOG8/DkJh2a7YGdjnC /hsw7x0J6GvpsQDkGI7FJNVEmEDIoBFnhq4ldb3xY16nX3K4+1+eKv1qvIvbOhVxPRD1 hIf6mELhuExqRodrdoovUJbCP1H3ukjyfLcJI2In3TyonVNfjeTo664SsDsCvs1Wb3Bk PzVw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m185-v6si9682007pgm.206.2018.10.16.06.10.23; Tue, 16 Oct 2018 06:10:39 -0700 (PDT) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727210AbeJPU73 (ORCPT + 99 others); Tue, 16 Oct 2018 16:59:29 -0400 Received: from gloria.sntech.de ([185.11.138.130]:44220 "EHLO gloria.sntech.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726778AbeJPU72 (ORCPT ); Tue, 16 Oct 2018 16:59:28 -0400 Received: from wd0405.dip.tu-dresden.de ([141.76.109.149] helo=phil.localnet) by gloria.sntech.de with esmtpsa (TLS1.0:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gCP5q-0004ho-Az; Tue, 16 Oct 2018 15:09:02 +0200 From: Heiko Stuebner To: Otavio Salvador Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, Rob Herring , Mark Rutland Subject: Re: [PATCH] ARM: dts: rv1108-evb: enable eMMC support Date: Tue, 16 Oct 2018 15:09:01 +0200 Message-ID: <6815120.yyevdQbq0d@phil> In-Reply-To: <20181009213656.27719-1-otavio@ossystems.com.br> References: <20181009213656.27719-1-otavio@ossystems.com.br> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Otavio, Am Dienstag, 9. Oktober 2018, 23:36:56 CEST schrieb Otavio Salvador: > Enable eMMC support for rv1108 evaluation board. > > Signed-off-by: Otavio Salvador > --- > > arch/arm/boot/dts/rv1108-evb.dts | 8 ++++++++ > arch/arm/boot/dts/rv1108.dtsi | 29 +++++++++++++++++++++++++++++ > 2 files changed, 37 insertions(+) > > diff --git a/arch/arm/boot/dts/rv1108-evb.dts b/arch/arm/boot/dts/rv1108-evb.dts > index 70f0106d1252..f3c6f52c49e6 100644 > --- a/arch/arm/boot/dts/rv1108-evb.dts > +++ b/arch/arm/boot/dts/rv1108-evb.dts > @@ -226,6 +226,14 @@ > status = "okay"; > }; > > +&emmc { > + cap-mmc-highspeed; > + supports-emmc; > + non-removable; > + num-slots = <1>; num-slots should not be present anymore on new additions Also missing the pinctrl settings you're defining below? Aka pinctrl-0 = <&emmc_*>; + pinctrl-names = "default" Heiko > + status = "okay"; > +}; > + > &u2phy { > status = "okay"; > > diff --git a/arch/arm/boot/dts/rv1108.dtsi b/arch/arm/boot/dts/rv1108.dtsi > index 76ea24636feb..f14a733d85f6 100644 > --- a/arch/arm/boot/dts/rv1108.dtsi > +++ b/arch/arm/boot/dts/rv1108.dtsi > @@ -772,6 +772,35 @@ > }; > }; > > + emmc { > + emmc_clk: emmc-clk { > + rockchip,pins = <2 RK_PB6 RK_FUNC_1 &pcfg_pull_none_drv_8ma>; > + }; > + > + emmc_cmd: emmc-cmd { > + rockchip,pins = <2 RK_PB4 RK_FUNC_2 &pcfg_pull_up_drv_8ma>; > + }; > + > + emmc_pwren: emmc-pwren { > + rockchip,pins = <2 RK_PC2 RK_FUNC_2 &pcfg_pull_none>; > + }; > + > + emmc_bus1: emmc-bus1 { > + rockchip,pins = <2 RK_PA0 RK_FUNC_2 &pcfg_pull_up_drv_8ma>; > + }; > + > + emmc_bus8: emmc-bus8 { > + rockchip,pins = <2 RK_PA0 RK_FUNC_2 &pcfg_pull_up_drv_8ma>, > + <2 RK_PA1 RK_FUNC_2 &pcfg_pull_up_drv_8ma>, > + <2 RK_PA2 RK_FUNC_2 &pcfg_pull_up_drv_8ma>, > + <2 RK_PA3 RK_FUNC_2 &pcfg_pull_up_drv_8ma>, > + <2 RK_PA4 RK_FUNC_2 &pcfg_pull_up_drv_8ma>, > + <2 RK_PA5 RK_FUNC_2 &pcfg_pull_up_drv_8ma>, > + <2 RK_PA6 RK_FUNC_2 &pcfg_pull_up_drv_8ma>, > + <2 RK_PA7 RK_FUNC_2 &pcfg_pull_up_drv_8ma>; > + }; > + }; > + > sdmmc { > sdmmc_clk: sdmmc-clk { > rockchip,pins = <3 RK_PC4 RK_FUNC_1 &pcfg_pull_none_drv_4ma>; >