Skip to content

platform/surface: Create a platform subdirectory for Microsoft Surface devices

Maximilian Luz lkml platform-driver-x86 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest5 patches 3 repliesIn review
  2. v35 patches 7 repliesSuperseded
  3. v25 patches 6 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v15 patches0 repliesSuperseded

Changes in v4 from the cover letter

- Rebase onto platform-drivers-x86/for-next.
- Restructure MAINTAINERS entry and Kconfig option to be more similar to platform/chrome.
- Drop placeholder comments.

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5platform: Add Surface platform directoryMAINTAINERS drivers/platform/Kconfig drivers/platform/Makefile +2 more+31 -01 reply
2/5platform/surface: Move Surface 3 WMI driver to platform/surfacedrivers/platform/surface/Kconfig drivers/platform/surface/Makefile drivers/platform/surface/surface3-wmi.c +2 more+18 -131 reply
3/5platform/surface: Move Surface 3 Button driver to platform/surfacedrivers/platform/surface/Kconfig drivers/platform/surface/Makefile drivers/platform/surface/surface3_button.c +2 more+7 -70 replies
4/5platform/surface: Move Surface 3 Power OpRegion driver to platform/surfacedrivers/platform/surface/Kconfig drivers/platform/surface/Makefile drivers/platform/surface/surface3_power.c +2 more+8 -80 replies
5/5platform/surface: Move Surface Pro 3 Button driver to platform/surfaceMAINTAINERS drivers/platform/surface/Kconfig drivers/platform/surface/Makefile +3 more+8 -100 replies

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by.

PatchAndy ShevchenkoChen Yu
1/5R-b
2/5R-b
3/5R-b
4/5R-b
5/5R-b A-b

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

Read the v4 thread

Cover letter [PATCH v4 0/5] platform/surface: Create a platform subdirectory for Microsoft Surface devices

As has come up in the discussion around

[RFC PATCH] Add support for Microsoft Surface System Aggregator Module

it may make sense to add a Microsoft Surface specific platform subdirectory. Andy has suggested drivers/platform/surface for that. This series follows said suggestion and creates that subdirectory, as well as moves Microsoft Surface related drivers over to it and updates their MAINTAINERS entries (if available) accordingly.

This series does not modify any existing driver code, symbols, or help text.

More details regarding maintainership can be found in

[PATCH v4 1/5] platform: Add Surface platform directory

Thanks,
Max

Link to discussion:
https://lore.kernel.org/lkml/CAHp75Vfp86h38Rd-VEgER7ASADdmz5ymAkuHvD0Q6WPDqZBqHw@mail.gmail.com/

Cc Hans de Goede <[email protected]>
Cc Andy Shevchenko <[email protected]>

Changes in v2:
- Rebase onto linux-platform-drivers-x86/for-next to incorporate changes in Maintainer file.

Changes in v3:
- Add separate MAINTAINERS entry for platform/surface
- Add Maximilian Luz as reviewer for platform/surface

Changes in v4:
- Rebase onto platform-drivers-x86/for-next.
- Restructure MAINTAINERS entry and Kconfig option to be more similar to platform/chrome.
- Drop placeholder comments.

For more details regarding changes, refer to the individual patches.

P.S: for Andy:
I have not added your Rb tag for 1 and 2 as I was not completely sure that the changes are as you intended.

Maximilian Luz (5):
platform: Add Surface platform directory
platform/surface: Move Surface 3 WMI driver to platform/surface platform/surface: Move Surface 3 Button driver to platform/surface platform/surface: Move Surface 3 Power OpRegion driver to
platform/surface
platform/surface: Move Surface Pro 3 Button driver to platform/surface

 MAINTAINERS                                   | 11 ++++-
 drivers/platform/Kconfig                      |  2 +
 drivers/platform/Makefile                     |  1 +
 drivers/platform/surface/Kconfig              | 49 +++++++++++++++++++
 drivers/platform/surface/Makefile             | 10 ++++
 .../platform/{x86 => surface}/surface3-wmi.c  |  0
 .../{x86 => surface}/surface3_button.c        |  0
 .../{x86 => surface}/surface3_power.c         |  0
 .../{x86 => surface}/surfacepro3_button.c     |  0
 drivers/platform/x86/Kconfig                  | 31 ------------
 drivers/platform/x86/Makefile                 |  6 ---
 11 files changed, 72 insertions(+), 38 deletions(-)
 create mode 100644 drivers/platform/surface/Kconfig
 create mode 100644 drivers/platform/surface/Makefile
 rename drivers/platform/{x86 => surface}/surface3-wmi.c (100%)
 rename drivers/platform/{x86 => surface}/surface3_button.c (100%)
 rename drivers/platform/{x86 => surface}/surface3_power.c (100%)
 rename drivers/platform/{x86 => surface}/surfacepro3_button.c (100%)

--
2.28.0