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=-2.4 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 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 674DFC55199 for ; Mon, 27 Apr 2020 07:01:45 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 466682080C for ; Mon, 27 Apr 2020 07:01:45 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="lxLMOkd1" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726604AbgD0HBo (ORCPT ); Mon, 27 Apr 2020 03:01:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48890 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726625AbgD0HBl (ORCPT ); Mon, 27 Apr 2020 03:01:41 -0400 Received: from mail-wm1-x341.google.com (mail-wm1-x341.google.com [IPv6:2a00:1450:4864:20::341]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3810CC061A41 for ; Mon, 27 Apr 2020 00:01:40 -0700 (PDT) Received: by mail-wm1-x341.google.com with SMTP id u16so19127528wmc.5 for ; Mon, 27 Apr 2020 00:01:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=QHAofsn8uU1kUPQWRssw/x34P9GiDf/VQqxTjU3liBY=; b=lxLMOkd1PYJiuXNbiS1a+eCzpOKElS/bsErxIHkznDJH5u6pIkk1E4X+4LqtwndjII eoJLlW2AwA1kBCEIU3pV2UTMMuCaBxuc+S+HbWL2IdklsTXEAnj7C4qO8ZVM0oJ1KCgg FfegEAT6rE7Rfwb72o5vN86xnJ3cIDBFa1wHdTXWhuQCIegoWHpUUq2YUV47/BMxPanm JwpSOt97R3sGlHkgClQopDUIliobBXJngq9kCSOA54w3UIBmslSEFwbQ7TxB/Ozvz1Sd Qwc+YTg3rcJePhkpF0S/sfuQkwPn7Cdv9ypurEQNp2H8MFVw83/Tx23Diw4qA0mjzNBg /W+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=QHAofsn8uU1kUPQWRssw/x34P9GiDf/VQqxTjU3liBY=; b=A4COPMy7pm20/RgEVB8bJsAD/kUUyEw5se2L69eVgbzQ8NOVzqvwo3iZUYX3SvZmM6 Ejfitl8l3ZsWc/oxLQtoXw/N/1GTRzaUfhjMDmXPfqQ082mcD82lU9QmBgeBW7ExQX/p 0Qbb9OTCdoG/jEIllCAiZo0ZRG0aQ3Tw92ielTi+xsUxiVEkUXvMJenbZn0cHLb0bcAS Q4NnP+fpYFKYImdEjayTqN7WUkw57mDLeVfCffxXcvOljJXR5hoZyXao7W0RY+pi3HuK be5UpLl83bsN8DBfVCgFyRgo89J0KL9MFFqe6Pvay2fQH3RrMaVuP85Kk/m764qgh2NF 5NOg== X-Gm-Message-State: AGi0PuYxDgMQjny7+KnPP1HbE/cSisY0PFu3OaSOnfv9ooiiXpG83m+A xQ1tAY3RpSxF+4UZ+z1E9SdyQQ== X-Google-Smtp-Source: APiQypIxdT2HUhgGkoWPlHuZswORpnAHJK6SShlkzX3VJ6JLRM5EuzMolS4/U7skbaaoQTdl+dh97Q== X-Received: by 2002:a7b:c0cb:: with SMTP id s11mr26429338wmh.180.1587970898665; Mon, 27 Apr 2020 00:01:38 -0700 (PDT) Received: from [192.168.0.41] (lns-bzn-59-82-252-135-148.adsl.proxad.net. [82.252.135.148]) by smtp.googlemail.com with ESMTPSA id k133sm15433186wma.0.2020.04.27.00.01.37 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 27 Apr 2020 00:01:38 -0700 (PDT) Subject: Re: [PATCH 00/14] Update omaps to use drivers/clocksource timers To: Tony Lindgren , linux-omap@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, "H. Nikolaus Schaller" , Aaro Koskinen , Adam Ford , Andreas Kemnade , Keerthy , Lokesh Vutla , Michael Turquette , Stephen Boyd , Tero Kristo , Thomas Gleixner , devicetree@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org References: <20200417165519.4979-1-tony@atomide.com> From: Daniel Lezcano Message-ID: <9cee6c42-781e-6897-abcc-a470732327a8@linaro.org> Date: Mon, 27 Apr 2020 09:01:36 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 In-Reply-To: <20200417165519.4979-1-tony@atomide.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Hi Tony, On 17/04/2020 18:55, Tony Lindgren wrote: > Hi all, > > Here's a series of changes to udpate omaps to use drivers/clocksource > timers for the 32k counter and dmtimer and to remove the old legacy > platform code. Please review and test. > > Daniel, if the the first two patches look OK after review, maybe you > can again set up an immutable branch for the first two patches against > v5.7-rc1 that I can merge in? Ok let me review the patches. > Tony Lindgren (14): > clocksource/drivers/timer-ti-32k: Add support for initializing > directly > clocksource/drivers/timer-ti-dm: Add clockevent and clocksource > support > clk: ti: dm816: enable sysclk6_ck on init > bus: ti-sysc: Ignore timer12 on secure omap3 > ARM: OMAP2+: Add omap_init_time_of() > ARM: dts: Configure system timers for am335x > ARM: dts: Configure system timers for am437x > ARM: dts: Configure system timers for omap4 > ARM: dts: Configure system timers for omap5 and dra7 > ARM: dts: Configure system timers for omap3 > ARM: dts: Configure system timers for ti81xx > ARM: dts: Configure system timers for omap2 > ARM: OMAP2+: Drop old timer code for dmtimer and 32k counter > bus: ti-sysc: Timers no longer need legacy quirk handling > > .../devicetree/bindings/timer/ti,timer.txt | 2 + > arch/arm/boot/dts/am33xx-l4.dtsi | 2 - > arch/arm/boot/dts/am33xx.dtsi | 12 + > arch/arm/boot/dts/am3517.dtsi | 16 +- > arch/arm/boot/dts/am4372.dtsi | 12 + > arch/arm/boot/dts/am437x-l4.dtsi | 3 - > arch/arm/boot/dts/dm814x.dtsi | 66 +- > arch/arm/boot/dts/dm816x.dtsi | 70 ++- > arch/arm/boot/dts/dra7-l4.dtsi | 5 - > arch/arm/boot/dts/dra7.dtsi | 6 + > arch/arm/boot/dts/omap2.dtsi | 38 +- > arch/arm/boot/dts/omap2420.dtsi | 65 +- > arch/arm/boot/dts/omap2430.dtsi | 65 +- > arch/arm/boot/dts/omap3-beagle.dts | 16 + > arch/arm/boot/dts/omap3-devkit8000.dts | 16 + > arch/arm/boot/dts/omap3.dtsi | 130 +++- > arch/arm/boot/dts/omap4-l4.dtsi | 2 - > arch/arm/boot/dts/omap4.dtsi | 6 + > arch/arm/boot/dts/omap5-l4.dtsi | 2 - > arch/arm/boot/dts/omap5.dtsi | 6 + > arch/arm/mach-omap2/Makefile | 4 +- > arch/arm/mach-omap2/board-generic.c | 32 +- > arch/arm/mach-omap2/common.h | 7 + > arch/arm/mach-omap2/omap_hwmod_2420_data.c | 20 - > arch/arm/mach-omap2/omap_hwmod_2430_data.c | 19 - > .../omap_hwmod_2xxx_interconnect_data.c | 8 - > .../mach-omap2/omap_hwmod_2xxx_ipblock_data.c | 47 -- > .../omap_hwmod_33xx_43xx_common_data.h | 2 - > .../omap_hwmod_33xx_43xx_interconnect_data.c | 8 - > .../omap_hwmod_33xx_43xx_ipblock_data.c | 62 -- > arch/arm/mach-omap2/omap_hwmod_33xx_data.c | 10 - > arch/arm/mach-omap2/omap_hwmod_3xxx_data.c | 146 +---- > arch/arm/mach-omap2/omap_hwmod_43xx_data.c | 45 -- > arch/arm/mach-omap2/omap_hwmod_44xx_data.c | 90 --- > arch/arm/mach-omap2/omap_hwmod_54xx_data.c | 89 --- > arch/arm/mach-omap2/omap_hwmod_7xx_data.c | 176 ------ > arch/arm/mach-omap2/omap_hwmod_81xx_data.c | 74 --- > arch/arm/mach-omap2/omap_hwmod_common_data.h | 3 - > arch/arm/mach-omap2/timer.c | 568 +----------------- > drivers/bus/ti-sysc.c | 25 +- > drivers/clk/ti/clk-816x.c | 1 + > drivers/clocksource/Makefile | 1 + > drivers/clocksource/timer-ti-32k.c | 48 +- > drivers/clocksource/timer-ti-dm-systimer.c | 468 +++++++++++++++ > include/clocksource/timer-ti-dm.h | 1 + > 45 files changed, 1016 insertions(+), 1478 deletions(-) > create mode 100644 drivers/clocksource/timer-ti-dm-systimer.c > -- Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog