Received: by 2002:a05:7412:798b:b0:fc:a2b0:25d7 with SMTP id fb11csp350395rdb; Thu, 22 Feb 2024 05:56:18 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCVh9MmLt9tSskXmY60zicQJozKHERfS8CZvcQ7FV/uHaNKahGyceeoBEGtbVR7jB06pZi1itiydM8ypepKtfBMvWeC94bhVWofv1/E32w== X-Google-Smtp-Source: AGHT+IHPN5ZoOV4lc7VkZM+uOm7BEqTLOGd7k0O6lnpxKMDDKVymMfBW2XFUDyDDKgtQ/Rv2O8X5 X-Received: by 2002:a05:6a20:3056:b0:1a0:d0ef:c655 with SMTP id 22-20020a056a20305600b001a0d0efc655mr2078125pzx.48.1708610178006; Thu, 22 Feb 2024 05:56:18 -0800 (PST) Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id lo17-20020a056a003d1100b006e4893241e0si4004008pfb.256.2024.02.22.05.56.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Feb 2024 05:56:17 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-76645-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; arc=fail (body hash mismatch); spf=pass (google.com: domain of linux-kernel+bounces-76645-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-76645-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id B3E582875CB for ; Thu, 22 Feb 2024 13:55:12 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C7934137C29; Thu, 22 Feb 2024 13:55:05 +0000 (UTC) Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.13]) (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 ADA7258ADF; Thu, 22 Feb 2024 13:55:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.13 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708610105; cv=none; b=TC/VbiFZcZYOCzPUK8sbHvCRmZzKTMSAl8FyG8OOc2tHmnYaRjmFk+WvdWQ6Ojp9heBaYCZovR6BEOjz2l1fiYfNcLvIbk9IoD+hH+ZFCWu3cLEQ2QcL6hn8Y03mkIfzxJDqfKFNjPXcqAp7EZ92lHe/h4WmBinl52WuH9kZryU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708610105; c=relaxed/simple; bh=rpZDVv/1mLgRWOiaQCy4si/knuEmPEovGhuqTdYMBk4=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=U98FLMoQ2MQEO19m/5uRNmtRM1q/id1fJr23PPnFxjFEuIKc3qKiUt/x7KN9BOG1GedVcBEuvdE6FFhs8m9jwimb5yJMHKpXb/NkEf4cUAWcSzKSdrcTve4tduwDFbdO5eDx45dTGH1K2Zxi9k8kC8DTX5WCipCQreHJkgrOnSY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org; spf=fail smtp.mailfrom=kernel.org; arc=none smtp.client-ip=198.175.65.13 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=kernel.org X-IronPort-AV: E=McAfee;i="6600,9927,10991"; a="13963683" X-IronPort-AV: E=Sophos;i="6.06,177,1705392000"; d="scan'208";a="13963683" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orvoesa105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Feb 2024 05:55:03 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10991"; a="936852991" X-IronPort-AV: E=Sophos;i="6.06,177,1705392000"; d="scan'208";a="936852991" Received: from smile.fi.intel.com ([10.237.72.54]) by fmsmga001.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Feb 2024 05:54:57 -0800 Received: from andy by smile.fi.intel.com with local (Exim 4.97) (envelope-from ) id 1rd9XJ-00000006dwU-2ROI; Thu, 22 Feb 2024 15:54:53 +0200 Date: Thu, 22 Feb 2024 15:54:53 +0200 From: Andy Shevchenko To: Dumitru Ceclan Cc: linus.walleij@linaro.org, brgl@bgdev.pl, linux-gpio@vger.kernel.org, Lars-Peter Clausen , Jonathan Cameron , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Michael Walle , Arnd Bergmann , ChiaEn Wu , Niklas Schnelle , Leonard =?iso-8859-1?Q?G=F6hrs?= , Mike Looijmans , Haibo Chen , Hugo Villeneuve , David Lechner , Ceclan Dumitru , linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v14 2/3] iio: adc: ad_sigma_delta: Add optional irq selection Message-ID: References: <20240222110817.29670-1-mitrutzceclan@gmail.com> <20240222110817.29670-2-mitrutzceclan@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=us-ascii Content-Disposition: inline In-Reply-To: <20240222110817.29670-2-mitrutzceclan@gmail.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo On Thu, Feb 22, 2024 at 01:07:42PM +0200, Dumitru Ceclan wrote: > Add optional irq_num attribute to ad_sigma_delta_info structure for > selecting the used interrupt line for adc's conversion completion. ADC's .. > + * @irq_num: IRQ for reading conversions. If 0, spi->irq will be used Naming is a bit confusing. Does _num mean the amount of IRQ vectors? Perhaps irq_line, irq_conv? .. > + unsigned long irq_num; Why is it not simple (signed) int? .. > + unsigned int irq_num; Ditto. -- With Best Regards, Andy Shevchenko