Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp3898366rwd; Mon, 29 May 2023 19:34:21 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6sEUEb3J3EeQFmpio98otmViXfWLa0NVVALMRvjfMLf5Qa4JhAM+B8KxrVlY8V1408Fi4L X-Received: by 2002:a05:6a00:168a:b0:64d:2487:5b3c with SMTP id k10-20020a056a00168a00b0064d24875b3cmr911151pfc.29.1685414061287; Mon, 29 May 2023 19:34:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685414061; cv=none; d=google.com; s=arc-20160816; b=fWpmB0JrlqRrK1VyT/30IwbkI42skOBm8KnefDupTFYxrjgCFY4Qhb/sCkxN6gpXGz iBP1nw7xQPzaiJQJF4LbiVXrJ8hhczk4souTamZFu+9QawV0mWP3aSybfa69RymuoZIL MvVl0T6Waz5ik2bEW2LtMyANRECSGy1mlFTIAN3DXu8T5vwmZ4mexNCMR+9ZZ3JEGqwW pbo0XVV6bsI8nEnkaxnoA2R7Cr1NkYhCnJlZsM8UbzTM2r5o+Jbwf1AGpDgr6H9FWcKt 3ny45AL3VEV3pV5tHC74+EkFmuvE9Cy+6UmYIvZcca4WX2NayovA3GeDELo70s1ms5Rd fW3g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:subject:content-transfer-encoding:mime-version :references:in-reply-to:message-id:cc:to:from:date:dkim-signature; bh=8b7axy2ugwNnYpSJ0ufdxmI8eLFv3CFyiX/N3qWXuJ8=; b=Gg2UD2fZeqZN7RIa59/6I53RpSTtcHHjF/XuNNZDPZLDbbuDnQ8ficmj4wOzXbxrH7 8MLf1QIX1kH7adXgU9SZQHldhjCxIw9CrxuYcLwiJfJBpdr1ahvqeMbMxAh3gCdqh4Xa MsZWMVoQaVoy610dW8aLA4rpRgI5Kwh3qpd2pdNCcIis+kOkIgUNFqLzGb8b621qc1r2 fgOz5/MGzPRFKPHHf+6pC7jkdfFCZlXYaVMaroQv9TLODBeJrGR+BuYG4Xdu4PwzuuaZ r8N5RIbG3Utp1K5UgOfVy5NBnIiHRy6j/JcQJgJ0BV38q4nG0DO9An7zIFaTIAXfCNsn TGpQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@hugovil.com header.s=x header.b=tfvBCuK4; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 125-20020a620683000000b0064f3f80aeb7si893893pfg.146.2023.05.29.19.34.09; Mon, 29 May 2023 19:34:21 -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; dkim=fail header.i=@hugovil.com header.s=x header.b=tfvBCuK4; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230115AbjE3CIH (ORCPT + 99 others); Mon, 29 May 2023 22:08:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48514 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230028AbjE3CIF (ORCPT ); Mon, 29 May 2023 22:08:05 -0400 Received: from mail.hugovil.com (mail.hugovil.com [162.243.120.170]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CB4EF131; Mon, 29 May 2023 19:07:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=hugovil.com ; s=x; h=Subject:Content-Transfer-Encoding:Content-Type:Mime-Version: References:In-Reply-To:Message-Id:Cc:To:From:Date:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=8b7axy2ugwNnYpSJ0ufdxmI8eLFv3CFyiX/N3qWXuJ8=; b=tfvBCuK4DDooO23JHHoy0i7lZ6 rIdQLSmZMncYs7N3rUt8W9Y9e+Vr7JZkGzKEnlZVhaqIMBA6zZQH7YV0CrWQqn0q8Q0DYObTsSkQ5 ECmUM8Y9UihOYWqKPkHSLvL1RaGq7Zcn46wQb/a0mAn5cc0C6RBD6lK63y8/dMRPGxIg=; Received: from modemcable061.19-161-184.mc.videotron.ca ([184.161.19.61]:59646 helo=debian-acer) by mail.hugovil.com with esmtpa (Exim 4.92) (envelope-from ) id 1q3olR-0002Pe-83; Mon, 29 May 2023 22:07:09 -0400 Date: Mon, 29 May 2023 22:07:08 -0400 From: Hugo Villeneuve To: andy.shevchenko@gmail.com Cc: gregkh@linuxfoundation.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, jirislaby@kernel.org, jringle@gridpoint.com, l.perczak@camlintechnologies.com, tomasz.mon@camlingroup.com, linux-serial@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, Hugo Villeneuve Message-Id: <20230529220708.66f7825fed9ee36b181128cf@hugovil.com> In-Reply-To: References: <20230529140711.896830-1-hugo@hugovil.com> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-SA-Exim-Connect-IP: 184.161.19.61 X-SA-Exim-Mail-From: hugo@hugovil.com X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net X-Spam-Level: X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,SPF_HELO_PASS, SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Subject: Re: [PATCH v4 0/9] serial: sc16is7xx: fix GPIO regression and rs485 improvements X-SA-Exim-Version: 4.2.1 (built Wed, 08 May 2019 21:11:16 +0000) X-SA-Exim-Scanned: Yes (on mail.hugovil.com) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 30 May 2023 01:31:28 +0300 andy.shevchenko@gmail.com wrote: > Mon, May 29, 2023 at 10:07:02AM -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. > > > > Patch 1 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 2 introduces a delay after a reset operation to respect datasheet > > timing recommandations. > > These two patches are w/o Fixes tag, they should be moved in the series further > as I explained before. Your explanation was not clear. Anyway, I moved them in position 7 and 8. > > Patch 3 fixes an issue with init of first port during probing. > > > > Patch 4 fixes a bug with the output value when first setting the GPIO direction. > > > > Patch 5 is a refactor of GPIO registration code. > > > > Patches 6 and 7 fix a GPIO regression by (re)allowing to choose GPIO function > > for GPIO pins shared with modem status lines. > > > > Patch 8 allows to read common rs485 device-tree flags and properties. > > > > Patch 9 improves comments about chip variants. > > > > I have tested the changes on a custom board with two SC16IS752 DUART using a > > Variscite IMX8MN NANO SOM. > > -- > With Best Regards, > Andy Shevchenko