boards: xtensa: esp32 board files update
touch_sensors default parameter added to .dts files and input driver added to .yaml supported features array of: - esp32_devkitc_wroom - esp32_devkitc_wrover - esp32s2_saola - esp32s3_devkitm Signed-off-by: Marcio Ribeiro <marcio.ribeiro@espressif.com>
This commit is contained in:
parent
8cb870f7de
commit
a9eb01ea4f
8 changed files with 56 additions and 0 deletions
|
@ -8,6 +8,7 @@
|
|||
#include <espressif/esp32s3/esp32s3_mini_n8.dtsi>
|
||||
#include "esp32s3_devkitm-pinctrl.dtsi"
|
||||
#include <zephyr/dt-bindings/input/input-event-codes.h>
|
||||
#include <zephyr/dt-bindings/input/esp32-touch-sensor-input.h>
|
||||
|
||||
/ {
|
||||
model = "esp32s3_devkitm";
|
||||
|
@ -68,6 +69,18 @@
|
|||
status = "okay";
|
||||
};
|
||||
|
||||
&touch {
|
||||
debounce-interval-ms = <30>;
|
||||
href-microvolt = <2700000>;
|
||||
lref-microvolt = <500000>;
|
||||
href-atten-microvolt = <1000000>;
|
||||
filter-mode = <ESP32_TOUCH_FILTER_MODE_IIR_16>;
|
||||
filter-debounce-cnt = <1>;
|
||||
filter-noise-thr = <ESP32_TOUCH_FILTER_NOISE_THR_4_8TH>;
|
||||
filter-jitter-step = <4>;
|
||||
filter-smooth-level = <ESP32_TOUCH_FILTER_SMOOTH_MODE_IIR_2>;
|
||||
};
|
||||
|
||||
&i2c0 {
|
||||
clock-frequency = <I2C_BITRATE_STANDARD>;
|
||||
pinctrl-0 = <&i2c0_default>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue