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:
Miguel Gazquez 2024-08-12 16:47:18 +02:00 committed by Benjamin Cabé
commit d0785cc39b

View 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.