Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp407128pxb; Tue, 1 Feb 2022 02:30:47 -0800 (PST) X-Google-Smtp-Source: ABdhPJxSlkTlUkCoJjOFUhPRzJwtfgPUUyuT3iMebmNBLgS5EpmmSlH6RVG98AjmvpMHjQyhWfPv X-Received: by 2002:a17:90a:f89:: with SMTP id 9mr1513980pjz.138.1643711447337; Tue, 01 Feb 2022 02:30:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643711447; cv=none; d=google.com; s=arc-20160816; b=Rl0NiqKSQbnnC4WgvNq+5qgTBP5wSNV59VJ7toVVSGVeTgvLQXF7487jb6hB6UYghe u10lvDOdctcp8p4XxPngwnRpNtFk3lOr5W3T3beVnJ+6VHYqxxw2hXcYB89wKOJpGpsM drkUxeIxcSzZk83P+TJ4R6xdGIU9YjeQRR2z+s+6CvXnUw8Ze1NKK0fw/amLgm7n1td+ yxBs67du4pFwOBtvuNlOgZeQsSzZT3uuhDSJCK2lssP5auDoizjPhLbgr4Ni15NLyHI7 eF0EswpSgdzjNcCU3FqlBk05RUKkrMs936Ung6eiBIO3ehZM1mzYazmIX8ZY51Y9hN8N J7mg== 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 :dkim-signature; bh=TrDko7v/mYXQ5oqLh04z94ryK6+UQNqSBuZYBC5KFNo=; b=hzbupWVkCthvvgN9C55a3KLa+zQakfdJuuyu2sDs8U60H8EwTgzv4SaRiT+az7CRfh l79QovUF4sbx582u6x9zsQ/zTDMYyvFiLcJ20pOJxxeKyeVbVNG7HYKb0l163wvYGAML HFfARhuSHpSLvY7mHweQUUiiLvSe9c+YerS31sb36hPwHZ9iIIWKJjeOZ/Qb6AUu0spf T+RD4LP+nBrEcjUx5VcQU6un1oNCHHUex3naK2vHLl2yIuii8ynikCEUbFPe7zFrmF5J PF021obLAHUrtTSdKevZEkVP+g9JYxmwnHzHnBPn+0iLh/eDTiAb/4pHO5yY3QKHAQuV Qd7Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ilZAjwqq; 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 m16si17993419plx.6.2022.02.01.02.30.35; Tue, 01 Feb 2022 02:30:47 -0800 (PST) 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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ilZAjwqq; 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 S1354739AbiA3MDV (ORCPT + 99 others); Sun, 30 Jan 2022 07:03:21 -0500 Received: from sin.source.kernel.org ([145.40.73.55]:34526 "EHLO sin.source.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347001AbiA3MDS (ORCPT ); Sun, 30 Jan 2022 07:03:18 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sin.source.kernel.org (Postfix) with ESMTPS id ADDB9CE0B5F; Sun, 30 Jan 2022 12:03:15 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 50C58C340E4; Sun, 30 Jan 2022 12:03:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1643544193; bh=DZuC7c6eZ3ENqwzGY2N1IdAWzXCmj/QuF76kqjUt4SE=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=ilZAjwqqbXYTdal/H1F8bdWhm/trnTsen9ZeJ80YIAIfdDLq5g7IFHLp9M3BcsILG cjqLv0xunlXpSjqHPhvNqRNgUtGPW3oQjrev7ztKv0zTHyNvXQUxB1t3P9VrbHB6j3 uRk+8WXA/jSGRUv8JaKlhV17/olG95G/b/lDKvfEVJtb89G64gEqYKEEGi2jRLXSNJ TK3FEO3XRzajDq1BUBLq3PFHfyvZBetnxpN9apwknwbK5BOV6h/VGv20xfCpKQcX2J sWEEKg7Shudx3qdA5+2h6XPMVJMn1xFKGNCaCB0YTTN/dcIubY4jMtiyVKJn2Qw+8y XXQ9bXlgbs02g== Date: Sun, 30 Jan 2022 12:09:37 +0000 From: Jonathan Cameron To: Antoniu Miclaus Cc: , , , Subject: Re: [PATCH v4 3/4] Documentation:ABI:testing:admv1014: add ABI docs Message-ID: <20220130120937.60c4088c@jic23-huawei> In-Reply-To: <20220127105558.59567-3-antoniu.miclaus@analog.com> References: <20220127105558.59567-1-antoniu.miclaus@analog.com> <20220127105558.59567-3-antoniu.miclaus@analog.com> X-Mailer: Claws Mail 4.0.0 (GTK+ 3.24.31; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 27 Jan 2022 12:55:57 +0200 Antoniu Miclaus wrote: > Add documentation for the use of the Digital Attenuator gain. > > Signed-off-by: Antoniu Miclaus > --- > changes in v4: > - move `in_altvoltage_calibscale` to sysfs-bus-iio > Documentation/ABI/testing/sysfs-bus-iio | 7 ++++++ > .../testing/sysfs-bus-iio-frequency-admv1014 | 23 +++++++++++++++++++ > 2 files changed, 30 insertions(+) > create mode 100644 Documentation/ABI/testing/sysfs-bus-iio-frequency-admv1014 > > diff --git a/Documentation/ABI/testing/sysfs-bus-iio b/Documentation/ABI/testing/sysfs-bus-iio > index c551301b33f1..d7d96d3d6b7c 100644 > --- a/Documentation/ABI/testing/sysfs-bus-iio > +++ b/Documentation/ABI/testing/sysfs-bus-iio > @@ -476,6 +476,13 @@ What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_i_calibscale > What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_q_calibscale > What: /sys/bus/iio/devices/iio:deviceX/in_voltage_i_calibscale > What: /sys/bus/iio/devices/iio:deviceX/in_voltage_q_calibscale > +What: /sys/bus/iio/devices/iio:deviceX/in_altvoltage_calibscale > +KernelVersion: > +Contact: linux-iio@vger.kernel.org > +Description: > + Used in microwave converters to read/write value for the > + digital attenuator gain (I/Q mode). > + You can't add description etc in the middle of a load of What: entries like this. Just add the What line. The generic description text should be sufficient. > What: /sys/bus/iio/devices/iio:deviceX/in_voltage_calibscale > What: /sys/bus/iio/devices/iio:deviceX/in_accel_x_calibscale > What: /sys/bus/iio/devices/iio:deviceX/in_accel_y_calibscale > diff --git a/Documentation/ABI/testing/sysfs-bus-iio-frequency-admv1014 b/Documentation/ABI/testing/sysfs-bus-iio-frequency-admv1014 > new file mode 100644 > index 000000000000..5bcd96d77f45 > --- /dev/null > +++ b/Documentation/ABI/testing/sysfs-bus-iio-frequency-admv1014 > @@ -0,0 +1,23 @@ > +What: /sys/bus/iio/devices/iio:deviceX/in_altvoltage0_i_calibscale_coarse > +KernelVersion: Fill these in. If something odd happens to delay it getting merged I can fix them up, but I may well forget to fill them in if left empty. Basically make life easy for me in the common case. This 'should' be 5.18 material. > +Contact: linux-iio@vger.kernel.org > +Description: > + Read/write value for the digital attenuator gain (IF_I) with coarse steps. > + > +What: /sys/bus/iio/devices/iio:deviceX/in_altvoltage0_q_calibscale_coarse > +KernelVersion: > +Contact: linux-iio@vger.kernel.org > +Description: > + Read/write value for the digital attenuator gain (IF_Q) with coarse steps. > + > +What: /sys/bus/iio/devices/iio:deviceX/in_altvoltage0_i_calibscale_fine > +KernelVersion: > +Contact: linux-iio@vger.kernel.org > +Description: > + Read/write value for the digital attenuator gain (IF_I) with fine steps. > + > +What: /sys/bus/iio/devices/iio:deviceX/in_altvoltage0_q_calibscale_fine > +KernelVersion: > +Contact: linux-iio@vger.kernel.org > +Description: > + Read/write value for the digital attenuator gain (IF_Q) with fine steps.