[PATCH 3/5] realtek: backport Realtek Otto WDT driver
Sander Vanheule
sander at svanheule.net
Thu Nov 4 08:41:22 PDT 2021
On Thu, 2021-11-04 at 15:55 +0100, Sander Vanheule wrote:
> Add patch submitted upstream to linux-watchdog and replace the MIPS
> architecture symbols. Requires one extra patch for the DIV_ROUND_*
> macros, which have moved to a different header since 5.10.
>
> Also refresh the kernel config to enable the new driver.
>
> Signed-off-by: Sander Vanheule <sander at svanheule.net>
> ---
[...]
> diff --git a/target/linux/realtek/config-5.10 b/target/linux/realtek/config-5.10
> index 2c5ab1706a2c..00f2a6af13ba 100644
> --- a/target/linux/realtek/config-5.10
> +++ b/target/linux/realtek/config-5.10
> @@ -160,6 +160,7 @@ CONFIG_PINCTRL=y
> CONFIG_POWER_RESET=y
> CONFIG_POWER_RESET_SYSCON=y
> CONFIG_RATIONAL=y
> +CONFIG_REALTEK_OTTO_WDT=y
> CONFIG_REALTEK_PHY=y
> CONFIG_REALTEK_SOC_PHY=y
> CONFIG_REGMAP=y
> @@ -190,5 +191,6 @@ CONFIG_TIMER_PROBE=y
> CONFIG_TINY_SRCU=y
> CONFIG_USE_GENERIC_EARLY_PRINTK_8250=y
> CONFIG_USE_OF=y
> +CONFIG_WATCHDOG_CORE=y
> CONFIG_ZLIB_DEFLATE=y
> CONFIG_ZLIB_INFLATE=y
This bit should probably go into the next patch that enables the WDT. I'll update
this in a respin, but I'll first wait for some other comments.
Best,
Sander
More information about the openwrt-devel
mailing list