[PATCH 1/3] cs5535-gpio: add AMD CS5535/CS5536 GPIO driver support

Martin-Éric Racine q-funk at iki.fi
Thu Aug 20 13:03:14 EDT 2009


 On Thu, 20 Aug 2009 17:21:20 +0200 Takashi Iwai <tiwai at suse.de> wrote:
> BTW CONFIG_GPIO_CS5536 and CONFIG_CS5536_GPIO are so confusing... :)

That's because too many people who write drivers lack a bird's eye
view on the whole Geode platform's history and end up inventing driver
names that only further add to the confusion.  Ages ago, on the Geode
list (I cannot remember if was the AMD PCS maintained list or the
X.org Geode list), we came to the following nomenclature:

gx1:  driver that only affects the first-generation GX from Cyrix or
NSC and the NSC SC system on chip's CPU+FPU components.
gx:  driver that only affects the NSC/AMD Media GX (a.k.a. GX2 Red
Cloud) CPU+FPU components.
lx:  driver that only affect the AMD LX CPU+FPU components.
sc1100:  driver that only affect the sc1100 system on chip's peripheral drivers.
scx200:  driver that affects the sc1200, sc2200 and sc3200 systems on
chip's peripheral drivers.
cs5510:  driver that only affect the cs5510 companion chip.
cs5520:  driver that only affect the cs5520 companion chip.
cs5530:  driver that affects the cs5530 (or cs5530a) companion chip alone.
cs5535:  driver that affects the cs5535 and cs5536 companion chips.
cs5536:  driver that affects the cs5536 specifically (same as cs5535,
plus USB 2.0 support and a different PATA implementation).
cs553x:  driver that affects the WHOLE cs553x series. Should not be
used since the cs5530 and cs553[5|6] are different beasts.
geode:  driver that affects the whole Geode series, such as the SM bus.

Sadly, some drivers don't respect this nomenclature, the most common
mistake being to use cs553x for a driver that only works on cs5535 and
cs5536. Another mistake was the naming of the ALSA driver, which came
as snd-cs5535audio instead of just snd-cs5535.

Martin-Éric



More information about the Linux-geode mailing list