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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 80BAFC54EE9 for ; Tue, 27 Sep 2022 20:12:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: Content-Transfer-Encoding:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:From:References:Cc:To:Subject: MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=pOpqBAVHeAMajoDyAWDyJtIAtwDq7NpY+MVDr5pkOSo=; b=ohQhaYbna/sCzq QbOTMT5XDRZfCZIfQ6uIl0YeCt0sK5MBfdF/f+dxMjuPZvh4lIqCsphx9H5N1HMTQzKD/4iYNGSUT i4JdHFGG0BKlF0G2UApDMeYva0nHvS1k7IAE1ffmV1bwHRprdcKQTLL3CUP5rTZCA0EE+ywY9CSC/ 5KSEaitd5et/4VppeL4xBTDrvJanf7CPge0CaGnryQSKCP5CUFXN77s8HLsgkHguhYnpHSG1Xm0Fl AXy0g8/8xsFzSsp/8I5ow6cuS2RCrAMYF71j1SemH8CRnGYk4IqdGzem4rkiUJL/EVFiRQOXVpfVP 3w5y1COTTq6lZx9Y/GYQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1odGuv-00CVyJ-Hd; Tue, 27 Sep 2022 20:10:57 +0000 Received: from phobos.denx.de ([85.214.62.61]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1odGus-00CVxQ-MJ for linux-arm-kernel@lists.infradead.org; Tue, 27 Sep 2022 20:10:56 +0000 Received: from [127.0.0.1] (p578adb1c.dip0.t-ipconnect.de [87.138.219.28]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: marex@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id 3A64784CB8; Tue, 27 Sep 2022 22:10:52 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1664309452; bh=+nadupiKS2I4ng3IGoOQGeXvbEwdYwVZDXDxmr70+/E=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=iDwkZdJjf9iesJUbyccnqNew0vOzrPVhXIJsQejni9zMFYkSihQ9hcK6T3zXDG/c4 pY4YK1Sc8FR/OwOcyug9oo+PMHudVk4gAdEe8NK6qVkSCNDV2/F9Zl8NCcwzgw0Ml+ Smjp7oaIayq/mCwRWMLYUPrC2dpHyNtAJOTUS3xq3eB2q935lAOJVQCQK2ivolT4Ve J9sqE3IZVcDRXdK19yC3xjB2Cu42ucnzf0IngjHvS6bXnSariIaoDFPLVXn8mWzdqn GWx6dmfj665v82TLsJ3GGjlTTGJXIZn57Rq449mE3247lvRnJ7oHMaG2JM0JFZ1gy9 cta6/ziZN/Oeg== Message-ID: <0bb82751-a611-e8cd-54bd-e0d04b709133@denx.de> Date: Tue, 27 Sep 2022 22:10:51 +0200 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] arm64: dts: imx8mm: Model PMIC to SNVS RTC clock path on Data Modul i.MX8M Mini eDM SBC Content-Language: en-US To: Tim Harvey Cc: linux-arm-kernel@lists.infradead.org, Fabio Estevam , NXP Linux Team , Peng Fan , Shawn Guo References: <20220924174603.458956-1-marex@denx.de> From: Marek Vasut In-Reply-To: X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220927_131055_099032_E32CC9FB X-CRM114-Status: GOOD ( 12.92 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 9/27/22 21:43, Tim Harvey wrote: Tim, > Marek, > > The modeling here makes sense, but I tried this on the boards I have > with the rohm,bd71847 and it did not bump the clk_enable_count for > clk-32k-out and thus drivers/clk/clk-bd718x7.c still disables the > clock. Is something else required to make that happen? The only thing I can think of is, do you have SNVS_RTC driver enabled and compiled in, just like the PMIC, or are they maybe modules ? You can always try and add a printk() into the snvs rtc driver and see whether the clk_get there doesn't fail for some reason, and what the error code is. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel