[GIT PULL] platform-drivers-x86 for 4.13-1

From: Darren Hart
Date: Wed Jul 05 2017 - 14:18:26 EST


Hi Linus,

The following changes since commit 2ea659a9ef488125eb46da6eb571de5eae5c43f6:

Linux 4.12-rc1 (2017-05-13 13:19:49 -0700)

are available in the git repository at:

git://git.infradead.org/linux-platform-drivers-x86.git tags/platform-drivers-x86-v4.13-1

for you to fetch changes up to d791db9a57ab7f390916dce0fa1315130bb6664c:

platform/x86: sony-laptop: constify attribute_group and input index array (2017-06-30 20:26:54 -0700)

Thanks,

Darren Hart
VMware Open Source Technology Center

----------------------------------------------------------------
platform-drivers-x86 for v4.13-1

Introduce new bus architecture for WMI and expose BMOF data through
sysfs. Correct several assumptions about WMI instance number from 1 to
0. Further fujitsu-laptop cleanups, continuing to prepare for separation
into two modules. Add support for several new ideapad laptops and
silead-based tablets. Various minor fixes and const cleanups.

sony-laptop:
- constify attribute_group and input index array

fujitsu-laptop:
- rework debugging
- do not evaluate ACPI _INI methods
- do not update ACPI device power status
- sanitize hotkey input device identification
- use strcpy to set ACPI device names and classes
- remove redundant safety checks
- use device-specific data in remaining module code
- use device-specific data in LED-related code
- explicitly pass ACPI device to call_fext_func()
- track the last instantiated FUJ02E3 ACPI device
- allocate fujitsu_laptop in acpi_fujitsu_laptop_add()
- use device-specific data in backlight code
- allocate fujitsu_bl in acpi_fujitsu_bl_add()
- distinguish current uses of device-specific data

msi-laptop:
- constify msipf*_attribute_group

eeepc-laptop:
- constify platform_attribute_group

toshiba_haps:
- constify haps_attr_group

dell-wmi-led:
- Adjust instance of wmi_evaluate_method calls to 0

alienware-wmi:
- Adjust instance of wmi_evaluate_method calls to 0

intel_menlow:
- Add const to thermal_cooling_device_ops structure

acerhdf:
- Add const to thermal_cooling_device_ops structure

dell-laptop:
- Fix bogus keyboard backlight sysfs interface

acer-wmi:
- Using zero as first WMI instance number
- Detect RF Button capability

ideapad-laptop:
- Add Y720-15IKBN to no_hw_rfkill
- Add Y520-15IKBN to no_hw_rfkill
- constify rfkill_ops structure
- Squelch ACPI event 1
- hide unused 'touchpad_store'
- Switch touchpad attribute to be RO
- Add sysfs interface for touchpad state

silead_dmi:
- Add touchscreen info for PoV mobii wintab p800w
- Add touchscreen info for Pipo W2S tablet
- Add touchscreen info for GP-electronic T701

dell-rbtn:
- constify rfkill_ops structures
- Improve explanation about DELLABC6

samsung-laptop:
- constify rfkill_ops structures

panasonic-laptop:
- remove unused code

samsung-laptop:
- Initialize loca variable

dell-wmi:
- Convert to the WMI bus infrastructure
- Add a better description for "stealth mode"
- Add a comment explaining the 0xb2 magic number

wmi-bmof:
- New driver to expose embedded Binary WMI MOF metadata

wmi*:
- Fix printing info about WDG structure
- Add recent copyright statements
- Require query for data blocks, rename writable to setable
- Add an interface for subdrivers to access sibling devices
- Bind the platform device, not the ACPI node
- Add a new interface to read block data
- Incorporate acpi_install_notify_handler
- Instantiate all devices before adding them
- Probe data objects for read and write capabilities
- Split devices into types and add basic sysfs attributes
- Fix error handling when creating devices
- Turn WMI into a bus driver
- Track wmi devices per ACPI device
- Clean up acpi_wmi_add
- Pass the acpi_device through to parse_wdg
- Drop "Mapper (un)loaded" messages

