public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: Lukas Wunner <lukas@wunner.de>
To: "Rafael J. Wysocki" <rafael.j.wysocki@intel.com>,
	x86@kernel.org, Bjorn Helgaas <bhelgaas@google.com>,
	Matt Fleming <matt@codeblueprint.co.uk>,
	Ard Biesheuvel <ard.biesheuvel@linaro.org>,
	Andreas Noever <andreas.noever@gmail.com>,
	Michael Jamet <michael.jamet@intel.com>,
	Yehezkel Bernat <yehezkel.bernat@intel.com>,
	Mika Westerberg <mika.westerberg@linux.intel.com>
Cc: Ronald Tschalaer <ronald@innovation.ch>,
	Federico Lorenzi <florenzi@gmail.com>,
	Andy Shevchenko <andriy.shevchenko@linux.intel.com>,
	Leif Liddy <leif.liddy@gmail.com>,
	Daniel Roschka <danielroschka@phoenitydawn.de>,
	Mark Brown <broonie@kernel.org>,
	linux-acpi@vger.kernel.org, linux-spi@vger.kernel.org,
	linux-kernel@vger.kernel.org, Lv Zheng <lv.zheng@intel.com>,
	Darren Hart <dvhart@infradead.org>
Subject: [PATCH v4 0/5] Apple SPI properties
Date: Tue, 1 Aug 2017 14:10:41 +0200	[thread overview]
Message-ID: <cover.1501570421.git.lukas@wunner.de> (raw)

Retrieve device properties on Macs with an Apple-specific _DSM and
use them in lieu of _CRS data upon SPI slave initialization
in preparation of supporting the SPI keyboard on 2015+ MacBooks, v4.

Please refer to the cover letter of v1 for further details:
http://www.spinics.net/lists/linux-acpi/msg75537.html

Changes v3 -> v4:

Patch 1:
- Extend consolidation of Apple DMI checks to the entire tree
  instead of just the ACPI core. (Rafael, Andy, Darren)

Patches 2 - 5 are as before.

Thanks,

Lukas


Lukas Wunner (5):
  treewide: Consolidate Apple DMI checks
  ACPI / property: Don't evaluate objects for devices w/o handle
  ACPI / property: Support Apple _DSM properties
  ACPI / scan: Recognize Apple SPI and I2C slaves
  spi: Use Apple device properties in absence of ACPI resources

 arch/x86/include/asm/setup.h            |   1 +
 arch/x86/kernel/early-quirks.c          |   4 +-
 arch/x86/kernel/quirks.c                |  10 +++
 arch/x86/kernel/setup.c                 |   2 +
 drivers/acpi/Makefile                   |   1 +
 drivers/acpi/internal.h                 |   6 ++
 drivers/acpi/osi.c                      |  37 ++-------
 drivers/acpi/pci_root.c                 |   4 +-
 drivers/acpi/property.c                 |   6 ++
 drivers/acpi/sbs.c                      |  25 +-----
 drivers/acpi/scan.c                     |   7 ++
 drivers/acpi/x86/apple.c                | 141 ++++++++++++++++++++++++++++++++
 drivers/firmware/efi/apple-properties.c |   5 +-
 drivers/pci/quirks.c                    |   5 +-
 drivers/spi/spi.c                       |  32 ++++++++
 drivers/thunderbolt/icm.c               |  13 +--
 drivers/thunderbolt/tb.c                |   4 +-
 include/linux/platform_data/x86/apple.h |  13 +++
 18 files changed, 244 insertions(+), 72 deletions(-)
 create mode 100644 drivers/acpi/x86/apple.c
 create mode 100644 include/linux/platform_data/x86/apple.h

-- 
2.11.0


             reply	other threads:[~2017-08-01 12:10 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-01 12:10 Lukas Wunner [this message]
2017-08-01 12:10 ` [PATCH v4 5/5] spi: Use Apple device properties in absence of ACPI resources Lukas Wunner
     [not found] ` <cover.1501570421.git.lukas-JFq808J9C/izQB+pC5nmwQ@public.gmane.org>
2017-08-01 12:10   ` [PATCH v4 1/5] treewide: Consolidate Apple DMI checks Lukas Wunner
     [not found]     ` <20f8b74b83ed45171583fe501182c93e5c6eb4d9.1501570421.git.lukas-JFq808J9C/izQB+pC5nmwQ@public.gmane.org>
2017-08-01 12:35       ` Andy Shevchenko
2017-08-01 12:42         ` Andy Shevchenko
2017-08-01 13:11       ` Mika Westerberg
2017-08-01 12:10 ` [PATCH v4 2/5] ACPI / property: Don't evaluate objects for devices w/o handle Lukas Wunner
2017-08-01 12:10 ` [PATCH v4 3/5] ACPI / property: Support Apple _DSM properties Lukas Wunner
2017-08-01 12:10 ` [PATCH v4 4/5] ACPI / scan: Recognize Apple SPI and I2C slaves Lukas Wunner
2017-08-01 13:12   ` Mika Westerberg
2017-08-01 13:08 ` [PATCH v4 0/5] Apple SPI properties Rafael J. Wysocki
2017-08-09 22:42   ` Rafael J. Wysocki

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=cover.1501570421.git.lukas@wunner.de \
    --to=lukas@wunner.de \
    --cc=andreas.noever@gmail.com \
    --cc=andriy.shevchenko@linux.intel.com \
    --cc=ard.biesheuvel@linaro.org \
    --cc=bhelgaas@google.com \
    --cc=broonie@kernel.org \
    --cc=danielroschka@phoenitydawn.de \
    --cc=dvhart@infradead.org \
    --cc=florenzi@gmail.com \
    --cc=leif.liddy@gmail.com \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-spi@vger.kernel.org \
    --cc=lv.zheng@intel.com \
    --cc=matt@codeblueprint.co.uk \
    --cc=michael.jamet@intel.com \
    --cc=mika.westerberg@linux.intel.com \
    --cc=rafael.j.wysocki@intel.com \
    --cc=ronald@innovation.ch \
    --cc=x86@kernel.org \
    --cc=yehezkel.bernat@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