[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20120922185625.GA19323@roeck-us.net>
Date: Sat, 22 Sep 2012 11:56:25 -0700
From: Guenter Roeck <linux@...ck-us.net>
To: Mark Brown <broonie@...nsource.wolfsonmicro.com>
Cc: spi-devel-general@...ts.sourceforge.net,
linux-kernel@...r.kernel.org,
Grant Likely <grant.likely@...retlab.ca>
Subject: Re: [PATCH resend] spi core: Provide means to instantiate devices
through sysfs
On Sat, Sep 22, 2012 at 12:11:33PM -0400, Mark Brown wrote:
> On Mon, Sep 17, 2012 at 04:51:20PM -0700, Guenter Roeck wrote:
> > The I2C core provides a means to instantiate devices from userspace
> > using sysfs attributes. Provide the same mechanism for SPI devices.
>
> So, unlike I2C this is only going to work for a subset of controllers -
> anything that relies on GPIOs for chip select will need more data to add
> the chip selects for example. This means I'm having a hard time getting
> enthused about the idea, it seems like it might be a support burden.
>
Yes, obviously that model can not be used if SPI chip select is handled outside
the SPI master driver.
Anyway, no problem. That the code is useful for me doesn't mean it has to be
useful for others. I'll make it available as branch on my linux tree on github.
Thanks,
Guenter
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists