zmk/app/drivers/zephyr/dts/bindings/sensor/pixart,pmw33xx.yaml
Dylan (Luberry) Kozicki fd73042e81 update license headers
2022-04-17 12:59:59 -04:00

28 lines
710 B
YAML

# Copyright (c) 2022 The ZMK Contributors
# SPDX-License-Identifier: MIT
description: |
Sensor driver for the pixart PMW33XX optical mouse sensor supports 3360 built in, and 3389 with external srom
compatible: "pixart,pmw33xx"
include: spi-device.yaml
properties:
label:
type: string
required: true
cs-gpios:
type: phandle-array
required: true
description: chip select pin for the sensor
motswk-gpios:
type: phandle-array
required: false
description: interrupt pin for motion
cpi:
type: int
description: mouse cpi
required: false
disable-rest:
type: boolean
description: disables mouse rest mode, will decrease battery life
required: false