Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp3709264rwd; Mon, 29 May 2023 15:39:30 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ63pWKytQAZNiyTMtlCDE3OHAgTqCA0f7WW/cBihbP/P+2Wd2qLTDu5woCnQJzxHL7FXKqe X-Received: by 2002:a17:903:2641:b0:1ae:43a8:2759 with SMTP id je1-20020a170903264100b001ae43a82759mr389044plb.58.1685399970333; Mon, 29 May 2023 15:39:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685399970; cv=none; d=google.com; s=arc-20160816; b=O6I3zaBnyA55dgE4dxWFGVIlOeiEANhCSVilIYrdiNjdZFwXboxxMNaFtXOMsfBIhp pkBhjWsjCktY96C1J/NI+9Ef5c/DeiojePlgJ6F4ins2/cu2HZfqz7Cz0tjjfzw0Drcg UTLKOAUbHrJl0OPJ/Tek1ZpdpK1GpJK1QWb2xZhAFyXh8dbAk+nN5U4GCeriVrV5o7PU CeOTxngTIWYQWb8XOqzkN+ySAomzny41+BpbFNkMqWfz3FmtnJKHKmVi3t/is2OMAYLY 5tu2UGtFUR5FiuE6szjweaqUh1v/EpxK2nIObudh5rHwVBSktcvpC7gn8m9cav7MHE5r dPIg== 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=aZauesTqTT0EgxEWiyTXpduMzOsd8BjY5z7cTFr+HvM=; b=DC+X4Rge3kGhA2DLL4omLL5Rzhe7LSgf8usLYcuZcTx5dtPQMgLGWL5duqARY/gF1P +JZEcZPD0d/PtS3w4gbgCrK6/OsQ5QVyr/ZCEydbEmmXw/a+HMg/HwZuEU771eITrnt6 OLFZ6ET0eCPqf46wJGVwOly+UwKbkMXAuNse+9rBFh0ipqvrnx+rVTOHyYGfQsdWsFZi vdCxgM22O87ySsGhd/qTCXR2xpvUl/3diN8WAXrWIEe/tBid6lIzptm01wNwOlz7UonD 8eQ9FyaCFJvh+GhqnGQoiEYXWIXDkapJxGyHJyIOxa6JE6F9WM36NG5OXwWT/BJD5A3E 86Tg== 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 jw5-20020a170903278500b0019ea8e6213esi2794495plb.102.2023.05.29.15.39.16; Mon, 29 May 2023 15:39:30 -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 S229647AbjE2Wbf (ORCPT + 99 others); Mon, 29 May 2023 18:31:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51188 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229942AbjE2Wbe (ORCPT ); Mon, 29 May 2023 18:31:34 -0400 Received: from fgw20-7.mail.saunalahti.fi (fgw20-7.mail.saunalahti.fi [62.142.5.81]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C1A07CF for ; Mon, 29 May 2023 15:31:31 -0700 (PDT) Received: from localhost (88-113-26-95.elisa-laajakaista.fi [88.113.26.95]) by fgw20.mail.saunalahti.fi (Halon) with ESMTP id 8d9f3b95-fe70-11ed-b3cf-005056bd6ce9; Tue, 30 May 2023 01:31:29 +0300 (EEST) From: andy.shevchenko@gmail.com Date: Tue, 30 May 2023 01:31:28 +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, 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 Subject: Re: [PATCH v4 0/9] serial: sc16is7xx: fix GPIO regression and rs485 improvements Message-ID: References: <20230529140711.896830-1-hugo@hugovil.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230529140711.896830-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,RCVD_IN_MSPIKE_H2, 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 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. > 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