1# Copyright 2024 Google LLC 2# SPDX-License-Identifier: Apache-2.0 3 4description: PAT9125EL Miniature Optical Navigation Chip 5 6compatible: "pixart,pat912x" 7 8include: i2c-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 description: | 20 The input code for the X axis to report for the device, typically any of 21 INPUT_REL_*. No report produced for the device X axis if unspecified. 22 23 zephyr,axis-y: 24 type: int 25 description: | 26 The input code for the Y axis to report for the device, typically any of 27 INPUT_REL_*. No report produced for the device Y axis if unspecified. 28 29 res-x-cpi: 30 type: int 31 description: | 32 CPI resolution for the X axis, range 0 to 1275, rounded down to the 33 closest supported value in increments of 5. 34 35 res-y-cpi: 36 type: int 37 description: | 38 CPI resolution for the Y axis, range 0 to 1275, rounded down to the 39 closest supported value in increments of 5. 40 41 invert-x: 42 type: boolean 43 description: | 44 Invert X axis values. 45 46 invert-y: 47 type: boolean 48 description: | 49 Invert Y axis values. 50 51 sleep1-enable: 52 type: boolean 53 description: | 54 Enable sleep1 mode. 55 56 sleep2-enable: 57 type: boolean 58 description: | 59 Enable sleep2 mode, only valid if sleep1 is also enabled. 60