[PATCH 1/7] i2c: gpio: Convert to use descriptors
From: Ben Dooks <hidden>
Date: 2017-10-02 16:11:00
Also in:
linux-i2c, linux-mips
On 02/10/17 02:05, Linus Walleij wrote:
On Sun, Sep 17, 2017 at 11:39 AM, Linus Walleij [off-list ref] wrote:quoted
- The MFD Silicon Motion SM501 is a special case. It dynamically spawns an I2C bus off the MFD using sm501_create_subdev(). We use an approach to dynamically create a machine descriptor table and attach this to the "SM501-LOW" or "SM501-HIGH" gpiochip. We use chip-local offsets to grab the right lines. We can get rid of two local static inline helpers as part of this refactoring.(...)quoted
SM501 users: requesting Tested-by on this patch.Paging Simtec (if it reaches anyone), Vincent Sanders, Teddy Wang at Silicon Motion:
I'm fairly sure Simtec is not currently active. See below. I have no idea if the SM501 is even available for current designs.
Does any of you have an "Anubis" board so you can test GPIO on this board before/after this patch and see if it checks out right? I guess it's this board: http://www.simtec.co.uk/products/BBD20EUROA/
I think that's fairly close. We did have a couple of other designs done for clients, but they may not have been available to the general public.
Does anyone know of a commercially obtainable product using SM501 with reasonable mainline Linux support so I can test it myself? Getting a bit desperate...
At the moment I have no time to go through the boxes of ex-Simtec stuff that I still have... quite a lot of my old Simtec stuff has already been recycled as it has been over five years since leaving.
Yours, Linus Walleij
-- Ben Dooks http://www.codethink.co.uk/ Senior Engineer Codethink - Providing Genius