Received: by 2002:ab2:6203:0:b0:1f5:f2ab:c469 with SMTP id o3csp1160985lqt; Sat, 20 Apr 2024 03:24:10 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXGHS7eEDb4no3uoVD3BfqqAvbentUkpy4KGQMr2F5+Rq6J7v0aLcJAo5uh0Mwfs5y1MRBfohxOuCn1+2Xyj9dDu667aBUQJ9Jf64RXvA== X-Google-Smtp-Source: AGHT+IGSDUSvT36nklWz10wSt6iL9r/7o3CAlvj+LMj94j0qbEHUoUC+LCDNCrIYl4IOefkzhSpa X-Received: by 2002:a50:ab5c:0:b0:570:1de9:4cd7 with SMTP id t28-20020a50ab5c000000b005701de94cd7mr3323791edc.15.1713608650223; Sat, 20 Apr 2024 03:24:10 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713608650; cv=pass; d=google.com; s=arc-20160816; b=WxVcd3dPUcDOncZIzQv/nK0g+rmzLh2GSGrhJEmMaI2ucj1i2Rc1RA8njuQGfRfUz3 p45AXdakOVD2mt9Ux2IpoDvrPSq2vmJoZNXU+MHl/fS3T+By/OfNYdJahsL0vz77bVH/ /2W0yl7ED/21Zy0HiOW+QtmD35jQKBP/k9Zu0xRI34JcrkqGPo/Jj7C+6HIhGW+J+A9o V3lh3dWTXN9f3OCoAgWXbgIFZjxnjYy7akLv66w9g8YzrgXHOMzVIZs1s3buFJ7K9NA6 N/eryAxjhaabdQzJuGCUxJPCXGqZ7JxCsRvrBxkGfRw83cE7oaovO3FbMfOSIYL4AYzw GYMg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=KkhfjqJx40wNwRgDhPDHdykikpTQzwKzYD1ftDsSUlQ=; fh=O+uxYFkcPlJdsvoJg8RuNy4QUhi9834LHisk8ZBFogo=; b=PGnEZ3wupUy4XUn+gIslfRpP+dAprr+ltMQINGen9V5MExhgUBgcmbyata4xSZq2a7 6RWUkrFhtY5M9ME/RpyfNaDQBpY3RiDpHCj0AXXrFRZ6sHJJhtslAXytFQD82EvZUesW sNEvzi7gUhyrRe7CAHoTBhZ5x++uzJt21CkmgeUj4iyQ6UUDb3Lj3nDHkQy2BL4CQ0B8 tBFCw3INVTDmE+LGz3wkpfx/MhUX2ksG0ZZRNg4wgrlQfaUPkHF2t8z/O4FIcWpiD40Z b4PzBmNUHfAL34v43fXLtt8v/zEAypQy7clbza76Cle0Znzl6llkyaVTMduaDaBttNcw /Z+g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=RqZmho2h; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-152226-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-152226-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id de17-20020a056402309100b005705f241dacsi3326513edb.39.2024.04.20.03.24.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 20 Apr 2024 03:24:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-152226-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=RqZmho2h; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-152226-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-152226-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 am.mirrors.kernel.org (Postfix) with ESMTPS id E3F221F21CFF for ; Sat, 20 Apr 2024 10:24:09 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B48981805E; Sat, 20 Apr 2024 10:24:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="RqZmho2h" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 D28D7EAE5; Sat, 20 Apr 2024 10:24:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713608640; cv=none; b=XC3A1L1wYojejMUZiMraqqXkaQ3vqB5bUBU+2wJDB17xv8cNvgqUiDn6AYGPS8Uv4kyLx/RC3okHniomh5TLf5j2mu/MClk6EECk4G57m5VlmPd2h7aXd4saG257T1OWxcnAYrMbnsGZfA3WWn0rNtmI5yOzJotyT5MYHGII/NU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713608640; c=relaxed/simple; bh=O706/Wu4EJCalwCyUXbD1345T/rl3q5r1/D58up9X3I=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=QYGUMdJTFeD0Z9mkULHsTpHYYvK+a1ZAbcL0xOa6V4njq1VYi8QdMajPfwz+cHtf9MLPFSZfPG3PZMI8syiaXr2vl9BIODVvdvbO4c13elyt/AfEynE3OI1WF3t/9jxLKlZhyghTsbTEYDnTeczzYWtXrXpSlNilgsLrUiyAG8o= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=RqZmho2h; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 805B0C072AA; Sat, 20 Apr 2024 10:23:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1713608640; bh=O706/Wu4EJCalwCyUXbD1345T/rl3q5r1/D58up9X3I=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=RqZmho2hVR3+nk4Rwe9/XpcaYokk6u0MO/cuJ7PXO3zV6mjqLCk2OVRrhQJVJeBgu tc+yo6SC2sRnVRLe0UH8MfhGZzAD8OfPiql2UQ39x28ZW+TgENG1Sx3M+Ssg9fnUki 0nhLD16UBs7KFCFoH1tmSVLT7M5lJ+l7a0X0ka4OHLj6dgfDVUWu8Qw1WaMsg5gtqN vIkEfDdBc479mc2mHEK8Vjh84ggvFa8pfYb2rZkC/Z5yDcQGqQR/MIMdsvvt6XexLf SMeOMPkK1gZcJv4fPKIq/UptGIYtVrGqGiNzn5yKUO3gb8gBtDH9mmKqw2Ctqsfpv6 fYksbCfgB4r4A== Date: Sat, 20 Apr 2024 11:23:47 +0100 From: Jonathan Cameron To: "Paller, Kim Seer" Cc: David Lechner , "linux-iio@vger.kernel.org" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Lars-Peter Clausen , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Liam Girdwood , Mark Brown , "Hennerich, Michael" Subject: Re: [PATCH 3/4] iio: ABI: add ABI file for the LTC2672 DAC Message-ID: <20240420112347.6bd1daa4@jic23-huawei> In-Reply-To: References: <20240412032102.136071-1-kimseer.paller@analog.com> <20240412032102.136071-4-kimseer.paller@analog.com> <20240413162640.77c6fc56@jic23-huawei> X-Mailer: Claws Mail 4.2.0 (GTK 3.24.41; x86_64-pc-linux-gnu) 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-Transfer-Encoding: 7bit On Tue, 16 Apr 2024 14:18:23 +0000 "Paller, Kim Seer" wrote: > > -----Original Message----- > > From: Jonathan Cameron > > Sent: Saturday, April 13, 2024 11:27 PM > > To: Paller, Kim Seer > > Cc: linux-iio@vger.kernel.org; devicetree@vger.kernel.org; linux- > > kernel@vger.kernel.org; Lars-Peter Clausen ; Rob Herring > > ; Krzysztof Kozlowski ; > > Conor Dooley ; Liam Girdwood > > ; Mark Brown ; David Lechner > > ; Hennerich, Michael > > > > Subject: Re: [PATCH 3/4] iio: ABI: add ABI file for the LTC2672 DAC > > > > [External] > > > > On Fri, 12 Apr 2024 11:21:01 +0800 > > Kim Seer Paller wrote: > > > > > Define the sysfs interface for toggle capable channels. > > > > > > Toggle enabled channels will have: > > > > > > * out_currentY_toggle_en > > > * out_currentY_raw0 > > > * out_currentY_raw1 > > > * out_currentY_symbol > > > > > > The common interface present in all channels is: > > > > > > * out_currentY_raw (not present in toggle enabled channels) > > > * out_currentY_raw_available > > > * out_currentY_powerdown > > > * out_currentY_scale > > > * out_currentY_offset > > > > > > Co-developed-by: Michael Hennerich > > > Signed-off-by: Michael Hennerich > > > Signed-off-by: Kim Seer Paller > > > --- > > > .../ABI/testing/sysfs-bus-iio-dac-ltc2672 | 30 +++++++++++++++++++ > > > > You can only have per device ABI defined if that is the only user > > of the ABI. That may actually be true here but given I've asked you to > > generalize > > the voltage equivalent, I think we've shown this is general enough that the > > current > > version should also be raised to sysfs-bus-iio-dac > > I'm still getting familiar with ABI documentation. If I understand correctly, > generalizing the documentation to cover both parts would also mean we remove > the overlapping sections from the ltc2688 ABI. Is that the correct approach? > > Yes. To test this build the html docs. IIRC that will complain about duplicate ABI definitions. I'm sure there is a way to test just ABI docs build but I've never really looked into it. Jonathan