Messages in this thread | | | Date | Mon, 27 Apr 2015 11:46:02 +0100 | From | Mark Brown <> | Subject | Re: [linux-sunxi] [PATCH 2/3] spidev: Add DT binding example. |
| |
On Sun, Apr 26, 2015 at 08:53:16PM +0200, Michal Suchanek wrote:
> Do you have to describe a modem or terminal emulator in DT to connect > it to your serial port? You just describe the port. So here you have a > SPI port and it should be described in the DT as faithfully as the > serial port.
Serial ports have runtime mechanisms defined for connecting devices to them (opening the device or attaching a line discipline).
> Or do you suggest that I patch the compatible into spidev, write a > driver for it, and then back out the compatible from spidev and check > in the compatible again with the driver?
Until someone provides a way of binding spidev to otherwise unbound devices that's exactly what is being suggested; if your main purpose in this is to write a kernel driver for the device then that would be a local modification to add the compatible (or you could just ignore the warning) until you get something in kernel space, no need to upstream. [unhandled content-type:application/pgp-signature] | |