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: 1571664 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=23.128.96.18; helo=vger.kernel.org; envelope-from=devicetree-owner@vger.kernel.org; receiver=) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by bilbo.ozlabs.org (Postfix) with ESMTP id 4JJHV31vdyz9s3q for ; Wed, 22 Dec 2021 00:33:47 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234535AbhLUNdq (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: devicetree@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 ...