[PATCH] [PATCH] tty/serial: atmel: add new version check for usart

Nicolas Ferre nicolas.ferre at microchip.com
Mon Feb 5 06:37:49 PST 2018


On 05/02/2018 at 15:04, Jonas Danielsson wrote:
> On Mon, Feb 5, 2018 at 1:36 PM, Nicolas Ferre
> <nicolas.ferre at microchip.com> wrote:
>> On 29/01/2018 at 12:39, Jonas Danielsson wrote:
>>> On our at91sam9260 based board the usart0 and usart1 ports report
>>> their versions (ATMEL_US_VERSION) as 0x10302. This version is not
>>> included in the current checks in the driver.
>>>
>>> Signed-off-by: Jonas Danielsson <jonas at orbital-systems.com>
>>
>> Acked-by: Nicolas Ferre <nicolas.ferre at microchip.com>
>>
>> It must be the AT91SAM9260 rev. B SoC, isn't it?
>>
>> Thanks for your patch.
>>
>> Best regards,
>>   Nicolas
>>
> 
> Hi Nicolas!
> 
> Thank you for the review!
> 
> Yes that is right, we have the rev B SoC :) I Tried to find some
> documentation online
> regarding the US_VERSION register, but fell short.

It's actually a non-documented register ;-)
In short, bits [0-11] Hardware module version
bits [16-18] Metal fix number.
So your at91sam9260 revB benefit from the metal fix #1.

Best regards,
-- 
Nicolas Ferre



More information about the linux-arm-kernel mailing list