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=-3.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS 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 4946CC54FD0 for ; Fri, 24 Apr 2020 15:37:47 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 2ECB120776 for ; Fri, 24 Apr 2020 15:37:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728929AbgDXPho (ORCPT ); Fri, 24 Apr 2020 11:37:44 -0400 Received: from muru.com ([72.249.23.125]:51218 "EHLO muru.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728922AbgDXPhn (ORCPT ); Fri, 24 Apr 2020 11:37:43 -0400 Received: from atomide.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id CAA4080E7; Fri, 24 Apr 2020 15:38:30 +0000 (UTC) Date: Fri, 24 Apr 2020 08:37:40 -0700 From: Tony Lindgren To: Tero Kristo Cc: linux-clk@vger.kernel.org, sboyd@kernel.org, mturquette@baylibre.com, linux-omap@vger.kernel.org Subject: Re: [PATCH] clk: ti: am33xx: fix RTC clock parent Message-ID: <20200424153740.GI37466@atomide.com> References: <20200424152301.4018-1-t-kristo@ti.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200424152301.4018-1-t-kristo@ti.com> Sender: linux-clk-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org * Tero Kristo [200424 15:23]: > Right now, trying to use RTC purely with the ti-sysc / clkctrl framework > fails to enable the RTC module properly. Based on experimentation, this > appears to be because RTC is sourced from the clkdiv32k optional clock. > TRM is not very clear on this topic, but fix the RTC to use the proper > source clock nevertheless. > > Reported-by: Tony Lindgren > Signed-off-by: Tero Kristo This fixes the issue where RTC won't get enabled unless the clock is enabled by the bootloader or early init code: Acked-by: Tony Lindgren