Skip to content

Commit 6898ab3

Browse files
committed
board: photonicat2: enable USB watchdog
1 parent 3252015 commit 6898ab3

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

config/boards/photonicat2.csc

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,19 @@ BOARD_FIRMWARE_INSTALL="-full"
1313
ENABLE_EXTENSIONS="radxa-aic8800"
1414
AIC8800_TYPE="usb"
1515

16-
# Enable Photonicat2 power management driver
16+
# Enable Photonicat2 power management and USB watchdog driver (requires SERIAL_DEV_BUS)
1717
function custom_kernel_config__photonicat2_pm() {
1818
kernel_config_modifying_hashes+=(
19+
"CONFIG_SERIAL_DEV_BUS=y"
20+
"CONFIG_SERIAL_DEV_CTRL_TTYPORT=y"
1921
"CONFIG_PHOTONICAT_PM=y"
22+
"CONFIG_PHOTONICAT_USB_WDT=m"
2023
)
2124
if [[ -f .config ]]; then
25+
kernel_config_set_y SERIAL_DEV_BUS
26+
kernel_config_set_y SERIAL_DEV_CTRL_TTYPORT
2227
kernel_config_set_y PHOTONICAT_PM
28+
kernel_config_set_m PHOTONICAT_USB_WDT
2329
fi
2430
}
2531

0 commit comments

Comments
 (0)