Re: [PATCH 2/3] arm: tegra: enable igb, stmpe, i2c chardev, spidev, lm95245, pwm leds
From: Mark Brown
Date: Mon Jun 02 2014 - 18:17:17 EST
- Next message: Dan Streetman: "[PATCHv4 0/6] mm/zpool: add common api for zswap to use zbud/zsmalloc"
- Previous message: H. Peter Anvin: "[GIT PULL] x86 fixes for v3.15"
- In reply to: Marcel Ziswiler: "Re: [PATCH 2/3] arm: tegra: enable igb, stmpe, i2c chardev, spidev, lm95245, pwm leds"
- Next in thread: Marcel Ziswiler: "Re: [PATCH 2/3] arm: tegra: enable igb, stmpe, i2c chardev, spidev, lm95245, pwm leds"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Mon, Jun 02, 2014 at 06:28:37PM +0200, Marcel Ziswiler wrote:
> On 06/02/2014 06:11 PM, Stephen Warren wrote:
> >>+CONFIG_SPI_SPIDEV=y
> >Is this useful with DT? I thought that unlike I2C_CHARDEV, spidev needed
> >dummy devices to exist in DT for spidev to work? If so, there's not much
> >point adding the option to defconfig, since people can add it when they
> >put the dummy devices into DT.
> Yes, the Apalis T30 DT I sent actually contains two of them which we call
> generic Apalis SPI1 and SPI2 out-of-the-box configured for exactly that.
> Without the config enabled though it probably does not make much sense to
> include it in the DT so I would consider removing it again.
Your DT is broken if it's got a "spidev" node in it, you should be
describing the hardware not the Linux implementation of the software.
It would be really nice if we had a good way of handling this but we
don't yet.
Attachment:
signature.asc
Description: Digital signature
- Next message: Dan Streetman: "[PATCHv4 0/6] mm/zpool: add common api for zswap to use zbud/zsmalloc"
- Previous message: H. Peter Anvin: "[GIT PULL] x86 fixes for v3.15"
- In reply to: Marcel Ziswiler: "Re: [PATCH 2/3] arm: tegra: enable igb, stmpe, i2c chardev, spidev, lm95245, pwm leds"
- Next in thread: Marcel Ziswiler: "Re: [PATCH 2/3] arm: tegra: enable igb, stmpe, i2c chardev, spidev, lm95245, pwm leds"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]