mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Shaveta Leekha <shaveta@freescale.com>
To: <linux-kernel@vger.kernel.org>, <linux-gpio@vger.kernel.org>
Cc: <r64188@freescale.com>, <gnurou@gmail.com>,
	<linus.walleij@linaro.org>,
	Shaveta Leekha <shaveta@freescale.com>
Subject: [PATCH 2/3] drivers/gpio/Kconfig: enable GPIO configs for LS1021A SoC
Date: Thu, 30 Jul 2015 12:57:18 +0530	[thread overview]
Message-ID: <1438241239-15178-2-git-send-email-shaveta@freescale.com> (raw)
In-Reply-To: <1438241239-15178-1-git-send-email-shaveta@freescale.com>

This patch enable configs for GPIOs found on
Freescale's LS1021A SOCs

It also makes mutual exclusion with ARCH_MXC,
since the GPIO controller on LS1020A SOC
is different from ARCH_MXC GPIO controllers

Signed-off-by: Shaveta Leekha <shaveta@freescale.com>
---
Tested on Freescale SDK 1.8, as LS1021aQDS support is not yet complete in upstream

 drivers/gpio/Kconfig |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
index 3a9dc1a..d933a77 100644
--- a/drivers/gpio/Kconfig
+++ b/drivers/gpio/Kconfig
@@ -290,10 +290,10 @@ config GPIO_MPC5200
 config GPIO_MPC8XXX
 	bool "MPC512x/MPC8xxx GPIO support"
 	depends on PPC_MPC512x || PPC_MPC831x || PPC_MPC834x || PPC_MPC837x || \
-		   FSL_SOC_BOOKE || PPC_86xx
+		   FSL_SOC_BOOKE || PPC_86xx || SOC_LS1021A
 	help
 	  Say Y here if you're going to use hardware that connects to the
-	  MPC512x/831x/834x/837x/8572/8610 GPIOs.
+	  MPC512x/831x/834x/837x/8572/8610/LS1021A GPIOs.
 
 config GPIO_MSM_V2
 	tristate "Qualcomm MSM GPIO v2"
@@ -311,7 +311,7 @@ config GPIO_MVEBU
 
 config GPIO_MXC
 	def_bool y
-	depends on ARCH_MXC
+	depends on ARCH_MXC && !SOC_LS1021A
 	select GPIO_GENERIC
 	select GENERIC_IRQ_CHIP
 
-- 
1.7.7.4


  reply	other threads:[~2015-07-30  7:27 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-30  7:27 [PATCH 1/3] drivers/gpio: Port gpio driver to ls1021a-qds platform Shaveta Leekha
2015-07-30  7:27 ` Shaveta Leekha [this message]
2015-07-30  7:27 ` [PATCH 3/3] arm/dts/ls1021a: Add GPIO controller nodes Shaveta Leekha
2015-08-03  8:10   ` Linus Walleij
2015-08-03  8:12     ` Linus Walleij
2015-08-03  8:07 ` [PATCH 1/3] drivers/gpio: Port gpio driver to ls1021a-qds platform Linus Walleij
2015-08-13  7:46   ` Alexander Stein
2015-08-17 13:44     ` Linus Walleij

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=1438241239-15178-2-git-send-email-shaveta@freescale.com \
    --to=shaveta@freescale.com \
    --cc=gnurou@gmail.com \
    --cc=linus.walleij@linaro.org \
    --cc=linux-gpio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=r64188@freescale.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®