From patchwork Thu Feb 17 16:27:06 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrea Merello X-Patchwork-Id: 12750425 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id AD5D7C433FE for ; Thu, 17 Feb 2022 16:27:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243162AbiBQQ1u (ORCPT ); Thu, 17 Feb 2022 11:27:50 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:60678 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243147AbiBQQ1r (ORCPT ); Thu, 17 Feb 2022 11:27:47 -0500 Received: from mail-ed1-x535.google.com (mail-ed1-x535.google.com [IPv6:2a00:1450:4864:20::535]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0E5859BB8A; Thu, 17 Feb 2022 08:27:33 -0800 (PST) Received: by mail-ed1-x535.google.com with SMTP id b13so10729385edn.0; Thu, 17 Feb 2022 08:27:32 -0800 (PST) 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=/GuBSZT3gYUl9WUuyRcBD5kTPc3HH/CTyiu6CHm9clg=; b=Wm8FALi5Hf4NclLp1g8m3iDtxtl6w8nxMgEgI0RyE85tZBf/JzcCJM5F95qY6pW9qf oNw3POdVmOrNecKK5Tm6j3C3P8VzZbBU/XX0/TkyPXgOQeQMyXVwshIR9lMqNQBAKlDM ON9EmoBVc7LoZsF5FFov5dhGo526GzjobehxQora6mdcCgP9FGr5l9QdnIxgCj3MzVjT WUaBn++cNiSNrYvpSjn7qE/4nPNfzSGXFQvTUi6Qnw39Y9uFHIVvF1sGv/XUDxk0+yAB DTTO+1+c8XHAPiCxwRYBQ6U20u/2coUBcSBwTU+sgz5T79ZV5A+ew7zyhSQsAihi+zs3 kI7w== 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=/GuBSZT3gYUl9WUuyRcBD5kTPc3HH/CTyiu6CHm9clg=; b=XN0lMV9RMJrXffMPl0lENgG2As5zKcdkhHcv3CKDwRjnjrC1A++emYpAxsbSt9gYmV EOAZiirjLpyXQI59DpHlef3WSA6mIQMGnC+B8cUOq4eAUh07W+Jam0+dOqRZd6fKZ3QB 43A37WDV8JtiDSeTzPTZh9gyftbq+akRGLTngKl1pECxhbS66vTOfsV0Sb75kRhFyUth 5P4nXRajjcdoOsUsC9V1SmRZKHc4XuKX8L1TzCBzQFlEITYfLhcgfp9R9J2V6WRkYUei x3LKUG1H41GDv0ynvlo4Zo2NGI7rbdrE3CCmwemTGqb/CZCFNmyB39BmBNckCsEWqNmz oatw== X-Gm-Message-State: AOAM533cp97/ETeG8Qk+AwesFNtLRe8L4fBBm2zzsYlBLVDBDR+MgJjw Z5LhZT0vBhrPxCK48K5m17EnB/m5DFJEFC8F X-Google-Smtp-Source: ABdhPJzUMjNQN/re+jPHV80Ub6x2ggTg2L7tiNQTBIFCtX39CG5GroijnFzdEuPZKjwpxYpwvaID2w== X-Received: by 2002:a05:6402:cb:b0:410:8094:872b with SMTP id i11-20020a05640200cb00b004108094872bmr3402607edu.378.1645115251649; Thu, 17 Feb 2022 08:27:31 -0800 (PST) Received: from poker.lan (static.2-229-210-222.ip198.fastwebnet.it. [2.229.210.222]) by smtp.gmail.com with ESMTPSA id j13sm3653742edw.24.2022.02.17.08.27.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Feb 2022 08:27:31 -0800 (PST) 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 , Andrea Merello Subject: [v3 09/13] iio: document "serial_number" sysfs attribute Date: Thu, 17 Feb 2022 17:27:06 +0100 Message-Id: <20220217162710.33615-10-andrea.merello@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220217162710.33615-1-andrea.merello@gmail.com> References: <20220217162710.33615-1-andrea.merello@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org 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.