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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3935AC433FE for ; Sat, 19 Nov 2022 20:46:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234231AbiKSUqD (ORCPT ); Sat, 19 Nov 2022 15:46:03 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50874 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234544AbiKSUqA (ORCPT ); Sat, 19 Nov 2022 15:46:00 -0500 Received: from mail-ej1-x62a.google.com (mail-ej1-x62a.google.com [IPv6:2a00:1450:4864:20::62a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 04A4213D32 for ; Sat, 19 Nov 2022 12:45:59 -0800 (PST) Received: by mail-ej1-x62a.google.com with SMTP id f27so20747665eje.1 for ; Sat, 19 Nov 2022 12:45:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rasmusvillemoes.dk; s=google; h=content-transfer-encoding:in-reply-to:references:cc:to:from :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=SQ/WZFLVVDxittaiC79H/LzvEV3RqoAAIkd3OTcJKH0=; b=K27ut1PNT2YlrreADla7CHlY/8c/PPCvFQttfd0LQY8Lzt6EFOrWspfzBum7JBRnd9 hOUb8nJzE2N2+p3Mi/dmz/QAS4sDKZm7fp56CZdr8webWj+V8udHxlRdbT+/Ek0LNVfm TiTa4ZmtAF67zJCMbZmpDS8P3HmNxwB6uvp14= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:references:cc:to:from :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=SQ/WZFLVVDxittaiC79H/LzvEV3RqoAAIkd3OTcJKH0=; b=N7FOFU40Nr6p8a+JIUdNmvryUqkLfWYWFieZJ8hOZnAI8ckQB04fanR9XSjbbwnN5Y LowjVMXWclYvRDSiWdAMN2LIIJFaZVzHEFoYxNY+BVT1BaozzLQWW2ThTkHV2eGmuliJ WTfS3ehCXpMP1/UyIL2N4iIyBYFGR2nwXS2TauMwK0kLCK7N1a80kCluu+ki0aKrkhqj XoUNCS11d6MuTwzRz4hsDfLuBL95MFw5h8IdV1HU0KEin2Dlb5wqfwF92Nzeu/Je94vp d9a6l4/0zzPYVzPr5Mcr1MpUXOGOFiIKT/GCr6GJBO/plXlwk9s8werVtuNFEiW38fk9 GeTw== X-Gm-Message-State: ANoB5pmodXWGOqFPMlbupFZsH3B1paOva7iuQhcSftO81G1vfU6jF+bN dSyT/q31OEcZczTzl+QqriqE6A== X-Google-Smtp-Source: AA0mqf5VgWgcm8Pi02RV6zJXPKtv7uTC4zNVEyX3Kh5VS6nCAIeWiQ65kbBq8iGZ7QytXY2HVdFlAQ== X-Received: by 2002:a17:907:8d03:b0:7ae:1d34:4da5 with SMTP id tc3-20020a1709078d0300b007ae1d344da5mr6729017ejc.340.1668890757551; Sat, 19 Nov 2022 12:45:57 -0800 (PST) Received: from [192.168.1.149] ([80.208.71.65]) by smtp.gmail.com with ESMTPSA id k26-20020a17090632da00b007ae4717bef1sm3269163ejk.15.2022.11.19.12.45.55 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 19 Nov 2022 12:45:56 -0800 (PST) Message-ID: Date: Sat, 19 Nov 2022 21:45:55 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.2 Subject: Re: [PATCH] clk: imx8mp: register driver at arch_initcall time Content-Language: en-US, da From: Rasmus Villemoes To: Abel Vesa , Michael Turquette , Stephen Boyd , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team Cc: linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org References: <20220928124108.500369-1-linux@rasmusvillemoes.dk> <08df1f08-1eea-0ee5-8e7b-6c427aa11d02@rasmusvillemoes.dk> In-Reply-To: <08df1f08-1eea-0ee5-8e7b-6c427aa11d02@rasmusvillemoes.dk> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 07/11/2022 14.54, Rasmus Villemoes wrote: > On 28/09/2022 14.41, Rasmus Villemoes wrote: >> We have an imx8mp-based board with an external gpio-triggered >> watchdog. Currently, we don't get to handle that in time before it >> resets the board. >> >> The probe of the watchdog device gets deferred because the SOC's GPIO >> controller is not yet ready, and the probe of that in turn gets deferred >> because its clock provider (namely, this driver) is not yet >> ready. Altogether, the watchdog does not get handled until the late >> initcall deferred_probe_initcall has made sure all leftover devices >> have been probed, and that's way too late. >> >> Aside from being necessary for our board, this also reduces total boot >> time because fewer device probes get deferred. > > Please advise on what I need to do in order to make progress here. Ping.