linux_dsm_epyc7002/drivers/soc/atmel
Kamel Bouhara c3277f8ee8 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>
2019-11-07 22:33:10 +01:00
..
Kconfig soc: at91: Add Atmel SFR SN (Serial Number) support 2019-11-07 22:33:10 +01:00
Makefile soc: at91: Add Atmel SFR SN (Serial Number) support 2019-11-07 22:33:10 +01:00
sfr.c soc: at91: Add Atmel SFR SN (Serial Number) support 2019-11-07 22:33:10 +01:00
soc.c ARM: at91: add support in soc driver for new SAM9X60 2018-12-12 11:55:20 +01:00
soc.h ARM: at91: add support in soc driver for new SAM9X60 2018-12-12 11:55:20 +01:00