From patchwork Fri Nov 4 09:28:01 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Antoniu Miclaus X-Patchwork-Id: 15437 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp275945wru; Fri, 4 Nov 2022 02:32:28 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6e8lBTycilZcJHgdB2ZNgoDZ7XzAFtoT2hm0DmjSgngquvE7UV3VJp727ct86Fq9M16San X-Received: by 2002:a17:907:376:b0:7ad:b45c:dbca with SMTP id rs22-20020a170907037600b007adb45cdbcamr281181ejb.388.1667554348146; Fri, 04 Nov 2022 02:32:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667554348; cv=none; d=google.com; s=arc-20160816; b=xgRYxDBuUlfom9jglGiEeCLOavNHUIacT0HjeL6jrlwiGPp3g2Mauj6eviqtZPU4u/ BvMS1zdb336yCQTMvKy+eke9F/hC+6IiQjMYAPsM26oU6qn8JlcnRboEiAgGugx9Ez0g itMAzYQapHB/9RrgYhBx2/bMf4uxiAQCIfuuUDRuSRM8xY0Hz5YdlUNfUOVLEU4J39qz tKlSI1F5tWaoY0BHZ2tNkQDufTdEhvVvj44DSftbmyUYnzMWj+OrkLvYjXl7nAH5SRb2 yNfxF+Fhyhh0o3IpMwcFKiTG+W0r9WE5vGgXjAcx19g0Ayoar0FuGU0tpZHDXz0p34CT aa8Q== 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; bh=Fsx+512bXRk5Ez8kyvqT9qN1iiOmtSPGW8N0tpx7O1A=; b=cefs0CNwQSZrGSx5vXUjiHwRD9wHjB2m4cGAuyN4V9GfkuB9J3K/lLJvfxsMZShPU2 Qtnu1bq67l/m5nYMEGUmYwgRJ/6ZCrpuZ9dN0CkqrvAGyPlqeacnKG3CNIa6shzRWPLk 6qg5JUrrlyI30Y5gPtVrehIGqEfpuU2ijaWLjMTlEvpwdHaC7/MdFVfcuZ85y4LrwdBg 9GyMnzt6OtwX2EQkm01hOGg+1iOTi53qy3AcIpomiZYQYyYIMhw+Jgi5uNiM7kzpTeYG XkrQwb+gVqPJUfE/xjc8OUOT4bfTIjuWh03a1zb5TpNW7t2cxoUI70bRlXpgzgIKf+DI 9hyg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=analog.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id sd10-20020a1709076e0a00b00791a4f70674si5009406ejc.24.2022.11.04.02.32.04; Fri, 04 Nov 2022 02:32:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=analog.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231443AbiKDJ2y (ORCPT + 99 others); Fri, 4 Nov 2022 05:28:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46710 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231406AbiKDJ2w (ORCPT ); Fri, 4 Nov 2022 05:28:52 -0400 Received: from mx0a-00128a01.pphosted.com (mx0a-00128a01.pphosted.com [148.163.135.77]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5FA5A264B2; Fri, 4 Nov 2022 02:28:51 -0700 (PDT) Received: from pps.filterd (m0167088.ppops.net [127.0.0.1]) by mx0a-00128a01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 2A485AR6000517; Fri, 4 Nov 2022 05:28:48 -0400 Received: from nwd2mta3.analog.com ([137.71.173.56]) by mx0a-00128a01.pphosted.com (PPS) with ESMTPS id 3kmpm9k8wp-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 04 Nov 2022 05:28:48 -0400 Received: from ASHBMBX8.ad.analog.com (ASHBMBX8.ad.analog.com [10.64.17.5]) by nwd2mta3.analog.com (8.14.7/8.14.7) with ESMTP id 2A49SlKR062034 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 4 Nov 2022 05:28:47 -0400 Received: from ASHBMBX8.ad.analog.com (10.64.17.5) by ASHBMBX8.ad.analog.com (10.64.17.5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.14; Fri, 4 Nov 2022 05:28:46 -0400 Received: from zeus.spd.analog.com (10.66.68.11) by ashbmbx8.ad.analog.com (10.64.17.5) with Microsoft SMTP Server id 15.2.986.14 via Frontend Transport; Fri, 4 Nov 2022 05:28:46 -0400 Received: from amiclaus-VirtualBox.ad.analog.com ([10.65.47.228]) by zeus.spd.analog.com (8.15.1/8.15.1) with ESMTP id 2A49SOqb016780; Fri, 4 Nov 2022 05:28:37 -0400 From: Antoniu Miclaus To: , , , , , CC: Antoniu Miclaus Subject: [PATCH 3/4] Documentation: ABI: testing: adf4377: add ABI docs Date: Fri, 4 Nov 2022 11:28:01 +0200 Message-ID: <20221104092802.90725-4-antoniu.miclaus@analog.com> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221104092802.90725-1-antoniu.miclaus@analog.com> References: <20221104092802.90725-1-antoniu.miclaus@analog.com> MIME-Version: 1.0 X-ADIRuleOP-NewSCL: Rule Triggered X-Proofpoint-ORIG-GUID: eKBlH5r-FXDOF_dRUEAHf2yIzfIfq8kT X-Proofpoint-GUID: eKBlH5r-FXDOF_dRUEAHf2yIzfIfq8kT X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.895,Hydra:6.0.545,FMLib:17.11.122.1 definitions=2022-11-04_06,2022-11-03_01,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 clxscore=1015 lowpriorityscore=0 bulkscore=0 mlxlogscore=924 priorityscore=1501 phishscore=0 spamscore=0 mlxscore=0 adultscore=0 impostorscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2210170000 definitions=main-2211040061 X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1748557468438246105?= X-GMAIL-MSGID: =?utf-8?q?1748557468438246105?= Add documentation for the use of the output frequency and muxout select. Signed-off-by: Antoniu Miclaus --- .../testing/sysfs-bus-iio-frequency-adf4377 | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 Documentation/ABI/testing/sysfs-bus-iio-frequency-adf4377 diff --git a/Documentation/ABI/testing/sysfs-bus-iio-frequency-adf4377 b/Documentation/ABI/testing/sysfs-bus-iio-frequency-adf4377 new file mode 100644 index 000000000000..0324de5c9328 --- /dev/null +++ b/Documentation/ABI/testing/sysfs-bus-iio-frequency-adf4377 @@ -0,0 +1,32 @@ +What: /sys/bus/iio/devices/iio:deviceX/frequency +KernelVersion: +Contact: linux-iio@vger.kernel.org +Description: + Stores the PLL frequency in Hz for output channels. + Reading returns the frequency in Hz. + +What: /sys/bus/iio/devices/iio:deviceX/muxout_select +KernelVersion: +Contact: linux-iio@vger.kernel.org +Description: + The mux output allows the user to access various internal points on + the chip. Valid values that can be written are: + * high_z -> high impedance output + * lock_detect -> digital lock detector output + * muxout_low -> low output + * f_div_rclk_2 -> fdiv_rclk/2 + * f_div_nclk_2 -> fdiv_nclk/2 + * muxout_high -> high output + +What: /sys/bus/iio/devices/iio:deviceX/muxout_select_available +KernelVersion: +Contact: linux-iio@vger.kernel.org +Description: + Reading this returns the valid values that can be written to the + muxout_mode attribute: + * high_z + * lock_detect + * muxout_low + * f_div_rclk_2 + * f_div_nclk_2 + * muxout_high