All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jonathan Cameron <jic23@cam.ac.uk>
To: Marek Vasut <marex@denx.de>
Cc: Juergen Beisert <jbe@pengutronix.de>,
	linux-iio@vger.kernel.org, linux-arm-kernel@lists.infradead.org
Subject: Re: i.MX28 die temperature
Date: Thu, 28 Jun 2012 09:00:04 +0100	[thread overview]
Message-ID: <4FEC0F04.90001@cam.ac.uk> (raw)
In-Reply-To: <201206280058.26485.marex@denx.de>

On 6/27/2012 11:58 PM, Marek Vasut wrote:
> Dear Juergen Beisert,
>
> [...]
>>
>> It requires a more or less complex state-machine to switch the used 4 or 5
>> pins to different modes to measure the X/Y position and the pressure. And
>> these pins interfere with the ADC input pins.
>>
>>> [...]
>
> I said I'll go through it, but it seems the IIO changed again, so I'll need to
> wrap my head around new stuff in there.
Yeah, sorry about that - people keep wanting new stuff ;)
>
> Besides, I have a feeling that the driver, as is, just simply doesn't fit in as
> it should. I'm discussing with Jonathan, since I can't really make heads or
> tails from the IIO api. It's way too complex and unless I really missed
> something, way underdocumented.
Any documentation writers welcome!
The real trick currently is to
a) figure out what is similar an already present
b) figure out if that driver is actually a good starting point. If it's
left staging then it's clean, but there may be a closer 'clean' driver
still in staging.

Having had documentation continually get left behind we did add
a 'dummy' driver that covers most stuff with lots of comments.
(still in staging at the mo staging/iio/iio_simple_dummy*)


>
>> Regards,
>> Juergen
>
> Best regards,
> Marek Vasut
>



WARNING: multiple messages have this Message-ID (diff)
From: jic23@cam.ac.uk (Jonathan Cameron)
To: linux-arm-kernel@lists.infradead.org
Subject: i.MX28 die temperature
Date: Thu, 28 Jun 2012 09:00:04 +0100	[thread overview]
Message-ID: <4FEC0F04.90001@cam.ac.uk> (raw)
In-Reply-To: <201206280058.26485.marex@denx.de>

On 6/27/2012 11:58 PM, Marek Vasut wrote:
> Dear Juergen Beisert,
>
> [...]
>>
>> It requires a more or less complex state-machine to switch the used 4 or 5
>> pins to different modes to measure the X/Y position and the pressure. And
>> these pins interfere with the ADC input pins.
>>
>>> [...]
>
> I said I'll go through it, but it seems the IIO changed again, so I'll need to
> wrap my head around new stuff in there.
Yeah, sorry about that - people keep wanting new stuff ;)
>
> Besides, I have a feeling that the driver, as is, just simply doesn't fit in as
> it should. I'm discussing with Jonathan, since I can't really make heads or
> tails from the IIO api. It's way too complex and unless I really missed
> something, way underdocumented.
Any documentation writers welcome!
The real trick currently is to
a) figure out what is similar an already present
b) figure out if that driver is actually a good starting point. If it's
left staging then it's clean, but there may be a closer 'clean' driver
still in staging.

Having had documentation continually get left behind we did add
a 'dummy' driver that covers most stuff with lots of comments.
(still in staging at the mo staging/iio/iio_simple_dummy*)


>
>> Regards,
>> Juergen
>
> Best regards,
> Marek Vasut
>

  reply	other threads:[~2012-06-28  8:00 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-28 15:13 i.MX28 die temperature Randle, Bill
2012-03-29  2:37 ` Shawn Guo
2012-03-29 15:52   ` Randle, Bill
2012-04-04 23:51     ` Marek Vasut
2012-04-05  0:07       ` Randle, Bill
2012-04-05  0:36         ` Fabio Estevam
2012-06-22 11:49           ` Juergen Beisert
2012-06-22 17:19             ` Marek Vasut
2012-06-26  8:12               ` Juergen Beisert
2012-06-26 19:02                 ` Marek Vasut
2012-06-26 19:02                   ` Marek Vasut
2012-06-27  7:21                   ` Jonathan Cameron
2012-06-27  7:21                     ` Jonathan Cameron
2012-06-27 12:00                     ` Marek Vasut
2012-06-27 12:00                       ` Marek Vasut
2012-06-27 12:06                       ` Jonathan Cameron
2012-06-27 12:06                         ` Jonathan Cameron
2012-06-27 12:25                         ` Marek Vasut
2012-06-27 12:25                           ` Marek Vasut
2012-06-27 12:33                         ` Juergen Beisert
2012-06-27 12:33                           ` Juergen Beisert
2012-06-27 22:58                           ` Marek Vasut
2012-06-27 22:58                             ` Marek Vasut
2012-06-28  8:00                             ` Jonathan Cameron [this message]
2012-06-28  8:00                               ` Jonathan Cameron
2012-06-28  3:05                           ` Marek Vasut
2012-06-28  3:05                             ` Marek Vasut
2012-06-28 15:42                             ` Marek Vasut
2012-06-28 15:42                               ` Marek Vasut
2012-10-23  8:48                       ` Peter Turczak
2012-10-23  8:48                         ` Peter Turczak
2012-10-23  8:52                         ` Marek Vasut
2012-10-23  8:52                           ` Marek Vasut
2012-10-23 10:22                           ` Peter Turczak
2012-10-23 10:22                             ` Peter Turczak
2012-10-23 10:32                             ` Marek Vasut
2012-10-23 10:32                               ` Marek Vasut

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4FEC0F04.90001@cam.ac.uk \
    --to=jic23@cam.ac.uk \
    --cc=jbe@pengutronix.de \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-iio@vger.kernel.org \
    --cc=marex@denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.