[1/4] powerpc/85xx: Add SEC6.0 device tree

Scott Wood scottwood at freescale.com
Wed Jul 24 09:24:14 EST 2013


On 07/23/2013 03:01:17 AM, Liu Po-B43644 wrote:
> 
> >  -----Original Message-----
> >  From: Wood Scott-B07421
> >  Sent: Tuesday, July 23, 2013 6:41 AM
> >  To: Liu Po-B43644
> >  Cc: linuxppc-dev at ozlabs.org; Hu Mingkai-B21284
> >  Subject: Re: [1/4] powerpc/85xx: Add SEC6.0 device tree
> >
> >  On Thu, Apr 25, 2013 at 09:54:14AM +0800, Po Liu wrote:
> >  > From: Mingkai Hu <Mingkai.Hu at freescale.com>
> >  >
> >  > Add device tree for SEC 6.0 used on C29x silicon.
> >  >
> >  > Signed-off-by: Mingkai Hu <Mingkai.Hu at freescale.com>
> >  > Singed-off-by: Po Liu <Po.Liu at freescale.com>
> >
> >  I've heard of patches being flamed, but here we want signing, not
> >  singeing. :-)
> >
> >  Don't forget that you can use the -s option to have git add the  
> signoff
> >  for you.
> >
> >  > ---
> >  > Base on git://git.am.freescale.net/gitolite/mirrors/linux-2.6.git
> >
> >  This URL is not accessible outside Freescale, so don't reference  
> it when
> >  posting patches publicly.
> >
> >  If your patch is against the latest upstream code, you don't need  
> to say
> >  anything special about that.  You only need to make a note when  
> it's
> >  against some other yet-to-be-merged tree or patch.
> >
> >  > +	compatible = "fsl,sec-v6.0", "fsl,sec-v5.2",
> >  > +		     "fsl,sec-v5.0", "fsl,sec-v4.4",
> >  > +		     "fsl,sec-v4.0";
> >  > +	fsl,sec-era = <6>;
> >  > +	#address-cells = <1>;
> >  > +	#size-cells = <1>;
> >  > +
> >  > +	jr at 1000 {
> >  > +		compatible = "fsl,sec-v6.0-job-ring",
> >  > +			     "fsl,sec-v5.2-job-ring",
> >  > +			     "fsl,sec-v5.0-job-ring",
> >  > +			     "fsl,sec-v4.4-job-ring",
> >  > +			     "fsl,sec-v4.0-job-ring";
> >  > +		reg	   = <0x1000 0x1000>;
> >  > +	};
> >  > +
> >  > +	jr at 2000 {
> >  > +		compatible = "fsl,sec-v6.0-job-ring",
> >  > +			     "fsl,sec-v5.2-job-ring",
> >  > +			     "fsl,sec-v5.0-job-ring",
> >  > +			     "fsl,sec-v4.4-job-ring",
> >  > +			     "fsl,sec-v4.0-job-ring";
> >  > +		reg	   = <0x2000 0x1000>;
> >  > +	};
> >
> >  You claim compatibility with a bunch of prior SECs, but sec-v5.2  
> has four
> >  job rings and an rtic node.  Likewise for the previous compatibles  
> listed.
> >  This has two job rings and no rtic.
> So, shall I remove "fsl,sec-v5.2","fsl,sec-v5.0", "fsl,sec-v4.4",  
> "fsl,sec-v4.0" since all other SEC with 4 job rings? and only leave  
> "fsl,sec-v6.0"?

Yes, I think so.

> >  Can you point to where in the SEC v4.0 binding (I don't see a  
> binding for
> >  the subsequent versions), it says that these are optional?
> I found SEC V4.0 in file qoriq-sec4.0-0.dtsi. If "fsl,sec-v4.0" not  
> in the compatible list, it is no use in this compatible list. But  
> seems keep the "fsl,sec-v4.0-job-ring" job ring compatible is ok. Is  
> that what you were ask?

No, I was talking about binding documents:
Documentation/devicetree/bindings/crypto/

-Scott


More information about the Linuxppc-dev mailing list