[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160122105350.GA7023@sudip-pc>
Date: Fri, 22 Jan 2016 16:23:50 +0530
From: Sudip Mukherjee <sudipm.mukherjee@...il.com>
To: Peter Hung <hpeter@...il.com>
Cc: Rob Groner <rgroner@....com>,
Andy Shevchenko <andriy.shevchenko@...ux.intel.com>,
One Thousand Gnomes <gnomes@...rguk.ukuu.org.uk>,
Paul Gortmaker <paul.gortmaker@...driver.com>,
gregkh@...uxfoundation.org, jslaby@...e.com,
heikki.krogerus@...ux.intel.com, peter@...leysoftware.com,
soeren.grunewald@...y.de, udknight@...il.com,
adam.lee@...onical.com, arnd@...db.de,
yamada.masahiro@...ionext.com, mans@...sr.com,
scottwood@...escale.com, paul.burton@...tec.com,
matthias.bgg@...il.com, manabian@...il.com, peter.ujfalusi@...com,
linux-kernel@...r.kernel.org, linux-serial@...r.kernel.org,
peter_hong@...tek.com.tw,
Peter Hung <hpeter+linux_kernel@...il.com>
Subject: Re: [PATCH 0/3] 8250: Split Fintek PCIE to UART to independent file
On Wed, Jan 20, 2016 at 04:24:36PM +0800, Peter Hung wrote:
> Hi Sudip,
>
> Sudip Mukherjee 於 2016/1/20 下午 02:22 寫道:
> >On Wed, Jan 20, 2016 at 10:59:28AM +0800, Peter Hung wrote:
>
> >But my personal opinion, if we move out the serial port related code
> >into a new driver (a new Kconfig symbol) userspace of many system will
> >break if this new symbol is not enabled by the distributions. But in the
> >way I have done the new symbol needs to be enabled only if the user
> >wants to use the GPIO capability. If that is not enabled GPIO cannot be
> >used but it will never break the serial port related code for them.
> >I think we should give a thought to that before splitting out the codes
> >from 8250_pci.
>
> I agree with your opinion. I'm trying to implement GPIO with 2 ways,
> One is like yours, add platform_device with in 8250_pci.c and implement
> GPIOLIB platform driver with in 'driver/gpio", and the other is trying
> split out from 8250_pci.c to MFD.
>
> In my personal opinion, the first method is less impact with compatible
> old system.
Looks like no one else is in support of our opinion. Fair enough, I will
split out the related code from 8250_pci and create the MFD driver this
weekend for my hardware.
regards
sudip
Powered by blists - more mailing lists