Sean
On 12/6/19 6:41 AM, Sean Nyekjaer wrote:
Hi Dan,
3. Questions or comments :)
All tests have been run with "net: m_can: Make wake-up gpio an
optional" applied.
Thanks for the tests and comments. Patches are welcome.
1.
From Documentation/devicetree/bindings/net/can/tcan4x5x.txt
reset-gpios = <&gpio1 27 GPIO_ACTIVE_LOW>;
The reset gpio is ACTIVE_HIGH works if changed to this in my device-tree.
I could do the patch for this if desired :)
Ack
2.
From Documentation/devicetree/bindings/net/can/tcan4x5x.txt
- device-state-gpios: Input GPIO that indicates if the device is in
a sleep state or if the device is active.
What pin is that exactly on the tcan4550 chip? I can't find a pin that
is matches this functionality.
This is the INH pin. This is what our HW guys asked for.
We probably can make this pin optional as well.
3.
When my board is booted, the reset line to the tcan4x5x is high.
At 1. probe it's failing because it can't talk to the tcan device. We
are not waiting the required 700 μs described in the datasheet.
I am not seeing this requirement in the data sheet. Maybe my data sheet
is out of date.
Is that 700uS out of reset?
Dan