Linux IIO development
 help / color / mirror / Atom feed
From: Jonathan Cameron <jic23@cam.ac.uk>
To: michael.hennerich@analog.com
Cc: linux-iio@vger.kernel.org, drivers@analog.com,
	device-drivers-devel@blackfin.uclinux.org
Subject: Re: [PATCH 1/1] IIO: DAC: AD5446 add support for AD5541A devices
Date: Fri, 15 Apr 2011 12:44:45 +0100	[thread overview]
Message-ID: <4DA82FAD.60101@cam.ac.uk> (raw)
In-Reply-To: <1302702130-4779-1-git-send-email-michael.hennerich@analog.com>

On 04/13/11 14:42, michael.hennerich@analog.com wrote:
> From: Michael Hennerich <michael.hennerich@analog.com>
> 
> Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Acked-by: Jonathan Cameron <jic23@cam.ac.uk>

> ---
>  drivers/staging/iio/dac/ad5446.c |    7 +++++++
>  drivers/staging/iio/dac/ad5446.h |    1 +
>  2 files changed, 8 insertions(+), 0 deletions(-)
> 
> diff --git a/drivers/staging/iio/dac/ad5446.c b/drivers/staging/iio/dac/ad5446.c
> index 8623a72..102bcc4 100644
> --- a/drivers/staging/iio/dac/ad5446.c
> +++ b/drivers/staging/iio/dac/ad5446.c
> @@ -245,6 +245,12 @@ static const struct ad5446_chip_info ad5446_chip_info_tbl[] = {
>  		.left_shift = 0,
>  		.store_sample = ad5446_store_sample,
>  	},
> +	[ID_AD5541A] = {
> +		.bits = 16,
> +		.storagebits = 16,
> +		.left_shift = 0,
> +		.store_sample = ad5542_store_sample,
> +	},
>  	[ID_AD5542A] = {
>  		.bits = 16,
>  		.storagebits = 16,
> @@ -442,6 +448,7 @@ static const struct spi_device_id ad5446_id[] = {
>  	{"ad5444", ID_AD5444},
>  	{"ad5446", ID_AD5446},
>  	{"ad5512a", ID_AD5512A},
> +	{"ad5541a", ID_AD5541A},
>  	{"ad5542a", ID_AD5542A},
>  	{"ad5543", ID_AD5543},
>  	{"ad5553", ID_AD5553},
> diff --git a/drivers/staging/iio/dac/ad5446.h b/drivers/staging/iio/dac/ad5446.h
> index 7ac63ab..e6ffd2b 100644
> --- a/drivers/staging/iio/dac/ad5446.h
> +++ b/drivers/staging/iio/dac/ad5446.h
> @@ -92,6 +92,7 @@ struct ad5446_chip_info {
>  enum ad5446_supported_device_ids {
>  	ID_AD5444,
>  	ID_AD5446,
> +	ID_AD5541A,
>  	ID_AD5542A,
>  	ID_AD5543,
>  	ID_AD5512A,


  reply	other threads:[~2011-04-15 11:42 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-13 13:42 [PATCH 1/1] IIO: DAC: AD5446 add support for AD5541A devices michael.hennerich
2011-04-15 11:44 ` Jonathan Cameron [this message]
  -- strict thread matches above, loose matches on Subject: below --
2011-04-15 11:51 michael.hennerich

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=4DA82FAD.60101@cam.ac.uk \
    --to=jic23@cam.ac.uk \
    --cc=device-drivers-devel@blackfin.uclinux.org \
    --cc=drivers@analog.com \
    --cc=linux-iio@vger.kernel.org \
    --cc=michael.hennerich@analog.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox