Re: Why do we need reset_control_get_optional() ?

From: Philipp Zabel
Date: Fri Jul 29 2016 - 09:08:25 EST


Hi Masahiro,

Am Donnerstag, den 28.07.2016, 19:29 +0900 schrieb Masahiro Yamada:
[...]
> However, I think the following makes more sense:
>
>
> menuconfig RESET_CONTROLLER
> bool "Reset Controller Support"
> depends on (ARCH_HAS_RESET_CONTROLLER || COMPILE_TEST)
> default y
> help
> Generic Reset Controller support.

That looks sensible to me. You'll only have to enable the reset
controller framework if either some enabled architecture has a reset
controller (in which case you want the driver for it to be activated by
default), or if you want to compile test some of the reset drivers.

regards
Philipp