19.10.2021 18:31, Lee Jones пишет: > On Thu, 07 Oct 2021, Dmitry Osipenko wrote: > >> Use new power off call chain API which allows multiple power off handlers >> to coexist. Nexus 7 Android tablet can be powered off using MAX77663 PMIC >> and using a special bootloader command. At first the bootloader option >> should be tried, it will have a higher priority than the PMIC. >> >> Signed-off-by: Dmitry Osipenko <digetx@xxxxxxxxx> >> --- >> drivers/mfd/max77620.c | 22 +++++++++++++++------- >> include/linux/mfd/max77620.h | 2 ++ >> 2 files changed, 17 insertions(+), 7 deletions(-) > I don't have a problem with the approach in general. > > I guess it's up to the relevant maintainers to decide. > Thank you for taking a look at this. Guenter Roeck gave me advice based on his previous experience of working on this topic and I'm now in a process of finalizing v2 that will be a more comprehensive and nicer solution. So you will need to take another look soon, thanks.