3b5a401594
* **New Features** * Added native display support for ST7796, ILI9341, and ST7789 panels across supported boards. * Added FT5x06 and FT6x36 touchscreen support. * Generic PWM driver * ESP32 PWM driver * Generic RGB LED driver * RGB PWM LED driver * RGB GPIO LED driver * Implementation of RGB LED for various boards * **Improvements** * Updated board hardware descriptions to use explicit display/touch/backlight device-tree bindings and disabled deprecated HAL usage. * Improved display and touch-driver cleanup to prevent stale resources and improve shutdown reliability. * Pinned esp-hosted library to a fixed version * **Deletions** * Obsolete placeholder display * Legacy ILI9488 support. * ESP32-specific LEDC PWM implementation
34 lines
846 B
YAML
34 lines
846 B
YAML
description: ESP32 LEDC-backed generic PWM output
|
|
|
|
compatible: "espressif,esp32-pwm-ledc"
|
|
|
|
properties:
|
|
pin:
|
|
type: phandles
|
|
required: true
|
|
description: PWM output pin
|
|
period-ns:
|
|
type: int
|
|
required: true
|
|
description: The PWM period, in nanoseconds
|
|
duty-ns:
|
|
type: int
|
|
default: 0
|
|
description: The PWM duty cycle (active time within one period), in nanoseconds
|
|
inverted:
|
|
type: boolean
|
|
default: false
|
|
description: Whether the output polarity is inverted
|
|
duty-resolution:
|
|
type: int
|
|
default: 10
|
|
description: LEDC duty resolution in bits, defined by ledc_timer_bit_t
|
|
ledc-timer:
|
|
type: int
|
|
required: true
|
|
description: LEDC timer index, defined by ledc_timer_t
|
|
ledc-channel:
|
|
type: int
|
|
required: true
|
|
description: LEDC channel index, defined by ledc_channel_t
|