Received: by 2002:ab2:7855:0:b0:1f9:5764:f03e with SMTP id m21csp409693lqp; Wed, 22 May 2024 08:08:10 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXau2ErhFxPQpNbnqOyAFQRqxUO95uGJqy/yYZCDOGGmjNFDkMwZApbTWgbiCVrp8W+ymRBSi29k6Mdm0e9YZ2sezr4vA+5QQOA0Lft9A== X-Google-Smtp-Source: AGHT+IENe45vHA8lbUaEvevOQuaHgwxAXxA0so5OskPML2vYZWuZZBqAmUqceCEZMfSZnzDXND5f X-Received: by 2002:a05:622a:c3:b0:43f:95c3:cefe with SMTP id d75a77b69052e-43f9e1b4d1dmr24010251cf.57.1716390490404; Wed, 22 May 2024 08:08:10 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716390490; cv=pass; d=google.com; s=arc-20160816; b=VXu6WzfX815jlJjyAAHdZWNP4n22oZKEuP57rSWsBioS4RISQePeSiw4+JvfVVXPaf VC2/xh9cUhTm4ekNfxuAaD3qMMiHwZkkmA/rtlT9SnDoETKfB2G+IPRSXIPoPWb3e+tp Pf46Vgphu1LOPGc63vpWgJ+TADyUdCc9BwFSMDXevwU/n7XiBp7a8uMF6gzuEv4C7rC9 74YSnofwCLqYYW9SM+UJAelLbJp2uTwVx4mmgjoGZjbkZRoCg3WhIFC9uE3bkf6mzN8S OpJtIHfBRkhtg20dE7HuUHhg/Egir2eOh6R1QZ+gmj1/upM+gwpomZLmoaO/blY+tMaG yRSg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=organization:in-reply-to:content-transfer-encoding :content-disposition:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:references:message-id:subject:cc:to:from:date :dkim-signature; bh=r0qS7DVNoYS9ntq/h5sluz5JokcCPUgz9jrqqq1wt7o=; fh=mTGc82Elx7Ei9aqZw5dhgPpLjXuBIXwdD0kGFhZ3HBY=; b=j2kiYSZz0Af4kXy6hPZQjI5cxRDaQOxSx/xUpkJrECvIcjZDsl7CtuIQf2JmasDbdf R0ra29b0krMuPNwrjlY1g0t/w9oKhCpC53JA8Nw1b/fltnPd8PJ7smphczhtgnYBH6FQ 5zUYqLCccoWmVD7/B7Ky1ianKuCw9LiQRakZ5Ij2AhpPRCt+uH7YIePikU7IeRG8Smjp Nj26OkdwcCJy5qfbE9Ifkcunv0aLtU2vLB1ouWCZgEq4nmiiYGV0m074o/Efm6ceB6WC buKwwOFwzG/QAl9U6tZfv1UUMSEa751aKchNV4cMSp5d1G8yJkhMHV2UUQX4Nrde2/jx Nhvw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="k8eE1/mp"; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-186406-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-186406-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id d75a77b69052e-43e08faa9e2si58091831cf.551.2024.05.22.08.08.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 May 2024 08:08:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-186406-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="k8eE1/mp"; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-186406-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-186406-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id A271D1C21F25 for ; Wed, 22 May 2024 15:08:09 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0446C1C6A8; Wed, 22 May 2024 15:08:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="k8eE1/mp" Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 97F4C22F0D; Wed, 22 May 2024 15:08:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.17 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716390483; cv=none; b=SySQKtm4XinClsFyKqgGjlTveXwzaD4aHSEnid0UuKUpC0F3RDO949ZUGvOysjVDJSPSQdSv32vblRS4FSTAtHSDVQqkfzuDHm5mI1MKYRPaF23e6/D8jBdpuEQ36DthsZYhc0KRBjm69SlWfcZZHNBt8CYG8FKQxBfUwV560IM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716390483; c=relaxed/simple; bh=PpZwJfjlRA2zGPwkwSl4YW9dyiXTZREZRpX0Vrwmr6Q=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=nDGfD6J5Yn4fai7db81ZBRm8ykHjeJi1hSCtMjYxJHy8lMROH0nbR3M+NGNm7rDfz1yOOHW11Ohc0txAdLtDtetePguOgwpiPduGOI0EOVJyq+U2Z53zdF0K3NZUlUZKAZnxOtlqBpOvO+GDJFQQ4A9oYWOQYHRFwIBk9bn0w2Y= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=none smtp.mailfrom=linux.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=k8eE1/mp; arc=none smtp.client-ip=192.198.163.17 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux.intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1716390482; x=1747926482; h=date:from:to:cc:subject:message-id:references: mime-version:content-transfer-encoding:in-reply-to; bh=PpZwJfjlRA2zGPwkwSl4YW9dyiXTZREZRpX0Vrwmr6Q=; b=k8eE1/mp39J/YmpqtQ9LaphY1bDzux2ZbeGmGdiwHUwiNxi7zN9wd7ja 2BaHupOs4gvzEN3HCqNzaE/1DKjILSlC0dtlB2rvoO9iEfpFpPl0AWzCJ xq1WrUIF+imgSzZ4xzALRl49WKskU2c60KB19cUo7c3MOTudW9UdCU2CX x23/rZkeq+7U0KvhuD/hhRlidrUc5ViolO+UlZpCMmFnMKjDKi1gabSXL +uzy8HOC85FXr9waf4evAcJCjLiCU2nV/cFORhFE3Wt/xGuJdbApSqOcN tmx7otIvvSsvir+2LNQ7v5pTTPeg5hYylDMDDBS/FBzqfFZdr4Wkqzvg2 g==; X-CSE-ConnectionGUID: /zR2jcxeSUqRenXsgesckg== X-CSE-MsgGUID: uIyE62anSniEfZZaL7MfLA== X-IronPort-AV: E=McAfee;i="6600,9927,11079"; a="12525513" X-IronPort-AV: E=Sophos;i="6.08,181,1712646000"; d="scan'208";a="12525513" Received: from fmviesa007.fm.intel.com ([10.60.135.147]) by fmvoesa111.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 May 2024 08:08:01 -0700 X-CSE-ConnectionGUID: G21mYBgcRDqZgfLR7pEdNQ== X-CSE-MsgGUID: t6qIuYpyR866F9sRIsACQw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,181,1712646000"; d="scan'208";a="33233067" Received: from smile.fi.intel.com ([10.237.72.54]) by fmviesa007.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 May 2024 08:07:57 -0700 Received: from andy by smile.fi.intel.com with local (Exim 4.97) (envelope-from ) id 1s9nZK-0000000A0m8-3RXe; Wed, 22 May 2024 18:07:54 +0300 Date: Wed, 22 May 2024 18:07:54 +0300 From: Andy Shevchenko To: "Nechita, Ramona" Cc: Nuno =?iso-8859-1?Q?S=E1?= , "linux-iio@vger.kernel.org" , Jonathan Cameron , Lars-Peter Clausen , "Hennerich, Michael" , Liam Girdwood , Mark Brown , "Sa, Nuno" , Marius Cristea , "Schmitt, Marcelo" , Maksim Kiselev , Ivan Mikhaylov , Marcus Folkesson , Liam Beguin , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH] drivers: iio: adc: add support for ad777x family Message-ID: References: <20240522120005.18197-1-ramona.nechita@analog.com> <9c19faf6ee186f144a705f458da83ea25f7a3a34.camel@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo On Wed, May 22, 2024 at 03:01:52PM +0000, Nechita, Ramona wrote: > Hello Nuno, > > I apologize, I accidentally submitted the updated version that I used for the > project, instead of the one without axi. I will fix it and resend the patch > asap. First of all, do not top-post! Second, don't do ASAP, take your time, read the comments given for this version and address the same / similar issues in any code you are possessing before sending. > -----Original Message----- > From: Nuno S? > Sent: Wednesday, May 22, 2024 5:36 PM > On Wed, 2024-05-22 at 14:59 +0300, ranechita wrote: > > Added support for ad7770,ad7771,ad7779 ADCs. The data is streamed only > > on the spi-mode, without using the data lines. > Is this even compiling? This is definitely not code to be upstreamed since it > relies on the our out-of-tree/legacy driver for the adi-axi-adc. You need to > convert this to use the IIO backend framework (adding new interfaces if > needed). -- With Best Regards, Andy Shevchenko