nvmem: add i.MX7 support to snvs-lpgpr
authorAndrey Yurovsky <yurovsky@gmail.com>
Fri, 9 Mar 2018 14:47:16 +0000 (14:47 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 14 Mar 2018 18:28:14 +0000 (19:28 +0100)
commit80b820cae421a424c2a1cd37bb714c47519086cd
treea29766a701fb9bac48fec2f32129d9241e0dd718
parentb7743a9944ed781e233cd63305bf5430d501061f
nvmem: add i.MX7 support to snvs-lpgpr

The i.MX7 family has similar SNVS hardware so make the snvs-lpgpr
support it along with the i.MX6 family. The register interface is the
same except for the number and offset of the general purpose registers.

Signed-off-by: Andrey Yurovsky <yurovsky@gmail.com>
Reviewed-by: Oleksij Rempel <o.rempel@pengutronix.de>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/devicetree/bindings/nvmem/snvs-lpgpr.txt
drivers/nvmem/Kconfig
drivers/nvmem/snvs_lpgpr.c