Re: [PATCH v6 0/9] Add simple NVMEM Framework via regmap.

2015-06-23 Thread Sanchayan Maity
Hello, On 15-06-23 21:47:34, Stefan Wahren wrote: > Hi Srinivas, > > > Srinivas Kandagatla hat am 23. Juni 2015 um > > 01:07 geschrieben: > > > > > > [...] > > > > Device Tree: > > > > /* Provider */ > > qfprom: qfprom@0070 { > > ... > > > > /* Data cells */ > > tsens_calibration: calib@404

Re: [PATCH v5 03/11] nvmem: Add a simple NVMEM framework for nvmem providers

2015-06-23 Thread Stephen Boyd
On 06/18/2015 05:46 AM, Srinivas Kandagatla wrote: > Many thanks for review. > > On 16/06/15 23:43, Stephen Boyd wrote: >> On 05/21/2015 09:43 AM, Srinivas Kandagatla wrote: >>> + +static int nvmem_add_cells(struct nvmem_device *nvmem, + struct nvmem_config *cfg) +

Re: [PATCH v6 8/9] nvmem: sunxi: Move the SID driver to the nvmem framework

2015-06-23 Thread Stefan Wahren
> Srinivas Kandagatla hat am 23. Juni 2015 um > 01:09 geschrieben: > > > From: Maxime Ripard > > Now that we have the nvmem framework, we can consolidate the common > driver code. Move the driver to the framework, and hopefully, it will > fix the sysfs file creation race. > --- /dev/null > +++ b

Re: [PATCH v6 4/9] nvmem: Add bindings for simple nvmem framework

2015-06-23 Thread Stefan Wahren
> Srinivas Kandagatla hat am 23. Juni 2015 um > 01:08 geschrieben: > > > This patch adds bindings for simple nvmem framework which allows nvmem > consumers to talk to nvmem providers to get access to nvmem cell data. > > Signed-off-by: Maxime Ripard > [Maxime Ripard: intial version of eeprom fra

Re: [PATCH v6 3/9] nvmem: Add nvmem_device based consumer apis.

2015-06-23 Thread Stefan Wahren
> Srinivas Kandagatla hat am 23. Juni 2015 um > 01:08 geschrieben: > > > This patch adds read/write apis which are based on nvmem_device. It is > common that the drivers like omap cape manager or qcom cpr driver to > access bytes directly at particular offset in the eeprom and not from > nvmem ce

Re: [PATCH v6 2/9] nvmem: Add a simple NVMEM framework for consumers

2015-06-23 Thread Stefan Wahren
> Srinivas Kandagatla hat am 23. Juni 2015 um > 01:08 geschrieben: > > > [...] > --- /dev/null > +++ b/include/linux/nvmem-consumer.h > @@ -0,0 +1,75 @@ > +/* > + * nvmem framework consumer. > + * > + * Copyright (C) 2015 Srinivas Kandagatla > + * Copyright (C) 2013 Maxime Ripard > + * > + * Th

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

2015-06-23 Thread Stefan Wahren
Hi Srinivas, sorry for the messed up indention. > Srinivas Kandagatla hat am 23. Juni 2015 um > 01:08 geschrieben: > > > [...] > --- /dev/null > +++ b/drivers/nvmem/Kconfig > @@ -0,0 +1,10 @@ > +menuconfig NVMEM > + tristate "NVMEM Support" > + select REGMAP > + help > + Support for NVMEM device

Re: [PATCH v6 0/9] Add simple NVMEM Framework via regmap.

2015-06-23 Thread Stefan Wahren
Hi Srinivas, > Srinivas Kandagatla hat am 23. Juni 2015 um > 01:07 geschrieben: > > > [...] > > Device Tree: > > /* Provider */ > qfprom: qfprom@0070 { > ... > > /* Data cells */ > tsens_calibration: calib@404 { > reg = <0x404 0x10>; > }; > > tsens_calibration_bckp: calib_bckp@504 { > reg = <

Re: [PATCH v2] trace/events: add chip name and hwirq to irq entry tracepoint

2015-06-23 Thread Ankit Gupta
> On Mon, 22 Jun 2015, Ankit Gupta wrote: > >> Add chip name and hw-irq number to the trace_irq_handler_entry() >> tracepoint. When tracing interrupt events the chip-name and hw-irq >> numbers are stable and known in advance. This makes them a better >> choice as a filtering criteria for the trace

Re: [PATCH] iommu/arm-smmu: Fix bug in ARM_SMMU_FEAT_TRANS_OPS condition check

2015-06-23 Thread Baptiste Reynal
This issue has already been fixed here : http://www.spinics.net/lists/arm-kernel/msg424824.html Regards, Baptiste On Tue, Jun 23, 2015 at 2:07 PM, Sricharan R wrote: > Patch 'fix ARM_SMMU_FEAT_TRANS_OPS condition' changed the check > for ARM_SMMU_FEAT_TRANS_OPS to be based on presence of stage1

[PATCH] iommu/arm-smmu: Fix bug in ARM_SMMU_FEAT_TRANS_OPS condition check

2015-06-23 Thread Sricharan R
Patch 'fix ARM_SMMU_FEAT_TRANS_OPS condition' changed the check for ARM_SMMU_FEAT_TRANS_OPS to be based on presence of stage1 check, but used (id & ID0_ATOSNS) instead of !(id & ID0_ATOSNS). Fix it here. Signed-off-by: Sricharan R --- drivers/iommu/arm-smmu.c | 2 +- 1 file changed, 1 insertion(

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

2015-06-23 Thread Pantelis Antoniou
Hi Joe, > On Jun 23, 2015, at 05:52 , Joe Perches wrote: > > On Tue, 2015-06-23 at 00:08 +0100, Srinivas Kandagatla wrote: >> This patch adds just providers part of the framework just to enable easy >> review. > [] >> include/linux/nvmem-provider.h | 54 ++ > > Unless there are going to be

Re: [PATCH v6 7/9] nvmem: qfprom: Add bindings for qfprom

2015-06-23 Thread Rajendra Nayak
[].. +Example: + + qfprom: qfprom@0070 { + compatible = "qcom,qfprom"; + reg = <0x0070 0x8000>; + ... + /* Data cells */ + tsens_calibration: calib@404 { + reg = <0x4404 0x1

Re: [PATCH v2] trace/events: add chip name and hwirq to irq entry tracepoint

2015-06-23 Thread Thomas Gleixner
On Mon, 22 Jun 2015, Ankit Gupta wrote: > Add chip name and hw-irq number to the trace_irq_handler_entry() > tracepoint. When tracing interrupt events the chip-name and hw-irq > numbers are stable and known in advance. This makes them a better > choice as a filtering criteria for the trace buffer