linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [RFC] More compatibles or more quirk properties
@ 2009-03-06  7:09 Li Yang-R58472
  2009-03-06  7:32 ` Mitch Bradley
  0 siblings, 1 reply; 2+ messages in thread
From: Li Yang-R58472 @ 2009-03-06  7:09 UTC (permalink / raw)
  To: devicetree-discuss; +Cc: linuxppc-dev

SGksDQoNCkknbSBydW5uaW5nIGludG8gYSBkaWxlbW1hIGNob29zaW5nIGJldHdlZW4gdHdvIGFw
cHJvYWNoZXMgb2YgZGVmaW5pbmcgZGV2aWNlIHRyZWUgYmluZGluZy4gIExldCdzIHNheSBpZiB3
ZSBoYXZlIHNldmVyYWwgY2hpcHMgd2l0aCBhIHNpbWlsYXIgU29DIGJsb2NrLCBidXQgZWFjaCBv
ZiB0aGVtIGhhdmUgZGlmZmVyZW50IHF1aXJrcy4gIElmIEkgZGVmaW5lIGRpZmZlcmVudCBjb21w
YXRpYmxlcyBmb3IgZWFjaCBvZiB0aGUgY2hpcHMsIHRoZSBkcml2ZXIgd2lsbCBoYXZlIGEgbG9u
Z2VyIG1hdGNoIHRhYmxlIGFuZCB0aHVzIGJsb2F0IHRoZSBkZXZpY2UgbWF0Y2hpbmcgcHJvY2Vz
cy4gIE9yIHdlIGNhbiB1c2UgYSBzYW1lIGNvbXBhdGlibGUgZm9yIGFsbCBvZiB0aGVtIGFuZCAg
ZGVmaW5lIHByb3BlcnRpZXMgZm9yIGVhY2ggb2YgdGhlIHF1aXJrcy4gIEJ1dCBpdCBzb21ld2hh
dCBibG9hdHMgdGhlIGRldmljZSB0cmVlLiAgSSdtIG1vcmUgcHJvbmUgdG8gdGhlIHNlY29uZCBz
b2x1dGlvbiwgYnV0IEkgZG8gd2FudCB0byBoZWFyIHdoYXQgeW91IGd1eXMgdGhpbmsgYWJvdXQg
aXQuDQoNCi0gTGVvDQo=

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [RFC] More compatibles or more quirk properties
  2009-03-06  7:09 [RFC] More compatibles or more quirk properties Li Yang-R58472
@ 2009-03-06  7:32 ` Mitch Bradley
  0 siblings, 0 replies; 2+ messages in thread
From: Mitch Bradley @ 2009-03-06  7:32 UTC (permalink / raw)
  To: Li Yang-R58472; +Cc: linuxppc-dev, devicetree-discuss

>
> I'm running into a dilemma choosing between two approaches of defining device tree binding.  Let's say if we have several chips with a similar SoC block, but each of them have different quirks.  If I define different compatibles for each of the chips, the driver will have a longer match table and thus bloat the device matching process.  Or we can use a same compatible for all of them and  define properties for each of the quirks.  But it somewha
Properties to describe quirks precisely are definitely better.  In fact, 
that's fundamental principle - describe the situation, don't infer a 
bunch of details from a name.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-03-06  7:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-06  7:09 [RFC] More compatibles or more quirk properties Li Yang-R58472
2009-03-06  7:32 ` Mitch Bradley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).