Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id EAF8DC433EF for ; Mon, 2 May 2022 05:24:19 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 5571483B2C; Mon, 2 May 2022 07:24:17 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1651469057; bh=O+SucK6vAVhCJbFWU7SfyD+u4PqNzAqKMSnc9+Q5sII=; h=Date:Subject:To:Cc:References:From:In-Reply-To:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=B9ke/vIpNLyhllA5opeqTf33K4oi1ZtZ3fLYArBduLiJFc5vY0AoBYP+bjsjIHyv2 TcIsqUtLFXHZYqelFFO+jfmdnXTMBBdrxs8OqDcgqBahK4pVg88DirU1Pq+k+cu23N 1pG6QFSBhbEGRNq4rG2AkJtMakeDRZ1rCQXd4yh2fhBXad54Rh2uk4Wq9y/VPdyDs2 YlTN5LeZYQ9X503DQHgjIu1i6vyY2vwyOAk2D8e6fgS5506StPD+Peuf7IsyoaQLWp H2nUPw9VmovMsZTwRu7v7/WQKayrRhLOwu4k6e0PaTKV+eTTF1L66XVT04Kvl/vVoB oLds2Bl1K6Ejw== Received: by phobos.denx.de (Postfix, from userid 109) id 2800083040; Mon, 2 May 2022 07:24:16 +0200 (CEST) Received: from mout-u-107.mailbox.org (mout-u-107.mailbox.org [91.198.250.252]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id CE8E883D60 for ; Mon, 2 May 2022 07:24:13 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=fail smtp.mailfrom=sr@denx.de Received: from smtp202.mailbox.org (smtp202.mailbox.org [IPv6:2001:67c:2050:b231:465::202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-u-107.mailbox.org (Postfix) with ESMTPS id 4KsBNF1tDZz9sWN; Mon, 2 May 2022 07:24:13 +0200 (CEST) Message-ID: <2d051076-abda-1d4e-ea82-9115ce2d73fb@denx.de> Date: Mon, 2 May 2022 07:23:55 +0200 MIME-Version: 1.0 Subject: Re: [PATCH] ARM: mvebu: x530: set MPP55 to gpio Content-Language: en-US To: Chris Packham , u-boot@lists.denx.de Cc: Chris Packham , Tom Rini References: <20220502031625.1725916-1-judge.packham@gmail.com> From: Stefan Roese In-Reply-To: <20220502031625.1725916-1-judge.packham@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.5 at phobos.denx.de X-Virus-Status: Clean On 02.05.22 05:16, Chris Packham wrote: > MPP55 is used as a reset connected to the L3 switch chip. This doesn't > matter for u-boot as it doesn't use the L3 switch but it is useful to > be able to toggle the switch in/out of reset for the OS. > > Signed-off-by: Chris Packham Reviewed-by: Stefan Roese Thanks, Stefan > --- > I sent this out a while back but it was part of a series that has been dropped > for the time being. There's not reason to hold this change up behind the other > so I'm sending it as a standalong change. Good. > > board/alliedtelesis/x530/x530.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/board/alliedtelesis/x530/x530.c b/board/alliedtelesis/x530/x530.c > index c0ec2afa3011..cbf4533e78de 100644 > --- a/board/alliedtelesis/x530/x530.c > +++ b/board/alliedtelesis/x530/x530.c > @@ -93,7 +93,7 @@ int board_early_init_f(void) > writel(0x55550550, MVEBU_MPP_BASE + 0x0c); > writel(0x55555555, MVEBU_MPP_BASE + 0x10); > writel(0x00100565, MVEBU_MPP_BASE + 0x14); > - writel(0x40000000, MVEBU_MPP_BASE + 0x18); > + writel(0x00000000, MVEBU_MPP_BASE + 0x18); > writel(0x00004444, MVEBU_MPP_BASE + 0x1c); > > return 0; Viele Grüße, Stefan Roese -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-51 Fax: (+49)-8142-66989-80 Email: sr@denx.de