Skip to content

Commit d0785cc

Browse files
miggazElquezkartben
authored andcommitted
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 <[email protected]>
1 parent 5e6b13a commit d0785cc

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Copyright (c) 2024 Bootlin
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
description: Nintendo Nunchuk joystick through I2C
5+
6+
compatible: "nintendo,nunchuk"
7+
8+
include: i2c-device.yaml
9+
10+
properties:
11+
polling-interval-ms:
12+
type: int
13+
default: 50
14+
description: |
15+
Interval between two reads, in ms. The interval must be greater than 21 ms. Default to 50 ms.

0 commit comments

Comments
 (0)