]> git.karo-electronics.de Git - linux-beck.git/commit
ARM: at91: use chipid device for soc detection
authorLudovic Desroches <ludovic.desroches@atmel.com>
Fri, 18 Mar 2016 07:21:19 +0000 (08:21 +0100)
committerNicolas Ferre <nicolas.ferre@atmel.com>
Tue, 29 Mar 2016 14:34:21 +0000 (16:34 +0200)
commit2f26e6189d3bdfcbf2b3bd0d6ff88eb8e7022246
treef42a02820c5afac607daa14e5405f0e0fc011879
parentf55532a0c0b8bb6148f4e07853b876ef73bc69ca
ARM: at91: use chipid device for soc detection

So far, the CIDR and EXID registers were in the DBGU interface. This device
has disappeared with the SAMA5D2 family. These registers are exposed
through a new device called chipid.

Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
[nicolas.ferre@atmel.com: remove useless warnings]
Acked-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Acked-by: Rob Herring <robh@kernel.org>
[arnd@arndb.de: suggest to use static functions to reduce scope]
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Documentation/devicetree/bindings/arm/atmel-at91.txt
arch/arm/mach-at91/soc.c