soc: imx-scu: Add SoC UID(unique identifier) support
authorAnson Huang <Anson.Huang@nxp.com>
Tue, 2 Jul 2019 07:45:45 +0000 (15:45 +0800)
committerShawn Guo <shawnguo@kernel.org>
Mon, 12 Aug 2019 12:34:54 +0000 (14:34 +0200)
commit73feb4d0f8f14c5102bd46ce2255ff55d3d52db7
treea51637201b1aa9ebc7cc05f118d325ae3762597d
parent77266e722feabb6eefc8a7e84ac2415837d91c5f
soc: imx-scu: Add SoC UID(unique identifier) support

Add i.MX SCU SoC's UID(unique identifier) support, user
can read it from sysfs:

root@imx8qxpmek:~# cat /sys/devices/soc0/soc_uid
7B64280B57AC1898

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Reviewed-by: Daniel Baluta <daniel.baluta@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
drivers/soc/imx/soc-imx-scu.c