Skip to content

platform/x86: x86-android-tablets: Split into multiple files + gpio_keys rework

Hans de Goede platform-driver-x86 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest9 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9platform/x86: x86-android-tablets: Move into its own subdirMAINTAINERS drivers/platform/x86/Kconfig drivers/platform/x86/Makefile +3 more+34 -201 reply
2/9platform/x86: x86-android-tablets: Move core code into new core.c filedrivers/platform/x86/x86-android-tablets/Makefile drivers/platform/x86/x86-android-tablets/core.c drivers/platform/x86/x86-android-tablets/x86-android-tablets-main.c +1 more+443 -4051 reply
3/9platform/x86: x86-android-tablets: Move DMI match table into its own dmi.c filedrivers/platform/x86/x86-android-tablets/Makefile drivers/platform/x86/x86-android-tablets/dmi.c drivers/platform/x86/x86-android-tablets/x86-android-tablets-main.c+180 -1481 reply
4/9platform/x86: x86-android-tablets: Move shared power-supply fw-nodes to a separate filedrivers/platform/x86/x86-android-tablets/Makefile drivers/platform/x86/x86-android-tablets/shared-psy-info.c drivers/platform/x86/x86-android-tablets/shared-psy-info.h +1 more+142 -932 replies
5/9platform/x86: x86-android-tablets: Move Asus tablets to their own filedrivers/platform/x86/x86-android-tablets/Makefile drivers/platform/x86/x86-android-tablets/asus.c drivers/platform/x86/x86-android-tablets/x86-android-tablets-main.c+356 -3410 replies
6/9platform/x86: x86-android-tablets: Move Lenovo tablets to their own filedrivers/platform/x86/x86-android-tablets/Makefile drivers/platform/x86/x86-android-tablets/lenovo.c drivers/platform/x86/x86-android-tablets/x86-android-tablets-main.c+419 -4060 replies
7/9platform/x86: x86-android-tablets: Move remaining tablets to other.cdrivers/platform/x86/x86-android-tablets/Makefile drivers/platform/x86/x86-android-tablets/other.c+2 -20 replies
8/9platform/x86: x86-android-tablets: Add gpio_keys support to x86_android_tablet_init()drivers/platform/x86/x86-android-tablets/asus.c drivers/platform/x86/x86-android-tablets/core.c drivers/platform/x86/x86-android-tablets/other.c +1 more+48 -761 reply
9/9platform/x86: x86-android-tablets: Add support for the Dolby button on Peaq C1010MAINTAINERS drivers/platform/x86/Kconfig drivers/platform/x86/Makefile +3 more+36 -1420 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/9] platform/x86: x86-android-tablets: Split into multiple files + gpio_keys rework

Hi All,

The single x86-android-tablets.c file was becoming a bit unyieldly, so this series splits it into multiple files. Besides the split this also reworks the gpio_keys a bit and uses the new gpio_keys code to replace the (ugly, buggy) peaq-wmi code for the special button on the Peaq C1010.

Regards,

Hans

Hans de Goede (9):
platform/x86: x86-android-tablets: Move into its own subdir platform/x86: x86-android-tablets: Move core code into new core.c file platform/x86: x86-android-tablets: Move DMI match table into its own
dmi.c file
platform/x86: x86-android-tablets: Move shared power-supply fw-nodes
to a separate file
platform/x86: x86-android-tablets: Move Asus tablets to their own file platform/x86: x86-android-tablets: Move Lenovo tablets to their own
file
platform/x86: x86-android-tablets: Move remaining tablets to other.c platform/x86: x86-android-tablets: Add gpio_keys support to

    x86_android_tablet_init()
  platform/x86: x86-android-tablets: Add support for the Dolby button on
    Peaq C1010
 MAINTAINERS                                   |    2 +-
 drivers/platform/x86/Kconfig                  |   24 +-
 drivers/platform/x86/Makefile                 |    3 +-
 drivers/platform/x86/peaq-wmi.c               |  128 --
 drivers/platform/x86/x86-android-tablets.c    | 1884 -----------------
 .../platform/x86/x86-android-tablets/Kconfig  |   21 +
 .../platform/x86/x86-android-tablets/Makefile |    9 +
 .../platform/x86/x86-android-tablets/asus.c   |  324 +++
 .../platform/x86/x86-android-tablets/core.c   |  391 ++++
 .../platform/x86/x86-android-tablets/dmi.c    |  175 ++
 .../platform/x86/x86-android-tablets/lenovo.c |  417 ++++
 .../platform/x86/x86-android-tablets/other.c  |  518 +++++
 .../x86/x86-android-tablets/shared-psy-info.c |  100 +
 .../x86/x86-android-tablets/shared-psy-info.h |   32 +
 .../x86-android-tablets/x86-android-tablets.h |   81 +
 15 files changed, 2071 insertions(+), 2038 deletions(-)
 delete mode 100644 drivers/platform/x86/peaq-wmi.c
 delete mode 100644 drivers/platform/x86/x86-android-tablets.c
 create mode 100644 drivers/platform/x86/x86-android-tablets/Kconfig
 create mode 100644 drivers/platform/x86/x86-android-tablets/Makefile
 create mode 100644 drivers/platform/x86/x86-android-tablets/asus.c
 create mode 100644 drivers/platform/x86/x86-android-tablets/core.c
 create mode 100644 drivers/platform/x86/x86-android-tablets/dmi.c
 create mode 100644 drivers/platform/x86/x86-android-tablets/lenovo.c
 create mode 100644 drivers/platform/x86/x86-android-tablets/other.c
 create mode 100644 drivers/platform/x86/x86-android-tablets/shared-psy-info.c
 create mode 100644 drivers/platform/x86/x86-android-tablets/shared-psy-info.h
 create mode 100644 drivers/platform/x86/x86-android-tablets/x86-android-tablets.h
Signature · 1 line
2.39.1