Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp1243277pxb; Sat, 30 Oct 2021 09:01:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwSggl8Al2flrpO52Utw5gzp8m+IJCb+RVDHl0cAip/Ud4NXlpFEwLpfZwgRsLuALUOJxeZ X-Received: by 2002:a17:907:3d8b:: with SMTP id he11mr21756574ejc.100.1635609665861; Sat, 30 Oct 2021 09:01:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635609665; cv=none; d=google.com; s=arc-20160816; b=kao/FzsX2jUuf7WtfUnBiGBZqxQg3g+QXGT1BS93isWgDYJm/FSUba3C3W9l+GX5ph MW6XsdxnfRtyzk6uz5Nba+Yizh/daM39SivPnSsHHk5kmPKBHdqXdpfrQrcEs1DiNa+J IZoRIQqIr5f3dGMsXKHiYxf1sqd8JL91so0gMQd4rbv/IBmug6DdFsnLIh3fwhEBbfsm L1FUijaYl157sKKhSOKzYzc1e7FdVkIwSpfFxkONJvDjkdh79xMn7JTrIll5sj1+rHmT DO0eBKegpym7gp27sMTTAoJRwhUZUdrWFtK2xyXGt89mQCx5xrm+O+ZpVPer5+h6vkup CMuA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date; bh=P8IHv5CHgj9Hz3xxWAdEZdJwrnIaEMBwKxsXe8U/0GA=; b=xh5sgM9goun6wuboi6YnNHECIr1qPG6cxz/tuEyLLdGosAn2olx0GQylo/f6axZnj3 SDGtE9xtw+WKFd5nByDhBq84uCjJ96ky8urRd7l7Auw7p9bwy/Jkb5bR9zivBLPkoLaO DddvkrAbnFz6dtV/ecsLBSPsH04XCQ4dr8uAHO4pnrXhUEnC2BiBd6L6Vt/Wyg3ns4F5 fA070wNoSnu7vvfLyjx+KsDncTUktqB2f7d6QKs4KmfZWs2QDYXfm02+ElfwdeMxnMVp XJQ9WwgkYtYXYjzVsb4nUzGij19HmF1mRSYGIQA6MAEh3Ll2+wzqB+pfKHPwDsi65yzl V87Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id z22si14551213edc.377.2021.10.30.09.00.31; Sat, 30 Oct 2021 09:01:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S232023AbhJ3P6A convert rfc822-to-8bit (ORCPT + 99 others); Sat, 30 Oct 2021 11:58:00 -0400 Received: from mail.kernel.org ([198.145.29.99]:58824 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231830AbhJ3P57 (ORCPT ); Sat, 30 Oct 2021 11:57:59 -0400 Received: from jic23-huawei (cpc108967-cmbg20-2-0-cust86.5-4.cable.virginm.net [81.101.6.87]) (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 9AF1460ED3; Sat, 30 Oct 2021 15:55:26 +0000 (UTC) Date: Sat, 30 Oct 2021 16:59:54 +0100 From: Jonathan Cameron To: "Sa, Nuno" Cc: Cosmin Tanislav , "Tanislav, Cosmin" , Lars-Peter Clausen , "Hennerich, Michael" , Rob Herring , "linux-iio@vger.kernel.org" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH v2 1/3] iio: add adddac subdirectory Message-ID: <20211030165954.459b978f@jic23-huawei> In-Reply-To: References: <20211028134849.3664969-1-demonsingur@gmail.com> <20211028135608.3666940-1-demonsingur@gmail.com> X-Mailer: Claws Mail 4.0.0 (GTK+ 3.24.30; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 29 Oct 2021 08:00:05 +0000 "Sa, Nuno" wrote: > Hi, > > > -----Original Message----- > > From: Cosmin Tanislav > > Sent: Thursday, October 28, 2021 3:56 PM > > Cc: demonsingur@gmail.com; Tanislav, Cosmin > > ; Lars-Peter Clausen > > ; Hennerich, Michael > > ; Jonathan Cameron > > ; Rob Herring ; linux- > > iio@vger.kernel.org; devicetree@vger.kernel.org; linux- > > kernel@vger.kernel.org > > Subject: [PATCH v2 1/3] iio: add adddac subdirectory > > > > [External] > > > > From: Cosmin Tanislav > > > > For IIO devices that expose both ADC and DAC functionality. > > > > Signed-off-by: Cosmin Tanislav > > --- > > One thing here that I'm not too sure is the naming of the directory. > I'm starting to see in ADI more and more of this highly integrated devices... For > example this one [1], is something we have someone already working one > and it has ADCs, DAC, amplifiers. So, I'm just wondering if now > it's not the time where we just have a generic enough place for these kind > of "combo" devices? Being that said, I have no idea about what name we could > give :) > > [1]: https://www.analog.com/media/en/technical-documentation/data-sheets/AD7293.pdf > - Nuno Sá Naming is always fun. I don't want to have combo start picking up IMUs so we need to be a bit careful. We could take the approach we have done with proximity and light sensors of effectively declaring one type to the dominant one. There it's a bit clearer though - you don't buy a proximity sensor if you want to just measure light levels. Here there isn't always a dominant type. The example here is titled input / output device so no preference of one over the other. The GPIO stuff is kind of a feature bolted on, so ADDAC is generic enough. For the ad7293 it does call it a Power Amplifiers 'with' the other stuff so maybe just sticking to amplifier as the type is the way to go. Meh, to a certain extent it doesn't matter - we can safely move these around once we have more of them in the tree. The adt7316 is still in staging and is an ADDAC as well so I think we should put that category in for now. Jonathan > >