blob: 0df4424a3cb9ceb7a3e1e5d5f98e3cc109877a8e [file] [log] [blame]
# Copyright 2024 Google LLC
# SPDX-License-Identifier: Apache-2.0
description: PAW32xx ultra low power wireless mouse chip
compatible: "pixart,paw32xx"
include: spi-device.yaml
properties:
motion-gpios:
type: phandle-array
required: true
description:
GPIO connected to the motion pin, active low.
zephyr,axis-x:
type: int
required: true
description: |
The input code for the X axis to report for the device, typically any of
INPUT_REL_*. No report produced for the device X axis if unspecified.
zephyr,axis-y:
type: int
required: true
description: |
The input code for the Y axis to report for the device, typically any of
INPUT_REL_*. No report produced for the device Y axis if unspecified.
res-cpi:
type: int
description: |
CPI resolution for the sensor. This can also be changed in runtime using
the paw32xx_set_resolution() API.
invert-x:
type: boolean
description: |
Invert X axis values.
invert-y:
type: boolean
description: |
Invert Y axis values.
force-awake:
type: boolean
description: |
Initialize the sensor in "force awake" mode. This can also be enabled or
disabled in runtime by the application using the paw32xx_force_awake()
API.