Final stages of kernel tree cleanup

From: Paul Sokolovsky <pmiscml_at_gmail.com>
Date: Wed, 10 Jan 2007 14:44:43 +0200

Hello kernel-discuss,

  I'm glad to report that in-tree restructuring and cleanup of our
kernel sources
(http://handhelds.org/hypermail/kernel-discuss/20/2063.html , etc.)
like 50% complete, and there just few cases left to resolve. I would
like to RFC and discuss them, and have it done.

1. Remaining drivers in arch/arm/common/ipaq/.

   SOC, keys, and touchscreen driver were already moved to the
respective subdirectories in drivers/. Now, what's left there are few
more drivers I'd like to find final home for. My ideas about that are
below, please comment:

asic2_sleeve.c
samcop_sleeve.c
navman_sleeve.c
ipaq-sleeve.c
    4 sleeve drivers. We already have
drivers/pcmcia/h3600_backpaq.c
drivers/pcmcia/h3600_generic_sleeve.c
drivers/pcmcia/h3600_sleeve_flash.c
    One issue though is that drivers above are not that much PCMCIA,
mostly SPI. So I think about /drivers/misc/sleeve for now?

clock.c
clock.h
    This is our old common clock implementation. It apparently has
little chance to go upstream, so we switched to use CPU-arch provided
clocks, and this one is deprecated. Once we confirm it's not used by
any file, it can be removed (can stay where it for now).

samcop_fsi.c
samcop_fsi.h
fsi_drv.c
    h5000 fingerprint scanner driver. drivers/input/misc?

ipaq-mtd-asset.c
    Need to fit this somewhere ;-). And check if it's used ;-).

samcop_dma.c
    DMA support for samcop/hamcop, drivers/soc/?

2. arch/arm/plat-ipaq/

   This one is not used for quite some time, and commented in
Makefile:
http://handhelds.org/cgi-bin/cvsweb.cgi/linux/kernel26/arch/arm/Makefile?rev=1.31&content-type=text/x-cvsweb-markup
   
   Files from were moved to mach-sa1100/ , where they are updated and
maintained. So, in arch/arm/plat-ipaq/ there's just some old
snapshots, matching closely for h3100.c and h3800.c, which
weren't touched for quite some time, and having more discrepancies for
h3600.c, which is actively maintained. So, I would like to ask
Alessandro to review arch/arm/plat-ipaq/h3600.c for anything good it
may contain, and remove these duplicates.

3. We already have cases of new drivers being misplaced ;-):
drivers/soc/tsc2200.c
drivers/soc/tsc2200_keys.c
drivers/soc/tsc2200_ts.c

  Mainline kernel groups drivers by functional area first of all,
not by bus or chip. drivers/soc/ is only for base SOC drivers, i.e.
ones which provide common API. keys and TS drivers still belong to
drivers/input/*/. So, I'd like to move it there.

Comments and suggestions welcome!

-- 
Best regards,
 Paul                          mailto:pmiscml_at_gmail.com
Received on Wed Jan 10 2007 - 07:44:33 EST

This archive was generated by hypermail 2.2.0 : Wed Jan 10 2007 - 07:45:00 EST