From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Fri, 21 Oct 2022 13:45:40 +0200 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1olqT7-002pEr-Ss for lore@lore.pengutronix.de; Fri, 21 Oct 2022 13:45:40 +0200 Received: from bombadil.infradead.org ([2607:7c80:54:3::133]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1olqT5-0006ue-04 for lore@pengutronix.de; Fri, 21 Oct 2022 13:45:39 +0200 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:From:In-Reply-To: Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=kjGDmcYcOzzQcMnWMzSsRRfypqlV2rhThGu2WpDf9Ak=; b=seJhG8aewrhhBtD5a0d4yg7LRa R5UTklg+toSQwKNfONNDXOTL2ycnFfO7JzOvvmXqLlDGULHaN/sbr3q/G1WCzaFa8/eQRYcXfp3+s SkodqLpmpJI5ms/mrb/d4kYFWJ/ntt3u2hw2dFAIJW1aR1XoWpDBobcH8xScV2Kw0TLJ2AakARoMs 0At3JIOEGfvvMgT9ir+dxLzRQJwm4RJKqc3RofUK63lY6ggCMjqCLUGw1DE43iaeOAEHY7lznZ0F3 dsoE3QzjSswSmf3TYJRqO7ZF9jvEYu0QktrnWA2wpu/JBDTb3bcd3BAlKqpeqDUhdd6pdW2zlgrwf Czk2BU9Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1olqRV-007Rq3-1H; Fri, 21 Oct 2022 11:44:01 +0000 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1olqRQ-007RoR-1y for barebox@lists.infradead.org; Fri, 21 Oct 2022 11:43:57 +0000 Received: from ptx.hi.pengutronix.de ([2001:67c:670:100:1d::c0]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1olqRK-0006Y0-Fc; Fri, 21 Oct 2022 13:43:50 +0200 Received: from sha by ptx.hi.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1olqRK-0002ck-8l; Fri, 21 Oct 2022 13:43:50 +0200 Date: Fri, 21 Oct 2022 13:43:50 +0200 To: Alexander Shiyan Cc: Barebox List Message-ID: <20221021114350.GA6702@pengutronix.de> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Sent-From: Pengutronix Hildesheim X-URL: http://www.pengutronix.de/ X-Accept-Language: de,en X-Accept-Content-Type: text/plain User-Agent: Mutt/1.10.1 (2018-07-13) From: Sascha Hauer X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221021_044356_116101_61CD9214 X-CRM114-Status: GOOD ( 17.11 ) X-BeenThere: barebox@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "barebox" X-SA-Exim-Connect-IP: 2607:7c80:54:3::133 X-SA-Exim-Mail-From: barebox-bounces+lore=pengutronix.de@lists.infradead.org X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on metis.ext.pengutronix.de X-Spam-Level: X-Spam-Status: No, score=-4.8 required=4.0 tests=AWL,BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_NONE autolearn=unavailable autolearn_force=no version=3.4.2 Subject: Re: i.MX watchdog druver regression X-SA-Exim-Version: 4.2.1 (built Wed, 08 May 2019 21:11:16 +0000) X-SA-Exim-Scanned: Yes (on metis.ext.pengutronix.de) On Fri, Oct 21, 2022 at 12:53:59PM +0300, Alexander Shiyan wrote: > Hello! > > An error occurred while registering the i.MX watchdog driver: > > barebox 2022.06.0-00530-g31d9ff81c63c-dirty #44 Fri Oct 21 12:13:36 MSK 2022 > ... > ERROR: imx-watchdog 73f98000.watchdog@73f98000.of: probe failed: No > such file or directory > ... > > Thought it was the result of a patch "watchdog: imxwd: get and enable clock", > and added the line: > clks[IMX5_CLK_DUMMY] = clk_fixed("dummy", 0); > into the beginning of the mx5_clocks_common_init() function, but this > does not help... If the missing clock is the problem then you also have to tell the clock core that the dummy clock shall be provided to the watchdog, something like: clkdev_add_physbase(clks[IMX5_CLK_DUMMY], MX53_WDOG1_BASE_ADDR, NULL); clkdev_add_physbase(clks[IMX5_CLK_DUMMY], MX53_WDOG2_BASE_ADDR, NULL); similar is missing for i.MX51 as well Sascha -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |