[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20101105171952.7ac6cf2b@lxorguk.ukuu.org.uk>
Date: Fri, 5 Nov 2010 17:19:52 +0000
From: Alan Cox <alan@...rguk.ukuu.org.uk>
To: Par-Gunnar Hjalmdahl <pghatwork@...il.com>
Cc: Arnd Bergmann <arnd@...db.de>, linus.walleij@...ricsson.com,
linux-bluetooth@...r.kernel.org, linux-kernel@...r.kernel.org,
Lukasz.Rymanowski@...to.com
Subject: Re: [PATCH 5/9] mfd: Add UART support for the ST-Ericsson CG2900.
> - Introduce a new ldisc called N_H4_COMBO with a ldisc driver
> accordingly that will be placed under drivers/char
That seems sensible. That code should also be entirely hardware
independent.
> solution more complex than actually needed. We think that creating a
> new ldisc creates a cleaner solution. It will to some extent remind of
> hci_ldisc, but it will not register to any framework except tty.
Ok. So presumably both the SPI and the tty interfaces would then use the
same library code to do the demux - or are the protocols different ?
> We've thought about if we should switch cg2900 to a bus, but after
> discussing this we feel that CG2900 has such individual
> characteristics that it could be hard to create a bus that would suite
> it. We therefore will keep the MFD type. We might in the future add
> new chips to the driver, but they will most likely not require so much
> rework of the driver that we will have to create something completely
> new. We will rather create a lib file that contains common code to
> reduce total code size of the driver.
No particular opinion either way. Whatever works best and keeps it
modular.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists