linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Tan Jui Nee <jui.nee.tan@intel.com>
To: mika.westerberg@linux.intel.com, heikki.krogerus@linux.intel.com,
	andriy.shevchenko@linux.intel.com, tglx@linutronix.de,
	dvhart@infradead.org, mingo@redhat.com, hpa@zytor.com,
	x86@kernel.org, ptyser@xes-inc.com, lee.jones@linaro.org,
	linus.walleij@linaro.org
Cc: linux-gpio@vger.kernel.org, platform-driver-x86@vger.kernel.org,
	linux-kernel@vger.kernel.org, jui.nee.tan@intel.com,
	jonathan.yong@intel.com, ong.hock.yu@intel.com,
	tony.luck@intel.com, wan.ahmad.zainie.wan.mohamad@intel.com,
	yunying.sun@intel.com
Subject: [PATCH v11 3/6] x86/intel-ivi: Add Intel In-Vehicle Infotainment (IVI) systems used in cars support
Date: Fri, 18 Nov 2016 13:22:27 +0800	[thread overview]
Message-ID: <1479446550-28677-4-git-send-email-jui.nee.tan@intel.com> (raw)
In-Reply-To: <1479446550-28677-1-git-send-email-jui.nee.tan@intel.com>

Add support for non ACPI system, such as system that uses Advanced Boot
Loader (ABL) whereby a platform device has to be created in order to bind
with PINCTRL/GPIO.

At the moment, Intel Apollo Lake SoC requires P2SB driver to hide and
unhide P2SB to lookup P2SB BAR and pass the PCI BAR address to GPIO.

Signed-off-by: Tan Jui Nee <jui.nee.tan@intel.com>
Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>
---
Changes in V11:
	- Select CONFIG_P2SB when CONFIG_X86_INTEL_IVI is enabled instead of
	  CONFIG_LPC_ICH is enabled. This is to fix kbuildbot error.

Changes in V10:
	- No change

Changes in V9:
	- No change

Changes in V8:
	- No change

 arch/x86/Kconfig | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index bada636..6019755 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -512,6 +512,16 @@ config X86_INTEL_CE
 	  This option compiles in support for the CE4100 SOC for settop
 	  boxes and media devices.
 
+config X86_INTEL_IVI
+	bool "Intel In-Vehicle Infotainment (IVI) systems used in cars"
+	depends on X86 && PCI
+	select P2SB
+	---help---
+	  Select this option to enable MMIO BAR access over the P2SB for
+	  non-ACPI Intel Apollo Lake SoC platforms. This driver uses the P2SB
+	  hide/unhide mechanism cooperatively to pass the PCI BAR address to
+	  the platform driver, currently GPIO.
+
 config X86_INTEL_MID
 	bool "Intel MID platform support"
 	depends on X86_EXTENDED_PLATFORM
-- 
1.9.1

  parent reply	other threads:[~2016-11-18  5:23 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-18  5:22 [PATCH v11 0/6] pinctrl/broxton: enable platform device in the absent of ACPI enumeration Tan Jui Nee
2016-11-18  5:22 ` [PATCH v11 1/6] drivers/platform/x86/p2sb: New Primary to Sideband bridge support driver for Intel SOC's Tan Jui Nee
2016-11-18  9:07   ` Mika Westerberg
2016-11-18 11:21   ` Andy Shevchenko
2016-11-21  3:52     ` Tan, Jui Nee
2016-11-18  5:22 ` [PATCH v11 2/6] mfd: lpc_ich: Rename lpc-ich driver Tan Jui Nee
2016-11-21 10:13   ` Lee Jones
2016-11-18  5:22 ` Tan Jui Nee [this message]
2016-11-18  9:20   ` [PATCH v11 3/6] x86/intel-ivi: Add Intel In-Vehicle Infotainment (IVI) systems used in cars support Thomas Gleixner
2016-11-18  5:22 ` [PATCH v11 4/6] mfd: move enum lpc_chipsets into lpc_ich.h Tan Jui Nee
2016-11-21 10:13   ` Lee Jones
2016-11-18  5:22 ` [PATCH v11 5/6] mfd: lpc_ich: Add Device IDs for Intel Apollo Lake PCH Tan Jui Nee
2016-11-21 10:15   ` Lee Jones
2016-11-18  5:22 ` [PATCH v11 6/6] mfd: lpc_ich: Add support for Intel Apollo Lake GPIO pinctrl in non-ACPI system Tan Jui Nee
2016-11-21 10:32   ` Lee Jones

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=1479446550-28677-4-git-send-email-jui.nee.tan@intel.com \
    --to=jui.nee.tan@intel.com \
    --cc=andriy.shevchenko@linux.intel.com \
    --cc=dvhart@infradead.org \
    --cc=heikki.krogerus@linux.intel.com \
    --cc=hpa@zytor.com \
    --cc=jonathan.yong@intel.com \
    --cc=lee.jones@linaro.org \
    --cc=linus.walleij@linaro.org \
    --cc=linux-gpio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mika.westerberg@linux.intel.com \
    --cc=mingo@redhat.com \
    --cc=ong.hock.yu@intel.com \
    --cc=platform-driver-x86@vger.kernel.org \
    --cc=ptyser@xes-inc.com \
    --cc=tglx@linutronix.de \
    --cc=tony.luck@intel.com \
    --cc=wan.ahmad.zainie.wan.mohamad@intel.com \
    --cc=x86@kernel.org \
    --cc=yunying.sun@intel.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;
as well as URLs for NNTP newsgroup(s).