1# Copyright 2024 Google LLC 2# SPDX-License-Identifier: Apache-2.0 3 4description: PAW32xx ultra low power wireless mouse chip 5 6compatible: "pixart,paw32xx" 7 8include: spi-device.yaml 9 10properties: 11 motion-gpios: 12 type: phandle-array 13 required: true 14 description: 15 GPIO connected to the motion pin, active low. 16 17 zephyr,axis-x: 18 type: int 19 required: true 20 description: | 21 The input code for the X axis to report for the device, typically any of 22 INPUT_REL_*. No report produced for the device X axis if unspecified. 23 24 zephyr,axis-y: 25 type: int 26 required: true 27 description: | 28 The input code for the Y axis to report for the device, typically any of 29 INPUT_REL_*. No report produced for the device Y axis if unspecified. 30 31 res-cpi: 32 type: int 33 description: | 34 CPI resolution for the sensor. This can also be changed in runtime using 35 the paw32xx_set_resolution() API. 36 37 invert-x: 38 type: boolean 39 description: | 40 Invert X axis values. 41 42 invert-y: 43 type: boolean 44 description: | 45 Invert Y axis values. 46 47 force-awake: 48 type: boolean 49 description: | 50 Initialize the sensor in "force awake" mode. This can also be enabled or 51 disabled in runtime by the application using the paw32xx_force_awake() 52 API. 53