[PATCH v3 6/7] Documentation: add the binding file for Quadspi driver
Gerhard Sittig
gsi at denx.de
Wed Dec 18 13:21:12 EST 2013
On Thu, Dec 19, 2013 at 00:03 +0800, Huang Shijie wrote:
>
> On Wed, Dec 18, 2013 at 04:30:29PM +0100, Gerhard Sittig wrote:
> > > +++ b/Documentation/devicetree/bindings/mtd/fsl-quadspi.txt
> > > [ ... ]
> > > +Example:
> > > +
> > > +qspi0: quadspi at 40044000 {
> > > + compatible = "fsl,vf610-qspi";
> > > + reg = <0x40044000 0x1000>;
> > > + interrupts = <0 24 0x04>;
> > > [ ... ]
> > > +};
> >
> > [ ... ]
> > I'd suggest to use symbolic names for the flags in the last
> > interrupt specifier cell, as you do for clock items.
> I will use the symbolic name if it has.
> But if it not have a symbolic name, i have to keep it as it is now.
To avoid potential confusion: I meant symbolic names for the
_flags_ of the interrupt specifier (i.e. trigger type and
polarity). The <dt-bindings/interrupt-controller/irq.h> file has
IRQ_TYPE_LEVEL_HIGH with value 4 for you.
virtually yours
Gerhard Sittig
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr. 5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de
More information about the linux-mtd
mailing list