chrome_laptop: stop being a platform driver
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
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 files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/14 | Input: atmel_mxt_ts - do not pass suspend mode in platform datadrivers/ | +22 | 1 reply | |
| 2/14 | Input: atmel_mxt_ts - switch from OF to generic device propertiesdrivers/ | +30 | 0 replies | |
| 3/14 | Input: atmel_mxt_ts - switch ChromeOS ACPI devices to generic propsdrivers/ | +40 | 0 replies | |
| 4/14 | platform/chrome: chromeos_laptop - add SPDX identifierdrivers/ | +5 | 0 replies | |
| 5/14 | platform/chrome: chromeos_laptop - stop setting suspend mode for Atmel devicesdrivers/ | +0 | 1 reply | |
| 6/14 | platform/chrome: chromeos_laptop - introduce pr_fmt()drivers/ | +14 | 0 replies | |
| 7/14 | platform/chrome: chromeos_laptop - factor out getting IRQ from DMIdrivers/ | +23 | 0 replies | |
| 8/14 | platform/chrome: chromeos_laptop - rework i2c peripherals initializationdrivers/ | +235 | 0 replies | |
| 9/14 | platform/chrome: chromeos_laptop - parse DMI IRQ data oncedrivers/ | +64 | 0 replies | |
| 10/14 | platform/chrome: chromeos_laptop - use I2C notifier to create devicesdrivers/ | +102 | 0 replies | |
| 11/14 | platform/chrome: chromeos_laptop - rely on I2C to set up interrupt triggerdrivers/ | +14 | 0 replies | |
| 12/14 | platform/chrome: chromeos_laptop - use device properties for Pixeldrivers/ | +6 | 0 replies | |
| 13/14 | platform/chrome: chromeos_laptop - discard data for unneeded boardsdrivers/ | +264 | 0 replies | |
| 14/14 | Input: atmel_mxt_ts - remove platform data supportMAINTAINERS drivers/ include/ | +55 | 0 replies |
Reviews trailers per patch
3 of 14 patches have a Reviewed-by or Acked-by.
| Patch | Nick Dyer |
|---|---|
| 1/14 | |
| 2/14 | A-b |
| 3/14 | A-b |
| 4/14 | |
| 5/14 | |
| 6/14 | |
| 7/14 | |
| 8/14 | |
| 9/14 | |
| 10/14 | |
| 11/14 | |
| 12/14 | |
| 13/14 | |
| 14/14 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
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