Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp1582782ybh; Sun, 15 Mar 2020 06:18:43 -0700 (PDT) X-Google-Smtp-Source: ADFU+vvEUWpoJE9f98VpmKev6w1tkKZl68+r9KkbNkF6KkyHVQ82iVyB4mwM3W7fh67dTWXEoi7o X-Received: by 2002:aca:3046:: with SMTP id w67mr3753968oiw.54.1584278323806; Sun, 15 Mar 2020 06:18:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584278323; cv=none; d=google.com; s=arc-20160816; b=FcXULaez1e6xPMakz3L8+T5I/Y17GyY6BPi0zOdW4NA4yKe4JR9n2+JqlbZ4/I2JL6 G5MifR1ck0sMxQTagNMK0vLFyESVablEoJXWeEP9aM/vJS0amacjNlqkk7z4ko4vTNZJ NnyXDQMthK3aG2dQMVzoWvTNXun+eNdGTOPilqhrSRo3yiFn0OC0ZFXs0FynAVlXQmCT z+QHEuZwvrIu3z4r4/RcpmQdLIJlQg1lI+5cNsyXj1iEVQzUMRzCRBlpvezf7fxzqAfo SIL75l04jRqG5yxTFRaQtHfQcfob/nBxs4FtCvncKCNQTc9/dyAVL2VrFq6aFuq+HbrU mbNQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=DicZ5jgyrpS+7yMaUZpXJrZlw2LHIu7LYY2neSpx9Oc=; b=b/f14VU1haBnjiIPYKp6ytB+2YjtnTM6VXdTs2puWWijxrGolWBNrp7ot/qfRMzhts A6MA+zGkq12mSxQ4mC16C3l/XrZW18lJaIUky8dhXbq/8JajeYCvTQWSTX/9xqH2VxHR R340b5sBaKPSZ9Emd3MsU5raWDV9eNoBLSFi2wNmLGMGeFz/knSfsbemVp3WNAiEplNj d+G9A5EeH69Qz3ZT+QCjhvxIYl+Y5Y/EU75DyVKB6zmIJxlZpHSu31c3nLce7cC3tYhc H8kFqmXlfNGFfoI846KfhtttwS3m6aXiEM2daJe0GV+X0ilJfWmh/mNWC1qFrQSWJHCq EALg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="xHg/yiCs"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b2si8163152otl.18.2020.03.15.06.18.31; Sun, 15 Mar 2020 06:18:43 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="xHg/yiCs"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728605AbgCONRu (ORCPT + 99 others); Sun, 15 Mar 2020 09:17:50 -0400 Received: from mail.kernel.org ([198.145.29.99]:48726 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728582AbgCONRu (ORCPT ); Sun, 15 Mar 2020 09:17:50 -0400 Received: from archlinux (cpc149474-cmbg20-2-0-cust94.5-4.cable.virginm.net [82.4.196.95]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 3D9A7205ED; Sun, 15 Mar 2020 13:17:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1584278269; bh=HeQolw+seE625icIJdWntQTD/5ixC2/595+ZXUUxzU4=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=xHg/yiCsdMDwE/IcK3czju9q/Az+kTvmsJA/3fqg0dW5VgpjpXUsCN9aucKEORD8V zAe4gLYBkhlpRYWq4io+S78FwAkMUipaxdSyOPAcTmDSRldoMdksMHi0w7HNcPJp0M 2BmsbEziwYyPRTOcW3mJsWHBl43eNEKkrs8eP7Ok= Date: Sun, 15 Mar 2020 13:17:45 +0000 From: Jonathan Cameron To: Beniamin Bia Cc: , , , , , , Dragos Bogdan Subject: Re: [PATCH 3/4] iio: adc: ad7476: Add AD7091 support Message-ID: <20200315131745.435e580e@archlinux> In-Reply-To: <20200311084328.17680-3-beniamin.bia@analog.com> References: <20200311084328.17680-1-beniamin.bia@analog.com> <20200311084328.17680-3-beniamin.bia@analog.com> X-Mailer: Claws Mail 3.17.4 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 11 Mar 2020 10:43:27 +0200 Beniamin Bia wrote: > From: Dragos Bogdan > > AD7091R is already supported by this driver. While AD7091R allows the > choice of an internal or an external voltage reference, for AD7091 the > reference is only provided by VDD. Since this information is anyway > obtained through the "vcc" regulator, no other driver changes are > required for adding AD7091 support as well. > > Signed-off-by: Dragos Bogdan > Signed-off-by: Beniamin Bia Applied. Thanks, Jonathan > --- > drivers/iio/adc/ad7476.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/iio/adc/ad7476.c b/drivers/iio/adc/ad7476.c > index 3b48073dd62d..cd7d42df2033 100644 > --- a/drivers/iio/adc/ad7476.c > +++ b/drivers/iio/adc/ad7476.c > @@ -341,6 +341,7 @@ static int ad7476_remove(struct spi_device *spi) > } > > static const struct spi_device_id ad7476_id[] = { > + {"ad7091", ID_AD7091R}, > {"ad7091r", ID_AD7091R}, > {"ad7273", ID_AD7277}, > {"ad7274", ID_AD7276},