On 24/08/2023 12:53, Fabio Estevam wrote: > Hi Daniel, > > On Thu, Aug 24, 2023 at 7:35 AM Daniel Lezcano > <daniel.lezcano@xxxxxxxxxx> wrote: > >>> I will try a different approach by introducing a Kconfig option. >> >> Alternatively, the 'chosen' DT node could be used, no ? Any DT property would be a problem, because I don't think it is static configuration. For example board with the same DTS once should reboot (during development) and once shutdown (some customer wants to be sure it will stay shutdown after critical condition). It's runtime feature. > > Good idea. I will introduce a module_param() then. Module params are usually discouraged and it also does not allow any runtime configuration. I think you need sysfs ABI. Best regards, Krzysztof