power: reset: linkstation-poweroff: add new device
authorPawel Dembicki <paweldembicki@gmail.com>
Thu, 24 Jun 2021 09:18:12 +0000 (11:18 +0200)
committerSebastian Reichel <sre@kernel.org>
Fri, 13 Aug 2021 17:16:41 +0000 (19:16 +0200)
commit0c77ec3da8c156d6d02ce0934b590cfe8a313cae
tree611fbdf7b9c5723f7f945540175d06e4b410ac60
parente2f471efe1d607a7aff38ce53ec717cebe4283d6
power: reset: linkstation-poweroff: add new device

This commit introduces support for NETGEAR ReadyNAS Duo v2.
This device use bit 4 of LED[2:0] Polarity Control Register to indicate
AC Power loss.

For more details about AC loss detection in NETGEAR ReadyNAS Duo v2,
please look at the file:
RND_5.3.13_WW.src/u-boot/board/mv_feroceon/mv_hal/usibootup/usibootup.c
from Netgear GPL sources.

Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/power/reset/linkstation-poweroff.c