intel_cht_int33fe:
- Set supplied-from property on max17047 dev

intel_pmc_ipc:
- Mark ipc_data_readb() as __maybe_unused

topstar-laptop:
- Add new device id

peaq-wmi:
- Add new peaq-wmi driver

thinkpad_acpi:
- Add a comment about 0 in module_param_call()
- Join string literals back

toshiba_acpi:
- use memdup_user_nul

----------------------------------------------------------------
Alex Hung (1):
platform/x86: panasonic-laptop: remove unused code

Andy Lutomirski (16):
platform/x86: dell-wmi: Add a comment explaining the 0xb2 magic number
platform/x86: dell-wmi: Add a better description for "stealth mode"
platform/x86: dell-rbtn: Improve explanation about DELLABC6
platform/x86: wmi: Drop "Mapper (un)loaded" messages
platform/x86: wmi: Pass the acpi_device through to parse_wdg
platform/x86: wmi: Clean up acpi_wmi_add
platform/x86: wmi: Track wmi devices per ACPI device
platform/x86: wmi: Turn WMI into a bus driver
platform/x86: wmi: Fix error handling when creating devices
platform/x86: wmi: Split devices into types and add basic sysfs attributes
platform/x86: wmi: Probe data objects for read and write capabilities
platform/x86: wmi: Incorporate acpi_install_notify_handler
platform/x86: wmi: Add a new interface to read block data
platform/x86: wmi: Bind the platform device, not the ACPI node
platform/x86: wmi: Add an interface for subdrivers to access sibling devices
platform/x86: dell-wmi: Convert to the WMI bus infrastructure

Andy Shevchenko (4):
platform/x86: ideapad-laptop: Switch touchpad attribute to be RO
platform/x86: thinkpad_acpi: Join string literals back
platform/x86: thinkpad_acpi: Add a comment about 0 in module_param_call()
platform/x86: samsung-laptop: Initialize loca variable

Arnd Bergmann (1):
platform/x86: ideapad-laptop: hide unused 'touchpad_store'

Arvind Yadav (4):
platform/x86: toshiba_haps: constify haps_attr_group
platform/x86: eeepc-laptop: constify platform_attribute_group
platform/x86: msi-laptop: constify msipf*_attribute_group
platform/x86: sony-laptop: constify attribute_group and input index array

Bhumika Goyal (5):
platform/x86: samsung-laptop: constify rfkill_ops structures
platform/x86: ideapad-laptop: constify rfkill_ops structure
platform/x86: dell-rbtn: constify rfkill_ops structures
platform/x86: acerhdf: Add const to thermal_cooling_device_ops structure
platform/x86: intel_menlow: Add const to thermal_cooling_device_ops structure

Darren Hart (VMware) (4):
platform/x86: wmi: Instantiate all devices before adding them
platform/x86: wmi: Require query for data blocks, rename writable to setable
platform/x86: wmi-bmof: New driver to expose embedded Binary WMI MOF metadata
platform/x86: wmi*: Add recent copyright statements

Geliang Tang (1):
platform/x86: toshiba_acpi: use memdup_user_nul

Guillaume DouÃzan-Grard (1):
platform/x86: topstar-laptop: Add new device id

Hans de Goede (5):
platform/x86: silead_dmi: Add touchscreen info for GP-electronic T701
platform/x86: peaq-wmi: Add new peaq-wmi driver
platform/x86: intel_cht_int33fe: Set supplied-from property on max17047 dev
platform/x86: silead_dmi: Add touchscreen info for Pipo W2S tablet
platform/x86: silead_dmi: Add touchscreen info for PoV mobii wintab p800w

Hao Wei Tee (1):
platform/x86: ideapad-laptop: Squelch ACPI event 1

JoÃo Paulo Rechi Vita (1):
platform/x86: acer-wmi: Detect RF Button capability

Kai Heng Feng (1):
platform/x86: dell-laptop: Fix bogus keyboard backlight sysfs interface

Lee, Chun-Yi (1):
platform/x86: acer-wmi: Using zero as first WMI instance number

