Re: [PATCH 0/5] Add support for WD MyCloud EX2 Ultra (+ versatile UART-based restart/poweroff drivers)

2019-07-23 Thread Evgeny Kolesnikov
On 23/07/2019 03:56, Andrew Lunn wrote: On Mon, Jul 22, 2019 at 09:53:00PM +0200, Evgeny Kolesnikov wrote: The difference between uart-poweroff and qnap-poweroff is small, but important: uart-poweroff is able to send to an MCU a command of arbitrary length, and the command itself is defined

[PATCH 4/5] power/reset: Add a restart driver for UART-based PM MCUs

2019-07-22 Thread Evgeny Kolesnikov
This adds the restart driver for power managing micro controller units that are connected to a board via the UART interface. Signed-off-by: Evgeny Kolesnikov --- drivers/power/reset/Kconfig| 7 + drivers/power/reset/Makefile | 1 + drivers/power/reset/uart-restart.c | 204

[PATCH 3/5] power/reset: Add a power off driver for UART-based PM MCUs

2019-07-22 Thread Evgeny Kolesnikov
This adds the poweroff driver for power managing micro controller units that are connected to a board via the UART interface. Signed-off-by: Evgeny Kolesnikov --- drivers/power/reset/Kconfig | 7 ++ drivers/power/reset/Makefile| 1 + drivers/power/reset/uart-poweroff.c | 155

[PATCH 2/5] power: reset: Add UART-based MCU restart DT bindings

2019-07-22 Thread Evgeny Kolesnikov
This adds device tree bindings of the restart driver for power managing micro controller units that are connected to a board via the UART interface. Signed-off-by: Evgeny Kolesnikov --- .../bindings/power/reset/uart-restart.txt | 39 +++ 1 file changed, 39 insertions

[PATCH 5/5] ARM: dts: armada385-wd-mcex2u: Add DTS file for WD My Cloud EX2 Ultra

2019-07-22 Thread Evgeny Kolesnikov
Add the DTS file to describe the Western Digital My Cloud EX2 Ultra NAS. Signed-off-by: Evgeny Kolesnikov --- arch/arm/boot/dts/armada-385-wd-mcex2u.dts | 313 + 1 file changed, 313 insertions(+) create mode 100644 arch/arm/boot/dts/armada-385-wd-mcex2u.dts diff --git

[PATCH 0/5] Add support for WD MyCloud EX2 Ultra (+ versatile UART-based restart/poweroff drivers)

2019-07-22 Thread Evgeny Kolesnikov
. The difference between uart-poweroff and qnap-poweroff is small, but important: uart-poweroff is able to send to an MCU a command of arbitrary length, and the command itself is defined in a DTS file for a specific device/board, thus making this driver applicable to wider range of devices. Evgeny

[PATCH 1/5] power: reset: Add UART-based MCU poweroff DT bindings

2019-07-22 Thread Evgeny Kolesnikov
This adds device tree bindings of the poweroff driver for power managing micro controller units that are connected to a board via the UART interface. Signed-off-by: Evgeny Kolesnikov --- .../bindings/power/reset/uart-poweroff.txt| 38 +++ 1 file changed, 38 insertions