Re: [PATCH 3/3] arm: tegra: initial support for apalis t30

From: Marcel Ziswiler
Date: Mon Jun 02 2014 - 16:25:34 EST


On 06/02/2014 06:33 PM, Stephen Warren wrote:
I vaguely recall people speaking out against including "spidev" devices
in DT because they don't represent actual HW, but rather a way to
request that the SPI bus be exposed to user-space, which is a pure SW
issue. Wouldn't it be better if the spidev interface worked like
I2C_CHARDEV, where fake devices weren't actually required?

Well, there is one important difference. While I2C indeed does not have any further hardware dependency apart from the clock (SCL) and data (SDA) lines SPI actually requires dedicated hardware chip-select lines as well. But I guess NVIDIA has been rather ignorant about any of this in the past...
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/