Received: by 2002:a19:f614:0:0:0:0:0 with SMTP id x20csp63809lfe; Fri, 15 Apr 2022 19:41:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyIkZPkaOBooYvN7jRxGyBUqO7Zq+oFBf5fe68vwMQUR8RMiWQbyqL24f06zc1uXAoXc3Qe X-Received: by 2002:a63:451a:0:b0:3a3:d3f:d943 with SMTP id s26-20020a63451a000000b003a30d3fd943mr1395261pga.508.1650076867923; Fri, 15 Apr 2022 19:41:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650076867; cv=none; d=google.com; s=arc-20160816; b=EZmbOPyH/97pkKdwOwAOhMgFGGFVasdCAA17n4NylnrKXEMHAgH5HhkbFx1eeVk+ux 4u4RCvi6meSAFk8HuJE2IilKx+nBAPfLj+NiGFFmEbuM92GejZgWX+Py8i5ZpeUiuqIp O52orGyc0/no3r4EqNRyzky3tYRKA7pVOVNI1JdlsolpH5ywWWdiHghuCbyBgcSjsQ9k Xvm/7qGXWcpqeqgUIpK9zyaAhuYMZfGHjoo0TgPYs+Y1Kcah6CaUr6O1t9tnJaAygAAN mRUTyjDZAmftxhMJXb/ddKnmR0HzUv/JdEFn7Dx36nHU3u2QnN1qLT90IIf4iVX3TAzh N2TQ== 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 :dkim-signature; bh=WyOK4bZC6pkuuNreO1YwvAEYd7CzAZCb4Uh3rCmNv5g=; b=W9pXeleg+317xc/Cnjy6uk2AkVoR2fvicPQpEaOVLyZfJZ8Wj4/LgXa6mc9lSemu+y l1QB4dr3Q3w3pOGyV4KGJuAwMeX/KiokirEeqs8te8okXDiqC3VG2zzZ4BpH+QFAbhZB /HiYSzTAC66VfIDeoz04QQ9jmqW/bPjeXZJ/6OfMjx5Cibe9NiuEx+VzbKtoMDOsCKDt s5jI/Y45RqHK2VUiSflNww0jOy08DaJ9j4W14ynhnA601nGgC7/NBhh8NBZWSpFTravp JdHBO9u1fi2F1Y/+4Fcg+UJGktDzEgduWkyzDf3+uvS+X6G5+Y5+5URnUEyiaeNTxGjd hPhA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="I8lFUW2/"; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id f2-20020a63de02000000b003823f33cdd2si2955351pgg.209.2022.04.15.19.41.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Apr 2022 19:41:07 -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=@gmail.com header.s=20210112 header.b="I8lFUW2/"; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 144953EE948; Fri, 15 Apr 2022 18:48:40 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1353944AbiDONDi (ORCPT + 99 others); Fri, 15 Apr 2022 09:03:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40844 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1353895AbiDONDE (ORCPT ); Fri, 15 Apr 2022 09:03:04 -0400 Received: from mail-ed1-x52b.google.com (mail-ed1-x52b.google.com [IPv6:2a00:1450:4864:20::52b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 70179396B0; Fri, 15 Apr 2022 06:00:35 -0700 (PDT) Received: by mail-ed1-x52b.google.com with SMTP id 11so4835441edw.0; Fri, 15 Apr 2022 06:00:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=WyOK4bZC6pkuuNreO1YwvAEYd7CzAZCb4Uh3rCmNv5g=; b=I8lFUW2/EaCMfpApLC+8BtRzOql27t/4Opksx9gxHHXjvlyBRhHyCYjyxXAVWFwWX/ cOqHbqj4XkxBkaC0khlT1w9lUqlaW9SwaTvxYovFbPIR6LURITAuadZwVMTbpKVtzk94 pRjr86H6TS7h4hte+C2PzonZwxIfeOqLoU80oy6w5Vy8p7RIRRYklWTS23O71o02qLxE VgTihik+CKfmjcwMGxBVFLlKHO97saTy+SqlXYLaAIQEh7bh1T+bDwgOxATSkqXAoN06 lTbGlTGGFyfytXaoGHpNNpBo6EVkvnq8teRLO8FJHjwUv1BxjkXEvQmpsCm9OUSP0AM2 czlw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=WyOK4bZC6pkuuNreO1YwvAEYd7CzAZCb4Uh3rCmNv5g=; b=oplUNk0WvDFCMgfsFN0FcpEnmQOPybC/Mijci+tyHjyIHibN7wevHFvzclSr7MSO6l 1BCM3cEchIRoeVgY6pSGEVAdQYHKVD9DxZLISFkGyuId53Bv7IDXl6Uaf6FBxBsQDoMu SLPTkKp7D2u8Pt3bamFlLofaFjHo4z+qBllNk757Ny84TrUoNqUkWxbbguP7guBZEv4o 8ux39NnkCTXHQwhUeMDUkT4mRnUGcBaUWdIpSlvzet5B6a2cnV8mfL8KaM/9YaFCkyxc uWZAZUw0HyZQAxPotGLe/GcD97ifjHrJBa5ASi+k8yo7R/Tb46F+hAXhvoqqBYXG0vTH eniw== X-Gm-Message-State: AOAM531ZhiY/x+aSc5pnjm5wi4/U1xD6HnNpzErWuMJbg0gfRBs0XtQX Eu1e/LHn3nONWfyfahP4UJ8= X-Received: by 2002:a05:6402:218:b0:419:d804:9483 with SMTP id t24-20020a056402021800b00419d8049483mr8278954edv.396.1650027633950; Fri, 15 Apr 2022 06:00:33 -0700 (PDT) Received: from poker.lan (static.2-229-210-222.ip198.fastwebnet.it. [2.229.210.222]) by smtp.gmail.com with ESMTPSA id i26-20020a50d75a000000b0041e84bb406fsm2704715edj.0.2022.04.15.06.00.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Apr 2022 06:00:33 -0700 (PDT) From: Andrea Merello To: jic23@kernel.org, mchehab+huawei@kernel.org, linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Cc: lars@metafoo.de, robh+dt@kernel.org, andy.shevchenko@gmail.com, matt.ranostay@konsulko.com, ardeleanalex@gmail.com, jacopo@jmondi.org, Andrea Merello Subject: [v4 10/14] iio: document "serial_number" sysfs attribute Date: Fri, 15 Apr 2022 15:00:01 +0200 Message-Id: <20220415130005.85879-11-andrea.merello@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220415130005.85879-1-andrea.merello@gmail.com> References: <20220415130005.85879-1-andrea.merello@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 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 +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. -- 2.17.1