Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1351103 > unrolled thread
| Started by | Wolfram Sang <wsa@the-dreams.de> |
|---|---|
| First post | 2016-03-06 13:10 +0100 |
| Last post | 2016-03-06 13:10 +0100 |
| Articles | 1 — 1 participant |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: [PATCHv7 0/7] Convert exiting EEPROM drivers to NVMEM Wolfram Sang <wsa@the-dreams.de> - 2016-03-06 13:10 +0100
| From | Wolfram Sang <wsa@the-dreams.de> |
|---|---|
| Date | 2016-03-06 13:10 +0100 |
| Subject | Re: [PATCHv7 0/7] Convert exiting EEPROM drivers to NVMEM |
| Message-ID | <r9FFw-4Ot-13@gated-at.bofh.it> |
[Multipart message — attachments visible in raw view] — view raw
On Wed, Mar 02, 2016 at 12:56:42AM +0000, Greg KH wrote: > On Fri, Feb 26, 2016 at 08:59:17PM +0100, Andrew Lunn wrote: > > This patch set converts the old EEPROM drivers in driver/misc/eeprom to > > use the NVMEM framework. These drivers export there content in /sys as > > read only to root, since the EEPROM may contain sensitive information. > > So the first patch adds a flag so the NVMEM framework will create its > > file in /sys as root read only. > > > > To keep backwards compatibility with these older drivers, the contents > > of the EEPROM must be exports in sysfs in a file called eeprom in the > > devices node in sys, where as the NVMEM places them under class/nvmem. > > So add this optional backwards compatible to the framework, again > > using a flag. > > > > Then convert the at24, at25 and 93xx46 by adding regmap support, > > removing each drivers own /sys code and registering with the NVMEM > > framework. > > > > Lastly, the old memory accessor mechanism has been replaced with the > > nvmem equivalent. > > Nice job, all now queue up. Yes, really. Pity I didn't have the time to review the at24-to-nvmem changes as much as I hoped for. But it will be good in the end. I am really thankful that you made the effort to convert this hardly used memory_accessor thing and convert it into the more widely used nvmem mechanism. And clean up the unneeded bits afterwards. Always nice to see such attitude :) Thanks, Wolfram
Back to top | Article view | linux.kernel
csiph-web