Re: Simple MFD driver example

2013-12-18 Thread Laszlo Papp
On Wed, Dec 18, 2013 at 11:59 AM, Lee Jones wrote: > On Wed, 18 Dec 2013, Laszlo Papp wrote: > >> On Wed, Dec 18, 2013 at 11:34 AM, Lee Jones wrote: >> >> >> What you eventually see in hwmon is only a subset of all the features >> >> >> the IC provides. You may want to read this thread: >> >> >>

Re: Simple MFD driver example

2013-12-18 Thread Lee Jones
On Wed, 18 Dec 2013, Laszlo Papp wrote: > On Wed, Dec 18, 2013 at 11:34 AM, Lee Jones wrote: > >> >> What you eventually see in hwmon is only a subset of all the features > >> >> the IC provides. You may want to read this thread: > >> >> https://www.mail-archive.com/linux-kernel@vger.kernel.org/m

Re: Simple MFD driver example

2013-12-18 Thread Laszlo Papp
On Wed, Dec 18, 2013 at 11:34 AM, Lee Jones wrote: >> >> What you eventually see in hwmon is only a subset of all the features >> >> the IC provides. You may want to read this thread: >> >> https://www.mail-archive.com/linux-kernel@vger.kernel.org/msg536509.html >> > >> > Okay, so the best thing t

Re: Simple MFD driver example

2013-12-18 Thread Lee Jones
> >> What you eventually see in hwmon is only a subset of all the features > >> the IC provides. You may want to read this thread: > >> https://www.mail-archive.com/linux-kernel@vger.kernel.org/msg536509.html > > > > Okay, so the best thing to do is send out the entire patch-set at > > once, CC'ing

Re: Simple MFD driver example

2013-12-18 Thread Laszlo Papp
On Wed, Dec 18, 2013 at 11:12 AM, Lee Jones wrote: >> The MAX6650/6651 chip has multiple functionality: >> >> * fan/hwmon >> >> * gpio >> >> * alarm, etc. >> >> What you eventually see in hwmon is only a subset of all the features >> the IC provides. You may want to read this thread: >> https://ww

Re: Simple MFD driver example

2013-12-18 Thread Lee Jones
> The MAX6650/6651 chip has multiple functionality: > > * fan/hwmon > > * gpio > > * alarm, etc. > > What you eventually see in hwmon is only a subset of all the features > the IC provides. You may want to read this thread: > https://www.mail-archive.com/linux-kernel@vger.kernel.org/msg536509.h

Re: Simple MFD driver example

2013-12-18 Thread Laszlo Papp
The MAX6650/6651 chip has multiple functionality: * fan/hwmon * gpio * alarm, etc. What you eventually see in hwmon is only a subset of all the features the IC provides. You may want to read this thread: https://www.mail-archive.com/linux-kernel@vger.kernel.org/msg536509.html -- To unsubscribe

Re: Simple MFD driver example

2013-12-18 Thread Lee Jones
> On Mon, Dec 16, 2013 at 4:48 PM, Lee Jones wrote: > > There isn't any documentation that would help you I fear. I'm trying > > to help you, but you haven't answered my previous question. > > I did intend to answer your question when I was writing that I would > send some code. See it at the bot

Re: Simple MFD driver example

2013-12-17 Thread Laszlo Papp
On Mon, Dec 16, 2013 at 4:48 PM, Lee Jones wrote: > There isn't any documentation that would help you I fear. I'm trying > to help you, but you haven't answered my previous question. I did intend to answer your question when I was writing that I would send some code. See it at the bottom of the e

Re: Simple MFD driver example

2013-12-16 Thread Lee Jones
> > Please refrain from top posting. > > > > Responses should appear under quoted lines, which they reference. > > I intentionally did not reply to a specific quote, but to the email as a > whole! Then you should have placed your response underneath the whole email, not on top. If you're going t

Re: Simple MFD driver example

2013-12-16 Thread Laszlo Papp
On Mon, Dec 16, 2013 at 3:05 PM, Lee Jones wrote: > Please refrain from top posting. > > Responses should appear under quoted lines, which they reference. I intentionally did not reply to a specific quote, but to the email as a whole! >> >> I have been trying to write about 50-100 LOC for 1-2 we

Re: Simple MFD driver example

2013-12-16 Thread Lee Jones
Please refrain from top posting. Responses should appear under quoted lines, which they reference. > >> I have been trying to write about 50-100 LOC for 1-2 weeks now. I have > >> a fairly simple use case for MFD where I need to have gpio and hwmon > >> functionality for a GPIO. > >> > >> I read

Re: Simple MFD driver example

2013-12-16 Thread Laszlo Papp
Well, if you ask me the MFD subsystem is underdocumented, and there is some inconsistency between the drivers. It is hard to take any of them as a starting point, at least for me. Currently, I wrote a simple one from scratch which I will post soon. On Mon, Dec 16, 2013 at 8:25 AM, Lee Jones wrote

Re: Simple MFD driver example

2013-12-16 Thread Lee Jones
> I have been trying to write about 50-100 LOC for 1-2 weeks now. I have > a fairly simple use case for MFD where I need to have gpio and hwmon > functionality for a GPIO. > > I read the mfd drivers inside and out by now, but it looks a bit > inconsistent to me. I am not sure what to follow etc. T