Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp3931708rdb; Mon, 11 Dec 2023 04:29:06 -0800 (PST) X-Google-Smtp-Source: AGHT+IEQsfvdmkhBwH0YwhziukZ2kb2bS4W3kRCTGM+c5HpSxymvyCEieby0VVrLnzYUU7Gj07NO X-Received: by 2002:a05:6a20:5d2:b0:190:8d36:550c with SMTP id r18-20020a056a2005d200b001908d36550cmr3119133pzr.53.1702297746204; Mon, 11 Dec 2023 04:29:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702297746; cv=none; d=google.com; s=arc-20160816; b=lbkOlQ5PVoCtF0u/JjL8B1wTJLmOOax+N3NtuFypzysTDLx+aktia14VKMYC+tEoKk rJ5T4zJ79YTmCIiI95Sp91++xa/YMfZtphWabUAdydzhRnxfMBwLt3O0FBRP9eIx6fm8 NJEKmXwBCOH/9RD+f/g5krmtxuIzaVLX+lxq49YxkMtUp4YChYCAk/Hld994a51ctxzj bYSIo161apq4AayVP7HccVUOPmw8VrcHFhz6OWpR5ZhrJBaGEkXla90S4zKi05B2TUDq HMwDWwzbrDZmSNoIUw2ZyDii5VSPjrzNlF92o0J6LM4OtUI3yi+thx+6trbNV//gbnwy 3LTQ== 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:date:subject:cc:to:from :dkim-signature; bh=EQjKnUKr/6rWL0h9abnt4zIo/7TuTvgvuGycMSFLA9c=; fh=HzygofV25W43v1wAm9HKFP+ccA5kLvhZMvQ35aTTsXY=; b=ivcZJm9GiroKYOt76MmbfCkJFMKcLTT0ZU0+6HzTIAGR7JM590kDLSYBr6NXfAgpsV Da3sKB7Nf5SK/fwR9P5iq+xhvDOK1ihozBSX85rmRGRlclPAQWN6Vamx9081LlfS2RXg KXDVFruGXJw/OMjNmEgkrkSq2FPZbcXePAexrz4n2QmnOzak7KpHXonfbput7sga7Lvm j8XKTX79D4VQ2sYlGe/TgsWLgKAe6iRkrK8kDAPPcHNlyWu4qWODrpIRBXoZIYqPYN6/ k4ocrv7IG8KjHQjWLnqdLJZjL9s5Dfvzy6ty3rvNCeSZbsfKTKNjuAIDsCEZOdzcEkto zNsg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=lHV8Mr92; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id a22-20020a62d416000000b006cef6b7b7a4si3545918pfh.310.2023.12.11.04.29.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Dec 2023 04:29:06 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=lHV8Mr92; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id D5D1E805F844; Mon, 11 Dec 2023 04:29:03 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234627AbjLKM2r (ORCPT + 99 others); Mon, 11 Dec 2023 07:28:47 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37122 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234350AbjLKM2q (ORCPT ); Mon, 11 Dec 2023 07:28:46 -0500 Received: from mail-pg1-x541.google.com (mail-pg1-x541.google.com [IPv6:2607:f8b0:4864:20::541]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BD0E8FD; Mon, 11 Dec 2023 04:28:52 -0800 (PST) Received: by mail-pg1-x541.google.com with SMTP id 41be03b00d2f7-5c6839373f8so3098763a12.0; Mon, 11 Dec 2023 04:28:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1702297732; x=1702902532; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=EQjKnUKr/6rWL0h9abnt4zIo/7TuTvgvuGycMSFLA9c=; b=lHV8Mr920CHehgKKDuFoqhSs8wuuGXEh03YTEfThw3IcJ61NmSVpQP/+AADjVLmQHb +Tgl/dl8cY1TbI3nZEbEDPHTMDV60Z8Bm3a3SsoG91Xn8eBl9ceXXkXRi49W0l5fIBXp mLVpesaUGJKZhx3otRhKF8WwSXUtvJRHcrC7IugvN82EewY9rCSM/ozrgPkpUjqwBAL3 ZerFlWphOaTP4iZIhNiRshV6Vb8Cfqn2f4KUAVfnFgnkdVrlqYfO5iUsmQEMjc5Qt396 MKuBDRYAy4dJqpITP0S10Z24TiRaGvGtrbu3oM9ANSmU6INUSDlSOVFsH+DFCL5+QEqr 4Rdg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702297732; x=1702902532; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=EQjKnUKr/6rWL0h9abnt4zIo/7TuTvgvuGycMSFLA9c=; b=GfMadNP/Ftjtz7bDJNq3vGpjfA2GBfbwTh4057t1gKkyDIsd5Pg0w0g0p+nB1oviAI skEbpbTIQqIoAE6bVBIvno4MlRyoKxg/lCEEsvTCtND4YXUN7OSqQaPh795FG+stTXRV ubtMZCU32OawLbQI/zOZx/lab70QxGKekRNPlhFcODRYnaS5LQycox9LK3vIFcgIS4oq RrUFbzDEotPfNRHyPCZevtFXXbsz2bILaBTiU7YX/p3iY71TccaqsZiQ4E/z5CDRRU5T YaY8pZ4Y3uJR/lvSXCTnB85dCdZMK+wG5z8EhFilA+mOnxbBNeMaK/TKoHsxWFUgWTdg bOCQ== X-Gm-Message-State: AOJu0Yy5twiKjovS9+t9K7mJPf2RMViXuCQ/9SoUIPrTFgIXcv4CeP0u kKC/KquvOfrz0icL+te6ePw= X-Received: by 2002:a17:902:e552:b0:1d0:c521:ad4a with SMTP id n18-20020a170902e55200b001d0c521ad4amr6389492plf.56.1702297732051; Mon, 11 Dec 2023 04:28:52 -0800 (PST) Received: from dawn-virtual-machine.localdomain ([183.198.110.72]) by smtp.gmail.com with ESMTPSA id i1-20020a6551c1000000b005c6e8fa9f24sm5372425pgq.49.2023.12.11.04.28.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Dec 2023 04:28:51 -0800 (PST) From: Li peiyu <579lpy@gmail.com> To: jic23@kernel.org Cc: javier.carrasco.cruz@gmail.com, lars@metafoo.de, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v6 2/4] iio: ABI: document temperature and humidity peak/trough raw attributes Date: Mon, 11 Dec 2023 20:28:40 +0800 Message-Id: <20231211122840.9760-1-579lpy@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231211122201.9598-1-579lpy@gmail.com> References: <20231211122201.9598-1-579lpy@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, FROM_STARTS_WITH_NUMS,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Mon, 11 Dec 2023 04:29:04 -0800 (PST) From: Javier Carrasco The in_temp_peak_raw attribute is already in use, but its documentation is still missing. The in_humidityrelative_raw must be documented for a new iio user that supports this attribute. Add temp and humidityrelative use cases. When at it, remove an extra blank space in the description. For users that support minimum values, a new in__trough_raw attribute is required. Add this attribute and document the first uses of it for temp and humidityrelative types. Signed-off-by: Javier Carrasco --- Documentation/ABI/testing/sysfs-bus-iio | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/Documentation/ABI/testing/sysfs-bus-iio b/Documentation/ABI/testing/sysfs-bus-iio index 0d3ec5fc45f2..9d937e29724b 100644 --- a/Documentation/ABI/testing/sysfs-bus-iio +++ b/Documentation/ABI/testing/sysfs-bus-iio @@ -362,10 +362,21 @@ Description: What: /sys/bus/iio/devices/iio:deviceX/in_accel_x_peak_raw What: /sys/bus/iio/devices/iio:deviceX/in_accel_y_peak_raw What: /sys/bus/iio/devices/iio:deviceX/in_accel_z_peak_raw +What: /sys/bus/iio/devices/iio:deviceX/in_humidityrelative_peak_raw +What: /sys/bus/iio/devices/iio:deviceX/in_temp_peak_raw KernelVersion: 2.6.36 Contact: linux-iio@vger.kernel.org Description: - Highest value since some reset condition. These + Highest value since some reset condition. These + attributes allow access to this and are otherwise + the direct equivalent of the Y[_name]_raw attributes. + +What: /sys/bus/iio/devices/iio:deviceX/in_humidityrelative_trough_raw +What: /sys/bus/iio/devices/iio:deviceX/in_temp_trough_raw +KernelVersion: 6.7 +Contact: linux-iio@vger.kernel.org +Description: + Lowest value since some reset condition. These attributes allow access to this and are otherwise the direct equivalent of the Y[_name]_raw attributes. -- 2.34.1