Skip to content

Input: cap11xx - Add support for CAP1114

Jun Yan linux-devicetree linux-input lkml 4 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest10 patches 0 repliesNew
  2. v310 patches 4 repliesSuperseded
  3. v29 patches 4 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v18 patches11 repliesSuperseded

Changes in v4 from the cover letter

- Revert cleanup operation for CAP11XX_REG_SENSOR_DELTA.
- Move the LED unit-address update operation to the CAP1114 support patch.
- Limit the CAP1114 LED unit-address range from 0x0 to 0xa.
- Link to v3:
https://lore.kernel.org/all/[email protected]/

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10Input: cap11xx - clean up duplicate log and add probe error logsdrivers/input/keyboard/cap11xx.c+4 -70 replies
2/10Input: cap11xx - remove unused register macrosdrivers/input/keyboard/cap11xx.c+0 -510 replies
3/10dt-bindings: input: microchip,cap11xx: Update datasheet URL and LED reg rangeDocumentation/devicetree/bindings/input/microchip,cap11xx.yaml+13 -20 replies
4/10dt-bindings: input: microchip,cap11xx: Add microchip,cap1126 LED reg constraintsDocumentation/devicetree/bindings/input/microchip,cap11xx.yaml+13 -00 replies
5/10dt-bindings: input: microchip,cap11xx: Add reset-gpios propertyDocumentation/devicetree/bindings/input/microchip,cap11xx.yaml+25 -00 replies
6/10Input: cap11xx - add reset gpio supportdrivers/input/keyboard/cap11xx.c+16 -00 replies
7/10Input: cap11xx - refactor code for better CAP1114 support.drivers/input/keyboard/cap11xx.c+53 -200 replies
8/10Input: cap11xx - guard unsupported DT properties before parsingdrivers/input/keyboard/cap11xx.c+27 -250 replies
9/10dt-bindings: input: microchip,cap11xx: Add CAP1114 supportDocumentation/devicetree/bindings/input/microchip,cap11xx.yaml+36 -30 replies
10/10Input: cap11xx - add support for CAP1114drivers/input/keyboard/cap11xx.c+69 -40 replies

Reviews trailers per patch

4 of 10 patches have a Reviewed-by or Acked-by.

PatchConor Dooley
1/10
2/10
3/10A-b
4/10A-b
5/10A-b
6/10
7/10
8/10
9/10R-b
10/10

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 00/10] Input: cap11xx - Add support for CAP1114

CAP1114 is a 14-channel capacitive touch sensor with 11 LED outputs and hardware reset support.

Patches 1-4 perform driver cleanup and DT binding tweaks. Patches 5-6 add reset-gpios support for CAP11xx. Patches 7-10 add support for CAP1114.

Changes in v4:
- Revert cleanup operation for CAP11XX_REG_SENSOR_DELTA.
- Move the LED unit-address update operation to the CAP1114 support patch.
- Limit the CAP1114 LED unit-address range from 0x0 to 0xa.
- Link to v3:
https://lore.kernel.org/all/[email protected]/

Changes in v3:
- Simplified the logic of the reset pin operation.
- Adjust linux,keycodes configuration for CAP11xx.
- Drop unnecessary CAP11XX_REG_SENSOR_THRESH(8).
- Checks for the presence of microchip,calib-sensitivity and microchip,signal-guard properties before processing them.
- Link to v2:
https://lore.kernel.org/all/[email protected]/

Changes in v2:
- Drop LED property tweaks, keep only reg changes and node regex update in DT bindings.
- Split microchip,cap1126 LED reg constraints into a separate patch.
- Replace usleep_range() with msleep() for 500 ms delay during reset pin handling.
- Add missing <linux/delay.h> for usleep_range() and msleep().
- Add CAP1114 to unsupported enum for microchip,signal-guard and microchip,calib-sensitivity
- Add constraint for linux,keycodes to support CAP1114.
- When reading CAP1114 button status, mask STATUS1 to bits 0-5 and OR with STATUS2.
- Adjust code style.
- Link to v1:
https://lore.kernel.org/all/[email protected]

Jun Yan (10):
Input: cap11xx - clean up duplicate log and add probe error logs
Input: cap11xx - remove unused register macros
dt-bindings: input: microchip,cap11xx: Update datasheet URL and LED
reg range
dt-bindings: input: microchip,cap11xx: Add microchip,cap1126 LED reg
constraints
dt-bindings: input: microchip,cap11xx: Add reset-gpios property
Input: cap11xx - add reset gpio support
Input: cap11xx - refactor code for better CAP1114 support.
Input: cap11xx - guard unsupported DT properties before parsing
dt-bindings: input: microchip,cap11xx: Add CAP1114 support
Input: cap11xx - add support for CAP1114

 .../bindings/input/microchip,cap11xx.yaml     |  90 +++++-
 drivers/input/keyboard/cap11xx.c              | 274 +++++++++++-------
 2 files changed, 254 insertions(+), 110 deletions(-)

--
2.54.0