DRV260x: Support ACPI-enumerated devices
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest5 patches 4 repliesIn review
- v15 patches 8 repliesSuperseded
Changes in v2 from the cover letter
- Header includes have been sorted alphabetically;
- ACPI GPIO mapping has been removed (supposed to be in the device-specific driver like x86-android-tablets);
- Old debug session artifacts removed;
- Checking of device ID has been removed; the driver uses the same logic for all drv260x(L) variants;
- Timeout during calibration reports an error; we don't expect that the chip will work properly in such a case;
- Patch regarding the regulator has been reworked; now it just adds regulator_enable()/regulator_disable() during device probing and removal.
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | input: drv260x: Add I2C IDs for all device variantsdrivers/ | +3 | 0 replies | |
| 2/5 | input: drv260x: Sort all #include alphabeticallydrivers/ | +3 | 0 replies | |
| 3/5 | input: drv260x: Add support for ACPI-enumerated devicesdrivers/ | +10 | 0 replies | |
| 4/5 | input: drv260x: Fix unbalanced regulator_disable() calldrivers/ | +21 | 3 replies | |
| 5/5 | input: drv260x: Handle calibration timeoutdrivers/ | +13 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/5] DRV260x: Support ACPI-enumerated devices
Lenovo Yoga Book YB1-X90 and YB1-X91 tablets use haptics controllers DRV2604L. The X91 (Windows tablet) uses ACPI to define its configuration, such as I2C address and GPIO connections. The X90 (Android tablet) doesn't have it in the ACPI, but the device may be defined as an i2c_board in the x86-android-tablets driver.
To support these variants, add an ACPI matching table and add additional I2C IDs to the I2C matching table (the driver supports DRV2604(L), DRV2605(L) devices).
Also, implement a timeout for waiting for calibration,
and fix the non-working suspend due to unbalanced regulator_disable() call.
Changes in v2:
- Header includes have been sorted alphabetically;
- ACPI GPIO mapping has been removed (supposed to be in the device-specific driver like x86-android-tablets);
- Old debug session artifacts removed;
- Checking of device ID has been removed; the driver uses the same logic for all drv260x(L) variants;
- Timeout during calibration reports an error; we don't expect that the chip will work properly in such a case;
- Patch regarding the regulator has been reworked; now it just adds regulator_enable()/regulator_disable() during device probing and removal.
Discussion of v1 is here:
Yauhen Kharuzhy (5):
input: drv260x: Add I2C IDs for all device variants
input: drv260x: Sort all #include alphabetically
input: drv260x: Add support for ACPI-enumerated devices
input: drv260x: Fix unbalanced regulator_disable() call
input: drv260x: Handle calibration timeout
drivers/input/misc/drv260x.c | 55 ++++++++++++++++++++++++++++++++---- 1 file changed, 50 insertions(+), 5 deletions(-)
base-commit: 9845cf73f7db6094c0d8419d6adb848028f4a921
Signature · 1 line
2.51.0