renesas,ra-ctsu-wheel

Vendor: Renesas Electronics Corporation

Note

An implementation of a driver matching this compatible is available in drivers/input/input_renesas_ra_ctsu.c.

Description

Renesas RA Capacitive Touch Wheel

This node is a renesas,ra-ctsu grandchild node and applies filters and calculations
to detect an input event on a group which is the child of renesas,ra-ctsu.
For more information see input/renesas,ra-ctsu.yaml

Example:

#include <dt-bindings/input/input-event-codes.h>

&ctsu {
  compatible = "renesas,ra-ctsu";

  group1 {
    ...
    wheel {
      compatible = "renesas,ra-ctsu-wheel";
      elements = <0>, <3>, <2>, <1>;
      threshold = <711>;
      event-code = <INPUT_ABS_WHEEL>;
    };
  };
};

Properties

Properties not inherited from the base binding file.

Name

Type

Details

event-code

int

The key code for the device. This is used to identify the device in the
input subsystem. It should be one of the values defined in
include/input-event-codes.h.

This property is required.

elements

array

Element number array from CTSU group that used by this node. It should have the same
order with electrode located on the Capacitive Pad.

threshold

int

Touch/non-touch judgement threshold for automatic judgement.