[lkml]   [2021]   [Nov]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH net 1/4] can: m_can: pci: fix incorrect reference clock rate
On 11/16/21 9:15 AM, Marc Kleine-Budde wrote:
> On 16.11.2021 09:11:40, Jarkko Nikula wrote:
>>> ip link set can0 type can bitrate 1000000 dbitrate 2000000 fd on
>> I got confirmation the clock to CAN controller is indeed changed from 100
>> MHz to 200 MHz in release HW & firmware.
>> I haven't upgraded the FW in a while on our HW so that perhaps explain
>> why I was seeing expected rate :-)
> Can we query the FW version in the driver and set the clock rate
> accordingly?
Perhaps or check some clock register. I guess for now it can be
considered fixed clock since I understood rate was changed before
released to customers. I.e. customers shouldn't have firmware with
different rates. At least I hope so :-)


 \ /
  Last update: 2021-11-16 15:52    [W:0.049 / U:3.620 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site