Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1387405

Re: [PATCH v2 0/3] pinctrl/broxton: enable platform device in the absent of ACPI enumeration

From Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Newsgroups linux.kernel
Subject Re: [PATCH v2 0/3] pinctrl/broxton: enable platform device in the absent of ACPI enumeration
Date 2016-04-26 14:00 +0200
Message-ID <rs9OO-76D-13@gated-at.bofh.it> (permalink)
References <rs4vL-2Ic-1@gated-at.bofh.it>
Organization Intel Finland Oy

Show all headers | View raw


On Tue, 2016-04-26 at 14:09 +0800, Tan Jui Nee wrote:
> Hi,
> The patches are to cater the need for non-ACPI system whereby
> a platform device has to be created in order to bind with
> Apollo Lake Pinctrl GPIO platform driver.
> 
> The MMIO BAR is accessed over the Primary to Sideband bridge
> (P2SB). Since the BIOS prevents the P2SB device from being
> enumerated by the PCI subsystem, so we need to hide/unhide P2SB
> to lookup the P2SB BAR and pass the PCI BAR address to the gpio
> platform driver.
> 
> All these three patches have dependencies on each other.
> 

Lee, Linus, I'm fine with the series, though I doubt which solution is
better to have the original driver independent as much as possible from
p2sb.

> Changes from V1:
> 	- Add new config option CONFIG_X86_INTEL_NON_ACPI and "select
> PINCTRL"
> 	  to fix kbuildbot error
> 
> Andy Shevchenko (1):
>   x86/platform/p2sb: New Primary to Sideband bridge support driver for
>     Intel SOC's
> 
> Tan Jui Nee (2):
>   pinctrl/broxton: enable platform device in the absent of ACPI
>     enumeration
>   mfd: lpc_ich: Add support for Intel Apollo Lake GPIO pinctrl in
>     non-ACPI system
> 
>  arch/x86/Kconfig                        |  14 ++++
>  arch/x86/include/asm/p2sb.h             |  27 +++++++
>  arch/x86/platform/intel/Makefile        |   1 +
>  arch/x86/platform/intel/p2sb.c          |  99
> ++++++++++++++++++++++++
>  drivers/mfd/Kconfig                     |   3 +-
>  drivers/mfd/lpc_ich.c                   | 128
> ++++++++++++++++++++++++++++++++
>  drivers/pinctrl/intel/pinctrl-broxton.c |  43 ++++++++---
>  7 files changed, 302 insertions(+), 13 deletions(-)
>  create mode 100644 arch/x86/include/asm/p2sb.h
>  create mode 100644 arch/x86/platform/intel/p2sb.c
> 

-- 
Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Intel Finland Oy

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH v2 0/3] pinctrl/broxton: enable platform device in the absent of ACPI enumeration Tan Jui Nee <jui.nee.tan@intel.com> - 2016-04-26 08:20 +0200
  [PATCH v2 1/3] pinctrl/broxton: enable platform device in the absent of ACPI enumeration Tan Jui Nee <jui.nee.tan@intel.com> - 2016-04-26 08:20 +0200
    Re: [PATCH v2 1/3] pinctrl/broxton: enable platform device in the  absent of ACPI enumeration Mika Westerberg <mika.westerberg@linux.intel.com> - 2016-04-28 12:10 +0200
  [PATCH v2 2/3] x86/platform/p2sb: New Primary to Sideband bridge support driver for Intel SOC's Tan Jui Nee <jui.nee.tan@intel.com> - 2016-04-26 08:20 +0200
  [PATCH v2 3/3] mfd: lpc_ich: Add support for Intel Apollo Lake GPIO pinctrl in non-ACPI system Tan Jui Nee <jui.nee.tan@intel.com> - 2016-04-26 08:20 +0200
  Re: [PATCH v2 0/3] pinctrl/broxton: enable platform device in the  absent of ACPI enumeration Andy Shevchenko <andriy.shevchenko@linux.intel.com> - 2016-04-26 14:00 +0200

csiph-web