All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrew Jeffery <andrew@aj.id.au>
To: joel@jms.id.au
Cc: Andrew Jeffery <andrew@aj.id.au>,
	openbmc@lists.ozlabs.org, bradleyb@fuzziesquirrel.com,
	ken.th.liu@foxconn.com, john.hc.wang@foxconn.com
Subject: [PATCH linux dev-4.10 v3 1/3] aspeed: barreleye: Remove unnecessary GPIO configuration
Date: Fri,  5 May 2017 12:12:24 +0930	[thread overview]
Message-ID: <20170505024227.30962-2-andrew@aj.id.au> (raw)
In-Reply-To: <20170505024227.30962-1-andrew@aj.id.au>

These values will be configured by requesting the GPIOs from userspace,
as the GPIO controller plumbs its pin request through the pinctrl
subsystem.

Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
---
 arch/arm/mach-aspeed/aspeed.c | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/arch/arm/mach-aspeed/aspeed.c b/arch/arm/mach-aspeed/aspeed.c
index 0f1a536ba1b2..88d0a59d043d 100644
--- a/arch/arm/mach-aspeed/aspeed.c
+++ b/arch/arm/mach-aspeed/aspeed.c
@@ -64,13 +64,6 @@ static void __init do_barreleye_setup(void)
 	writel(0x9E82FCE7, AST_IO(AST_BASE_GPIO | 0x00));
 	writel(0x0370E677, AST_IO(AST_BASE_GPIO | 0x04));
 
-	/* SCU setup
-	 *  - GPION must be set to GPIO mode (SCU88[0:7] = 0) on
-	 *    Barreleye so they can be used to read the PCIe inventory
-	 *    status
-	 */
-	writel(0x01C00000, AST_IO(AST_BASE_SCU | 0x88));
-
 	/* To enable GPIOE0 pass through function debounce mode */
 	writel(0x010FFFFF, AST_IO(AST_BASE_SCU | 0xA8));
 
-- 
2.9.3

  reply	other threads:[~2017-05-05  2:43 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-05  2:42 [PATCH linux dev-4.10 v3 0/3] Clean up mach-aspeed/aspeed.c Andrew Jeffery
2017-05-05  2:42 ` Andrew Jeffery [this message]
2017-05-05  2:42 ` [PATCH linux dev-4.10 v3 2/3] aspeed: barreleye: Passthrough debounce isn't required Andrew Jeffery
2017-05-05  2:42 ` [PATCH linux dev-4.10 v3 3/3] aspeed: barreleye: Debounce BMC_PWBTN_IN_N through devicetree Andrew Jeffery
2017-06-05  8:18 ` [PATCH linux dev-4.10 v3 0/3] Clean up mach-aspeed/aspeed.c Andrew Jeffery
2017-06-06  7:37   ` Joel Stanley

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=20170505024227.30962-2-andrew@aj.id.au \
    --to=andrew@aj.id.au \
    --cc=bradleyb@fuzziesquirrel.com \
    --cc=joel@jms.id.au \
    --cc=john.hc.wang@foxconn.com \
    --cc=ken.th.liu@foxconn.com \
    --cc=openbmc@lists.ozlabs.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.