From patchwork Thu Oct 8 21:44:41 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cristian Ciocaltea X-Patchwork-Id: 11824679 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 511851580 for ; Thu, 8 Oct 2020 21:46:19 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 0C72A22241 for ; Thu, 8 Oct 2020 21:46:18 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="wxZyccgH"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="M68C2VOt" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0C72A22241 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=oQJSXd8jQZF2I59jehtXCieMJBhXyY/HFt6ACO8S4TM=; b=wxZyccgHKm7CskfwlQLi4ykPD zWGtv9/evrMrK5BjP06UAr72B+JFefkuG62CYaawSSTquEvvdxbVLZd2kCmM7K5/9ePQt76mrpWOs Hi6vOSzCdqBp4fqWz7SK84+tt3MQsLdM5TiL0hVBdIpBhNht4FCwnGsWu6sDkFLcyDSybAYYEzkz2 6yiKxQzYOhZnzaMG4MVDcANIFNzOz0GHbA2INlpdPq01GWJ34vI2iHbdhMSJ1OoHU/1leBeD2mYGw 6kKNJR4la0UcC7uMwPUg+cXD3SH2P4HdcZjroIstUku5LlUE5TU39g0qdCSZ9O97ZN9mM1fomXdeS HXXPMSVZA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kQdic-0007CM-2Q; Thu, 08 Oct 2020 21:44:58 +0000 Received: from mail-ej1-x643.google.com ([2a00:1450:4864:20::643]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kQdiQ-00078F-Tc; Thu, 08 Oct 2020 21:44:48 +0000 Received: by mail-ej1-x643.google.com with SMTP id u8so10235638ejg.1; Thu, 08 Oct 2020 14:44:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=KxjygpoA96eOeA02J+Dvf4AQ8zSrWdx9oS+iZ/XJRdI=; b=M68C2VOtz/fupoFfHGC+2wx79Prt6iza5lrS8tn7r/ICrZOi0lIVYRyj8pqU+33I9U u1ga1G0nE7c42LbAI5Zh2GOH0ycaBwLON14sFH7ks6V/+TLXdv4dmosoByvMdNVA6WwD VFByTPYH810XhOqG0ywDJNWXnHTHLNLCH9eT6TuIbH5Ney+U1xEb1OdbcSJMRKjWzWZO isM9G5JfS3MdNkX1SZMALdVI5rKUUP6lsNz/RcqLa8Rvn77EZyU9J5GUXs4yWM2abJRS atMe/ahRJZ88mfwnj7kQHRejdbG4ZjeJIqsC7+f+iW0syKCwPF0w+jjcVS5q9byk6vVo svdA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=KxjygpoA96eOeA02J+Dvf4AQ8zSrWdx9oS+iZ/XJRdI=; b=hE2A99TNqAJvrWf2whsim/0sDwn4xQ5Hf8jrtv9eQPYKjT0pR4scB4e04F5VOdIQSQ MkeFfmS8VmejnJhjbfDdDFvErMqndnV/R6+l511ZFb68ctWFbSRbEz6AfHk7bOM6ieV9 OqRtc2e//n/ct4nQ5Z4M6s1RV84LJ1GcSQhThtGK8DHK4KP6ESHyFqTtpVWT5jgq8Nmc BYNGmWNJ4xQ5TeAgAy5dIRZn/Jlvr+6W0YfewEXStLDVNhyG9kmzR9jwXAtPcNq5ddu6 4L8GKpk8VKvFJhHvVng2JutOnNbFlfmbUlO5qpLPs5DlvcTYnbSD29C0dTiwPAdtlKUh TlVA== X-Gm-Message-State: AOAM5302gtzk+ZpiitXlIu3b8YL5HW8l1IgK6QMTP6lx/8RZgO/eUfrx oWVNJoR9NMTuxmWyfjB1Kdk= X-Google-Smtp-Source: ABdhPJydkFpIZCSdLrHIJ5lij59RqWh0OjYTThkYVr7RYT46eXnS/e7Vsf3akCiCzjZb9rpJ85i+MQ== X-Received: by 2002:a17:906:f4f:: with SMTP id h15mr10722376ejj.17.1602193486048; Thu, 08 Oct 2020 14:44:46 -0700 (PDT) Received: from localhost.localdomain ([188.24.159.61]) by smtp.gmail.com with ESMTPSA id i8sm4831800ejg.84.2020.10.08.14.44.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Oct 2020 14:44:45 -0700 (PDT) From: Cristian Ciocaltea To: Manivannan Sadhasivam , =?utf-8?q?Andr?= =?utf-8?q?eas_F=C3=A4rber?= , Wolfram Sang , Peter Rosin Subject: [PATCH 3/3] i2c: owl: Enable asynchronous probing Date: Fri, 9 Oct 2020 00:44:41 +0300 Message-Id: X-Mailer: git-send-email 2.28.0 In-Reply-To: References: MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201008_174447_056549_955E3E53 X-CRM114-Status: GOOD ( 13.73 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:643 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [cristian.ciocaltea[at]gmail.com] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-actions@lists.infradead.org, linux-i2c@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Speed up the boot process by using the asynchronous probing feature supported by the recent kernels. For SBCs based on the Actions Semi S500 SoC, the overall boot time is expected to be reduced by 200-300 ms. Suggested-by: Manivannan Sadhasivam Signed-off-by: Cristian Ciocaltea Reviewed-by: Manivannan Sadhasivam --- drivers/i2c/busses/i2c-owl.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/i2c/busses/i2c-owl.c b/drivers/i2c/busses/i2c-owl.c index 547132768119..ed3942051845 100644 --- a/drivers/i2c/busses/i2c-owl.c +++ b/drivers/i2c/busses/i2c-owl.c @@ -521,6 +521,7 @@ static struct platform_driver owl_i2c_driver = { .driver = { .name = "owl-i2c", .of_match_table = of_match_ptr(owl_i2c_of_match), + .probe_type = PROBE_PREFER_ASYNCHRONOUS, }, }; module_platform_driver(owl_i2c_driver);