From nobody Sun Feb 8 14:12:58 2026 Received: from mail-pj1-f54.google.com (mail-pj1-f54.google.com [209.85.216.54]) (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 451823242D2 for ; Mon, 15 Dec 2025 19:08:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.216.54 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765825717; cv=none; b=mYa1xxfiGtWwhHXg5naaUdtDPI94f2l0wJy8VzK4CFthMUa81cc2zdEny7/wrTdqJVyAWuTbQXoWw2kW9xojks5mo6ZsO4hcVzpdbBo/8tkTwNDP55A/Yile4ni5FzlxBvxzI5WCqTvtv2hhlLVmjB/bsg4fcVT7ztF2HsjKNXo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765825717; c=relaxed/simple; bh=g2Fo+SKpC6PjwBCJ943Rk64IScfy97UhiSWsSJqf/a8=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=gce40jGG0F/Xo0oYjCIxog8+wQmpUDIC+yukjI9j3AQroK7yb1DuWxtZhM0GCcmpfZHKNvUpecYacmP19eDBQDFB86f/EPd93Oq4w0Wg9Djkgk+uniXogKir1qH0tpPgFbRAe1tBYQFwBKLSZUykwABUhvVbgfb72y17wkYm/fY= 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=FfHdZXGe; arc=none smtp.client-ip=209.85.216.54 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="FfHdZXGe" Received: by mail-pj1-f54.google.com with SMTP id 98e67ed59e1d1-34c902f6845so1721656a91.2 for ; Mon, 15 Dec 2025 11:08:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1765825716; x=1766430516; 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=WhOh34wHJYgJjZNzWKgXOXvukXHa40Pe75V9p09ZGls=; b=FfHdZXGe36OdSq53YkR0meUjK7+dudPAXZon32+Tk6P9jrq2WOvoMqIiwzN9skkS+s ZiyFVoRtixs/h3emqs6aCy7iWEGp14GhNYQPG5UmyPxZIxWE8sBKf8zNVir6HAQmSidc C9nkB4ZpvljDe7+kMf6P7eUuNgTSF4El7iVDPqm397RU87+ZVSm1gIJ/FnMfbS3rR6JK iFWnuCleew0THk55y0cH0KLm9ztojniQEeEsomGdgRvGs5M02IJVgD3dcB55qpmTWbPM by3gtutnKVkgD4IqppnOvZUL5hAFtYXeP5AVUi1NBniC8meN7wmRSGyh01kopl5UgvOR T8mg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1765825716; x=1766430516; 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=WhOh34wHJYgJjZNzWKgXOXvukXHa40Pe75V9p09ZGls=; b=A1/N7U7c5kUJk+A3CGrRqXuujEXnKkOWmOc+6skomWnnJgFWVeFoqnph4YDHb4x/5A J9Dwsc9GpvxJOiIT6tk7SSho62WWfrYsk4LMJIkGRtCkyXc5f7+GBGY6Z/PRcB3HT3ya JkNJeDtg3QT2EJ8kBJP4pnTOmX/9qGZQfbc7iqw0mv89r3T63h4C6r5PMMWXW7DXeGF/ dW029jpdYX5DSSLB1PnViNINKHn8WAT7ENT1oTDatWwBXgK5HfsxSnOqHFfZd+W2s7pn WbKd0OKt2QGz9XCRgk1necp7zi5NcYK1u6A4DGMiXcgaZst0GinJnVxmgLAMZVDWycCN YDag== X-Forwarded-Encrypted: i=1; AJvYcCWULPSb9XIUve6uawQrzLVhtEp2KJFG2E0tLhhUg6Mxw7AIkBILltiur+kM5DtZ56l3Mf6qVHi4ocpbxKA=@vger.kernel.org X-Gm-Message-State: AOJu0YxHDRXGV8kvWrfK12/FBDX+9HBvaxHQmLwPCJF3KC+EVH3RCHcF q9ISLSsQ+wnF89RFCx4Ppq4eHm9JCY07PhfjxdTTx61nscF8nObbNZ5z X-Gm-Gg: AY/fxX5O6jyND2yKoK5spwOgmjrPeM1r+1g6INP6SS1XQnrCOqPdO7YRqh0u2q4EOi8 TnDIfMyW2bi0OGw1qOO3MwXsgxoiCd+Tads32O4ScsAyI20Fq1Xmm1qP4l3QBDmqmmtwrFxqg9S W7TSRzcX+0ESnxnKG4xGdB5xixnpVui3AqoTNFRY5wtqa0sYJ51NH/pO5GyogQjZQ/1Kv6ktB13 vJl5WFohJoQGeNDiYMJxj+P6E0PLkSbsLx2MpsnhW4ABCPjYSMfD4dT6rffh4+9ztG8gyCWzTd5 e81mGGOOrCYYlEFEAmqwbMEDQVxjC6YRcl1vnqFOE9RavBHU3tCUZu/yR4ihnJAbAJb7Q2fCLN2 y65NSvtdVMfTCs++FVbhkUHNmf+/dRh3wKUgH9v9AUoQI8RahOPOEnzRZulDVVy0AYFivuqUF2N cX9GTac3aSlYX/glTt3UpcQSkSjGxyX7GZW/QnNdueFop2G27QBYzm1sVWs5ZmMYZh/NASrRKkQ es1c2rM1/BbagXVSSXElAjwF2eodV4Mc92eFWCjJXV82b9f9TiWsufVScjgX/NjYlnlB3Cg X-Google-Smtp-Source: AGHT+IE2X6oysUvapY8yh52OObO92D47oeQuQSx8EW1cTC7n+R31cQfuPy0gzfOE75F6exzqvWW5XA== X-Received: by 2002:a17:90b:5287:b0:340:c179:3657 with SMTP id 98e67ed59e1d1-34abd7bae5dmr10401090a91.33.1765825715761; Mon, 15 Dec 2025 11:08:35 -0800 (PST) Received: from Lewboski.localdomain ([181.191.143.42]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-34abe2948d1sm9958875a91.9.2025.12.15.11.08.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Dec 2025 11:08:35 -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 5/5] staging: iio: ad9832: add sysfs documentation Date: Mon, 15 Dec 2025 16:08:06 -0300 Message-ID: <20251215190806.11003-6-tomasborquez13@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20251215190806.11003-1-tomasborquez13@gmail.com> References: <20251215190806.11003-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 --- .../Documentation/sysfs-bus-iio-dds-ad9832 | 41 +++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 drivers/staging/iio/Documentation/sysfs-bus-iio-dds-ad9= 832 diff --git a/drivers/staging/iio/Documentation/sysfs-bus-iio-dds-ad9832 b/d= rivers/staging/iio/Documentation/sysfs-bus-iio-dds-ad9832 new file mode 100644 index 0000000000..5ceea57917 --- /dev/null +++ b/drivers/staging/iio/Documentation/sysfs-bus-iio-dds-ad9832 @@ -0,0 +1,41 @@ +What: /sys/bus/iio/devices/iio:deviceX/out_altcurrent0_frequencyY +KernelVersion: 6.19 +Contact: linux-iio@vger.kernel.org +Description: + Frequency in Hz for frequency register Y (0-1). The active + frequency register is selected via out_altcurrent0_frequency_symbol. + +What: /sys/bus/iio/devices/iio:deviceX/out_altcurrent0_phaseY +KernelVersion: 6.19 +Contact: linux-iio@vger.kernel.org +Description: + Phase offset in radians for phase register Y (0-3). Valid + range is 0 to 2*PI (exclusive) with 12-bit hardware resolution. The + active phase register is selected via out_altcurrent0_phase_symbol. + +What: /sys/bus/iio/devices/iio:deviceX/out_altcurrent0_frequency_symbol +KernelVersion: 6.19 +Contact: linux-iio@vger.kernel.org +Description: + Selects which frequency register (0 or 1) is active for output. + +What: /sys/bus/iio/devices/iio:deviceX/out_altcurrent0_phase_symbol +KernelVersion: 6.19 +Contact: linux-iio@vger.kernel.org +Description: + Selects which phase register (0-3) is active for output. + +What: /sys/bus/iio/devices/iio:deviceX/out_altcurrent0_enable +KernelVersion: 6.19 +Contact: linux-iio@vger.kernel.org +Description: + Enables (1) or disables (0) the output. When disabled, the + device is held in reset state. + +What: /sys/bus/iio/devices/iio:deviceX/out_altcurrent0_pincontrol_en +KernelVersion: 6.19 +Contact: linux-iio@vger.kernel.org +Description: + Enables (1) or disables (0) hardware pin control for frequency + and phase selection. When enabled, external pins control + register selection instead of software. --=20 2.43.0