From patchwork Mon Sep 18 09:02:15 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Benjamin Gaignard X-Patchwork-Id: 9955749 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 6EB5360208 for ; Mon, 18 Sep 2017 09:03:16 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5E43E28BDF for ; Mon, 18 Sep 2017 09:03:16 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5298228BFC; Mon, 18 Sep 2017 09:03:16 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_MED autolearn=unavailable version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id C6F1828BDF for ; Mon, 18 Sep 2017 09:03:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=ILZlFsFRe0mP7tJKLQFpzxxZuwwLWbfkE1yL7ocYoto=; b=lKjZkurhatY15p1dbzCFtAGUlj BD88YRdt2RZrz4jcQBMqDNUowCeqr86SZndk988PeYCwrCTuDJb+5sz9ZQ78AxDY/m4mZkAaI7xgH Ai2HPnq24mBEPOaC7er+7DtN/ZslaF/9dQ5/yIYAJ449HDloE6XYqChgew1ycvAjcGdxit/m3GwvR /wzo21vtkFVqPp7IZTfxiHXAsqRn0C8YZaW9mryqMbZcdOko3sTtBJtv/vNU4YIs6OlqZ0tGB5Hlh HocdjWOpKkTFn40p1T0+Pm/Ga7QuOL/1zC2sX2/c76sPdeMDBUeOyd8DkxwLacr1w9BZTZehJQRhq twbc9Hdw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dtrxO-00066H-TJ; Mon, 18 Sep 2017 09:03:10 +0000 Received: from mail-wm0-x22f.google.com ([2a00:1450:400c:c09::22f]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dtrx3-0005jJ-Tv for linux-arm-kernel@lists.infradead.org; Mon, 18 Sep 2017 09:02:54 +0000 Received: by mail-wm0-x22f.google.com with SMTP id e71so621181wmg.4 for ; Mon, 18 Sep 2017 02:02:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=G5YIS7hIBYSgFWZ67w6lo4uUDWPfdt4dfSo7J/z81lU=; b=UjJYgVxJHL5Z57xPlVGFEYWbLF32Acm2wxF893Mb+W8qYauS7OrPFMsNq/GOch3dsF tPNg0Y6qwNsylSMOo/bB0sLYwUBBxH0hwBV6VV4wU4lKREpWZFIP9hofighxXrAV9/yG lk/7Q3sgq+2vCnydhoilasJE8h6lX8veLbUPM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=G5YIS7hIBYSgFWZ67w6lo4uUDWPfdt4dfSo7J/z81lU=; b=FLapfxaicHgRwQ0Fk3vB+ETGy9Q0cC3l0/N3T9CLJWrE9p6CpqBtELjnmpfHLX/6tE i2+m17uPv4+v8rq+YSag+25NHorCdUqKN31fgBS/wRMC/moWzLVie1yA2UYm/hhEPt+c p+a663be8gBTbAnlcL5PM26FC2o0M8D5oxZWN8TmzwddyOPAhep2Fz8mVWhki6EE1/S0 J5NPWmPitqjfL6cR2dwFZKNPaQW3GerQMI1L5BUmYsEfbV/i70Ut1+/jrkaJacqrVNMg 0EfGORDF5qAoPjP2M20ZpVZXDeKASBphdyEyhA52vSEky4a2JHT6CauCRsCmmdIKx6SS cedw== X-Gm-Message-State: AHPjjUgQy5IyV4XvAtmedT3CI4W/vPsnMBy6lYwfH97IKVcKIa2NQNTe GFfd4U197rbm1mbX X-Google-Smtp-Source: AOwi7QC8SWxcN7nI1zXCl7IC8sUvwUIEDIW1Vjvum0xGVEg7JJimBnvgPjEg0dub2JYsqYuQYjNSuw== X-Received: by 10.28.66.65 with SMTP id p62mr8516654wma.159.1505725347893; Mon, 18 Sep 2017 02:02:27 -0700 (PDT) Received: from lmecxl0911.lme.st.com ([80.214.127.140]) by smtp.gmail.com with ESMTPSA id p80sm6201554wmf.42.2017.09.18.02.02.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 18 Sep 2017 02:02:27 -0700 (PDT) From: Benjamin Gaignard To: robh+dt@kernel.org, mark.rutland@arm.com, linux@armlinux.org.uk, mcoquelin.stm32@gmail.com, alexandre.torgue@st.com, daniel.lezcano@linaro.org, tglx@linutronix.de, ludovic.barre@st.com Subject: [PATCH v2 2/2] arm: dts: stm32: remove useless clocksource nodes Date: Mon, 18 Sep 2017 11:02:15 +0200 Message-Id: <1505725335-27081-3-git-send-email-benjamin.gaignard@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1505725335-27081-1-git-send-email-benjamin.gaignard@linaro.org> References: <1505725335-27081-1-git-send-email-benjamin.gaignard@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170918_020250_464944_E3A2228E X-CRM114-Status: UNSURE ( 8.65 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Benjamin Gaignard , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP 16 bits timers aren't accurate enough to be used as clocksource, remove them from stm32f4 and stm32f7 devicetree. Signed-off-by: Benjamin Gaignard --- arch/arm/boot/dts/stm32f429.dtsi | 32 -------------------------------- arch/arm/boot/dts/stm32f746.dtsi | 32 -------------------------------- 2 files changed, 64 deletions(-) diff --git a/arch/arm/boot/dts/stm32f429.dtsi b/arch/arm/boot/dts/stm32f429.dtsi index a8113dc..fd211cb 100644 --- a/arch/arm/boot/dts/stm32f429.dtsi +++ b/arch/arm/boot/dts/stm32f429.dtsi @@ -108,14 +108,6 @@ }; }; - timer3: timer@40000400 { - compatible = "st,stm32-timer"; - reg = <0x40000400 0x400>; - interrupts = <29>; - clocks = <&rcc 0 STM32F4_APB1_CLOCK(TIM3)>; - status = "disabled"; - }; - timers3: timers@40000400 { #address-cells = <1>; #size-cells = <0>; @@ -137,14 +129,6 @@ }; }; - timer4: timer@40000800 { - compatible = "st,stm32-timer"; - reg = <0x40000800 0x400>; - interrupts = <30>; - clocks = <&rcc 0 STM32F4_APB1_CLOCK(TIM4)>; - status = "disabled"; - }; - timers4: timers@40000800 { #address-cells = <1>; #size-cells = <0>; @@ -194,14 +178,6 @@ }; }; - timer6: timer@40001000 { - compatible = "st,stm32-timer"; - reg = <0x40001000 0x400>; - interrupts = <54>; - clocks = <&rcc 0 STM32F4_APB1_CLOCK(TIM6)>; - status = "disabled"; - }; - timers6: timers@40001000 { #address-cells = <1>; #size-cells = <0>; @@ -218,14 +194,6 @@ }; }; - timer7: timer@40001400 { - compatible = "st,stm32-timer"; - reg = <0x40001400 0x400>; - interrupts = <55>; - clocks = <&rcc 0 STM32F4_APB1_CLOCK(TIM7)>; - status = "disabled"; - }; - timers7: timers@40001400 { #address-cells = <1>; #size-cells = <0>; diff --git a/arch/arm/boot/dts/stm32f746.dtsi b/arch/arm/boot/dts/stm32f746.dtsi index 4506eb9..c4d0273 100644 --- a/arch/arm/boot/dts/stm32f746.dtsi +++ b/arch/arm/boot/dts/stm32f746.dtsi @@ -82,22 +82,6 @@ status = "disabled"; }; - timer3: timer@40000400 { - compatible = "st,stm32-timer"; - reg = <0x40000400 0x400>; - interrupts = <29>; - clocks = <&rcc 0 STM32F7_APB1_CLOCK(TIM3)>; - status = "disabled"; - }; - - timer4: timer@40000800 { - compatible = "st,stm32-timer"; - reg = <0x40000800 0x400>; - interrupts = <30>; - clocks = <&rcc 0 STM32F7_APB1_CLOCK(TIM4)>; - status = "disabled"; - }; - timer5: timer@40000c00 { compatible = "st,stm32-timer"; reg = <0x40000c00 0x400>; @@ -105,22 +89,6 @@ clocks = <&rcc 0 STM32F7_APB1_CLOCK(TIM5)>; }; - timer6: timer@40001000 { - compatible = "st,stm32-timer"; - reg = <0x40001000 0x400>; - interrupts = <54>; - clocks = <&rcc 0 STM32F7_APB1_CLOCK(TIM6)>; - status = "disabled"; - }; - - timer7: timer@40001400 { - compatible = "st,stm32-timer"; - reg = <0x40001400 0x400>; - interrupts = <55>; - clocks = <&rcc 0 STM32F7_APB1_CLOCK(TIM7)>; - status = "disabled"; - }; - rtc: rtc@40002800 { compatible = "st,stm32-rtc"; reg = <0x40002800 0x400>;