summaryrefslogtreecommitdiff
path: root/drivers/soc/atmel/Makefile
diff options
context:
space:
mode:
authorKamel Bouhara <kamel.bouhara@bootlin.com>2019-10-04 18:18:02 +0300
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2019-11-08 00:33:10 +0300
commitc3277f8ee8cdadf011b8390dfdb4c44ecfaa1a7a (patch)
tree46e1fe3f1fd1b38e26bda7f66240a71e32d24881 /drivers/soc/atmel/Makefile
parent5db3fb404af55df9d0a26bd3314bc6cd3fe9f5d6 (diff)
downloadlinux-c3277f8ee8cdadf011b8390dfdb4c44ecfaa1a7a.tar.xz
soc: at91: Add Atmel SFR SN (Serial Number) support
Add support to read SFR's read-only registers providing the SoC Serial Numbers (SN0+SN1) to userspace. ~ # hexdump -n 8 -e'"%d\n"' /sys/bus/nvmem/devices/atmel-sfr0/nvmem 959527243 371539274 Signed-off-by: Kamel Bouhara <kamel.bouhara@bootlin.com> Tested-by: Tudor Ambarus <tudor.ambarus@microchip.com> Reviewed-by: Tudor Ambarus <tudor.ambarus@microchip.com> Link: https://lore.kernel.org/r/20191004151802.21793-1-kamel.bouhara@bootlin.com Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'drivers/soc/atmel/Makefile')
-rw-r--r--drivers/soc/atmel/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/soc/atmel/Makefile b/drivers/soc/atmel/Makefile
index 7ca355d10553..d849a897cd77 100644
--- a/drivers/soc/atmel/Makefile
+++ b/drivers/soc/atmel/Makefile
@@ -1,2 +1,3 @@
# SPDX-License-Identifier: GPL-2.0-only
obj-$(CONFIG_AT91_SOC_ID) += soc.o
+obj-$(CONFIG_AT91_SOC_SFR) += sfr.o