Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1331775

Re: [PATCH V1] mfd: da9062: fix missing volatile registers in the core regmap_range volatile lists

From Lee Jones <lee.jones@linaro.org>
Newsgroups linux.kernel
Subject Re: [PATCH V1] mfd: da9062: fix missing volatile registers in the core regmap_range volatile lists
Date 2016-02-11 10:20 +0100
Message-ID <r0VzR-6IR-39@gated-at.bofh.it> (permalink)
References <qXpmP-5sL-35@gated-at.bofh.it> <r0Ghs-4Nm-3@gated-at.bofh.it> <r0Gr7-59L-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, 10 Feb 2016, Opensource [Steve Twiss] wrote:

> 
> On 10 February 2016 16:56, Lee Jones wrote:
> 
> > To: Opensource [Steve Twiss]
> > Cc: LINUXKERNEL; David Dajun Chen; Support Opensource
> > Subject: Re: [PATCH V1] mfd: da9062: fix missing volatile registers in the core
> > regmap_range volatile lists
> > 
> > On Mon, 01 Feb 2016, Steve Twiss wrote:
> > 
> > > From: Steve Twiss <stwiss.opensource@diasemi.com>
> > >
> > > Add an updated set of registers listed in the core regmap_range volatile
> > > ranges defined for the DA9062.
> > >
> > > These new registers contain bits that cannot be considered under the full
> > > control of software. Under various conditions the hardware will set and/or
> > > automatically clear bit(s) contained in these registers.
> > >
> > > When using a cached version of regmap, the volatility of these registers must
> > > be identified otherwise the regmap operations may not ensure the registers
> > > are explicitly altered.
> > >
> > > As well as updating the list of volatile registers, this change will fix a
> > > corner case discovered in the DA9063 ONKEY which is used by the DA9062 core.
> > >
> > > In the ONKEY case, the CONTROL_B register is now listed as volatile in the
> > > regmap_range because it contains the bit field NONKEY_LOCK. This bit can be
> > > altered by hardware, in which case regmap must be notified of its ability
> > > to be manpiulated outside of software control.
> > >
> > > Signed-off-by: Steve Twiss <stwiss.opensource@diasemi.com>
> > 
> > Applied, thanks.
> 
> Thanks.
> Regards,
> Steve

No need for thank yous.  They're implied. ;)

[... and they just account for churn in my already very busy inbox].

-- 
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog

Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Re: [PATCH V1] mfd: da9062: fix missing volatile registers in the  core regmap_range volatile lists Lee Jones <lee.jones@linaro.org> - 2016-02-10 18:00 +0100
  RE: [PATCH V1] mfd: da9062: fix missing volatile registers in the  core regmap_range volatile lists "Opensource [Steve Twiss]" <stwiss.opensource@diasemi.com> - 2016-02-10 18:10 +0100
    Re: [PATCH V1] mfd: da9062: fix missing volatile registers in the  core regmap_range volatile lists Lee Jones <lee.jones@linaro.org> - 2016-02-11 10:20 +0100

csiph-web