spi device probe not carring device tree pointer, how to troubleshoot?

Daniel. danielhilst at gmail.com
Thu Aug 4 16:02:05 EDT 2016


Hi everybody.

I'm trying to get one of my drivers working on top of this[1]. My
driver gets probed but spi->dev.of_node is NULL. Does anybody knows
where spi->dev.of_node gets setted!? Here is a sample [2].

[1] https://github.com/daniel-santos/mcp2210-linux
[2] https://gist.github.com/gkos/b54054b345afc4239e92f8adde99788e

-- 
"Do or do not. There is no try"
  Yoda Master



More information about the Kernelnewbies mailing list