Re: [PATCH v8 1/9] nvmem: Add a simple NVMEM framework for nvmem providers

2015-07-23 Thread Srinivas Kandagatla
On 23/07/15 16:26, Stefan Wahren wrote: Hi Srinivas, Am 20.07.2015 um 16:43 schrieb Srinivas Kandagatla: This patch adds just providers part of the framework just to enable easy review. Up until now, NVMEM drivers like eeprom were stored in drivers/misc, where they all had to duplicate prett

Re: [PATCH v8 1/9] nvmem: Add a simple NVMEM framework for nvmem providers

2015-07-23 Thread Stefan Wahren
Hi Srinivas, Am 20.07.2015 um 16:43 schrieb Srinivas Kandagatla: > This patch adds just providers part of the framework just to enable easy > review. > > Up until now, NVMEM drivers like eeprom were stored in drivers/misc, > where they all had to duplicate pretty much the same code to register > a

Re: [PATCH v8 1/9] nvmem: Add a simple NVMEM framework for nvmem providers

2015-07-21 Thread Srinivas Kandagatla
On 21/07/15 18:59, Stephen Boyd wrote: On 07/21/2015 02:41 AM, Srinivas Kandagatla wrote: Thanks Stephen for review, On 20/07/15 22:11, Stephen Boyd wrote: On 07/20/2015 07:43 AM, Srinivas Kandagatla wrote: diff --git a/drivers/nvmem/core.c b/drivers/nvmem/core.c new file mode 100644 index

Re: [PATCH v8 1/9] nvmem: Add a simple NVMEM framework for nvmem providers

2015-07-21 Thread Srinivas Kandagatla
On 21/07/15 18:59, Stephen Boyd wrote: On 07/21/2015 02:41 AM, Srinivas Kandagatla wrote: Thanks Stephen for review, On 20/07/15 22:11, Stephen Boyd wrote: On 07/20/2015 07:43 AM, Srinivas Kandagatla wrote: diff --git a/drivers/nvmem/core.c b/drivers/nvmem/core.c new file mode 100644 index

Re: [PATCH v8 1/9] nvmem: Add a simple NVMEM framework for nvmem providers

2015-07-21 Thread Stephen Boyd
On 07/21/2015 02:41 AM, Srinivas Kandagatla wrote: Thanks Stephen for review, On 20/07/15 22:11, Stephen Boyd wrote: On 07/20/2015 07:43 AM, Srinivas Kandagatla wrote: diff --git a/drivers/nvmem/core.c b/drivers/nvmem/core.c new file mode 100644 index 000..bde5528 --- /dev/null +++ b/drive

Re: [PATCH v8 1/9] nvmem: Add a simple NVMEM framework for nvmem providers

2015-07-21 Thread Srinivas Kandagatla
Hi Stefan, On 21/07/15 10:54, Stefan Wahren wrote: Hi Srinivas, Am 21.07.2015 um 11:41 schrieb Srinivas Kandagatla: >Ok, make sense. I moved this too. >I have v9 ready will send it. > >--srini > this is not a race. Please give the other (including me:-) ) some time for testing and reviewing

Re: [PATCH v8 1/9] nvmem: Add a simple NVMEM framework for nvmem providers

2015-07-21 Thread Stefan Wahren
Hi Srinivas, Am 21.07.2015 um 11:41 schrieb Srinivas Kandagatla: > Ok, make sense. I moved this too. > I have v9 ready will send it. > > --srini > this is not a race. Please give the other (including me :-) ) some time for testing and reviewing v8. Thanks Stefan -- To unsubscribe from this list

Re: [PATCH v8 1/9] nvmem: Add a simple NVMEM framework for nvmem providers

2015-07-21 Thread Srinivas Kandagatla
Thanks Stephen for review, On 20/07/15 22:11, Stephen Boyd wrote: On 07/20/2015 07:43 AM, Srinivas Kandagatla wrote: diff --git a/drivers/nvmem/core.c b/drivers/nvmem/core.c new file mode 100644 index 000..bde5528 --- /dev/null +++ b/drivers/nvmem/core.c @@ -0,0 +1,384 @@ + +static int nvm

Re: [PATCH v8 1/9] nvmem: Add a simple NVMEM framework for nvmem providers

2015-07-20 Thread Stephen Boyd
On 07/20/2015 07:43 AM, Srinivas Kandagatla wrote: diff --git a/drivers/nvmem/core.c b/drivers/nvmem/core.c new file mode 100644 index 000..bde5528 --- /dev/null +++ b/drivers/nvmem/core.c @@ -0,0 +1,384 @@ + +static int nvmem_add_cells(struct nvmem_device *nvmem, +

[PATCH v8 1/9] nvmem: Add a simple NVMEM framework for nvmem providers

2015-07-20 Thread Srinivas Kandagatla
This patch adds just providers part of the framework just to enable easy review. Up until now, NVMEM drivers like eeprom were stored in drivers/misc, where they all had to duplicate pretty much the same code to register a sysfs file, allow in-kernel users to access the content of the devices they