From: Alexander Sverdlin <alexander.sverdlin@gmail.com>
To: Jonathan Cameron <jic23@kernel.org>,
Hartley Sweeten <hsweeten@visionengravers.com>,
Ryan Mallon <rmallon@gmail.com>,
linux-arm-kernel@lists.infradead.org, linux-iio@vger.kernel.org
Cc: Russell King <linux@arm.linux.org.uk>,
Hartmut Knaack <knaack.h@gmx.de>,
Lars-Peter Clausen <lars@metafoo.de>,
Peter Meerwald <pmeerw@pmeerw.net>
Subject: Re: [PATCH 5/5] iio: adc: New driver for Cirrus Logic EP93xx ADC
Date: Sun, 29 Nov 2015 19:27:06 +0100 [thread overview]
Message-ID: <565B437A.4030501@gmail.com> (raw)
In-Reply-To: <565B33AC.40908@kernel.org>
Hello Jonathan,
On 29/11/15 18:19, Jonathan Cameron wrote:
>> High end models (EP9307, EP9312, EP9315) have TS controller, which can operate
>> > in general purpose ADC mode. In this mode these names are just ball names on the
>> > pinout. They are all the same. There is only one issue -- I have not found any
>> > official numbering for these devices, therefore wanted to expose this naming to
>> > user space. Low end devices (EP9301, EP9302) have same hw block where TS mode is
>> > not advertised, and even though the balls/pins are still named as in TS controller,
>> > they are also referred as ADC0-ADC4 in datasheet. But there are only 5 of them,
>> > so we do not know the numbers for other 3 in the bigger devices.
>> >
>> > If this is not the purpose of extend_name, I'll drop them.
> It's not. We've had discussions about either exposing the datasheet names via
> sysfs or perhaps allowing arbitrary labelling but nothing has come of it yet.
>
> Perhaps in this case clear documentation of the mapping is the way to go in
> documentation for the driver.
Do you think something like Documentation/ABI/testing/sysfs-bus-iio-adc-ep93xx is a right
place?
Regards,
Alexander.
WARNING: multiple messages have this Message-ID (diff)
From: alexander.sverdlin@gmail.com (Alexander Sverdlin)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 5/5] iio: adc: New driver for Cirrus Logic EP93xx ADC
Date: Sun, 29 Nov 2015 19:27:06 +0100 [thread overview]
Message-ID: <565B437A.4030501@gmail.com> (raw)
In-Reply-To: <565B33AC.40908@kernel.org>
Hello Jonathan,
On 29/11/15 18:19, Jonathan Cameron wrote:
>> High end models (EP9307, EP9312, EP9315) have TS controller, which can operate
>> > in general purpose ADC mode. In this mode these names are just ball names on the
>> > pinout. They are all the same. There is only one issue -- I have not found any
>> > official numbering for these devices, therefore wanted to expose this naming to
>> > user space. Low end devices (EP9301, EP9302) have same hw block where TS mode is
>> > not advertised, and even though the balls/pins are still named as in TS controller,
>> > they are also referred as ADC0-ADC4 in datasheet. But there are only 5 of them,
>> > so we do not know the numbers for other 3 in the bigger devices.
>> >
>> > If this is not the purpose of extend_name, I'll drop them.
> It's not. We've had discussions about either exposing the datasheet names via
> sysfs or perhaps allowing arbitrary labelling but nothing has come of it yet.
>
> Perhaps in this case clear documentation of the mapping is the way to go in
> documentation for the driver.
Do you think something like Documentation/ABI/testing/sysfs-bus-iio-adc-ep93xx is a right
place?
Regards,
Alexander.
next prev parent reply other threads:[~2015-11-29 18:27 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <56558B23.4080506@gmail.com>
2015-11-25 11:50 ` [PATCH 1/5] clk: ep93xx: Implement clk_get_parent() Alexander Sverdlin
2015-11-25 11:50 ` Alexander Sverdlin
2015-11-25 11:50 ` [PATCH 2/5] clk: ep93xx: Add ADC clock Alexander Sverdlin
2015-11-25 11:50 ` Alexander Sverdlin
2015-11-25 11:50 ` [PATCH 3/5] ep93xx: Add ADC platform device support to core Alexander Sverdlin
2015-11-25 11:50 ` Alexander Sverdlin
2015-11-25 11:50 ` [PATCH 4/5] edb93xx: Add ADC platform device Alexander Sverdlin
2015-11-25 11:50 ` Alexander Sverdlin
2015-11-25 11:51 ` [PATCH 5/5] iio: adc: New driver for Cirrus Logic EP93xx ADC Alexander Sverdlin
2015-11-25 11:51 ` Alexander Sverdlin
2015-11-25 12:43 ` Peter Meerwald-Stadler
2015-11-25 13:01 ` Alexander Sverdlin
2015-11-29 16:12 ` Jonathan Cameron
2015-11-29 16:12 ` Jonathan Cameron
2015-11-29 16:40 ` Alexander Sverdlin
2015-11-29 16:40 ` Alexander Sverdlin
2015-11-29 17:19 ` Jonathan Cameron
2015-11-29 17:19 ` Jonathan Cameron
2015-11-29 18:27 ` Alexander Sverdlin [this message]
2015-11-29 18:27 ` Alexander Sverdlin
2015-12-05 18:50 ` Jonathan Cameron
2015-12-05 18:50 ` Jonathan Cameron
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=565B437A.4030501@gmail.com \
--to=alexander.sverdlin@gmail.com \
--cc=hsweeten@visionengravers.com \
--cc=jic23@kernel.org \
--cc=knaack.h@gmx.de \
--cc=lars@metafoo.de \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-iio@vger.kernel.org \
--cc=linux@arm.linux.org.uk \
--cc=pmeerw@pmeerw.net \
--cc=rmallon@gmail.com \
/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.