Mario Limonciello (2):
platform/x86: alienware-wmi: Adjust instance of wmi_evaluate_method calls to 0
platform/x86: dell-wmi-led: Adjust instance of wmi_evaluate_method calls to 0

Matthias Kaehlcke (1):
platform/x86: intel_pmc_ipc: Mark ipc_data_readb() as __maybe_unused

MichaÅ KÄpieÅ (14):
platform/x86: fujitsu-laptop: distinguish current uses of device-specific data
platform/x86: fujitsu-laptop: allocate fujitsu_bl in acpi_fujitsu_bl_add()
platform/x86: fujitsu-laptop: use device-specific data in backlight code
platform/x86: fujitsu-laptop: allocate fujitsu_laptop in acpi_fujitsu_laptop_add()
platform/x86: fujitsu-laptop: track the last instantiated FUJ02E3 ACPI device
platform/x86: fujitsu-laptop: explicitly pass ACPI device to call_fext_func()
platform/x86: fujitsu-laptop: use device-specific data in LED-related code
platform/x86: fujitsu-laptop: use device-specific data in remaining module code
platform/x86: fujitsu-laptop: remove redundant safety checks
platform/x86: fujitsu-laptop: use strcpy to set ACPI device names and classes
platform/x86: fujitsu-laptop: sanitize hotkey input device identification
platform/x86: fujitsu-laptop: do not update ACPI device power status
platform/x86: fujitsu-laptop: do not evaluate ACPI _INI methods
platform/x86: fujitsu-laptop: rework debugging

Olle Liljenzin (2):
platform/x86: ideapad-laptop: Add Y520-15IKBN to no_hw_rfkill
platform/x86: ideapad-laptop: Add Y720-15IKBN to no_hw_rfkill

Pali RohÃr (1):
platform/x86: wmi: Fix printing info about WDG structure

Ritesh Raj Sarraf (1):
platform/x86: ideapad-laptop: Add sysfs interface for touchpad state

.../ABI/testing/sysfs-platform-ideapad-laptop | 8 +
drivers/platform/x86/Kconfig | 29 +-
drivers/platform/x86/Makefile | 2 +
drivers/platform/x86/acer-wmi.c | 15 +-
drivers/platform/x86/acerhdf.c | 2 +-
drivers/platform/x86/alienware-wmi.c | 8 +-
drivers/platform/x86/dell-laptop.c | 6 +-
drivers/platform/x86/dell-rbtn.c | 31 +-
drivers/platform/x86/dell-wmi-led.c | 2 +-
drivers/platform/x86/dell-wmi.c | 144 +++--
drivers/platform/x86/eeepc-laptop.c | 2 +-
drivers/platform/x86/fujitsu-laptop.c | 540 ++++++++--------
drivers/platform/x86/ideapad-laptop.c | 58 +-
drivers/platform/x86/intel_cht_int33fe.c | 8 +
drivers/platform/x86/intel_menlow.c | 2 +-
drivers/platform/x86/intel_pmc_ipc.c | 2 +-
drivers/platform/x86/msi-laptop.c | 4 +-
drivers/platform/x86/panasonic-laptop.c | 4 -
drivers/platform/x86/peaq-wmi.c | 100 +++
drivers/platform/x86/samsung-laptop.c | 6 +-
drivers/platform/x86/silead_dmi.c | 70 +++
drivers/platform/x86/sony-laptop.c | 4 +-
drivers/platform/x86/thinkpad_acpi.c | 183 ++----
drivers/platform/x86/topstar-laptop.c | 1 +
drivers/platform/x86/toshiba_acpi.c | 11 +-
drivers/platform/x86/toshiba_haps.c | 2 +-
drivers/platform/x86/wmi-bmof.c | 125 ++++
drivers/platform/x86/wmi.c | 686 +++++++++++++++++----
include/linux/wmi.h | 59 ++
29 files changed, 1443 insertions(+), 671 deletions(-)
create mode 100644 drivers/platform/x86/peaq-wmi.c
create mode 100644 drivers/platform/x86/wmi-bmof.c
create mode 100644 include/linux/wmi.h

--
Darren Hart
VMware Open Source Technology Center