[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20141119170454.GJ1875@x1>
Date: Wed, 19 Nov 2014 17:04:54 +0000
From: Lee Jones <lee.jones@...aro.org>
To: Sascha Hauer <s.hauer@...gutronix.de>
Cc: Flora Fu <flora.fu@...iatek.com>, Rob Herring <robh+dt@...nel.org>,
Mark Rutland <mark.rutland@....com>,
Matthias Brugger <matthias.bgg@...il.com>,
Pawel Moll <pawel.moll@....com>,
Ian Campbell <ijc+devicetree@...lion.org.uk>,
Kumar Gala <galak@...eaurora.org>,
Russell King <linux@....linux.org.uk>,
Samuel Ortiz <sameo@...ux.intel.com>,
Liam Girdwood <lgirdwood@...il.com>,
Mark Brown <broonie@...nel.org>,
Grant Likely <grant.likely@...aro.org>,
"Joe.C" <yingjoe.chen@...iatek.com>,
Catalin Marinas <catalin.marinas@....com>,
Vladimir Murzin <vladimir.murzin@....com>,
Ashwin Chaugule <ashwin.chaugule@...aro.org>,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org, srv_heupstream@...iatek.com,
Sascha Hauer <kernel@...gutronix.de>,
Eddie Huang <eddie.huang@...iatek.com>,
Dongdong Cheng <dongdong.cheng@...iatek.com>
Subject: Re: [PATCH 2/7] mfd: MT6397: Add regmap for MT8135 and MT6397 SoC
On Tue, 18 Nov 2014, Sascha Hauer wrote:
> On Tue, Nov 18, 2014 at 11:46:45AM +0000, Lee Jones wrote:
> > On Mon, 17 Nov 2014, Flora Fu wrote:
> >
> > > Add PMIC wrapper of MT8135 to access MFD MT6397.
> > > This is regmap of MT6397 MFD.
> > >
> > > Signed-off-by: Flora Fu <flora.fu@...iatek.com>
> > > ---
> > > drivers/mfd/Kconfig | 8 +
> > > drivers/mfd/Makefile | 1 +
> > > drivers/mfd/mt8135-pmic-wrap.c | 847 +++++++++++++++++++++++++++++++++++++++++
> >
> > All of the PMIC functionality needs removing from MFD and placed
> > somewhere else. I suggest either drivers/power or drivers/regulator.
>
> This is no PMIC functionality. The MT8135 has a unit which is is used to
> access the PMIC (which is not only a PMIC, but also Touchscreen
> interface and other stuff). This unit is called pmic-wrapper in the
> docs. See the introductory mail for a nice picture.
I saw the picture, it's very nice. Whatever this is, it's not an
MFD. It's a device which is located on an MFD. There is far too much
functional (the operative word here) code contained in this patch.
I'm not sure where this device should live, but I'm keen for MFD not
to become a dumping ground for ill-fitting devices. Happy for you to
create resources and register it from here, but the bulk for the
functional driver needs to live somewhere else.
--
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
--
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