Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1273555imm; Fri, 14 Sep 2018 14:30:50 -0700 (PDT) X-Google-Smtp-Source: ANB0VdaYOwfs+3CMleMii19ExBQ/xvsV1vFIp2qIp6joc8dsvyyaEd+S+dd6GgJKWzpEE9ffBWz+ X-Received: by 2002:a63:b95e:: with SMTP id v30-v6mr13297879pgo.221.1536960650697; Fri, 14 Sep 2018 14:30:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536960650; cv=none; d=google.com; s=arc-20160816; b=Hn+xXumQ63Otk5j3XdmF+6H9yo11UGlipeLvk12/ciKcSeXu9I+W9soZebjsHhN314 kzYsxjnYyhCgUZ5Q98CDfVgQR//X+sqcdxADPL4+w+HTfUeEVA+btt93t8JS5MvmThXq hdlsHFMbyGargWRjdisvByU+h65YSS0YwH9KtBXw+m+aQS7cGvo1fo0IKMtsmolP/0xJ Pt23nuuqBYzTbsLOu277/2QvDofgBgDVO32sIzQANxmjPtCIgX8SjNqgw3/RNpunHakl t82z/XzhDfiIFTAK7a0AHSwOQQcU/DcsY/5cruP89OnTdqHdfh/RCekW8sSKGiYzJl8m E1rw== 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:from:references:cc:to:subject:dkim-signature; bh=SJCUjoNMbtfR5curB2L7fQhRtOSkbGeB+rsYxb01Nns=; b=RX4Q+x2+L1RX9j24AdFNv7HM8ZnEjRpuJdGGhUi9Ehrh0incPB7O/LGXGVpIP7wo98 kptuINAMNkP9vI4yTpRtcA/MJdZhCkZCBc+c4+Z6yOZXTERh6Yyyhh0RyFgvKp998n/a 2FUCIBt5jiM/1YpGVjkauFKQ4bpmQ8TyVIuMoB+iQJQPLVrNU8LiW86zW/MJj/Xa20Hb oHzJOrHg2IRdRxXkRRBKVhiQ2R+5Sp/g5a8kwadMrb1SEHa+Y2WajFt2xDabuo4iJjjM gUm+B5K1af9beXeMlZX2c7Be84idOHqo2VSt4ZEnMcuSWjFaC/Ko+ixwAIA5WtEG9VpC n9WA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=HWYqeV3w; 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 p13-v6si7982870pgi.317.2018.09.14.14.30.35; Fri, 14 Sep 2018 14:30:50 -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=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=HWYqeV3w; 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 S1728227AbeIOCqh (ORCPT + 99 others); Fri, 14 Sep 2018 22:46:37 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:55688 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727749AbeIOCqh (ORCPT ); Fri, 14 Sep 2018 22:46:37 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Content-Transfer-Encoding: Content-Type:In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To: Subject:Sender:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=SJCUjoNMbtfR5curB2L7fQhRtOSkbGeB+rsYxb01Nns=; b=HWYqeV3w3OWBa2LxZN0hLr7Vk DrgpvCDG1St7ZCYFG4D7zuHIFpfIME/dgq2WlINj+wLVpiUNv/zRwk7y7+ZVxakpYgFqZHDJ3jOZi 1JQEL499ihtfq+rQWFh5JWYqbvJiCIfKf5FPsCadU0XyY3NJ/iXy41MRA/qpYdnhYQ4EIkyRtnCUA oWKEWCyKC21KWkcpooLNp2SQyeUby9Izj98XQd6rXmPU3GW3+eE3BR2Njc7RX1kDSISkhkhG7ITf2 gnJA3Bf+sLs6twmXZEiinK2UiYL+g8z8NUY8MNGkjzesmU50pzyJ2ugAB6orQMcBJEvtoZgrIqhkE PtwfEgFHg==; Received: from static-50-53-52-16.bvtn.or.frontiernet.net ([50.53.52.16] helo=midway.dunlab) by bombadil.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1g0vfJ-0000yx-CP; Fri, 14 Sep 2018 21:30:13 +0000 Subject: Re: [PATCH v2 3/4] iio: adc: Add Xilinx AMS driver To: Manish Narani , jic23@kernel.org, knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net, michal.simek@xilinx.com, robh+dt@kernel.org, mark.rutland@arm.com, sudeep.holla@arm.com, amit.kucheria@linaro.org, leoyang.li@nxp.com, broonie@kernel.org, arnaud.pouliquen@st.com, eugen.hristev@microchip.com, geert@linux-m68k.org, ak@it-klinger.de, freeman.liu@spreadtrum.com, lukas@wunner.de, vilhelm.gray@gmail.com, gregkh@linuxfoundation.org, kstewart@linuxfoundation.org Cc: sgoud@xilinx.com, anirudh@xilinx.com, linux-iio@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org References: <1536909510-7166-1-git-send-email-manish.narani@xilinx.com> <1536909510-7166-4-git-send-email-manish.narani@xilinx.com> From: Randy Dunlap Message-ID: Date: Fri, 14 Sep 2018 14:30:11 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.0 MIME-Version: 1.0 In-Reply-To: <1536909510-7166-4-git-send-email-manish.narani@xilinx.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On 9/14/18 12:18 AM, Manish Narani wrote: > > Signed-off-by: Manish Narani > --- > drivers/iio/adc/Kconfig | 10 + > drivers/iio/adc/Makefile | 1 + > drivers/iio/adc/xilinx-ams.c | 1337 ++++++++++++++++++++++++++++++++++++++++++ > 3 files changed, 1348 insertions(+) > create mode 100644 drivers/iio/adc/xilinx-ams.c > > diff --git a/drivers/iio/adc/Kconfig b/drivers/iio/adc/Kconfig > index 4a75492..405ea00 100644 > --- a/drivers/iio/adc/Kconfig > +++ b/drivers/iio/adc/Kconfig > @@ -941,4 +941,14 @@ config XILINX_XADC > The driver can also be build as a module. If so, the module will be called oops (some other driver:) built > xilinx-xadc. > > +config XILINX_AMS > + tristate "Xilinx AMS driver" > + depends on ARCH_ZYNQMP || COMPILE_TEST > + depends on HAS_IOMEM > + help > + Say yes here to have support for the Xilinx AMS. > + > + The driver can also be build as a module. If so, the module will be called built > + xilinx-ams. > + > endmenu -- ~Randy