From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E26B6C433E2 for ; Tue, 1 Sep 2020 17:02:36 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id BD21B2078B for ; Tue, 1 Sep 2020 17:02:36 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="X24yWagx" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729385AbgIARCf (ORCPT ); Tue, 1 Sep 2020 13:02:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40242 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732404AbgIARCJ (ORCPT ); Tue, 1 Sep 2020 13:02:09 -0400 Received: from mail-ej1-x642.google.com (mail-ej1-x642.google.com [IPv6:2a00:1450:4864:20::642]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B254CC061244 for ; Tue, 1 Sep 2020 10:02:08 -0700 (PDT) Received: by mail-ej1-x642.google.com with SMTP id nw23so2711738ejb.4 for ; Tue, 01 Sep 2020 10:02:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=0W2yxpJArpylRLCAMIxUVDHEOE0Rtc8t8qbdRvvfyJY=; b=X24yWagx+1ZBxGqiyugUJ2eJGaAd8LrpJbAszSn32GfXleOf7l+Ypbk3seu9N8m9wr 6rFo3aOLOdswBzxVz6unSED4HxB+bT3WIHtXET+LhFFSm4HHGO1rkE4I/Yu1Vdk3LYWf b7bEDunKc/ozpoOXKv0FSOLA+nXGTcEaKgmJg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=0W2yxpJArpylRLCAMIxUVDHEOE0Rtc8t8qbdRvvfyJY=; b=A9Cogm/u4Y0T/MCwEDJ8ggoToJeZbGeSzwH4JofxYOlUYKy67RvafBQo3FhOBRJwLw pydv86Z0ipB8tmCqMwGwiThPQxOpPQg9ZbjkQrBJmmIO1ybQmAVkb5j5IcfVfgMHAexX 98j1sQ6B31q4OWoVLcjL8ikI0tlsWQPsgm6DbeIVVafsRLFZZ/3reoJwIdUnY88SuOIO qsF0r6/pnB1fhIk4FE/HdPlbRgS1hG4nhROYxofkkIPUnGSS3Y7EjIF9Zm8zLnj/s5+q GLxqBVsqquH1uE+2fF7uBdWO9iAj/33shAy/wJZGEX4j33xJD2tIpWh6BgNycHDNz8aI h7BA== X-Gm-Message-State: AOAM530dmvD5+MwnV+mHzR9wzlJjoRy1lo2WxNZbgazoD4yF6BdhksVI OuUGIbsTWq4Wtz0lHU5Qo5qj2/BmtQAcgg== X-Google-Smtp-Source: ABdhPJzcuPwmCTsZyaNSIa4WUjN877Dq5ACk3r8Vx0Y+Km/Oocld7TJa8xzOOxq7hMFm2zLyQpchMA== X-Received: by 2002:a17:906:28c4:: with SMTP id p4mr2351785ejd.345.1598979727082; Tue, 01 Sep 2020 10:02:07 -0700 (PDT) Received: from mail-wm1-f44.google.com (mail-wm1-f44.google.com. [209.85.128.44]) by smtp.gmail.com with ESMTPSA id v17sm1828042ejj.55.2020.09.01.10.02.06 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 01 Sep 2020 10:02:06 -0700 (PDT) Received: by mail-wm1-f44.google.com with SMTP id q9so1865793wmj.2 for ; Tue, 01 Sep 2020 10:02:06 -0700 (PDT) X-Received: by 2002:a1c:b407:: with SMTP id d7mr2845879wmf.59.1598979726047; Tue, 01 Sep 2020 10:02:06 -0700 (PDT) MIME-Version: 1.0 References: <20200901081920.v2.1.Id02b2f451b3eed71ddd580f4b8b44b3e33e84970@changeid> <159897502625.334488.7103007623601336114@swboyd.mtv.corp.google.com> In-Reply-To: <159897502625.334488.7103007623601336114@swboyd.mtv.corp.google.com> From: Daniel Campello Date: Tue, 1 Sep 2020 11:01:29 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2] iio: sx9310: Prefer async probe To: Stephen Boyd Cc: Douglas Anderson , Jonathan Cameron , Alexandru Ardelean , Andy Shevchenko , Hartmut Knaack , Lars-Peter Clausen , Peter Meerwald-Stadler , linux-iio , LKML Content-Type: text/plain; charset="UTF-8" Sender: linux-iio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org On Tue, Sep 1, 2020 at 9:43 AM Stephen Boyd wrote: > > Quoting Douglas Anderson (2020-09-01 08:19:43) > > On one board I found that: > > probe of 5-0028 returned 1 after 259547 usecs > > > > While some of this time is attributable to the pile of i2c transfers > > that we do at probe time, the lion's share (over 200 ms) is sitting > > waiting in the polling loop in sx9310_init_compensation() waiting for > > the hardware to indicate that it's done. > > > > There's no reason to block probe of all other devices on our probe. > > Turn on async probe. > > > > Signed-off-by: Douglas Anderson > > --- > > Reviewed-by: Stephen Boyd Reviewed-by: Daniel Campello