Skip to content

Commit f1a6ac8

Browse files
committed
realtek: add PWM support
Enable CONFIG_PWM and CONFIG_PWM_SYSFS on the RTL839x target. This is required to support PWM-controlled devices described in the Device Tree, such as generic PWM fans (kmod-hwmon-pwmfan). Enabling the PWM core framework introduces a minimal footprint overhead. Impact measured on the edgecore_ecs4100-12ph profile: - Flash (compressed kernel .bin) : +5.4 KB - RAM (vmlinux bloat-o-meter) : +18.3 KB Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
1 parent 54f7b24 commit f1a6ac8

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

target/linux/realtek/rtl839x/config-6.18

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,8 @@ CONFIG_POWER_RESET=y
217217
CONFIG_POWER_RESET_GPIO_RESTART=y
218218
CONFIG_POWER_RESET_SYSCON=y
219219
CONFIG_PTP_1588_CLOCK_OPTIONAL=y
220+
CONFIG_PWM=y
221+
CONFIG_PWM_SYSFS=y
220222
CONFIG_QUEUED_RWLOCKS=y
221223
CONFIG_QUEUED_SPINLOCKS=y
222224
CONFIG_RANDSTRUCT_NONE=y

0 commit comments

Comments
 (0)