Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp789375rwd; Thu, 25 May 2023 04:06:49 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6UVyEz2Nj77oJBDL7U0qx+uzGKs8C6yhUQaAqachEDroEyX62RL0zrHKuZSwz6SuZ9LcoQ X-Received: by 2002:a17:903:258e:b0:1af:ccc9:ce5a with SMTP id jb14-20020a170903258e00b001afccc9ce5amr1136703plb.24.1685012809519; Thu, 25 May 2023 04:06:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685012809; cv=none; d=google.com; s=arc-20160816; b=MJjA4IzTh8nzONx4wkqkB9wYrhAg9gqjdJSQl6bfnfXhfYnnOKhNdqwhip9U2sef8y XUsMi6KPUEX9fgYCtWlOVZc1/fqXaXlVXph6RvZ7bd/pL7Cq/maPVv8fneAlGLFLLU/E 6iPaNAGXt3QWhozbsLXy8oTUXzQ7cJ+9aJtTrqiVlNlSl1JcOrlA/rEYeOZjwRP8MDih 5sO5qtZ+uuNLAb8md6Fn3131SI8wd81tm9GJi7qeqByV8N5Sjb6JIG4qq5eqZFR8VQkg uk5TM7MwDP56o/9YJs9zHafZBJ5AhGKP1Qf39OEwQdx7FP4Xe0HDYaLZEkMkXG0HzCy5 SIcA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:date:from; bh=G9dP7v/BpansC2cy98GgQq6XbpwOjF8rU22Sykd5tZg=; b=KiYZss1cuTxyNBU7EHRW287M5sEegXb5NddrLhwpxEPECHkIAx/3N/8lBVuo7zSgT+ 6JfcXFZ6dJtZjXH062MlfcF43dCgBRPKTOeJO1SHAthL4VEOIiOLV1lsjA7tLgAyMqYb C5IfpfD2t84KgMwbthcxYcGHA2bUEBppm8PwXgQeYTeF9uBeTRfIkMsDnlJohxITtALC M/av1kCiAimSxHQ0KSeiKVy5/umAnPjMP6m4eoqhCD6eVurRxjAOm/lCNEQrTTaIJAB+ af+wp/2cvLH4MjDL6+WwQUBVzNJophYtKh2n9SwbBZ0ELBDhiWFqMh0T2G4c9B5jQipX xLzQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m5-20020a170902768500b001ac6d4e1d72si1201171pll.149.2023.05.25.04.06.32; Thu, 25 May 2023 04:06:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240626AbjEYK2B (ORCPT + 99 others); Thu, 25 May 2023 06:28:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57904 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235904AbjEYK17 (ORCPT ); Thu, 25 May 2023 06:27:59 -0400 Received: from fgw22-7.mail.saunalahti.fi (fgw22-7.mail.saunalahti.fi [62.142.5.83]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6626F183 for ; Thu, 25 May 2023 03:27:57 -0700 (PDT) Received: from localhost (88-113-26-95.elisa-laajakaista.fi [88.113.26.95]) by fgw22.mail.saunalahti.fi (Halon) with ESMTP id ce3a9d81-fae6-11ed-a9de-005056bdf889; Thu, 25 May 2023 13:27:53 +0300 (EEST) From: andy.shevchenko@gmail.com Date: Thu, 25 May 2023 13:27:52 +0300 To: Hugo Villeneuve Cc: gregkh@linuxfoundation.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, jirislaby@kernel.org, jringle@gridpoint.com, tomasz.mon@camlingroup.com, l.perczak@camlintechnologies.com, linux-serial@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, Hugo Villeneuve Subject: Re: [PATCH v3 00/11] serial: sc16is7xx: fix GPIO regression and rs485 improvements Message-ID: References: <20230525040324.3773741-1-hugo@hugovil.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230525040324.3773741-1-hugo@hugovil.com> X-Spam-Status: No, score=0.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, FORGED_GMAIL_RCVD,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED,SPF_HELO_NONE, SPF_SOFTFAIL,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Thu, May 25, 2023 at 12:03:13AM -0400, Hugo Villeneuve kirjoitti: > From: Hugo Villeneuve > > Hello, > this patch series mainly fixes a GPIO regression and improve RS485 flags and properties > detection from DT. > > It now also includes various small fixes and improvements that were previously > sent as separate patches, but that made testing everything difficult. > Patches 1 and 2 are simple comments fix/improvements. Usually we put fixes at the beginning of the series, but these patches are missing Fixed tag. Are they really fixes or can be simply moved to the end of the series? > Patch 3 fixes an issue when debugging IOcontrol register. After testing the GPIO > regression patches (patches 6 and 7, tests done by Lech Perczak), it appers that > this patch is also necessary for having the correct IOcontrol register values. > > Patch 4 introduces a delay after a reset operation to respect datasheet > timing recommandations. > > Patch 5 fixes an issue with init of first port during probing. This commit > brings some questions and I appreciate if people from the serial subsystem could > comment on my proposed solution. > > Patch 6 fixes a bug with the output value when first setting the GPIO direction. > > Patch 7, 8 and 9 fix a GPIO regression by (re)allowing to choose GPIO function for > GPIO pins shared with modem status lines. > > Patch 10 allows to read common rs485 device-tree flags and properties. > > Patch 11 add a custom dump function as relying on regmal debugfs is not really > practical for this driver. > > I have tested the changes on a custom board with two SC16IS752 DUART using a > Variscite IMX8MN NANO SOM. Other comments are per individual emails. -- With Best Regards, Andy Shevchenko