Received: by 2002:a25:23cc:0:0:0:0:0 with SMTP id j195csp1001888ybj; Tue, 5 May 2020 11:11:54 -0700 (PDT) X-Google-Smtp-Source: APiQypK8zcNGU2XQse9+GSAmjUGYBnjghQoZsjrA0Nu6o5iNKO7zbkJkYyxCToDf3HoVA8viRSlo X-Received: by 2002:a17:906:f0d9:: with SMTP id dk25mr3909138ejb.266.1588702314253; Tue, 05 May 2020 11:11:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588702314; cv=none; d=google.com; s=arc-20160816; b=LTqwSym+xBeqvL41NdOcHN3dp9I4/bNLAsaByJVfRxsBfaisXO2IfjPsOxSTyY0dV8 kMB9KTsQazIbEHKiaSQOvn1Q+Q7uyfyl10m02azRIJ4TRntzVeoLwwkMUAMlhOJFjxm4 WTB5Xo/b5wSxNRmHG6CG2U1oSVMKVf/y1CXy+07Iix8IeGFZv7JiiL/oCFe5tI75vMQD apQ8KnNNMuIvHhJEbBS3pfxaX6QTv/GnXSIkKsnCeN032m26p0pPjP1Ca+3LNXqtZEc0 wR1DKLrKydV1j/72kxHr4aMqn4J2sxbdN7BmiO4nktLkElTeUdEoZTFa/68UMlaKc3EZ 43Gg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=xWF2bGbhPv1kjXf6iwVjjsXJuXQ/MoA4MOmNhu6CrJo=; b=jlXRDoTEGlaruho+TkWdn+OsI92bzZaFhtbxQs2Xa4demCrRfULhJs5ZPuoUo1wjk9 TcqdQxSzgJ1PVs5RxlWuFUlMWwdhoYRwNoLxMRCkXcWQwJtviCx3kwThaxp9pPny3ao8 hVQM7OeHqqJDxw77133U8o2Y0HkS/YeJaoSE5Afj4SyHNwpyZ+aUx8Rzco5QNvemVYaj EnS6ek6dR5Phpa3NZSAJfVKxcPkL7qPQwheZ2TLvFxKUCX9GaJT7sU7Hnm/9138fUzma HZgCW4H62BNMFc9rMVFkm+WpGBdyDEI83GCMygw6Hba0dbl+Y660dlLMSuw2zFEiWASd FUmw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id cy17si1753321edb.84.2020.05.05.11.11.30; Tue, 05 May 2020 11:11:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730701AbgEESHj (ORCPT + 99 others); Tue, 5 May 2020 14:07:39 -0400 Received: from muru.com ([72.249.23.125]:52916 "EHLO muru.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729315AbgEESHj (ORCPT ); Tue, 5 May 2020 14:07:39 -0400 Received: from atomide.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id C3AD880A5; Tue, 5 May 2020 18:08:26 +0000 (UTC) Date: Tue, 5 May 2020 11:07:34 -0700 From: Tony Lindgren To: Lokesh Vutla Cc: daniel.lezcano@linaro.org, Tero Kristo , Sekhar Nori , Suman Anna , Linux OMAP Mailing List , linux-kernel@vger.kernel.org Subject: Re: [PATCH] clocksource/drivers/timer-ti-dm: Do one override clock parent in prepare() Message-ID: <20200505180734.GN37466@atomide.com> References: <20200427172831.16546-1-lokeshvutla@ti.com> <20200428182209.GT37466@atomide.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200428182209.GT37466@atomide.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Tony Lindgren [200428 18:23]: > * Lokesh Vutla [200427 17:29]: > > omap_dm_timer_prepare() is setting up the parent 32KHz clock. This > > prepare() gets called by request_timer in the client's driver. Because of > > this, the timer clock parent that is set with assigned-clock-parent is being > > overwritten. So drop this default setting of parent in prepare(). > > > > Signed-off-by: Lokesh Vutla > > This works just fine for me but depends on the dts changes. > > Daniel, for merging, do you want to set up an immutable branch > for the related dts change and this? I'm afraid it will conflict > with the related systimer changes for the dts otherwise. So I've pushed out an immutable branch for the dts changes this patch depends on against v5.7-rc1 as omap-for-v5.8/dt-timer [0][1]. Daniel feel free to merge it in to apply this clocksource patch if no more comments: Acked-by: Tony Lindgren [0] git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap.git omap-for-v5.8/dt-timer [1] https://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap.git/log/?h=omap-for-v5.8/dt-timer