From mboxrd@z Thu Jan 1 00:00:00 1970 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 D806979F5 for ; Sun, 10 Dec 2023 11:58:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="NewDbbCH" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6DF8CC433C7; Sun, 10 Dec 2023 11:58:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1702209536; bh=8zLebWkuA4oWeoYEgbs27UYNS0WETolFHBpDkoerBAI=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=NewDbbCHtW4923BRuQ//4rgbuO+G5VVyLF6myQH+lCmzJaVcizgjRuptYs2lAmkSC WPLWwXTR3Xm6QbXVH8UO/9/ftQFRuw/ncs1ZgEF2IFd9Y8ghUh6RKWPhWvGyqBmYMZ dhEb0N6ZVaOWU51txTKWPsCfk/18tb+RKh1BfLEuyNWmxcf1lLqeEUc1/Byvq27Oa0 Y0am3QUzqjU1TJ8LmsSrJyPZ2IlZrHWGjZgegAnfGWg17RSyeDNLCoyw8moIS+3Q1Q QVC6lTboL1JZrXciKvqTt1ky/mkD10MRh3fXbVbg2xSXkczobe8Q9PA4Hbzmp7YtFb 5uguec3E0Hk3w== Date: Sun, 10 Dec 2023 11:58:50 +0000 From: Jonathan Cameron To: Marek Vasut Cc: linux-iio@vger.kernel.org, Lars-Peter Clausen Subject: Re: [PATCH] doc: iio: Document intensity scale as poorly defined Message-ID: <20231210115850.63717a3d@jic23-huawei> In-Reply-To: <20231207134200.329174-1-marex@denx.de> References: <20231207134200.329174-1-marex@denx.de> X-Mailer: Claws Mail 4.2.0 (GTK 3.24.38; x86_64-pc-linux-gnu) Precedence: bulk X-Mailing-List: linux-iio@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 Thu, 7 Dec 2023 14:41:50 +0100 Marek Vasut wrote: > Add comment about intensity scale being poorly defined and > having no proper units. > > Signed-off-by: Marek Vasut Applied. Thanks for cleaning this up. Jonathan > --- > Cc: Jonathan Cameron > Cc: Lars-Peter Clausen > Cc: linux-iio@vger.kernel.org > --- > Documentation/ABI/testing/sysfs-bus-iio | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/Documentation/ABI/testing/sysfs-bus-iio b/Documentation/ABI/testing/sysfs-bus-iio > index 0d3ec5fc45f2f..94b8d8461b7c7 100644 > --- a/Documentation/ABI/testing/sysfs-bus-iio > +++ b/Documentation/ABI/testing/sysfs-bus-iio > @@ -618,7 +618,9 @@ KernelVersion: 2.6.35 > Contact: linux-iio@vger.kernel.org > Description: > If a discrete set of scale values is available, they > - are listed in this attribute. > + are listed in this attribute. Unlike illumination, > + multiplying intensity by intensity_scale does not > + yield value with any standardized unit. > > What: /sys/bus/iio/devices/iio:deviceX/out_voltageY_hardwaregain > What: /sys/bus/iio/devices/iio:deviceX/in_intensity_hardwaregain