reset: imx7: Support module build
authorAnson Huang <Anson.Huang@nxp.com>
Mon, 20 Jul 2020 14:21:59 +0000 (22:21 +0800)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Wed, 23 Sep 2020 12:25:31 +0000 (14:25 +0200)
commita442abbbe186e14128d18bc3e42fb0fbf1a62210
treed4dcf6c704c1bd686ff3ad64c8b66fec35709522
parent9123e3a74ec7b934a4a099e98af6a61c2f80bbf5
reset: imx7: Support module build

Use module_platform_driver(), add module device table, author,
description and license to support module build, and
CONFIG_RESET_IMX7 is changed to default 'y' ONLY for i.MX7D,
other platforms need to select it in defconfig.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
drivers/reset/Kconfig
drivers/reset/reset-imx7.c