]> git.baikalelectronics.ru Git - kernel.git/commit
reset: npcm: using syscon instead of device data
authorTomer Maimon <tmaimon77@gmail.com>
Sun, 17 Jul 2022 09:16:00 +0000 (12:16 +0300)
committerArnd Bergmann <arnd@arndb.de>
Tue, 19 Jul 2022 13:41:02 +0000 (15:41 +0200)
commitd9bfce5539e6f1cddacf08b615fc43eedc8ead80
treefb2b33dd7ee1a727e72dcb3d987fb066828016f8
parentacbb129a529564d9faeb591fd3df382e92c1d8a3
reset: npcm: using syscon instead of device data

Using syscon device tree property instead of device data to handle the
NPCM general control registers.

In case the syscon not found the code still search for nuvoton,npcm750-gcr
to support DTS backward compatibility.

Signed-off-by: Tomer Maimon <tmaimon77@gmail.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
drivers/reset/reset-npcm.c