From patchwork Tue Dec 21 13:33:39 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Cercueil X-Patchwork-Id: 12689663 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 4FF03C433F5 for ; Tue, 21 Dec 2021 13:33:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235268AbhLUNdq (ORCPT ); Tue, 21 Dec 2021 08:33:46 -0500 Received: from aposti.net ([89.234.176.197]:39034 "EHLO aposti.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231741AbhLUNdq (ORCPT ); Tue, 21 Dec 2021 08:33:46 -0500 From: Paul Cercueil To: Jonathan Cameron , Lars-Peter Clausen , Rob Herring , =?utf-8?q?Guido_G=C3=BCnther?= Cc: linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Paul Cercueil Subject: [PATCH v2] dt-bindings: iio: Document "label" property Date: Tue, 21 Dec 2021 13:33:39 +0000 Message-Id: <20211221133339.66766-1-paul@crapouillou.net> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org Document the "label" property, which can contain a descriptive label that allows to uniquely identify a device within the system. Signed-off-by: Paul Cercueil Acked-by: Rob Herring --- Notes: v2: - Reword description and commit message - Use > instead of | for proper multiline handling Documentation/devicetree/bindings/iio/common.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/iio/common.yaml b/Documentation/devicetree/bindings/iio/common.yaml index f845b41d74c4..49f9f62dbb3e 100644 --- a/Documentation/devicetree/bindings/iio/common.yaml +++ b/Documentation/devicetree/bindings/iio/common.yaml @@ -32,6 +32,12 @@ properties: considered 'near' to the device (an object is near to the sensor). + label: + $ref: /schemas/types.yaml#/definitions/string + description: > + Optional descriptive label that allows to uniquely identify a device + within the system. + additionalProperties: true ...