]> 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)
commit5088b1b51ad09538a806f117af8abc27cdaa7d52
treefb2b33dd7ee1a727e72dcb3d987fb066828016f8
parent7e64cdb93850d6b14653700d5881fdbabcf1f266
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