diff mbox

[v11,3/6] x86/intel-ivi: Add Intel In-Vehicle Infotainment (IVI) systems used in cars support

Message ID 1479446550-28677-4-git-send-email-jui.nee.tan@intel.com (mailing list archive)
State Changes Requested, archived
Delegated to: Andy Shevchenko
Headers show

Commit Message

Tan Jui Nee Nov. 18, 2016, 5:22 a.m. UTC
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(+)

Comments

Thomas Gleixner Nov. 18, 2016, 9:20 a.m. UTC | #1
On Fri, 18 Nov 2016, Tan Jui Nee wrote:
> 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.

Errm. INTEL_IVI does not enable MMIO BAR access over P2SB, CONFIG_P2SB does.

Thanks,

	tglx
--
To unsubscribe from this list: send the line "unsubscribe platform-driver-x86" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

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