From mboxrd@z Thu Jan 1 00:00:00 1970 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 53097C433EF for ; Thu, 23 Dec 2021 10:51:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1347769AbhLWKvg convert rfc822-to-8bit (ORCPT ); Thu, 23 Dec 2021 05:51:36 -0500 Received: from aposti.net ([89.234.176.197]:38442 "EHLO aposti.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347737AbhLWKvg (ORCPT ); Thu, 23 Dec 2021 05:51:36 -0500 Date: Thu, 23 Dec 2021 10:51:28 +0000 From: Paul Cercueil Subject: Re: [PATCH v2] dt-bindings: iio: Document "label" property To: Jonathan Cameron , Lars-Peter Clausen , Rob Herring , Guido =?iso-8859-1?q?G=FCnther?= Cc: linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Message-Id: In-Reply-To: <20211221133339.66766-1-paul@crapouillou.net> References: <20211221133339.66766-1-paul@crapouillou.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: 8BIT Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org Jonathan: Please ignore this patch for now - I will add a global definition in dtschema instead. Cheers, -Paul Le mar., déc. 21 2021 at 13:33:39 +0000, Paul Cercueil a écrit : > 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 > --- > > 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 > > ... > -- > 2.34.1 >