File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -30,11 +30,14 @@ function custom_kernel_config__photonicat2_pm() {
3030}
3131
3232# Enable PWM subsystem for backlight, beeper, voltage regulation, LEDs
33+ # RK3576 uses PWM v4 hardware which requires the PWM_ROCKCHIP_V4 driver
34+ # Note: The driver patch must be added from photonicat-old kernel tree
3335function custom_kernel_config__photonicat2_pwm() {
3436 kernel_config_modifying_hashes+=(
3537 " CONFIG_PWM=y"
3638 " CONFIG_BACKLIGHT_PWM=y"
3739 " CONFIG_ROCKCHIP_MFPWM=y"
40+ " CONFIG_PWM_ROCKCHIP_V4=y"
3841 " CONFIG_ROCKCHIP_PWM_CAPTURE=y"
3942 " CONFIG_INPUT_PWM_BEEPER=y"
4043 " CONFIG_BACKLIGHT_PWM=y"
@@ -45,6 +48,7 @@ function custom_kernel_config__photonicat2_pwm() {
4548 kernel_config_set_y PWM
4649 kernel_config_set_y BACKLIGHT_PWM
4750 kernel_config_set_y ROCKCHIP_MFPWM
51+ kernel_config_set_y PWM_ROCKCHIP_V4
4852 kernel_config_set_y ROCKCHIP_PWM_CAPTURE
4953 kernel_config_set_y INPUT_PWM_BEEPER
5054 kernel_config_set_y BACKLIGHT_PWM
You can’t perform that action at this time.
0 commit comments