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


Groups > linux.kernel > #1418236

Re: [PATCH v3 4/4] soc: Add SoC driver for Freescale Vybrid platform

From maitysanchayan@gmail.com
Newsgroups linux.kernel
Subject Re: [PATCH v3 4/4] soc: Add SoC driver for Freescale Vybrid platform
Date 2016-06-09 12:50 +0200
Message-ID <rI5Hb-5b7-13@gated-at.bofh.it> (permalink)
References <rAPxw-4bk-7@gated-at.bofh.it> <rCo9Q-68U-9@gated-at.bofh.it> <rDjB7-8nc-15@gated-at.bofh.it> <rDltf-14E-19@gated-at.bofh.it> <rDn21-28H-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hello Rob,

On 16-05-27 15:38:17, maitysanchayan@gmail.com wrote:
> On 16-05-27 10:31:55, Arnd Bergmann wrote:
> > On Friday, May 27, 2016 12:03:01 PM CEST maitysanchayan@gmail.com wrote:
> > > 
> > > So if I understand correctly, the binding at the SoC level is fine.
> > > Keeping that but removing the additional made-up properties, viz. below
> > > 
> > > rom-revision: phandle to the on-chip ROM node
> > > mscm: phandle to the MSCM CPU configuration node
> > > nvmem-cells: phandles to two OCOTP child nodes ocotp_cfg0 and ocotp_cfg1
> > > nvmem-cell-names: should contain string names "cfg0" and "cfg1"
> > > 
> > > would be fine?
> > > 
> > > We would have something similar to here
> > > http://www.spinics.net/lists/devicetree/msg80655.html
> > > 
> > > but now with the DT binding under SoC bus.
> > > 
> > 
> > 
> > You look up the OTP device as a syscon here, which seems odd since there
> > is already an nvmem driver for it. Shouldn't you use the nvmem API for
> > that?
> > 
> > 	Arnd
> 
> I need the following 
> 
> nvmem-cells: phandles to two OCOTP child nodes ocotp_cfg0 and ocotp_cfg1
> nvmem-cell-names: should contain string names "cfg0" and "cfg1"
> 
> to be able to use the NVMEM consumer API.
> 
> If I can put them at SoC node level then I certainly can use the NVMEM API.
> 

Would the following be acceptable at the SoC node level

> nvmem-cells: phandles to two OCOTP child nodes ocotp_cfg0 and ocotp_cfg1
> nvmem-cell-names: should contain string names "cfg0" and "cfg1"

Regards,
Sanchayan.
 

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


Thread

Re: [PATCH v3 4/4] soc: Add SoC driver for Freescale Vybrid platform maitysanchayan@gmail.com - 2016-06-09 12:50 +0200

csiph-web