Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp984874rdb; Wed, 6 Dec 2023 05:49:42 -0800 (PST) X-Google-Smtp-Source: AGHT+IGs01ytWoYZIT56uZn3N79GhpDEKazpdOD3RCOcH4bGwcNA6n/KjrLD5HP8WIYgVN9oPz0o X-Received: by 2002:a05:6a20:8f1a:b0:18f:1a27:3007 with SMTP id b26-20020a056a208f1a00b0018f1a273007mr715962pzk.95.1701870582078; Wed, 06 Dec 2023 05:49:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701870582; cv=none; d=google.com; s=arc-20160816; b=HVcjEYP6YBqnEV7kyz0nYS4Hc0WF6zeOVQIdepPxGeQw58oUZwRnSfrJPJi6Vxmq6b QmJQpzjWJJyBAXdwgUMMCXDPqKHw2mO5if52ff1OLGMsAGX5OXUpKvFeW1IT7qchgXif JwsJ4iKj9Nhf6fLU7uGg+ZyHY7T71zq6YMyHDLaRsBxFS0qiaK3DcQTdC0GLivnENM4Z MYSyZI+OCGjt7A4QRn+R1HOy58Ggh9BbZpglv6EP+k4VvTgej1gUb/4XXXMVJYAxoC4c /sSXLBxZzBzvnURvKR7O6V6j3L33ubxFU/Clw94pABLVjTFo8u6w4+//18dtbSJ5Aphl nC/g== 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=ciPRe6YN2pQGxH4x4UdwC7mDdjynmra03UkjPaYHC9Y=; fh=HzygofV25W43v1wAm9HKFP+ccA5kLvhZMvQ35aTTsXY=; b=BFwXho47GE5SZAIDrmw+lO7vkcJep8Pd1mqzALUJRHoeeyxBIkRy5iCwvxoMpuaBfN 7g+tKUD8MsUDVVRwrrKBPfsnj8DoTgA31jcjHmx533nyl6G/oYbMFQgP+gMB62XUW9Mk LOMm7l2PpyjoBFyVlirF+lfTteyLY10oKe/W+A6QGvonlEF/q+KgVe0yQ4YR+t2uapK9 fvBUHqikYR2FncmXS3fzlu8u1SPnFt60ZyRDwtHXn4Hzs/gOli/IOdbrcUI8RtK1v8wy 3IalOtpf5EgKVcRO+P2UxfHx8k3sLFbqpr/rl4bJJ6PeaeT9v7CucVLhhfD0tqP3v1Zk RUtA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="V/YR66p0"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 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 lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id v6-20020a63f846000000b0056959099f46si11361312pgj.856.2023.12.06.05.49.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Dec 2023 05:49:42 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="V/YR66p0"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 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 lipwig.vger.email (Postfix) with ESMTP id 64645807365C; Wed, 6 Dec 2023 05:49:39 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1378613AbjLFNtU (ORCPT + 99 others); Wed, 6 Dec 2023 08:49:20 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48094 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1378530AbjLFNtT (ORCPT ); Wed, 6 Dec 2023 08:49:19 -0500 Received: from mail-pl1-x642.google.com (mail-pl1-x642.google.com [IPv6:2607:f8b0:4864:20::642]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 25DEAD4D; Wed, 6 Dec 2023 05:49:26 -0800 (PST) Received: by mail-pl1-x642.google.com with SMTP id d9443c01a7336-1d0521554ddso36271235ad.2; Wed, 06 Dec 2023 05:49:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1701870565; x=1702475365; 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=ciPRe6YN2pQGxH4x4UdwC7mDdjynmra03UkjPaYHC9Y=; b=V/YR66p0k2L45JsVD0/g5XGRozTXa/ky/mxgDbm5csyV/ik8nrpln6oQBMtFh02c8u NrMUSEK4kpBLFMvL60RNdfvhzG+kvE4fLdrJjrvEkqOa+FbCUG6BI3ApyJ3hJGWSeHDI aNF6Ya4Wv7VH84oHWnDwMZNa7OUfhHHoZezFEcHHp9wOLAIBE1QjYS3ZpJw2W4prysKb ezdwtS4fpX1qbb+yY2L5fblgdIk4L0W0kVASlayxCDDboyJgoLE+Qz8pY4EQq/BAlHFY TLTs9rjS2Hn+idYWi6FfqQ6CDga/5TsTiI1s+J4A0HaW5UJlqQuZ7UXopnk0KHt5RzrG YFDg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701870565; x=1702475365; 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=ciPRe6YN2pQGxH4x4UdwC7mDdjynmra03UkjPaYHC9Y=; b=HLiiErvyKpCTDX8vKoFTTUKDLKnNfYKSq8Ve3yxVIlFxI74R6tQv3bm8xMOptI3bRt VV5Zm4PIhxKAF3DINaxecJ34A1bllydWR3EP4nte3WHHcYo+9nvrgvHEJnthlwUyRbyK orc59oNGsae0n9V2COUW2pR4CPkTew2IX1iWD+rr+zXWkRmilTx3RO5FoNltb3ZZ5H5o x0CeV5lONUFljkAalMfnkD061ORaU/8AZdGM6zkNvJYQitlDB96ffAgylpMhM92HPy76 Ozbh8EknOrHIGsbJ/fKcNrIGjYgnaaP26Bq7SPeMWr6gHtDxZFuhRj085s/whYAnbb7B XewQ== X-Gm-Message-State: AOJu0YyQKeyShYNgoJkDmwMkt6yI5Jr1f1Ky5l62IhQL8ZqFu+C+KrPe gRZ74CrgmRcA6fKL/yYK6RM= X-Received: by 2002:a17:902:8301:b0:1d0:6ffe:1e91 with SMTP id bd1-20020a170902830100b001d06ffe1e91mr577180plb.116.1701870565444; Wed, 06 Dec 2023 05:49:25 -0800 (PST) Received: from dawn-virtual-machine.localdomain ([183.198.59.249]) by smtp.gmail.com with ESMTPSA id jj15-20020a170903048f00b001cfb93fa4fasm4733824plb.150.2023.12.06.05.49.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Dec 2023 05:49:25 -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 v4 2/4] iio: ABI: document temperature and humidity peak/trough raw attributes Date: Wed, 6 Dec 2023 21:49:15 +0800 Message-Id: <20231206134915.559515-1-579lpy@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231206134655.559474-1-579lpy@gmail.com> References: <20231206134655.559474-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 lipwig.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 (lipwig.vger.email [0.0.0.0]); Wed, 06 Dec 2023 05:49:39 -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 19cde14f3869..dc1c7df6a19c 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