From nobody Mon Feb 9 00:55:32 2026 Received: from mail-dy1-f180.google.com (mail-dy1-f180.google.com [74.125.82.180]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B2C6D1AF0AF for ; Sun, 18 Jan 2026 18:18:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=74.125.82.180 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768760320; cv=none; b=WBB0wVbEjkq2v98adQCncfeolfY8aAoPUm1KtVsjAiHfQ317z69qMd7efy3XNS9IdlniaHjBbRdON+SXcFxr4AxHUSdt3R4FX0PZXCXLkpIDYxACFAHZv73dDfaYSK6kw1pACfcYUBLIihiXs/f1peqU9ULssQAEPPkO456LKTE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768760320; c=relaxed/simple; bh=CtmK6HGYEFLvkcfwWCpQjqpg2mFess9ardwFFVxb/Qw=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=X4cidXfaBZVgAVCpJgocljGZ2Ip4idDq17QL69raSOivgnyIguQoJuGmMUGA+iyNa2QTDy9JLOxRHYDNn7PKo3BIir3NUGlIMeUgMAp6upvc8Infcu0vIcv3A2rfSM7vYKEiSs7/DMMQI9ZEbq7qkYUDX9pW7wmdz2LHVy9TrIQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=Y4dRGEze; arc=none smtp.client-ip=74.125.82.180 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Y4dRGEze" Received: by mail-dy1-f180.google.com with SMTP id 5a478bee46e88-2b0ea1edf11so5729597eec.0 for ; Sun, 18 Jan 2026 10:18:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1768760319; x=1769365119; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=fl7/Hk9e6cLXdvdH4SmgfnpJr7alHem/msvDuO1vXno=; b=Y4dRGEze+gLQhUD4Ip/F/gMdcxROj/I16s+AgBVI7/i8XbvO6r41S0pCW/m8IJOE+V 6i+KPiAW1w2e5Ohhi4a+CpsXKr3rO0UaEkDauiJZrK3rhoOiV+tYisjYdrfc3RFxJqfL 0zkpAsWX4YXvbU2KXKFpETB0fXx2qFSnMwD/cfU1fXJplxaATSZoVTdys+zkK2Kq0U9Q mviz7hWSmpBZ41BB6Cr/JEz5Z8i9YFVisRpK/H6Zrl6cSti3HCzR3HV09R7ogBb3w32S ZDOVbaGQuVpu6j+s+k9o5fQTYBcTmBDMa1B0l33DYL+iwXUzfMIJ0p3hp3LKS0Utt+uk 0joQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1768760319; x=1769365119; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-gg:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=fl7/Hk9e6cLXdvdH4SmgfnpJr7alHem/msvDuO1vXno=; b=n1uUogh1MH/Hk+y3Rno3HvhHaZYFPE0CjGNahbUuIeVohpqY2g+oBGJBqHaxGBp98l ajEv0J/kUXTq1LZe1+/rFMS4Z5HLIQ0A3KntqkA7kLqLT7vHoeqqjTYHVtOz9HtQTmWK 1Z9HPosjiiKL2OaeTfcAB2c/NTl+eKebOmCmahWJJMREk/KIux+1sSVg312lZIXsCWWU yc92sM1KKWinHwsu4cpaugfpnkl6lYBIt2HWHi/ouv4aRomFRwMQshrZyHcNKrWmjdoB VVrHe1zFcI31JoMAW5rvCzXDgoBTGH6CuwBF0vqSICu2C3Y9gCp/GkrLo2kcJw802m+D 2FqQ== X-Forwarded-Encrypted: i=1; AJvYcCXx3JhoEyp/ehPHTlw4/4ppu2y9M66dskfQeURm2VgeLOajHB3src5U4/jpBjVPeP7h9SrQlbLQ5w/doug=@vger.kernel.org X-Gm-Message-State: AOJu0YxNvwNQ51WMLqaVcvM3aaCrwfnPnHBrQgcbbh0u05R9mkcgwvr8 /XQLcjVJEfxoPDpSAtkWBb0c7tkjfYqg8z/CuOFX2hsVY4T0Y5KX6uAwJ9OX9B7B X-Gm-Gg: AY/fxX6ITSLiTno2NRP5Mos03OX4F43ILU8o2b3XKHrl0KvFfTlpFKjHqwRHuMv8DY1 mus/RwRy7TFSay5M4hhPaIGgNemZvlOX4qa4Ie1ssxIn9Rahmfc1TMcWtELVnHxvrDfic3tfv/q 3aw/4AVaAQPHuKdMv+OfXVdKmT3rkuQtuQnLBZuNdXPKoRZIpXZUie4Avz8wcdqbMpVB9Kk6PZC nBRbZK7+B0IdPygiNV9TmoAq/gYYbRreWqtre2foqrimt50qs+TR3rlYeogW/fFBhgVdJ0eKTlX zQtQcUgz9dV6Ej3afBDcn6wPPxl65Omoil2Y1CuJz5MeCeLoQm7aKP12eDVGooWmVfVi1WCzFg2 Ar8hIaryySbopUgL2YZzxFImr+4xrMbmUaVGSvnF6PjPszGHk7N95k5QUyTV/FU96oNidVIbFKO ap2YFXCc7XBm+3wPimmp4= X-Received: by 2002:a05:7300:c86:b0:2ae:5275:6901 with SMTP id 5a478bee46e88-2b6b503d29emr7165886eec.34.1768760318788; Sun, 18 Jan 2026 10:18:38 -0800 (PST) Received: from localhost ([2804:30c:2766:a500:b70:8c42:f792:bef6]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-2b6b36564ffsm10024081eec.28.2026.01.18.10.18.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 18 Jan 2026 10:18:38 -0800 (PST) Date: Sun, 18 Jan 2026 15:20:28 -0300 From: Marcelo Schmitt To: linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org Cc: jic23@kernel.org, Jonathan.Cameron@huawei.com, nuno.sa@analog.com, andy@kernel.org, dlechner@baylibre.com, marcelo.schmitt1@gmail.com Subject: [RFC PATCH v1 3/9] iio: ABI: Accurately describe in_illuminance[Y]_input Message-ID: <806ebcb6b4c9b2412fea92118b0d15678729a6da.1768759292.git.marcelo.schmitt1@gmail.com> References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" The drivers that provide channels of type IIO_LIGHT with info masks containing IIO_CHAN_INFO_PROCESSED provide values in lux through their in_illuminance[Y]_input attribute. A few drivers provide both in_illuminance[Y]_raw and in_illuminance[Y]_input and those also provide values in lux through in_illuminance[Y]_input (as one would expect from _input interfaces). The documentation, though, was previously describing in_illuminance[Y]_input attributes as if they would only provide values in lux after the application of offset and scale. Adjust the docs to provide accurate description for IIO channel in_illuminance[Y]_input interface. Signed-off-by: Marcelo Schmitt --- Documentation/ABI/testing/sysfs-bus-iio | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Documentation/ABI/testing/sysfs-bus-iio b/Documentation/ABI/te= sting/sysfs-bus-iio index 27251b65ea0e..9fb12f7a639d 100644 --- a/Documentation/ABI/testing/sysfs-bus-iio +++ b/Documentation/ABI/testing/sysfs-bus-iio @@ -1652,8 +1652,13 @@ Description: application of scale and offset are meters. =20 What: /sys/.../iio:deviceX/in_illuminance_input -What: /sys/.../iio:deviceX/in_illuminance_raw What: /sys/.../iio:deviceX/in_illuminanceY_input +KernelVersion: 3.4 +Contact: linux-iio@vger.kernel.org +Description: + Illuminance measurement in lux. + +What: /sys/.../iio:deviceX/in_illuminance_raw What: /sys/.../iio:deviceX/in_illuminanceY_raw What: /sys/.../iio:deviceX/in_illuminanceY_mean_raw What: /sys/.../iio:deviceX/in_illuminance_ir_raw --=20 2.51.0