zmk driver for PIXART PAW3222 optical sensor
733 B
29 lines
1# Copyright 2024 Google LLC
2# Copyright 2025 sekigon-gonnoc
3# SPDX-License-Identifier: Apache-2.0
4
5description: PAW32xx ultra low power wireless mouse chip
6
7compatible: "pixart,paw3222"
8
9include: spi-device.yaml
10
11properties:
12 irq-gpios:
13 type: phandle-array
14 required: true
15 description:
16 GPIO connected to the motion pin, active low.
17
18 res-cpi:
19 type: int
20 description: |
21 CPI resolution for the sensor. This can also be changed in runtime using
22 the paw32xx_set_resolution() API.
23
24 force-awake:
25 type: boolean
26 description: |
27 Initialize the sensor in "force awake" mode. This can also be enabled or
28 disabled in runtime by the application using the paw32xx_force_awake()
29 API.