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)
commit3183444aee63a5c564dd75abec9adf693698d36a
treefb2b33dd7ee1a727e72dcb3d987fb066828016f8
parent8f73a173430b6e5f2968c73f61bbcca4701f9a42
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