From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wr1-f42.google.com (mail-wr1-f42.google.com [209.85.221.42]) (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 52BEA2749D9 for ; Sun, 1 Feb 2026 18:33:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.42 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769970830; cv=none; b=hEXr2hpo2BSiuQyLVsIicixvfMIZJ8ogzZESpii7lXfBOKpa7liOWiMCpTV/NcfHlx+a+932C1+ImDtSx+/6uJW6ll5pk9X3p0/TqO2SW1fpXuhTZ4GR9+GSx+ws+Bs57I6vkdRCBeJUsl9nxe9JvGx9sGvlb3VP0GOfWAH1RDs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769970830; c=relaxed/simple; bh=ZCpnkgLOatzf4jWZphZI1+PCO8fjiEtTsfpE3S5Xwmg=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=KK7WGQeTf+G6S4JtanXTb6WhpTVatr2SZpM22R/6xSCUtDvBfG0IalBcCwXsJr7c1blsjIXzuEQTcvq4z1IreuaMqhTUA1st87UWgNoHy6n0hmIZhFjFQU/F8bxTZ/oI4CVky49lWP0vabvpk70xwKebI/ST/Hlixyw/DB+S5XY= 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=Tg+gA0jX; arc=none smtp.client-ip=209.85.221.42 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="Tg+gA0jX" Received: by mail-wr1-f42.google.com with SMTP id ffacd0b85a97d-435a517be33so2197408f8f.0 for ; Sun, 01 Feb 2026 10:33:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1769970827; x=1770575627; 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=kaaojGS173TnJlve70QP/+cu6NF4HjbgNLZcKgOyGYw=; b=Tg+gA0jX2o+9qmJTtjBA1UC2afxELJv807VGWDjHZC7BWlapLfnBAILxexVO8i2MbI 28nCGzQ6CiQ1fB9l1zR1eMs41HKCwlz3TWmXERo7UlDCYxJF262aE7PrkFvB4OKrhDzS m9BTUvuzRYxG2/BtTZimK7nrdvcLHnX6dckuMiaqugHxJ+YcICFcliXYTM+j7U9oIE/W eT4PRH/0+8MSaZL/4n6+8rRaYwbTxqCBlj0NtiPEf1mxYcpnBybZpMqHsifv0HuPZ3VO 3ckNPDCFFbT8Y84HX3dACKcQcEHO/b7hJmSvfvwR7P5Btz23vYomi1gDP3Pm+l/FQ7Hk 5Okw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1769970827; x=1770575627; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=kaaojGS173TnJlve70QP/+cu6NF4HjbgNLZcKgOyGYw=; b=FwH95TNiHFVJK4nGlfEwL/FP+7WR8fRPoMrKpeWQyO3fQb0yhRPVgmbGduaG0FHTPA /hsSyZRM8lw/VKIpQLYjm6Xw1ImKJ3iSUFY8bPROXeZoDri2R/0gPoZRCPrVHt5U+CNG kuZo0C+HBDu+3QqWnhUOdfMxqsWx2IcHctPoFJUPEO/cxWnOr+DQ2cP8Y9Ia6w2+vhlu GGpBN4c+GmaI6jzeyge9OTle6nCX7/x+UWnsLG2tKvEGlmFIH36Pef7cuTileqK8esA6 7fIgOUDuq2Mvx350u5dZHEMvTLy4PEjWvtXaXQrLvN6qLjmoDK+Eb6kXsikbE7newUAC N2fw== X-Forwarded-Encrypted: i=1; AJvYcCWddnuQtTG1s4dr56UtE1OAY7qnV8V/TwTm4YRJ8Tm9/q5z/Cd+7k20U67prpeL91+XmFv6fBscbj4=@vger.kernel.org X-Gm-Message-State: AOJu0YwADfFqPnuOOZZZ9x5xgczac4Nf7tI9p6HN6E3m4+1eYPp8mPBP 2eqwvJlULLPJukMB+r3ddApmf5td4A0f21aZ3qyYtttiMzbKmSvVRyhS X-Gm-Gg: AZuq6aKiQ7bJkXMJo47OE8/L2PNTUvJ3zeKMkYgwzqL97k28rlNLI3riddpN2i5JK03 cBs8GivgHV4cNLqvdKANkTnyyv3TNh9oi6t2dakmDDtQSFAkpjFEOzzYbM6dWtD4xyfqFBUWOwo SA5h5iXUDmblrSTb7IvP00PLUFisCYJs5Fnw0p5JZHq7VPY4sITKNMbGNIpE7i6oQHUxYrB2c9x a64JdGWlvEa5VsoyKV2n3kDbLwdmJ+fmzX+0xfRK/1EiWRClkTJfkJ+cDsuEdWfVBSEPjbzT2IU xGmC4Kc6i895seJL5IlP3vSPYuFvigqF15Vq9Om86cRj05KKFo6+9Q0gSLZl6jlqNJYKYf+rFio fpE6UAtiw+Fhd9xFM9julpTuZEhiwe8M5oMK7WAL4KpwGqQ4oQWJr5hpVO6P/9OWcmMB/oKcUOe DssUa28dMpTxe8AjGsaPpWA0vhrUVsN0rqpfhV/q/3GcEmz6VMWILHIZol X-Received: by 2002:a05:6000:40c8:b0:431:104:6dc2 with SMTP id ffacd0b85a97d-435f3a674f5mr12407152f8f.8.1769970826540; Sun, 01 Feb 2026 10:33:46 -0800 (PST) Received: from DB-VM.1337.ma ([197.230.240.146]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-435e10edf62sm41400084f8f.13.2026.02.01.10.33.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 01 Feb 2026 10:33:46 -0800 (PST) From: Taha Ed-Dafili <0rayn.dev@gmail.com> To: jic23@kernel.org Cc: me@brighamcampbell.com, skhan@linuxfoundation.org, linux-kernel-mentees-archive@lists.linuxfoundation.org, rdunlap@infradead.org, dlechner@baylibre.com, nuno.sa@analog.com, andy@kernel.org, corbet@lwn.net, lars@metafoo.de, Michael.Hennerich@analog.com, linux-iio@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, Taha Ed-Dafili <0rayn.dev@gmail.com> Subject: [PATCH v2 1/4] docs: iio: adxl345: fix typos and grammar Date: Sun, 1 Feb 2026 13:33:10 -0500 Message-ID: <20260201183320.27023-2-0rayn.dev@gmail.com> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20260201183320.27023-1-0rayn.dev@gmail.com> References: <20260201183320.27023-1-0rayn.dev@gmail.com> 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=UTF-8 Content-Transfer-Encoding: 8bit Correct several grammatical errors, typos, and pluralization issues throughout the ADXL345 documentation. Key changes include: - Changing 'generic' to 'general-purpose' - Correcting 'axis' to 'axes' in multiple tables and descriptions - Improving phrasing in the device attributes section - Fixing 'latent' to 'latency' in usage examples Signed-off-by: Taha Ed-Dafili <0rayn.dev@gmail.com> --- Documentation/iio/adxl345.rst | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/Documentation/iio/adxl345.rst b/Documentation/iio/adxl345.rst index bb19d64f67c3..41d209a4dccf 100644 --- a/Documentation/iio/adxl345.rst +++ b/Documentation/iio/adxl345.rst @@ -12,16 +12,16 @@ This driver supports Analog Device's ADXL345/375 on SPI/I2C bus. * `ADXL345 `_ * `ADXL375 `_ -The ADXL345 is a generic purpose low power, 3-axis accelerometer with selectable +The ADXL345 is a general-purpose, low-power, 3-axis accelerometer with selectable measurement ranges. The ADXL345 supports the ±2 g, ±4 g, ±8 g, and ±16 g ranges. 2. Device Attributes ==================== -Each IIO device, has a device folder under ``/sys/bus/iio/devices/iio:deviceX``, +Each IIO device has a device folder under ``/sys/bus/iio/devices/iio:deviceX``, where X is the IIO index of the device. Under these folders reside a set of device files, depending on the characteristics and features of the hardware -device in questions. These files are consistently generalized and documented in +device in question. These files are consistently generalized and documented in the IIO ABI documentation. The following table shows the ADXL345 related device files, found in the @@ -42,7 +42,7 @@ specific device folder path ``/sys/bus/iio/devices/iio:deviceX``. +-------------------------------------------+----------------------------------------------------------+ | in_accel_x_raw | Raw X-axis accelerometer channel value. | +-------------------------------------------+----------------------------------------------------------+ -| in_accel_y_calibbias | y-axis acceleration offset correction | +| in_accel_y_calibbias | Y-axis acceleration offset correction | +-------------------------------------------+----------------------------------------------------------+ | in_accel_y_raw | Raw Y-axis accelerometer channel value. | +-------------------------------------------+----------------------------------------------------------+ @@ -68,7 +68,7 @@ present, simply assume its value is 0. +-------------------------------------+---------------------------+ | Channel type | Measurement unit | +-------------------------------------+---------------------------+ -| Acceleration on X, Y, and Z axis | Meters per second squared | +| Acceleration on X, Y, and Z axes | Meters per second squared | +-------------------------------------+---------------------------+ Sensor Events @@ -78,7 +78,7 @@ Specific IIO events are triggered by their corresponding interrupts. The sensor driver supports either none or a single active interrupt (INT) line, selectable from the two available options: INT1 or INT2. The active INT line should be specified in the device tree. If no INT line is configured, the sensor defaults -to FIFO bypass mode, where event detection is disabled and only X, Y, and Z axis +to FIFO bypass mode, where event detection is disabled and only X, Y, and Z axes measurements are available. The table below lists the ADXL345-related device files located in the @@ -90,11 +90,11 @@ listed. +---------------------------------------------+---------------------------------------------+ | Event handle | Description | +---------------------------------------------+---------------------------------------------+ -| in_accel_gesture_doubletap_en | Enable double tap detection on all axis | +| in_accel_gesture_doubletap_en | Enable double tap detection on all axes | +---------------------------------------------+---------------------------------------------+ | in_accel_gesture_doubletap_reset_timeout | Double tap window in [us] | +---------------------------------------------+---------------------------------------------+ -| in_accel_gesture_doubletap_tap2_min_delay | Double tap latent in [us] | +| in_accel_gesture_doubletap_tap2_min_delay | Double tap latency in [us] | +---------------------------------------------+---------------------------------------------+ | in_accel_gesture_singletap_timeout | Single tap duration in [us] | +---------------------------------------------+---------------------------------------------+ @@ -118,9 +118,9 @@ listed. +---------------------------------------------+---------------------------------------------+ | in_accel_x_gesture_singletap_en | Enable single tap detection on X axis | +---------------------------------------------+---------------------------------------------+ -| in_accel_x&y&z_mag_falling_en | Enable inactivity detection on all axis | +| in_accel_x&y&z_mag_falling_en | Enable inactivity detection on all axes | +---------------------------------------------+---------------------------------------------+ -| in_accel_x&y&z_mag_adaptive_falling_en | Enable AC coupled inactivity on all axis | +| in_accel_x&y&z_mag_adaptive_falling_en | Enable AC coupled inactivity on all axes | +---------------------------------------------+---------------------------------------------+ | in_accel_y_gesture_singletap_en | Enable single tap detection on Y axis | +---------------------------------------------+---------------------------------------------+ @@ -330,7 +330,7 @@ Configure one or several events: ## doubletap, window [us] root:/sys/bus/iio/devices/iio:device0> echo 0.025 > ./events/in_accel_gesture_doubletap_reset_timeout - ## doubletap, latent [us] + ## doubletap, latency [us] root:/sys/bus/iio/devices/iio:device0> echo 0.025 > ./events/in_accel_gesture_doubletap_tap2_min_delay ## AC coupled activity, enable -- 2.47.3