Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp3594997pxb; Mon, 21 Feb 2022 01:19:39 -0800 (PST) X-Google-Smtp-Source: ABdhPJzfQIqGrj3prHQHCOEBU4txkp5FyQ+MWeKrR7VpwCAEYIHvh0/RHyG8P6cAsVs+Y+aC0Bw5 X-Received: by 2002:a05:6a00:2182:b0:4e1:a254:668 with SMTP id h2-20020a056a00218200b004e1a2540668mr19009580pfi.73.1645435178779; Mon, 21 Feb 2022 01:19:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645435178; cv=none; d=google.com; s=arc-20160816; b=ThQBeumgkC3bnQmIdoZgbR1Fte+C7CJfbxNACkVIseehh+TLYIQMR8K9Nn2m5WzlU9 4tA6uvHBDJS0IYXaTQGnpr24oYVclLLrnppiIr5R277/Ra5Quc3kx3nn8zm8WB0+A4KG coIbyWb8oYlGjDVIHtA6wofpte9aMNiYAL8/AE+AgG6BypL8szz6hfqdt7Oc2MN7H0w2 hZSWoihNdIqcQD/7PMLk3hwkTo+kxZk0dYA3eNABN8VcuBUZ1wP8tNvs+acdRdeqS4l+ xKVlwj2G/Vp4eyw+Q9nFouaXf1WWUSEyF3OHkQ1kz4xv0pDoZqsSZzW7AHysUty4FNuZ xlJQ== 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=P33YFma8HgOoUPHvZ+3t764kftB61OHpIaTjXJCnGo0=; b=PqYvs73qOUE+65rxyfHJZ5vh+jyVhhDpjtqPtNb4/uQuSWiopgjy/UmV8prALC7wdf DC8C6e8JVr5FuQh0GhKRmM493lQRMVQRNiKpv35GLuK7ZisD4OUYV1vg5kFh0E6OUKfA 1RJ5XbZPhayfWnG+3dW3I3E++SEeVP3ZIAVcrZ2cm5QHz6WdVB+LBnygSrasLG9pk2gu vwjG67XgwZxmeTorjBEeSeFM4kAD1wO9ktdWnPdAcHNG02+nKPdnnDjtVesxG54FDjgT saDt7tFY/y4grl+oib4KIZpcxW1HB8c5qVWgEtujgJtyBWcen60ZLW70zpK6QSLG+6F7 cJRA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=AH1RWJpd; 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 k12si14346612pgt.805.2022.02.21.01.19.25; Mon, 21 Feb 2022 01:19:38 -0800 (PST) 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=AH1RWJpd; 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 S242685AbiBSQpy (ORCPT + 99 others); Sat, 19 Feb 2022 11:45:54 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:33206 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242704AbiBSQpq (ORCPT ); Sat, 19 Feb 2022 11:45:46 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 052F55F4EE; Sat, 19 Feb 2022 08:45:28 -0800 (PST) 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 973FA60BA8; Sat, 19 Feb 2022 16:45:27 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D972EC004E1; Sat, 19 Feb 2022 16:45:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1645289127; bh=+17mVetXReBFkiqb808QaM5pwG49fehWe7y9EWaB+Po=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=AH1RWJpdbFv8x08o6D0JJ98Hovj0oWTLt2Cd+PsFG+Vv3xjgNDtKIHjBD2sXiN2cY YLLpSkqAxWjyazESWDeR13BPRRFX5pU/c7sWG+ayqBCA65P2mgZujo/Gaf0Ese0/aZ FLPpy9YhKtwl9z/HkNF+cvPwji6iBjkcXyswdAjQpsTei7gPziG9M9Wng9DzoLmqNT ts9jc6GXyAMDqHdXd36KePicbao2WEkKZPa1D1q9yl/7aXnYOmiciwNmutQnza3FOC /Posj0hi8AQFex2IeKTtTveyK25eYGy5RKAlLW0t15W2lVvDZTysCFELE8Ybz2jyTL ejuCcoHM4qtcw== Date: Sat, 19 Feb 2022 16:52:14 +0000 From: Jonathan Cameron To: Andrea Merello Cc: mchehab+huawei@kernel.org, linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, lars@metafoo.de, robh+dt@kernel.org, andy.shevchenko@gmail.com, matt.ranostay@konsulko.com, ardeleanalex@gmail.com, jacopo@jmondi.org, Andrea Merello Subject: Re: [v3 09/13] iio: document "serial_number" sysfs attribute Message-ID: <20220219165214.25804a3f@jic23-huawei> In-Reply-To: <20220217162710.33615-10-andrea.merello@gmail.com> References: <20220217162710.33615-1-andrea.merello@gmail.com> <20220217162710.33615-10-andrea.merello@gmail.com> X-Mailer: Claws Mail 4.0.0 (GTK+ 3.24.31; 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=-7.2 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 On Thu, 17 Feb 2022 17:27:06 +0100 Andrea Merello wrote: > This patch adds ABI documentation for the new "serial_number" sysfs > attribute. The first user is the bno055 IIO driver. > > Signed-off-by: Andrea Merello > --- > Documentation/ABI/testing/sysfs-bus-iio | 7 +++++++ > 1 file changed, 7 insertions(+) > > diff --git a/Documentation/ABI/testing/sysfs-bus-iio b/Documentation/ABI/testing/sysfs-bus-iio > index 1b8d77577608..224585f00147 100644 > --- a/Documentation/ABI/testing/sysfs-bus-iio > +++ b/Documentation/ABI/testing/sysfs-bus-iio > @@ -2017,3 +2017,10 @@ Contact: linux-iio@vger.kernel.org > Description: > Raw (unscaled) euler angles readings. Units after > application of scale are deg. > + > +What: /sys/bus/iio/devices/iio:deviceX/serial_number > +KernelVersion: 5.17 > +Contact: linux-iio@vger.kernel.org > +Description: > + 16-bytes, 2-digits-per-byte, HEX-string representing the sensor > + unique ID number. This might prove too restrictive for other devices but I guess we can update the help text when they come along. Maybe relax this to An example format is 16-bytes, 2-digits-per-byte .... then we avoid having to update it later when a different format comes along.