Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp925985pxb; Fri, 22 Apr 2022 14:30:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyqcobFOwCLgzcw6uv3l6Dl9AbTCKUsa6rBKmz4vVc0aZRUywet8M2RaJsMZ2cSRXqHf2KH X-Received: by 2002:aa7:8215:0:b0:4f7:125a:c88c with SMTP id k21-20020aa78215000000b004f7125ac88cmr7035420pfi.70.1650663011126; Fri, 22 Apr 2022 14:30:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650663011; cv=none; d=google.com; s=arc-20160816; b=jXLKmHT1NYgtekbVbv6wGKafwN0azWd4kFkENFGEizOUngthmeVJsR2IMqUtkeBBuv VByo+18TEOYrMvQwKSl8KvrhMRHNhqM0Yv0Twi0P+5LLtyRxX07YgJ4rfV1dO+jSYiVg pDwhem6jZ4SvrLCjl8AIeqSk2ShCE0beOMMtcMNicQn3IJ+EivHukHdHjuC+o6DZD0aa 0oEMu908pDWD4m2ceHHhJwOjIDvQOIpckIqgUTBiDFb6mm6WMgxMJpGwQNt8YxhFNXuM Bfe5JkOkJG5LEQWjR3Tz6iE9d1FQjTWI8EF62xpI8UnC0n3455dZFxg3MeZLcGlqzhEe tSgw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=9qfOo1FOODXMcgRdw2ZARNk7YVVQEHz8SOv8rQTaLoA=; b=ANfCNs4op3FDJHjFPBtfWwjYJQgBHIcIx+dmtmlH3NbvJyaOblGCrfmORz3Xbbxrd5 2mRNgoNb3Ca80XJLcXUUMUr5LMejFL2sfsZGVY8CXRzpH9NTQn/EYcV1NHBE0IHLVOWu eBUoh4lPuqH/eeImGh2xLTl8mDw2+7HV1tCEL8yQQCX5E72nW6m/eHDz3/i2WSFcx3Nm IpU58VpU5blYlMIhJ3xvQie4/jxAQrlgOzBE8v2bZsP71C6uCTaF6i1sHZ7yFItBNO4i E9XFaN9BZQSba1F48vkOb9azHo0dkjdm+Wi0/1XWdRnbvOv3kl5ml4nmR3Be6POO0qNJ H3Pg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@metafoo.de header.s=default2002 header.b=X2GPqOmJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=metafoo.de Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id q1-20020a170902bd8100b00153b2d1649asi8430549pls.162.2022.04.22.14.30.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Apr 2022 14:30:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@metafoo.de header.s=default2002 header.b=X2GPqOmJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=metafoo.de Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 0CCEC1F9E23; Fri, 22 Apr 2022 12:37:38 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1349732AbiDSINE (ORCPT + 99 others); Tue, 19 Apr 2022 04:13:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35304 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243633AbiDSIM6 (ORCPT ); Tue, 19 Apr 2022 04:12:58 -0400 X-Greylist: delayed 1696 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Tue, 19 Apr 2022 01:10:16 PDT Received: from www381.your-server.de (www381.your-server.de [78.46.137.84]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9270DDF82; Tue, 19 Apr 2022 01:10:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=metafoo.de; s=default2002; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:From: References:Cc:To:Subject:MIME-Version:Date:Message-ID:Sender:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID; bh=9qfOo1FOODXMcgRdw2ZARNk7YVVQEHz8SOv8rQTaLoA=; b=X2GPqOmJxqY6DAgWW5I24FKKxA 9FS+xd33q5yCd1Go2L75/ZTQ1sPucX9A2LApeUCxsCsV3pQ0SM+g2nhKjek2kmwrAZbZvYBitGEW8 RXfHkKyxVE4ZWlzyW6QZjhQpRjqqRnkr+3pfx68JtHm/goTEpIPsPvsHJxoS6osuKxqG6OKVBRxmn hizF/+03PXnEmqVk4EoFerdxuBzswE7m9vKf/Xrkkcv7EakYMKlxuVyIAm1nlUj5GZh+4QVUleCMO x0jdzJBHWen2/i4qEVq6ScpZVeI/K4nBiGEG5Cye7rZAWgvLDCGEkqDvFtV5SAHM5SjAcd16I3W4f c9W8DYYg==; Received: from sslproxy06.your-server.de ([78.46.172.3]) by www381.your-server.de with esmtpsa (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92.3) (envelope-from ) id 1ngiUl-000EbL-BN; Tue, 19 Apr 2022 09:41:55 +0200 Received: from [2001:a61:2a5d:d701:9e5c:8eff:fe01:8578] by sslproxy06.your-server.de with esmtpsa (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ngiUk-000KyO-Us; Tue, 19 Apr 2022 09:41:54 +0200 Message-ID: <4a940702-8a34-c163-2e5a-8dfd835e56d0@metafoo.de> Date: Tue, 19 Apr 2022 09:41:54 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.0 Subject: Re: [v4 10/14] iio: document "serial_number" sysfs attribute Content-Language: en-US To: Andrea Merello , jic23@kernel.org, mchehab+huawei@kernel.org, linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Cc: robh+dt@kernel.org, andy.shevchenko@gmail.com, matt.ranostay@konsulko.com, ardeleanalex@gmail.com, jacopo@jmondi.org, Andrea Merello References: <20220415130005.85879-1-andrea.merello@gmail.com> <20220415130005.85879-11-andrea.merello@gmail.com> From: Lars-Peter Clausen In-Reply-To: <20220415130005.85879-11-andrea.merello@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Authenticated-Sender: lars@metafoo.de X-Virus-Scanned: Clear (ClamAV 0.103.5/26516/Mon Apr 18 10:21:52 2022) X-Spam-Status: No, score=-3.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,RDNS_NONE,SPF_HELO_NONE 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 4/15/22 15:00, Andrea Merello wrote: > From: Andrea Merello > > 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 2a6954ea1c71..3be613f64843 100644 > --- a/Documentation/ABI/testing/sysfs-bus-iio > +++ b/Documentation/ABI/testing/sysfs-bus-iio > @@ -2048,3 +2048,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 Can we make this `serialnumber`? IIO uses underscores to separate different parts of the name and to a machine (e.g. libiio) serial_number looks like a channel called serial with an attribute called number. > +KernelVersion: 5.19 > +Contact: linux-iio@vger.kernel.org > +Description: > + An example format is 16-bytes, 2-digits-per-byte, HEX-string > + representing the sensor unique ID number.