Re: Devicetree for can tcan4x5x

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Sean

On 11/26/19 8:31 AM, Dan Murphy wrote:
Sean

On 11/26/19 8:12 AM, Sean Nyekjaer wrote:


<snip>
Hi Dan,

Thanks for the reply :)
I have the driver loading now, just with the SPI entry.

Our HW guys have hardwired the WAKE pin to GND, I'm guessing that's a perfectly valid scenario.
I have a small patch that makes the WAKE pin optional.

/Sean




Let me check with our HW guys here to see if that is acceptable.

If it is we will need to update the DT doc and the code.

Got a response and it reminded me why I made it required.  Can't control CAN activity and did not want to reset the chip every time I need to do a SPI write/read.  So you might want to think about having the HW guys wire up the wake up line.

The device looks for a transition to wake up. It should be OK to wire it to ground, I believe. It will not stay awake, but note that once you put it to sleep, your only option to wake it will be

1)      CAN activity (out of your control)
2)      Reset pin toggle

Dan




[Index of Archives]     [Automotive Discussions]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]     [CAN Bus]

  Powered by Linux