renesas,rx-ctsu

Vendor: Renesas Electronics Corporation

Note

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

Description

RX Renesas Capatitive Touch Sensing Unit

Properties

Top level properties

These property descriptions apply to “renesas,rx-ctsu” nodes themselves. This page also describes child node properties in the following sections.

Properties not inherited from the base binding file.

Name

Type

Details

max-num-sensors

int

Maximum number of sensors available in the CTSU

This property is required.

low-voltage-mode

boolean

Enable low voltage mode
In this mode, the CTSU will work with lower voltage
This mode is useful when the system is working with low voltage

tscap-gpios

phandle-array

CTSU TSCAP Pin

This property is required.

pinctrl-0

phandles

Pin configuration/s for the first state. Content is specific to the
selected pin controller driver implementation.

This property is required.

pinctrl-names

string-array

Names for the provided states. The number of names needs to match the
number of states.

This property is required.

pinctrl-1

phandles

Pin configuration/s for the second state. See pinctrl-0.

pinctrl-2

phandles

Pin configuration/s for the third state. See pinctrl-0.

pinctrl-3

phandles

Pin configuration/s for the fourth state. See pinctrl-0.

pinctrl-4

phandles

Pin configuration/s for the fifth state. See pinctrl-0.

Child node properties

Name

Type

Details

component-type

string

Type of component

This property is required.

Legal values: 'button', 'slider', 'wheel'

ssdiv

int

Spectrum Diffusion Frequency Division Setting
- 0:      4.00 <= Base Clock Frequency fb (MHz)
- 1..14:  4.00/(ssdiv+1) <= fb < 4.00/(ssdiv)
- 15:     fb < 0.27

Default value: 1

so

int

Sensor Offset Adjustment (10 bits):
Current offset amount

Default value: 116

snum

int

Set the number of measurements = snum + 1

Default value: 3

sdpa

int

Base Clock Setting (5 bits)(0 - 31):
Operating clock divided by 2*(sdpa+1)

Default value: 7

resolution

int

Resolution of wheel or slider

Default value: 100

channels-num

array

Channels number that are used by the component
In case of "slider" or "wheel", channels should be placed in order
  as they are on the slider or wheel. (from the lowest value to the highest value)
In case of "button", there must be only 1 element in array.
Otherwise, CTSU will not working.

This property is required.

touch-count-threshold

int

Count threshold to determine touching or not
In case of "slider" or "wheel",
  this is the threshold to start the position calculation

Default value: 1500

threshold-range

int

Range of threshold: if count > threshold + range => touching
                    if count < threshold => untouch

Default value: 500

zephyr,code

int

Key code to emit.

This property is required.