Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp1743807ybz; Sat, 2 May 2020 06:53:45 -0700 (PDT) X-Google-Smtp-Source: APiQypJWVeldigvZxEgRd1+tOUcI6bfmPjddltepy1/Bm+EyveMe6hwYW3DjdKh9HjOoHQpy6cwd X-Received: by 2002:a50:ec0c:: with SMTP id g12mr7748104edr.140.1588427624821; Sat, 02 May 2020 06:53:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588427624; cv=none; d=google.com; s=arc-20160816; b=CmKlb7FAO8luf7wxQawatt7w8tST8Y6AmgDhsk8XHehFTQwEhvgFQVG/ewDoz3I5c4 8oFS9xNXL+/rCaign5gZKEFK4n/pn6qvohkl1+4lRblawT2blmU8swSmM9XC4/CFnQXz tRUOaDnvMigN9ZduiHqYcqgb8zvtGEnhNqx+UlJbkPoWWTRtG+MAz4j64RFVZhupGyY7 sJJwb+o8zj9jvgIYt7mIiYoD9JjONohR4mR/600k1tN9B70u5W0iFzOrkcWtkLyxfP7E a/xc2xSFM4WXJNDslu1VZMwQxChVkZJMX50LfJnLUwj8ZoZJ/yKsEb0oJc3A4fmk5Avl 0REg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=U2i+0pW+ZjO19PTWuAtQTsYvz4ag7tweKQAOywplaQM=; b=X3/tU5zBcilOP55sc2Whc6jhv4eiZeOtf7vGvJnuL3TEdhPyPi8Q4SJz4cRMYQ8hHj em6Pw5VMNpe2JmXbIA2FXC8R1t9eAkK7sWSc75BkGT+7oFY1jN1t/mHrh+3uN2F6GEgN LECCt18lEBEDugWhQLmdG2mnL3EJcvclzqj8drvhQwMTbeB8xGnoxT0PxrjZ3pS6h8BV YrrIeOmgPL6MGhMWl0dILy/HTJHXnTUZT8YnzMwm2vhCprP02j42sdk/dxxi8rpmqUSf o9FvOepD4T+xXCDE6I0rLFJEjJhc+zRzhxISUGVnq8NDDWdZT26REJWrdA34y5dR0yBI NQoA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id oo21si3551032ejb.453.2020.05.02.06.53.22; Sat, 02 May 2020 06:53:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728079AbgEBNwB (ORCPT + 99 others); Sat, 2 May 2020 09:52:01 -0400 Received: from bmailout1.hostsharing.net ([83.223.95.100]:49021 "EHLO bmailout1.hostsharing.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727996AbgEBNwA (ORCPT ); Sat, 2 May 2020 09:52:00 -0400 Received: from h08.hostsharing.net (h08.hostsharing.net [83.223.95.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.hostsharing.net", Issuer "COMODO RSA Domain Validation Secure Server CA" (not verified)) by bmailout1.hostsharing.net (Postfix) with ESMTPS id 8205630000889; Sat, 2 May 2020 15:51:58 +0200 (CEST) Received: by h08.hostsharing.net (Postfix, from userid 100393) id 5396F26497D; Sat, 2 May 2020 15:51:58 +0200 (CEST) Date: Sat, 2 May 2020 15:51:58 +0200 From: Lukas Wunner To: Heiko Stuebner Cc: gregkh@linuxfoundation.org, jslaby@suse.com, andriy.shevchenko@linux.intel.com, matwey.kornilov@gmail.com, linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org, christoph.muellner@theobroma-systems.com, giulio.benetti@micronovasrl.com, Heiko Stuebner Subject: Re: [PATCH v2 5/7] dt-bindings: serial: Add binding for rs485 receiver enable GPIO Message-ID: <20200502135158.zphroi533ocualot@wunner.de> References: <20200325231422.1502366-1-heiko@sntech.de> <20200325231422.1502366-6-heiko@sntech.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200325231422.1502366-6-heiko@sntech.de> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Mar 26, 2020 at 12:14:20AM +0100, Heiko Stuebner wrote: > --- a/Documentation/devicetree/bindings/serial/rs485.yaml > +++ b/Documentation/devicetree/bindings/serial/rs485.yaml > @@ -44,6 +44,10 @@ properties: > description: enables the receiving of data even while sending data. > $ref: /schemas/types.yaml#/definitions/flag > > + rs485-rx-enable-gpios: > + description: GPIO to handle a separate RS485 receive enable signal > + $ref: /schemas/types.yaml#/definitions/flag > + This isn't a flag, so you need the "maxItems: 1" line instead, as you correctly did below: > rs485-term-gpios: > description: GPIO pin to enable RS485 bus termination. > maxItems: 1