Skip to content

Commit 51006fb

Browse files
committed
dts: input: Rework futaba,sbus description and title
A binding documentation shouldn't be referring to "driver", so this commit reworks the description accordingly, and sets a title now that binding files can have one. Signed-off-by: Benjamin Cabé <[email protected]>
1 parent fd3b730 commit 51006fb

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

dts/bindings/input/futaba,sbus.yaml

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,19 @@
11
# Copyright (c) 2024 NXP Semiconductors
22
# SPDX-License-Identifier: Apache-2.0
33

4+
title: Futaba SBUS
5+
46
description: |
5-
SBUS input driver using
6-
This driver implements the SBUS protocol used on RC radio's
7-
to send out analogue joystick and switches output.
8-
SBUS is an single-wire inverted serial protocol so either you need to use
9-
the rx-invert feature of your serial driver or use an external signal inverter.
10-
The driver binds this to the Zephyr input system using INPUT_EV_CODES.
7+
SBUS is a single-wire inverted serial protocol that can be used to receive
8+
analog joystick and switch inputs from RC transmitters. Since the signal is
9+
inverted, you need to use an external signal inverter or set the rx-invert
10+
flag on the serial controller node (if it supports pin inversion).
11+
12+
The binding allows mapping of up to 16 SBUS channels to Zephyr input events.
13+
Each channel can be configured to generate either absolute position events
14+
(for joysticks) or key events (for switches).
1115
12-
The following examples defines a binding of 2 joysticks and a button using 5 channels.
16+
The following example shows how to configure 2 joysticks and a button using 5 channels:
1317
1418
&lpuart6 {
1519
status = "okay";

0 commit comments

Comments
 (0)