Received: by 10.223.176.46 with SMTP id f43csp1042712wra; Fri, 26 Jan 2018 10:52:47 -0800 (PST) X-Google-Smtp-Source: AH8x226faO5/5uqUoGVoOFUeWxmNTmYh/tr2uA7KB1VmJWcihASfcCL5jWndvhN59i77ay3SGfQR X-Received: by 2002:a17:902:6544:: with SMTP id d4-v6mr14599495pln.117.1516992767268; Fri, 26 Jan 2018 10:52:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516992767; cv=none; d=google.com; s=arc-20160816; b=i18Xbyy9N8xkBQx2FsiTsO2Y/9M8MRRORr9ltND0mfi3zfIhwyVhM+qz3svxLCcjvi Vy0lUiAgqgZCzkBpmslTlMJGLhjCHIHkUFLUG1F5wMNEk0RYabQFgdPv1o8IsWeLw9T1 gU3UI23mOFt0LhWJ64dFDIiaiTxSQFWUzBfyOEtGJOU6pPiQDG0Cc1Lj6nU91LUouanY PRPaJpRTuN4UUlonSNGTPnVN/2IT7QGkIzl2vkn2+F/XaWPrFkvMf8s4DyctBOuB6me3 ZmECtp5awXXUWUH4bLLUt5hcW85neD0A7ZbtT2LLVraCih7c7q6NbzaYM1zcXWtOjvRe 66IQ== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:references:cc:to:from:subject:arc-authentication-results; bh=Tw09Kat+RsxRSdyjGsLBQuG4/a9uWvUTarmb9bJd9Bo=; b=MIB7fEghyxvmguA0wDNzkSLqkNwzSdTEWXXrJRgAbLKlDT/jkwHmrESZFECthV7IDu f1+lk39BYaLrnS02qpG/8J0TRDSgPQ9q6eNoZiaacBTMJFk8ptAnwbQaByLXssCUTavK OLYuc45qy/n9xu/fh4DjEF2WaJQwneCBiueLjPLewuKY0E2L/q38rkgRv/XXfMzGBpAc /Ln+YGNa074q5u5oOVSwSjI0D6kYHGmmkyTBpxT/8G0fAkG6BabxkJF0u1POa3COS+ft dtX1LpCPzR9wdjc+xNqXZHjmHo9uVxkkaTAIXwGxLrfnCrSuBT3nmkmfUC5sJxgatZYp ZiIw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e1-v6si4043531ple.452.2018.01.26.10.52.33; Fri, 26 Jan 2018 10:52:47 -0800 (PST) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752588AbeAZSv7 (ORCPT + 99 others); Fri, 26 Jan 2018 13:51:59 -0500 Received: from www381.your-server.de ([78.46.137.84]:48598 "EHLO www381.your-server.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752515AbeAZSv5 (ORCPT ); Fri, 26 Jan 2018 13:51:57 -0500 Received: from [88.198.220.132] (helo=sslproxy03.your-server.de) by www381.your-server.de with esmtpsa (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.85_2) (envelope-from ) id 1ef8ku-0008Hx-Gb; Fri, 26 Jan 2018 19:29:40 +0100 Received: from [2003:86:2c06:1d00:8200:bff:fe9b:6612] by sslproxy03.your-server.de with esmtpsa (TLSv1.2:DHE-RSA-AES256-SHA:256) (Exim 4.84_2) (envelope-from ) id 1ef8ku-00030K-79; Fri, 26 Jan 2018 19:29:40 +0100 Subject: Re: [PATCH v3 1/2] iio: adc: driver for ti adc081s/adc101s/adc121s From: Lars-Peter Clausen To: Andy Shevchenko , Milan Stevanovic Cc: Jonathan Cameron , Michael Hennerich , Linux Kernel Mailing List , Hartmut Knaack , Peter Meerwald , linux-iio@vger.kernel.org, Philippe Ombredanne References: <1515961960-35157-1-git-send-email-milan.o.stevanovic@gmail.com> <783221ff-7366-5a50-f022-8b7b8a21e998@metafoo.de> Message-ID: <3ae9e7ba-9107-86fa-12f0-33226226a0ab@metafoo.de> Date: Fri, 26 Jan 2018 19:29:39 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 MIME-Version: 1.0 In-Reply-To: <783221ff-7366-5a50-f022-8b7b8a21e998@metafoo.de> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Authenticated-Sender: lars@metafoo.de X-Virus-Scanned: Clear (ClamAV 0.99.2/24253/Thu Jan 25 02:22:43 2018) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 01/26/2018 07:25 PM, Lars-Peter Clausen wrote: > On 01/26/2018 07:19 PM, Andy Shevchenko wrote: >> On Sun, Jan 14, 2018 at 10:32 PM, Milan Stevanovic >> wrote: >>> Add Linux device driver for TI single-channel CMOS >>> 8/10/12-bit analog-to-digital converter with a >>> high-speed serial interface. >>> >>> Signed-off-by: Milan Stevanovic >> >>> + * Analog Devices AD7466/7/8 AD7476/5/7/8 (A) SPI ADC driver >>> + * TI ADC081S/ADC101S/ADC121S 8/10/12-bit SPI ADC driver >> >> Guys, I'm not sure I understood this mix. > > You often have the case where two or even more vendors produce parts that > are (mostly) pin and register map compatible. This is typically to fulfill > the second source requirement that some customers have. > > It is not uncommon to see drivers that support parts from different vendors. And I should probably add that this driver is for devices which are single channel ADCs with a SPI interface and no configuration registers. There are only so many ways to implement this (And I ensure you hardware designers will definitely create implementations of all of those limited ways), so there will probably be overlap between vendors. - Lars