Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp770647rwd; Thu, 25 May 2023 03:49:37 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ75VfKO4by40GNKH/IX1e7zH82oSVIPPYpMhiE9ezCMja/hvDpyz1LxY5DD/v3EQ5KUatkx X-Received: by 2002:a05:6a20:2455:b0:103:7b89:d70a with SMTP id t21-20020a056a20245500b001037b89d70amr21104220pzc.54.1685011776918; Thu, 25 May 2023 03:49:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685011776; cv=none; d=google.com; s=arc-20160816; b=O/3dbQsVLxGHlXaeFp87GLHmtRegKTvy0F8LIg5mYDIRlNfWr7h3yKHq2vSx3N7H4M J6EdM0LVq8IzGfYvxJgT92s73znoSw6sZIascdVCPWmIf+Hy0SltYB/7nSwiOUWbAqn3 Q0wSIGc1N2hd6pzhdtvboPjH+qOyr8bm5njl1TSum6IOJJsp9VO5wED+YTpNaMcQHEo7 w8bTOW7IyxqXM1kUR8SpKXoYblEvBk4LaOwtDfRzr9FuJeniO/PLjiy0hj0j4eEA4KVZ HTP4WUCYtj+q1AlYK8To6/jMN3UaZl/5KWi7QrKjH3Hgt1tkzntXPoFhnk56GAhf9N74 Qnww== 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=fd9DJXF8Up6NkgQtbdoNJms26UVgMHaBtcwdubYj/eE=; b=m2yvRHKvBrXuqSayskud4iblBXRnQL/rDWoUd7itwnIXmp0anbxRNq9zfjdul9kFOv x0UTqWK+YsacR057TumpT2H/XZTEbVZtSOXo9V1BCxFm4iRmz5yOqHZvlhmuPgkS3Mx0 juGAfv0kBkwAQbpqNkNWlWFySEOia6pYkz98TFsuwaLtjXImOMW41jASoZWiq8r3BNZX Y2BJkxl4r1jZ4pJ7bkWJ1FHKsOCIjo1mIVqdEMKT/9YF11nH3Io34/V2aAW5dLXj4kRU bJ6Ygm+dZ2+HBCN212uicFYlXDH3+6Tx8geyzkP9zRtWO0r4tt9KJO/ZAQNqfUPA4EZN kytg== 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 bv4-20020a632e04000000b00536b4c4b695si890589pgb.136.2023.05.25.03.49.21; Thu, 25 May 2023 03:49:36 -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 S240909AbjEYKaO (ORCPT + 99 others); Thu, 25 May 2023 06:30:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58558 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240003AbjEYKaL (ORCPT ); Thu, 25 May 2023 06:30:11 -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 13B6710B for ; Thu, 25 May 2023 03:30:10 -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 1e35e9cc-fae7-11ed-a9de-005056bdf889; Thu, 25 May 2023 13:30:07 +0300 (EEST) From: andy.shevchenko@gmail.com Date: Thu, 25 May 2023 13:30:06 +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 04/11] serial: sc16is7xx: add post reset delay Message-ID: References: <20230525040324.3773741-1-hugo@hugovil.com> <20230525040324.3773741-5-hugo@hugovil.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230525040324.3773741-5-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:17AM -0400, Hugo Villeneuve kirjoitti: > From: Hugo Villeneuve > > Make sure we wait at least 3us before initiating communication with > the device after reset. ... > + usleep_range(3, 5); I would put (5, 10) instead to relax a bit the scheduler. -- With Best Regards, Andy Shevchenko