Re: drivers/tty/serial/max310x doesn't support latest UART revision of MAX14830

From: Greg KH
Date: Wed Oct 19 2016 - 10:30:56 EST


On Wed, Oct 19, 2016 at 10:25:41AM +0200, Roberto Sara wrote:
> Kernel 4.4.22

That's pretty old and obsolete, can you try 4.8?

> MAX310x_REV_MASK has a value of 0xfc which only allows for UART revisions of
> 0xb0 to 0xb3.
>
> The latest MAX14830 UARTS have revision number 0xb4.  The data sheet only
> states that revisions start at 0xb0.
>
> I suggest a change of MAX310x_REV_MASK to 0xf8, which will allow revisions up
> to 0xb7

Great, can you send a patch that you have tested to work properly?

thanks,

greg k-h