From: Grant Likely Subject: Re: [RFC] [PATCH] Device Tree on ARM platform Date: Thu, 28 May 2009 07:34:02 -0600 Message-ID: References: <87vdnm8sec.fsf@macbook.be.48ers.dk> <20090527175609.GB31861@flint.arm.linux.org.uk> <4A1D8FBA.6040802@freescale.com> <9e4733910905271213k7f4b93e7i7e6f2af24d85f@mail.gmail.com> <20090527192116.GA31110@n2100.arm.linux.org.uk> <20090527193927.GD30039@game.jcrosoft.org> <20090527235704.GQ6805@pengutronix.de> <20090528063445.GA12004@pengutronix.de> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <20090528063445.GA12004-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: devicetree-discuss-bounces+gldd-devicetree-discuss=m.gmane.org-mnsaURCQ41sdnm+yROfE0A@public.gmane.org Errors-To: devicetree-discuss-bounces+gldd-devicetree-discuss=m.gmane.org-mnsaURCQ41sdnm+yROfE0A@public.gmane.org To: Wolfram Sang Cc: devicetree-discuss , Russell King - ARM Linux , Janboe Ye , linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Timur Tabi , Jon Smirl , Scott Wood , linux-arm-kernel-xIg/pKzrS19vn6HldHNs0ANdhmdF6hFW@public.gmane.org List-Id: devicetree@vger.kernel.org On Thu, May 28, 2009 at 12:34 AM, Wolfram Sang wrot= e: > >> It is inherent in the value "atmel,24c08". =A0Because the exact device >> model is specified, the kernel can know what the page size and flags >> are for that device. > > I am afraid this is not the case. I remember that we once had two revisio= ns of > the same eeprom, and the vendor decided to increase the page size without > changing the naming of the eeprom. (Can't point to any documentation yet,= would > have to dig this up.) Those eeproms can be really weird. > > Also, there are _a lot_ of eeprom manufacturers out there, so the match t= able > will be enormous.... ... which is the whole point of "compatible". Every possible variant doesn't get listed in the device driver; device nodes in the tree claim compatibility with older, already known parts. g. -- = Grant Likely, B.Sc., P.Eng. Secret Lab Technologies Ltd.