Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp882709rdg; Fri, 13 Oct 2023 04:18:05 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHY01lLxaMLx7q8T9TvXpUlTMlh/u2/9L+X2CfulhXUY7JfYLXEvoW1QuXRFzxMyC5yRCzn X-Received: by 2002:a17:90a:72ca:b0:27d:2ce9:d6d5 with SMTP id l10-20020a17090a72ca00b0027d2ce9d6d5mr4354598pjk.12.1697195885154; Fri, 13 Oct 2023 04:18:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697195885; cv=none; d=google.com; s=arc-20160816; b=XjemgIlQNwu6bUwqycbbMei27zEhNin/2/tPv6FxpTximNgeP+wH0QEHM6K/KMX3a3 cSHMQWRZ5QpQvceB4QIoOl9c4B8ws7hCKKDUdzk9P7ufdavkDnsA4ypiPtJdtNuDyJ4n /r21lAZ913ymN+NK/eoQOsNln5eiAjhkLSY7AwQMl+Qo+5fOUbNrBmNMcaFATbJwAdNy gjquKGID31oSN2XhI8laKpB/E5DN+3it3mlJHjDuEQVzfXbDHe53+ivAeM3hgjrlqLGP 4RJu9OTRQ0y+gpQPCdYUOWIC0wkIYeZWXdG2o0XHpzo5pLojrfzJkVTaPmy3Wi9OoyYz EJ7A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:message-id:references :in-reply-to:subject:cc:to:from:date:mime-version; bh=sK5DsmaqK3M3N9foi3UnYa2fQH5Gqgia/Vz5YXR+1Ek=; fh=t8RAQh/nGg+QvqgGR8mxfPIjnOJNBnFduXnUEqIj01M=; b=gRsxyVh9KZhg1wD18Nzc4wg1amX4C3y/o39ESrJ42YEYlystYxviLy0rh0gSFPELR7 YElVWvuRRvEIRHNwbHA/oPQApYrF40e9ljbICaRWyNh75nK/2fwmU3W5UM7YIyiXFqAB y/8yPJkr74s88JCysZPAaYVkKbUcwa/4L7qble+6jk0xFTfmtbt7t0uj1tHjAhfad2ze 4hm38x/a/GsFagiJYT/3gqvI86EEnjSPBRb6M9VgzkQ4FvhYORzRQNke4i9i/R0zqo/A D73pHyz28C5zcnlqPuLj2gW6AFN7UUcwx8QBEojmCAARnOuP1uqdmO8Erf+QXQAQL/S6 +6Gw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id 7-20020a17090a1a4700b0027d3ed58c04si1003864pjl.173.2023.10.13.04.18.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Oct 2023 04:18:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id C2F3F80401D4; Fri, 13 Oct 2023 04:18:02 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230128AbjJMLRu (ORCPT + 99 others); Fri, 13 Oct 2023 07:17:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44422 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229903AbjJMLRt (ORCPT ); Fri, 13 Oct 2023 07:17:49 -0400 Received: from connect.vanmierlo.com (fieber.vanmierlo.com [84.243.197.177]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D06ADB7; Fri, 13 Oct 2023 04:17:45 -0700 (PDT) X-Footer: dmFubWllcmxvLmNvbQ== Received: from roundcube.vanmierlo.com ([192.168.37.37]) (authenticated user m.brock@vanmierlo.com) by connect.vanmierlo.com (Kerio Connect 9.4.2) with ESMTPA; Fri, 13 Oct 2023 13:17:37 +0200 MIME-Version: 1.0 Date: Fri, 13 Oct 2023 13:17:37 +0200 From: m.brock@vanmierlo.com To: Rob Herring Cc: Manikanta Guntupalli , git@amd.com, michal.simek@amd.com, gregkh@linuxfoundation.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, linux-serial@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, jirislaby@kernel.org, linux-arm-kernel@lists.infradead.org, radhey.shyam.pandey@amd.com, srinivas.goud@amd.com, shubhrajyoti.datta@amd.com, manion05gk@gmail.com Subject: Re: [PATCH V2 1/2] dt-bindings: Add optional gpio property to uartps node to support rs485 In-Reply-To: <20231012205158.GA1714449-robh@kernel.org> References: <20231011145602.3619616-1-manikanta.guntupalli@amd.com> <20231011145602.3619616-2-manikanta.guntupalli@amd.com> <20231012205158.GA1714449-robh@kernel.org> Message-ID: <42864886e6d5cf11b6ab817f57008611@vanmierlo.com> X-Sender: m.brock@vanmierlo.com Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Fri, 13 Oct 2023 04:18:02 -0700 (PDT) Rob Herring wrote on 2023-10-12 22:51: >> How about introducing an rs485 generic gpios property instead of xlnx >> private one? See also rs485-term-gpios and rs485-rx-during-tx-gpios. >> >> Also note that every kernel driver expects to use RTS for this >> purpose. >> So why not give this driver the option to choose a gpio instead of its >> native RTS? And from there on use the rts route? >> What if someone wants to use normal (non-rs485) RTS on a GPIO instead >> of the native pin? >> >> @Rob Herring >> I am curious to know how the rs485 maintainers look at this. > > Ask them. Funny, your name is the only one listed under the maintainers in Documentation/devicetree/bindings/serial/rs485.yaml And there is no mention of (RS-)485 in MAINTAINERS. > We already have 'rts-gpios'. If that's what's always used, then perhaps > we should use that in the RS485 case too? > > Rob Sounds like a good idea. Maarten