[IMX6][PWR] add poweroff and reboot system with kill power GPIO
this feature allow the cpu to turn off the power of the board on poweroff using a GPIO; the kill power GPIO have to be specified in the device tree with a power_signal node: power_signal: power_signal { power-gpio = <&gpio2 4 0>; }; modified: arch/arm/include/asm/mach/arch.h modified: arch/arm/include/asm/system_misc.h modified: arch/arm/kernel/reboot.c modified: arch/arm/kernel/setup.c modified: arch/arm/mach-imx/mach-imx6q.c
parent
9436e90a
No related branches found
No related tags found
Showing
- arch/arm/include/asm/mach/arch.h 1 addition, 0 deletionsarch/arm/include/asm/mach/arch.h
- arch/arm/include/asm/system_misc.h 2 additions, 0 deletionsarch/arm/include/asm/system_misc.h
- arch/arm/kernel/reboot.c 5 additions, 0 deletionsarch/arm/kernel/reboot.c
- arch/arm/kernel/setup.c 3 additions, 0 deletionsarch/arm/kernel/setup.c
- arch/arm/mach-imx/mach-imx6q.c 58 additions, 0 deletionsarch/arm/mach-imx/mach-imx6q.c