On 3 July 2018 at 08:47, Belisko Marek <marek@xxxxxxxxxxxxx> wrote: > Hello, > > on pyra device [0] we're using txs02612 sdio expander to have > possibility to connect SD card and also eMMC. We have some version of > driver (gpio for switching bus is controlled via sysfs) which probably > won't accepted. We want to do it correct way so we was thinking about > same approach as i2c-mux is using (i2c device connected on mux buses > are transparent to user so switching is done completely in driver). I > would like to maybe get some initial thoughts if this is good idea to > go this way and don't be a problem for future upstreaming. Thanks for > any comments. Sorry, but I doubt we ever get to add proper upstream support for mmc hosts managing multiple slots. Simply because all the efforts it takes isn't worth it. Today there are some host trying to support this, but those are hacks, which is working very poorly. I don't want to maintain more of those, then it's better those are managed by vendors out of tree. There have been several discussions on this topic, this is just one that I found while searching. https://lkml.org/lkml/2017/10/6/710 If you need any further explainations, please just ask. > > 0 - https://pyra-handheld.com/boards/pages/pyra/ > Kind regards Uffe -- To unsubscribe from this list: send the line "unsubscribe linux-mmc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html