Skip to content

chrome_laptop: stop being a platform driver

Dmitry Torokhov linux-input lkml 2 versions – Applied

Status from this message: Applied to my working branch for atmel_mxt_ts + chromeos_laptop.c for

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest14 patches 3 repliesApplied
  2. v114 patches 14 repliesApplied

Changes in v2 from the cover letter

- switched suspend mode handling to use DMI quirk. We'll clean it up properly in the Atmel driver later, for now we just want to untangle Atmel and chromeos-laptop

- added Nick's Acks.

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/14Input: atmel_mxt_ts - do not pass suspend mode in platform datadrivers/input/touchscreen/atmel_mxt_ts.c+22 -51 reply
2/14Input: atmel_mxt_ts - switch from OF to generic device propertiesdrivers/input/touchscreen/atmel_mxt_ts.c+30 -290 replies
3/14Input: atmel_mxt_ts - switch ChromeOS ACPI devices to generic propsdrivers/input/touchscreen/atmel_mxt_ts.c+40 -230 replies
4/14platform/chrome: chromeos_laptop - add SPDX identifierdrivers/platform/chrome/chromeos_laptop.c+5 -220 replies
5/14platform/chrome: chromeos_laptop - stop setting suspend mode for Atmel devicesdrivers/platform/chrome/chromeos_laptop.c+0 -21 reply
6/14platform/chrome: chromeos_laptop - introduce pr_fmt()drivers/platform/chrome/chromeos_laptop.c+14 -170 replies
7/14platform/chrome: chromeos_laptop - factor out getting IRQ from DMIdrivers/platform/chrome/chromeos_laptop.c+23 -120 replies
8/14platform/chrome: chromeos_laptop - rework i2c peripherals initializationdrivers/platform/chrome/chromeos_laptop.c+235 -2320 replies
9/14platform/chrome: chromeos_laptop - parse DMI IRQ data oncedrivers/platform/chrome/chromeos_laptop.c+64 -560 replies
10/14platform/chrome: chromeos_laptop - use I2C notifier to create devicesdrivers/platform/chrome/chromeos_laptop.c+102 -1450 replies
11/14platform/chrome: chromeos_laptop - rely on I2C to set up interrupt triggerdrivers/platform/chrome/chromeos_laptop.c+14 -70 replies
12/14platform/chrome: chromeos_laptop - use device properties for Pixeldrivers/platform/chrome/chromeos_laptop.c+6 -60 replies
13/14platform/chrome: chromeos_laptop - discard data for unneeded boardsdrivers/platform/chrome/chromeos_laptop.c+264 -2120 replies
14/14Input: atmel_mxt_ts - remove platform data supportMAINTAINERS drivers/input/touchscreen/atmel_mxt_ts.c include/linux/platform_data/atmel_mxt_ts.h+55 -1070 replies

Reviews trailers per patch

3 of 14 patches have a Reviewed-by or Acked-by.

PatchNick Dyer
1/14
2/14A-b
3/14A-b
4/14
5/14
6/14
7/14
8/14
9/14
10/14
11/14
12/14
13/14
14/14A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 00/14] chrome_laptop: stop being a platform driver

Hi,

This series is a combination of Atmel touchscreen driver stopping using platform data and moving over to generic device properties, and chromeos-laptop switching from being platform driver, which is the wrong abstraction for it, and moving to using i2c bis notifier. Switching from platform driver to the notifiers allows us to get rid of the ugly code that manually tries to handle deferrals in case i2c bus is not ready at the time we start initializing the module.

Thanks!

Changes v1->v2:

- switched suspend mode handling to use DMI quirk. We'll clean it up properly in the Atmel driver later, for now we just want to untangle Atmel and chromeos-laptop

- added Nick's Acks.

Dmitry Torokhov (14):
Input: atmel_mxt_ts - do not pass suspend mode in platform data
Input: atmel_mxt_ts - switch from OF to generic device properties
Input: atmel_mxt_ts - switch ChromeOS ACPI devices to generic props platform/chrome: chromeos_laptop - add SPDX identifier platform/chrome: chromeos_laptop - stop setting suspend mode for Atmel devices platform/chrome: chromeos_laptop - introduce pr_fmt() platform/chrome: chromeos_laptop - factor out getting IRQ from DMI platform/chrome: chromeos_laptop - rework i2c peripherals initialization platform/chrome: chromeos_laptop - parse DMI IRQ data once platform/chrome: chromeos_laptop - use I2C notifier to create devices platform/chrome: chromeos_laptop - rely on I2C to set up interrupt trigger platform/chrome: chromeos_laptop - use device properties for Pixel platform/chrome: chromeos_laptop - discard data for unneeded boards
Input: atmel_mxt_ts - remove platform data support

 MAINTAINERS                                |   1 -
 drivers/input/touchscreen/atmel_mxt_ts.c   | 231 +++---
 drivers/platform/chrome/chromeos_laptop.c  | 896 +++++++++++----------
 include/linux/platform_data/atmel_mxt_ts.h |  31 -
 4 files changed, 579 insertions(+), 580 deletions(-)
 delete mode 100644 include/linux/platform_data/atmel_mxt_ts.h
Signature · 1 line
Dmitry