Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp3714658rwd; Mon, 29 May 2023 15:47:12 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4RBo0Ve0E2EiHqrd+vNYJS5Xwd/VVNc0E0Ty7CXItcBRPumJ2cskkBr0Okwt4boTdxr1YB X-Received: by 2002:a05:6a20:3d0c:b0:102:18a9:cad7 with SMTP id y12-20020a056a203d0c00b0010218a9cad7mr462539pzi.58.1685400431802; Mon, 29 May 2023 15:47:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685400431; cv=none; d=google.com; s=arc-20160816; b=V6+L3vptnYdPYIG3v30J3F+4sR2kaEZ5iqtiXrl/0T9SI98U31BhUphXr7srh2YctD BTgb2XQYlEugcD5jCv+vVZ1y/TYT7pjdG7fwiOD3urxBnkdFxVyGzudb4sotj3tmlJSk MxyOJixK5yUYBUDIBHuJQOFEAdRHQa0HaimLtxMBqQTW3QogFcKrTVf48c8wDmHqN5Sg n+j6TjRjk/7CplXtgP4noWtpl+jsNaTIqyp6SrRua103UxozDwB2HKA/wonzMV4tS98Z Lc6REcdtJFvBBBzu69ibhPMkofthzlE1+fp61y1ma4osTSn35MbU7Tuilv5fNG3zljs9 pa2w== 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=vvKc7FU4dHEPki/7mmRJMMoDte4wPcjlAKV0L8ijBEI=; b=b9GFyVDLocZRH1E/esgHFRK7rPSg/NKr5rbHeEKZQOe0fnEAyv+pYgshHN8nK+VtBj vubvwOnxWokAuvOQIu5CPjC4Xt6kWFJrf/UsjhDoc3/V0WzlGxS7a/0+I8+NF35xGfmu sj/vSOil2zoxTAoGlrHF5083cJbTIcDTbMJD8wX1r8ngW5FlCf+oYH9cDVlZG2xBjbNj ZL5G/RXYOamJMEw7z6dkXxnYTf63Z69PB4Lv7xMEu6ONrzzHYTo1eN2d5IvmKTWiCEzJ eybRsXfWV0LqetT4dbcRhoO6n3RWkYpb+6svSi08+72eN2bLYbLidorfq6aUnTIMBSba c1Vw== 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 b6-20020a637146000000b0053f29758cd1si10021429pgn.839.2023.05.29.15.46.59; Mon, 29 May 2023 15:47:11 -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 S229552AbjE2WkZ (ORCPT + 99 others); Mon, 29 May 2023 18:40:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55220 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229998AbjE2WkY (ORCPT ); Mon, 29 May 2023 18:40:24 -0400 Received: from fgw23-7.mail.saunalahti.fi (fgw23-7.mail.saunalahti.fi [62.142.5.84]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CFCE5D2 for ; Mon, 29 May 2023 15:40:21 -0700 (PDT) Received: from localhost (88-113-26-95.elisa-laajakaista.fi [88.113.26.95]) by fgw23.mail.saunalahti.fi (Halon) with ESMTP id ca0df54f-fe71-11ed-b972-005056bdfda7; Tue, 30 May 2023 01:40:19 +0300 (EEST) From: andy.shevchenko@gmail.com Date: Tue, 30 May 2023 01:40:19 +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,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. > > 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. In general looks good to me, just some minor things and patch ordering issues. Thank you for doing this! -- With Best Regards, Andy Shevchenko