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

Marcel Ziswiler
2014-06-02T20:25:31Z

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...