From nobody Sun Feb 8 18:15:41 2026 Received: from mail-pf1-f195.google.com (mail-pf1-f195.google.com [209.85.210.195]) (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 EBE0D2BDC3D for ; Tue, 30 Dec 2025 20:35:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.195 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767126946; cv=none; b=Mg2nKYbDJZQthWmEaUoECxO5X4FrUiLBgYJvkzwwLuHoWZMm/SFn4jQ+4yH6ejcpT47StDuIcUPA+odQ11Chnb+0G+qjwQFOlpkh/CtJmAL1nkD9zMOGpkaIZeKqLbMlKCfKe866Cn80VxW30SVdse0wjOXo3wtuenoqGE3h4cQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767126946; c=relaxed/simple; bh=Jtdn53sO5xTyxl4ArPEzfhAa7SYwkzbyNV1kgWEy5K0=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=NYR19SDFsMdCbTl4rUWesiDl9RYKxFj3rcx6FFkIQEhcdR8Zbk+8OryBweyccs3yuYL04VeNjwN8bBisesYwj/Mf7tsmBsceRMYrQOO9RWHNSsDzaFAiBLZWykx58uM0Ca9qWiy0iFLbjGUYmKT56d5pkZIft70UOKQxC2ExLMI= 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=YMV6p12K; arc=none smtp.client-ip=209.85.210.195 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="YMV6p12K" Received: by mail-pf1-f195.google.com with SMTP id d2e1a72fcca58-7b8e49d8b35so12670644b3a.3 for ; Tue, 30 Dec 2025 12:35:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1767126944; x=1767731744; 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=+OOVo27sMdHzajJrTWUzpISPZpC3vx0/WhHb1JyWK/M=; b=YMV6p12KC97dqv72uP1a31TJwK+8XOJJFkTsrk/w0Mw19pxkjsco3MwwJzOsA1bSsa DZq2eIj46wNHMDhvl+shcDXhG4f77zJ5iLVXeVDNmTEpFk+3qkZ2QNaYjCs2ndsww60v yKj+lndXtvAd+lsEFW2gK4ReluQYu9t1Y8gZNplSLhOIvu/XWIoee7ybNIr3LgDcUBO9 XYLSirI+CGqCilD63SWybF0cYU23GIEVkqWVAl8DRXtqwb0KvmLEKokENgsTr4xZ4A5X SpNBN7ihbFtEAw4PCzhp7ci9GeMVUisluVupwLe5HF9ErPSL5xFNF+vAitKgiLjhEy9e O04w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1767126944; x=1767731744; 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=+OOVo27sMdHzajJrTWUzpISPZpC3vx0/WhHb1JyWK/M=; b=Rg/vHJwRMxFrKAtvRHRk48+4lFFRctGpByodGBa2oQa3o4BgQqmWXwmAG34qIMP2cn n/uPQEh2yaSdm+NgHQ+MmM5EJRQLdxObMJC2FVPVsRrVDTOFZD1+MtsJ42v7A3QAtKvx y8XU/kTL9X852TGTenq+7w7+rwunMEssvDCrpdB6cVvvh+cjcj77T/42oYlFOCZqS9N0 Aze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-Received: by 2002:a05:7022:7e8e:b0:11a:c387:1357 with SMTP id a92af1059eb24-121722ac203mr31008621c88.16.1767126943997; Tue, 30 Dec 2025 12:35:43 -0800 (PST) Received: from Lewboski.localdomain ([181.191.143.75]) by smtp.gmail.com with ESMTPSA id a92af1059eb24-1217253c23csm128074981c88.9.2025.12.30.12.35.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Dec 2025 12:35:43 -0800 (PST) From: Tomas Borquez To: Jonathan Cameron , Greg Kroah-Hartman , Lars-Peter Clausen , Michael Hennerich Cc: David Lechner , =?UTF-8?q?Nuno=20S=C3=A1?= , Andy Shevchenko , linux-kernel@vger.kernel.org, linux-iio@vger.kernel.org, linux-staging@lists.linux.dev, Tomas Borquez Subject: [PATCH v2 6/6] staging: iio: ad9832: add sysfs documentation Date: Tue, 30 Dec 2025 17:34:59 -0300 Message-ID: <20251230203459.28935-7-tomasborquez13@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20251230203459.28935-1-tomasborquez13@gmail.com> References: <20251230203459.28935-1-tomasborquez13@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Add sysfs ABI documentation for the AD9832/AD9835 Direct Digital Synthesizer chips, documenting frequency, phase, output control, and pin control attributes. Signed-off-by: Tomas Borquez --- .../iio/Documentation/sysfs-bus-iio-frequency | 40 +++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 drivers/staging/iio/Documentation/sysfs-bus-iio-frequen= cy diff --git a/drivers/staging/iio/Documentation/sysfs-bus-iio-frequency b/dr= ivers/staging/iio/Documentation/sysfs-bus-iio-frequency new file mode 100644 index 000000000000..10627c19bdb7 --- /dev/null +++ b/drivers/staging/iio/Documentation/sysfs-bus-iio-frequency @@ -0,0 +1,40 @@ +What: /sys/bus/iio/devices/iio:deviceX/out_altcurrentY_frequencyZ +KernelVersion: 6.19 +Contact: linux-iio@vger.kernel.org +Description: + Frequency in Hz for symbol Z of channel Y. The active + frequency symbol is selected via out_altcurrentY_frequency_symbol. + +What: /sys/bus/iio/devices/iio:deviceX/out_altcurrentY_phaseZ +KernelVersion: 6.19 +Contact: linux-iio@vger.kernel.org +Description: + Phase offset in radians for symbol Z of channel Y. Valid range + is 0 to 2*PI (exclusive). The active phase symbol is selected + via out_altcurrentY_phase_symbol. + +What: /sys/bus/iio/devices/iio:deviceX/out_altcurrentY_frequency_symbol +KernelVersion: 6.19 +Contact: linux-iio@vger.kernel.org +Description: + Selects which frequency symbol is active for channel Y. + +What: /sys/bus/iio/devices/iio:deviceX/out_altcurrentY_phase_symbol +KernelVersion: 6.19 +Contact: linux-iio@vger.kernel.org +Description: + Selects which phase symbol is active for channel Y. + +What: /sys/bus/iio/devices/iio:deviceX/out_altcurrentY_enable +KernelVersion: 6.19 +Contact: linux-iio@vger.kernel.org +Description: + Enables (1) or disables (0) the output for channel Y. + +What: /sys/bus/iio/devices/iio:deviceX/out_altcurrentY_pincontrol_en +KernelVersion: 6.19 +Contact: linux-iio@vger.kernel.org +Description: + Enables (1) or disables (0) hardware pin control for frequency + and phase symbol selection on channel Y. When enabled, external + pins control symbol selection instead of software. --=20 2.43.0