Re: [PATCH 1/3] ARM: at91: use chipid device for soc detection

2016-03-29 Thread Nicolas Ferre
Le 29/03/2016 15:55, Arnd Bergmann a écrit : > On Friday 18 March 2016 08:21:19 Ludovic Desroches wrote: >> -struct soc_device * __init at91_soc_init(const struct at91_soc *socs) >> +int __init at91_get_cidr_exid_from_dbgu(u32 *cidr, u32 *exid) >> { > > >> + >> +int __init at91_get_cidr_exid_fro

Re: [PATCH 1/3] ARM: at91: use chipid device for soc detection

2016-03-29 Thread Arnd Bergmann
On Friday 18 March 2016 08:21:19 Ludovic Desroches wrote: > -struct soc_device * __init at91_soc_init(const struct at91_soc *socs) > +int __init at91_get_cidr_exid_from_dbgu(u32 *cidr, u32 *exid) > { > + > +int __init at91_get_cidr_exid_from_chipid(u32 *cidr, u32 *exid) > +{ > These should bot

Re: [PATCH 1/3] ARM: at91: use chipid device for soc detection

2016-03-29 Thread Nicolas Ferre
Le 23/03/2016 14:47, Alexandre Belloni a écrit : > On 23/03/2016 at 12:22:49 +0100, Nicolas Ferre wrote : >> Le 18/03/2016 11:34, Alexandre Belloni a écrit : >>> On 18/03/2016 at 08:21:19 +0100, Ludovic Desroches wrote : So far, the CIDR and EXID registers were in the DBGU interface. This devi

Re: [PATCH 1/3] ARM: at91: use chipid device for soc detection

2016-03-23 Thread Alexandre Belloni
On 23/03/2016 at 12:22:49 +0100, Nicolas Ferre wrote : > Le 18/03/2016 11:34, Alexandre Belloni a écrit : > > On 18/03/2016 at 08:21:19 +0100, Ludovic Desroches wrote : > >> So far, the CIDR and EXID registers were in the DBGU interface. This device > >> has disappeared with the SAMA5D2 family. The

Re: [PATCH 1/3] ARM: at91: use chipid device for soc detection

2016-03-23 Thread Nicolas Ferre
Le 18/03/2016 11:34, Alexandre Belloni a écrit : > On 18/03/2016 at 08:21:19 +0100, Ludovic Desroches wrote : >> 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.

Re: [PATCH 1/3] ARM: at91: use chipid device for soc detection

2016-03-19 Thread Rob Herring
On Fri, Mar 18, 2016 at 08:21:19AM +0100, Ludovic Desroches wrote: > 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 > [nic

[PATCH 1/3] ARM: at91: use chipid device for soc detection

2016-03-18 Thread Ludovic Desroches
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 [nicolas.fe...@atmel.com: remove useless warnings] --- .../devicetree/bindings/arm

Re: [PATCH 1/3] ARM: at91: use chipid device for soc detection

2016-03-18 Thread Alexandre Belloni
On 18/03/2016 at 08:21:19 +0100, Ludovic Desroches wrote : > 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 > [nicolas.fe.