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é <benjamin@zephyrproject.org>
This commit is contained in:
Benjamin Cabé 2025-05-14 21:02:36 +02:00 committed by Benjamin Cabé
commit 51006fbe05

View file

@ -1,15 +1,19 @@
# Copyright (c) 2024 NXP Semiconductors
# SPDX-License-Identifier: Apache-2.0
description: |
SBUS input driver using
This driver implements the SBUS protocol used on RC radio's
to send out analogue joystick and switches output.
SBUS is an single-wire inverted serial protocol so either you need to use
the rx-invert feature of your serial driver or use an external signal inverter.
The driver binds this to the Zephyr input system using INPUT_EV_CODES.
title: Futaba SBUS
The following examples defines a binding of 2 joysticks and a button using 5 channels.
description: |
SBUS is a single-wire inverted serial protocol that can be used to receive
analog joystick and switch inputs from RC transmitters. Since the signal is
inverted, you need to use an external signal inverter or set the rx-invert
flag on the serial controller node (if it supports pin inversion).
The binding allows mapping of up to 16 SBUS channels to Zephyr input events.
Each channel can be configured to generate either absolute position events
(for joysticks) or key events (for switches).
The following example shows how to configure 2 joysticks and a button using 5 channels:
&lpuart6 {
status = "okay";