From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ssagarr Patil Date: Tue, 18 Nov 2014 14:59:58 +0000 Subject: RE: SSD1306 OLED driver Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-fbdev@vger.kernel.org Hi Maxime, > > On Fri, Nov 14, 2014 at 05:09:09PM +0530, Ssagarr Patil wrote: >> Hi, >> >> I have the SSD1306 oled device connected via spi, will the same >> driver work ? as the current one is based on i2c what all mods would >> be required to have it working with SPI ? > > It won't work out of the box, but it should be fairly easy to support. > > You need to had support for SPI probing, and then provide some generic > accessors the rest of the code can use to wrap around the i2c and spi > calls. > > I'm not sure regmap can be used for this, but this would be something > worth looking into to do that. > Thanks for the inputs :) Does the driver work as a standard fbdev driver, is there any library on top of it to ease the user space ? Thanks & Regards, --Sagar