All of lore.kernel.org
 help / color / mirror / Atom feed
From: Lars-Peter Clausen <lars@metafoo.de>
To: "Ivan T. Ivanov" <iivanov@mm-sol.com>,
	Jonathan Cameron <jic23@kernel.org>,
	Hartmut Knaack <knaack.h@gmx.de>,
	Peter Meerwald <pmeerw@pmeerw.net>
Cc: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>,
	Sachin Kamat <sachin.kamat@linaro.org>,
	Thomas Gleixner <tglx@linutronix.de>,
	linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org,
	linux-arm-msm@vger.kernel.org
Subject: Re: [PATCH v2] iio: inkern: Add of_xlate function to struct iio_info
Date: Wed, 22 Oct 2014 17:32:10 +0200	[thread overview]
Message-ID: <5447CDFA.5030407@metafoo.de> (raw)
In-Reply-To: <1413991783-24562-1-git-send-email-iivanov@mm-sol.com>

On 10/22/2014 05:29 PM, Ivan T. Ivanov wrote:
> When #iio-cells is greater than '0', the driver could provide
> a custom of_xlate function that reads the *args* and returns
> the appropriate index in registered IIO channels array.
>
> Add simple translation function, suitable for the most 1:1
> mapped channels in IIO chips, and use it when driver did not
> provide custom implementation.
>
> Signed-off-by: Ivan T. Ivanov <iivanov@mm-sol.com>

Reviewed-by: Lars-Peter Clausen <lars@metafoo.de>

Thanks.

  reply	other threads:[~2014-10-22 15:32 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-22 15:29 [PATCH v2] iio: inkern: Add of_xlate function to struct iio_info Ivan T. Ivanov
2014-10-22 15:32 ` Lars-Peter Clausen [this message]
2014-10-25 10:04   ` Jonathan Cameron
     [not found]     ` <544B75B8.1010505-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
2014-11-03 10:07       ` Ivan T. Ivanov
2014-11-03 10:07         ` Ivan T. Ivanov
2014-11-03 10:31         ` Lars-Peter Clausen
     [not found]           ` <5457598B.1050408-Qo5EllUWu/uELgA04lAiVw@public.gmane.org>
2014-11-03 10:51             ` Ivan T. Ivanov
2014-11-03 10:51               ` Ivan T. Ivanov
2014-11-03 10:36         ` Srinivas Pandruvada
2014-11-03 10:50           ` Ivan T. Ivanov
2014-11-03 10:50             ` Ivan T. Ivanov

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=5447CDFA.5030407@metafoo.de \
    --to=lars@metafoo.de \
    --cc=iivanov@mm-sol.com \
    --cc=jic23@kernel.org \
    --cc=knaack.h@gmx.de \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-iio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pmeerw@pmeerw.net \
    --cc=sachin.kamat@linaro.org \
    --cc=srinivas.pandruvada@linux.intel.com \
    --cc=tglx@linutronix.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.