Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp1824409rwl; Sat, 8 Apr 2023 02:37:14 -0700 (PDT) X-Google-Smtp-Source: AKy350bCDA2TntgUxJUCwIB4iLeg2CgGqE2g1fNheZf3dowzS1O60QGl5vlBXt021C9iSTDmmB0y X-Received: by 2002:a05:6a20:8491:b0:d5:4ae5:b01c with SMTP id u17-20020a056a20849100b000d54ae5b01cmr1253790pzd.8.1680946634677; Sat, 08 Apr 2023 02:37:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680946634; cv=none; d=google.com; s=arc-20160816; b=RkSDLolHkMgHhV76mHWKF4g6JfMIkYLVbVGgoi+HnclE5Alf0o06/b6A9mJG6TKVxt 4Oo7hymrOo/ADZFlNB2O4k97OEAZS+UKaG3x11ITPs8+UGJqhhbtPtjbohGPVQ1aaxtp wnu8Y8FpWSGT2ngsT/UIbA11BF0UHthA0leXRquP0SSCeIVQFyl2ctA25Ug/KccpQeoj ztjzzuEF0cGVa4TmqDoNZfK7aR9jJeNIvRbFL5vOvc32CnhZl+Gklj3LHAJeR7VPocwV s9ansSgdlurp2aJhVqMLVmd3OkHCQkoaNuJzCB+IutWrmPirJDH1JWoRCnAP5xATZbmr P7bg== 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:subject:cc:to:from:date :dkim-signature; bh=XNJFWoMJ02TUioRtRANWGpOUGqJX/YaxxmSNSE8ZI3k=; b=vcLeG4sV7erJ6xbPyWykAmUGoJiBx2B40URAIShY6ClAsu0nxBy1mlwApTDoSpNQeg oLfYvjh/8kdsBSgnOUW0Z4FGoB48bkTik4PZFvqPuh3NSRdkZiaL1hMHtA2hZqH+eW6y gi4NvdAM1X0p17/YTgMTqGJhJFE6Yhw1F48z2Wli5U4SgNHe9AKRe/KOa/26Ou/XxybF 1Le0PXaJXH2H3d98P3eQhXDkh0EQr5N5pxNqXNKCNt36Zei7Z0uZE4baEb2s0NdPFiva ptkzQ9FXrTyEJDSVetuxmREVXA86P1ZbT67wd0iXHXJ43d5N/Tj6PKdE2gooVkS/mv+1 dwTQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=TL8lbZPL; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w188-20020a6262c5000000b005a910206938si5662488pfb.29.2023.04.08.02.37.03; Sat, 08 Apr 2023 02:37:14 -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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=TL8lbZPL; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229881AbjDHJep (ORCPT + 99 others); Sat, 8 Apr 2023 05:34:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46544 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230030AbjDHJed (ORCPT ); Sat, 8 Apr 2023 05:34:33 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5C0EBD307; Sat, 8 Apr 2023 02:34:24 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id C254F612BC; Sat, 8 Apr 2023 09:34:23 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2C2FEC433EF; Sat, 8 Apr 2023 09:34:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1680946463; bh=mgnnpPs+zBxUnMqnn4j6QunZO36sjCNHfxBatEKORik=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=TL8lbZPLxcsSYRxXuunkUy1S823biVJdrjBRStPe4fpRxkIbBQ9QO1PSp37Ul7zqi nCJi1w/6dUBUa3d6fkCaUHO7AkRHrZ1kYChL1psm0nyG9f8sqTsXjLu3j4NUIlG+bX jyuoD3Lod9Tf+yXgICKEGQYczQiihU31YCmZFeGb6nnIJEf1wQEnfVO0DAS6vbLVgi gWDp/Yjcwlmvrm0qvBhOoYa1AIHYYs0YLtksPZhY3nKdHBLMUi3PkUVD2JpduT4PT+ oZ6wpP3qEitcqwxiWzsqd6t4oInbBucJSFznMBlV/oV2xDBZ/pO1tF/k80R8JNrhKg JcurP2XQJkueg== Date: Sat, 8 Apr 2023 10:49:38 +0100 From: Jonathan Cameron To: Matti Vaittinen Cc: Matti Vaittinen , Andrea Merello , Jonathan Cameron , Lars-Peter Clausen , Andy Shevchenko , linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, Jagath Jog J Subject: Re: [RESEND PATCH v2 0/3] Improve kernel docs Message-ID: <20230408104938.74a36f7a@jic23-huawei> In-Reply-To: References: X-Mailer: Claws Mail 4.1.1 (GTK 3.24.37; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.5 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS autolearn=unavailable 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 On Tue, 4 Apr 2023 15:24:15 +0300 Matti Vaittinen wrote: > IIO has very nice facilities for efficiently providing data from a > device to user (and probably also vice-versa - but I've not used that > direction). Getting started with IIO may not be so simple though - some > of the concepts like triggers and buffers are quite unique. > > This series tries to make it easier for a newcomer to write his/her first > IIO driver by adding some documentation to used enums. Series does not > provide extensive documentation but just documents those few entries I > have become familiar with - but it still aims to be a starting point for > others to add missing bits and pieces. > > This series is marked as v2 because the patch 1 was previously sent as a > stan-alone RFC to collect the missing channel units. RFC can be seen > here: > https://lore.kernel.org/all/10a855f9adc1d710150b7f647500c3c6a769f9ca.1677243698.git.mazziesaccount@gmail.com/ > > Patches 2 and 3 were added as a result of discussion followed by the > RFC. Something odd happened on this resend. Patch 1 didn't make it to me or patchwork. I'll reply to previous posting instead. Jonathan > > Revision history: > v2 resend: > - rebased on v6.3-rc2 > RFCv1 => v2: > - added patches 2 and 3 > - added missing channel type docs provided by Jonathan > - added @in front of member names and fix typos pointed by Andy > - dropped TODOs as Jonathan clarified the units > > --- > > Matti Vaittinen (3): > iio: Add some kerneldoc for channel types > iio: add documentation for iio_chan_info_enum > doc: Make sysfs-bus-iio doc more exact > > Documentation/ABI/testing/sysfs-bus-iio | 11 +- > include/linux/iio/types.h | 46 +++++++- > include/uapi/linux/iio/types.h | 134 ++++++++++++++++++++++++ > 3 files changed, 185 insertions(+), 6 deletions(-) > > > base-commit: eeac8ede17557680855031c6f305ece2378af326