mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-06 02:50:43 +00:00
![Kamel Bouhara](/assets/img/avatar_default.png)
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>
18 lines
611 B
Text
18 lines
611 B
Text
# SPDX-License-Identifier: GPL-2.0-only
|
|
config AT91_SOC_ID
|
|
bool "SoC bus for Atmel ARM SoCs"
|
|
depends on ARCH_AT91 || COMPILE_TEST
|
|
default ARCH_AT91
|
|
help
|
|
Include support for the SoC bus on the Atmel ARM SoCs.
|
|
|
|
config AT91_SOC_SFR
|
|
tristate "Special Function Registers support"
|
|
depends on ARCH_AT91 || COMPILE_TEST
|
|
help
|
|
This is a driver for the Special Function Registers available on
|
|
Atmel SAMA5Dx SoCs, providing access to specific aspects of the
|
|
integrated memory, bridge implementations, processor etc.
|
|
|
|
This driver can also be built as a module. If so, the module
|
|
will be called sfr.
|