On Tuesday 11 November 2014 20:45:46 Rafał Miłecki wrote: > After Broadcom switched from MIPS to ARM for their home routers we need > to have NVRAM driver in some common place (not arch/mips/). > We were thinking about putting it in bus directory, however there are > two possible buses for MIPS: drivers/ssb/ and drivers/bcma/. So this > won't fit there neither. > This is why I would like to move this driver to the drivers/misc/ > > Signed-off-by: Rafał Miłecki <zajec5@xxxxxxxxx> > I think drivers/soc would be more appropriate, as this is a purely in-kernel interface, and it interacts with other drivers, while drivers/misc is generally for oddball devices that don't fit in elsewhere and have their own user interface. I don't remember if what we had concluded on the previous discussion. I think I suggested converting the nvram variables into DT properties on ARM. The API certainly feels obscure, so it would be nice to keep it out of the modern port if we can come up with a better alternative to pass the same information. Arnd