Hi Sebastian, On Wed, 1 Jul 2020 at 11:27, Sebastian Reichel <sebastian.reic...@collabora.com> wrote: > > Add GPIO poweroff driver, which is based on the Linux > driver and uses the same DT binding. > > Signed-off-by: Sebastian Reichel <sebastian.reic...@collabora.com> > --- > drivers/power/Kconfig | 8 ++++ > drivers/power/Makefile | 1 + > drivers/power/poweroff-gpio.c | 87 +++++++++++++++++++++++++++++++++++ > 3 files changed, 96 insertions(+) > create mode 100644 drivers/power/poweroff-gpio.c
Can you use the SYSRESET uclass instead of creating a new one? Regards, SImon