Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp3787277imm; Mon, 2 Jul 2018 05:41:36 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcZhdn3FalTeUYxyemqMKZW6/bDRS4NX8pZkcUngIKiqX6Q8pSuVsGJLkfKQ90XJyvN7Hot X-Received: by 2002:a65:5a01:: with SMTP id y1-v6mr10844090pgs.125.1530535295975; Mon, 02 Jul 2018 05:41:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530535295; cv=none; d=google.com; s=arc-20160816; b=unWrvd0KdkZOQBnpG9l31R01CctSRcbPRDQrSaysypgh5bYxxRp3aZ1lV2gryU3WW+ kSyUCw9IBzcGt5SCBVL8gQsLtDzpn0xbzSRW7WQJd5XbN2oEOicqik2z/v8eiB662obE fHi4X9e1EQsE8y6QC2O5KeA6FYZYpQyn+SWT5gP+dl0kTCSSHPFaF3qEDJ8kkEpDwWK8 5JJW1hlX8aBRmseL/bg8ctrszIuFpOBRDm4lb4lbIdmf+mwQeq/NWcCuzsA+aSd2tz8A OKYXrR3X1qcoOa5UcSQsgn24Vhua0jYdSA5zhUcQG16opMAywP0EOzqL60m1VzQHkfdB omdA== 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:arc-authentication-results; bh=ZJWJsNMO4SXPRcrQ82/1iPD8qhH4EvaA0APlf0BgurM=; b=hVSIssGsNvdp9/s5P8TwzwV2Y918eZ/n4+anle5eiiQTJURByj8t1Rlkpa7KhkNTuO 7rGL5c0EIofseAqmFoCiOQ1bJpa5nvnWaGAfHLBJToB1SAP9mxmSXnFCU9kTtt4T5aLh ZWwHaJdQMz1hYh0OpatUqUGhizhiStwXUQes0GxNaNcC/SmckjCgPeGv3KziHa8fEZIF XHy/JzbWwTyy7E39zYv2Ffp9xwyD36F7iMevnFWTyIS06qxWhN99RsbA0vbFVG1Ybifh NrjmokPFcMy0C8Q6XVFLU9WCcVC1WVfvuBeELNUr+aEVxN+uNduGoxw5Fs0kfx3TWVV4 zMfg== 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 c1-v6si10974882pli.76.2018.07.02.05.41.21; Mon, 02 Jul 2018 05:41:35 -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 S1754651AbeGBKun (ORCPT + 99 others); Mon, 2 Jul 2018 06:50:43 -0400 Received: from muru.com ([72.249.23.125]:49492 "EHLO muru.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753124AbeGBKul (ORCPT ); Mon, 2 Jul 2018 06:50:41 -0400 Received: from atomide.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id 15A388047; Mon, 2 Jul 2018 10:53:35 +0000 (UTC) Date: Mon, 2 Jul 2018 03:50:38 -0700 From: Tony Lindgren To: Robert Nelson Cc: Faiz Abbas , linux kernel , devicetree , linux-omap , Mark Rutland , Rob Herring , =?utf-8?Q?Beno=C3=AEt?= Cousson , Sekhar Nori Subject: Re: [PATCH] ARM: dts: am33xx: Add pinmux data for mmc1 in am335x-evm, evmsk and beaglebone Message-ID: <20180702105037.GQ112168@atomide.com> References: <1523447304-21037-1-git-send-email-faiz_abbas@ti.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.0 (2018-05-17) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Robert Nelson [180618 14:00]: > On Wed, Apr 11, 2018 at 6:48 AM, Faiz Abbas wrote: > > am335x-evm, am335x-evmsk and am335x-beaglebone are currently relying on > > pinmux set by the bootloader to set the correct value for mmc1. Fix > > this by adding pinmux data for the same in kernel. > > > > Signed-off-by: Faiz Abbas > > --- > > arch/arm/boot/dts/am335x-bone-common.dtsi | 9 ++++++++- > > arch/arm/boot/dts/am335x-evm.dts | 9 ++++++++- > > arch/arm/boot/dts/am335x-evmsk.dts | 9 ++++++++- > > 3 files changed, 24 insertions(+), 3 deletions(-) > > > > diff --git a/arch/arm/boot/dts/am335x-bone-common.dtsi b/arch/arm/boot/dts/am335x-bone-common.dtsi > > index e67b4d6..f9e8667 100644 > > --- a/arch/arm/boot/dts/am335x-bone-common.dtsi > > +++ b/arch/arm/boot/dts/am335x-bone-common.dtsi > > @@ -161,7 +161,14 @@ > > > > mmc1_pins: pinmux_mmc1_pins { > > pinctrl-single,pins = < > > - AM33XX_IOPAD(0x960, PIN_INPUT | MUX_MODE7) /* GPIO0_6 */ > > + AM33XX_IOPAD(0x960, PIN_INPUT | MUX_MODE7) /* spio0_cs1.gpio0_6 */ > > + AM33XX_IOPAD(0x8fc, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc0_dat0.mmc0_dat0 */ > > + AM33XX_IOPAD(0x8f8, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc0_dat1.mmc0_dat1 */ > > + AM33XX_IOPAD(0x8f4, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc0_dat2.mmc0_dat2 */ > > + AM33XX_IOPAD(0x8f0, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc0_dat3.mmc0_dat3 */ > > + AM33XX_IOPAD(0x904, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc0_cmd.mmc0_cmd */ > > + AM33XX_IOPAD(0x900, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc0_clk.mmc0_clk */ > > + AM33XX_IOPAD(0x9a0, PIN_INPUT | MUX_MODE4) /* mcasp0_aclkr.mmc0_sdwp */ > > We went one pin too far on the Beagle's here: > > 0x9a0 ( mcasp0_aclkr.mmc0_sdwp ) = Routed to P9_42, (muxed with C18, > to a shared pin on the header), so not connected to the microSD > socket... > > https://github.com/beagleboard/beaglebone-black/blob/master/BBB_SCH.pdf > > Looking at this evm schematic, it looks like 0x9a0 should be removed > too, but I'm not sure on all revisions: > > http://processors.wiki.ti.com/images/a/a2/TMDSSK3358_3H0009_REV1_2B_SCH.pdf Hmm care to post a fix for this? Regards, Tony