Re: [RFC 1/2] mfd: qcom-rpm: Expose sleep state resources to clients

2014-11-12 Thread Bjorn Andersson
On Wed 12 Nov 01:52 PST 2014, Lee Jones wrote: > On Tue, 11 Nov 2014, Bjorn Andersson wrote: > > > On Tue 11 Nov 04:04 PST 2014, Lee Jones wrote: > > > > > On Mon, 10 Nov 2014, Bjorn Andersson wrote: > > > > > > > Resources exposed from the RPM have an "active state" that is used > > > > durin

Re: [RFC 1/2] mfd: qcom-rpm: Expose sleep state resources to clients

2014-11-12 Thread Bjorn Andersson
On Wed 12 Nov 06:45 PST 2014, Lina Iyer wrote: > On Wed, Nov 12 2014 at 02:52 -0700, Lee Jones wrote: > >On Tue, 11 Nov 2014, Bjorn Andersson wrote: > > > >> On Tue 11 Nov 04:04 PST 2014, Lee Jones wrote: > >> > >> > On Mon, 10 Nov 2014, Bjorn Andersson wrote: > >> > > > > > > + writel_rela

Re: [PATCH] tty: serial: msm_serial: Use DT aliases

2014-11-12 Thread Frank Rowand
On 11/10/2014 7:20 PM, Frank Rowand wrote: > On 11/10/2014 6:07 PM, Stephen Boyd wrote: >> On 11/10/2014 05:56 PM, Frank Rowand wrote: >>> On 11/10/2014 11:42 AM, Stephen Boyd wrote: diff --git a/drivers/tty/serial/msm_serial.c b/drivers/tty/serial/msm_serial.c index 09364dd8cf3a..d

Re: [RFC/PATCH 0/5 v2] mtd:ubi: Read disturb and Data retention handling

2014-11-12 Thread Richard Weinberger
Am 12.11.2014 um 14:32 schrieb Artem Bityutskiy: > [Sort of off-topic] > > On Wed, 2014-11-12 at 14:01 +0100, Richard Weinberger wrote: >> Tanya stated that the read counters must not get lost. > > I understood that this is more of "we try not to lose them, but if we > lose, we can deal with this

Re: [RFC 1/2] mfd: qcom-rpm: Expose sleep state resources to clients

2014-11-12 Thread Lina Iyer
On Wed, Nov 12 2014 at 02:52 -0700, Lee Jones wrote: On Tue, 11 Nov 2014, Bjorn Andersson wrote: On Tue 11 Nov 04:04 PST 2014, Lee Jones wrote: > On Mon, 10 Nov 2014, Bjorn Andersson wrote: > > > + writel_relaxed(BIT(state), RPM_CTRL_REG(rpm, RPM_REQUEST_CONTEXT)); > > How are the stat

Re: [RFC/PATCH 0/5 v2] mtd:ubi: Read disturb and Data retention handling

2014-11-12 Thread Artem Bityutskiy
[Sort of off-topic] On Wed, 2014-11-12 at 14:01 +0100, Richard Weinberger wrote: > Tanya stated that the read counters must not get lost. I understood that this is more of "we try not to lose them, but if we lose, we can deal with this". > But it can happen that you lose the fastmap. Fastmap is

Re: [RFC/PATCH 0/5 v2] mtd:ubi: Read disturb and Data retention handling

2014-11-12 Thread Richard Weinberger
Am 12.11.2014 um 13:07 schrieb Artem Bityutskiy: > On Tue, 2014-11-11 at 22:39 +0100, Richard Weinberger wrote: >> Please don't (ab)use fastmap. If you really need persistent read-counters >> use an internal UBI volume. > > Just like you, I do not think the proposed solution is the right answer

Re: [PATCH V6] UBI: Extend UBI layer debug/messaging capabilities

2014-11-12 Thread Artem Bityutskiy
On Tue, 2014-11-11 at 20:49 +0100, Richard Weinberger wrote: > > I am OK with removing function names from warnings and errors, though. > > But they were there since the very beginning, and changing this is a > > separate subject, so I'd prefer someone else to submit a corresponding > > patch. > >

Re: [RFC/PATCH 0/5 v2] mtd:ubi: Read disturb and Data retention handling

2014-11-12 Thread Artem Bityutskiy
On Tue, 2014-11-11 at 22:39 +0100, Richard Weinberger wrote: > Please don't (ab)use fastmap. If you really need persistent read-counters use > an internal UBI volume. Just like you, I do not think the proposed solution is the right answer to the problem, at least so far. But if we imagine that Ta

Re: [RFC/PATCH 0/5 v2] mtd:ubi: Read disturb and Data retention handling

2014-11-12 Thread Artem Bityutskiy
On Tue, 2014-11-11 at 22:36 +0200, Tanya Brokhman wrote: > Unfortunately none. This is done for a new device that we received just > now. The development was done on a virtual machine with nandsim. Testing > was more of stability and regression OK. So the implementation is theory-driven and miss

Re: [PATCH v2 1/3] dmaengine: qcom_bam_dma: Generalize BAM register offset calculations

2014-11-12 Thread Vinod Koul
On Mon, Sep 29, 2014 at 10:03:07AM +0530, Archit Taneja wrote: > The BAM DMA IP comes in different versions. The register offset layout varies > among these versions. The layouts depend on which generation/family of SoCs > they > belong to. > > The current SoCs(like 8084, 8074) have a layout wher

Re: [RFC 1/2] mfd: qcom-rpm: Expose sleep state resources to clients

2014-11-12 Thread Lee Jones
On Tue, 11 Nov 2014, Bjorn Andersson wrote: > On Tue 11 Nov 04:04 PST 2014, Lee Jones wrote: > > > On Mon, 10 Nov 2014, Bjorn Andersson wrote: > > > > > Resources exposed from the RPM have an "active state" that is used during > > > normal operations and a "sleep state" that is used for HW assis

Re: [PATCH] mfd: qcom-spmi-pmic: Add support for more chips versions

2014-11-12 Thread Ivan T. Ivanov
On Tue, 2014-11-11 at 12:27 -0800, Courtney Cavin wrote: > On Fri, Nov 07, 2014 at 04:40:52PM +0100, Ivan T. Ivanov wrote: > > > > Forgot to add. PMIC subtype and version are used also in charger and BMS > > drivers to workaround hardware issues. > > All of the blocks on the PM8x41 series have t

Re: [PATCH v4 2/2] iio: vadc: Qualcomm SPMI PMIC voltage ADC driver

2014-11-12 Thread Ivan T. Ivanov
On Tue, 2014-11-11 at 23:39 +0100, Hartmut Knaack wrote: > Ivan T. Ivanov schrieb am 11.11.2014 09:21: > > Hi Hartmut, > > > > On Mon, 2014-11-10 at 22:11 +0100, Hartmut Knaack wrote: > > > Ivan T. Ivanov schrieb am 03.11.2014 16:24: > > > > From: Stanimir Varbanov > > > > > > > > The voltage A