dts: bindings: add DT binding for the Nintendo Nunchuk joystick
Add a binding for the Nintendo Nunchuk joystick through the I2C bus. Signed-off-by: Miguel Gazquez <miguel.gazquez@bootlin.com>
This commit is contained in:
parent
5e6b13a7bb
commit
d0785cc39b
1 changed files with 15 additions and 0 deletions
15
dts/bindings/input/nintendo,nunchuk.yaml
Normal file
15
dts/bindings/input/nintendo,nunchuk.yaml
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
# Copyright (c) 2024 Bootlin
|
||||||
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
|
description: Nintendo Nunchuk joystick through I2C
|
||||||
|
|
||||||
|
compatible: "nintendo,nunchuk"
|
||||||
|
|
||||||
|
include: i2c-device.yaml
|
||||||
|
|
||||||
|
properties:
|
||||||
|
polling-interval-ms:
|
||||||
|
type: int
|
||||||
|
default: 50
|
||||||
|
description: |
|
||||||
|
Interval between two reads, in ms. The interval must be greater than 21 ms. Default to 50 ms.
|
Loading…
Add table
Add a link
Reference in a new issue