10 Dec, 2019

1 commit


08 Nov, 2019

1 commit

  • 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
    Tested-by: Tudor Ambarus
    Reviewed-by: Tudor Ambarus
    Link: https://lore.kernel.org/r/20191004151802.21793-1-kamel.bouhara@bootlin.com
    Signed-off-by: Alexandre Belloni

    Kamel Bouhara
     

21 May, 2019

1 commit


12 Dec, 2018

2 commits


18 Sep, 2017

1 commit


02 Jun, 2017

1 commit


01 Apr, 2017

1 commit

  • To simplify machine init and as the soc_device struct is not used as the
    parent for on-chip devices anymore, move SoC detection to its own driver.

    Change in dmesg:
    - before:
    DMA: preallocated 256 KiB pool for atomic coherent allocations
    AT91: Detected SoC family: sama5d2
    AT91: Detected SoC: sama5d27, revision 0
    No ATAGs?
    clocksource: tcb_clksrc: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 184217874325 ns
    at_xdmac f0010000.dma-controller: 16 channels, mapped at 0xe085b000
    SCSI subsystem initialized

    - after:
    DMA: preallocated 256 KiB pool for atomic coherent allocations
    No ATAGs?
    clocksource: tcb_clksrc: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 184217874325 ns
    at_xdmac f0010000.dma-controller: 16 channels, mapped at 0xe0859000
    AT91: Detected SoC family: sama5d2
    AT91: Detected SoC: sama5d27, revision 0
    SCSI subsystem initialized

    Suggested-by: Arnd Bergmann
    Acked-by: Nicolas Ferre
    Signed-off-by: Alexandre Belloni

    Alexandre Belloni