Received: by 10.223.164.202 with SMTP id h10csp294462wrb; Tue, 14 Nov 2017 01:24:40 -0800 (PST) X-Google-Smtp-Source: AGs4zMaDy4u2r/X8cPamMiVip7r4xNkkL5O38IJhP+RFPrseVmFSTGbPSlt9+xovdG+Jhe66C7pg X-Received: by 10.84.135.162 with SMTP id 31mr11724185plj.23.1510651480144; Tue, 14 Nov 2017 01:24:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510651480; cv=none; d=google.com; s=arc-20160816; b=DEDOZYIXjaekg4tOGKhcNaZAK9izNRXNB/pz41zKoJFYDdA3amQPXk3OzS4llYV0E6 /vDihsaVg1Bio51u6N8T1ZwF8D1KtpZr/NU1bdZAyj9cc0q6KAqhna8MHXTUDk/B783j w6ShWSepZ6hTJKOl7T6x/n3Ciqk1aP0kIcYD5xRJz7DNDAeXSPwV8rlM+vArOhPtjvr+ 4F74gRYab8oKNaPlFTyjz++71wyif7xUXkEUf5D3ZqyVWMFfqZ9Ile7T+gOyOhcCqNQB ai3SG3qNAem34ZVte/Tziod0kfwW//mtqp90nZ1b/g/jGUXC9EPDjcbpBGS26DmUmdSr L88A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=K1R6K8x1CK4MIUCSUPYJBOkoIjOUnPeIySKsSh/JbMQ=; b=W9Gs/+3Cp/JX4kTo88Vp48U9kSgvUtrOiRAUY5iDF03Kq8+5vhtacX7yReIWgiuwST 4rw0ZBVd/9J1LAdPVm9dqce9UwAhGabPKmtYavS5OMEqS7YTlEWkOqHhCIBCBlsvGAsd ozLStjs/QrRVGPpueyxNib6dTm1a7piwnK5uL+XGJRCDxCIs7gbAiEdpJpEIo5p86Gm6 ON1Otu81lp9YL973oFR7GwTSilvXaBcBMZTfP17B+eEMkzO/Zj1+qjmUsFBHtZ8F9fCA valqdVJnuLSxLTjqQiQQtNi4X3FGI/srrXeYP84y1fIylgIuaXHV0v1ZvodxxUCH3My5 gxwQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=KOw4zd9n; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e7si11158628plt.807.2017.11.14.01.24.28; Tue, 14 Nov 2017 01:24:40 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=KOw4zd9n; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753248AbdKNIxZ (ORCPT + 88 others); Tue, 14 Nov 2017 03:53:25 -0500 Received: from mail-wm0-f67.google.com ([74.125.82.67]:56232 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752952AbdKNIxR (ORCPT ); Tue, 14 Nov 2017 03:53:17 -0500 Received: by mail-wm0-f67.google.com with SMTP id 9so14701314wme.4 for ; Tue, 14 Nov 2017 00:53:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=K1R6K8x1CK4MIUCSUPYJBOkoIjOUnPeIySKsSh/JbMQ=; b=KOw4zd9nShytCfbbGryOyOb+SpRKYLI0tCao6TG8D8gZQoTeRDrYjW2YdfMzBUYy6z Z7KqwJarFbKJdnwjlNhbAuOrK+0x2MwmVylsRCnOvvrGnrqQmDB5ljbT0USGVQY69LJl 43Ta0ZmCcUvXW+R1dKAbDG1da3pjkK2r2k304= 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; bh=K1R6K8x1CK4MIUCSUPYJBOkoIjOUnPeIySKsSh/JbMQ=; b=gJfdEPOjmugcz+TfY7z4HirKhS4bXa8bvI7IonhEzKZbyX8krUqZuX0OlOoldnBDFX KMrXdzTwFKoZKxh3VWxa9gxIHHcgf7X2n/tL2uqJJuFHula5s4z/+AuNBzoajrNZjpLK j/4A7y8bmfUORWXFyGZYG16fW1AwRdKq42s/67GZ7OKGL3COgBuE+DmMxNuRC7+/YOmg k7RyNhAFifuNvmB0ycvLhkDy3PkFR9+FDSRVFy7NfPFsjDwk4E/YhKKI8sibVkeaACa4 TdePMgPEJtqX7ewS823PDYWotzCCpB1k+Nr+kWuTDXQiMm87HoxLkIvczBAOPBARs5jO HeiA== X-Gm-Message-State: AJaThX6w+JzwU7674ApqE25ykfkqqWqkCvA95Qx/N4jFOH9HSh5ERUR8 BbZ05a3ezDHRqsbCYotp1UXDmA== X-Received: by 10.28.150.144 with SMTP id y138mr8675932wmd.145.1510649596582; Tue, 14 Nov 2017 00:53:16 -0800 (PST) Received: from lmecxl0911.lme.st.com ([80.215.205.30]) by smtp.gmail.com with ESMTPSA id g28sm22894551wra.31.2017.11.14.00.53.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 14 Nov 2017 00:53:15 -0800 (PST) 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, julien.thierry@arm.com, sudeep.holla@arm.com, arnd@arndb.de Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Benjamin Gaignard Subject: [PATCH v8 0/6] stm32 clocksource driver rework Date: Tue, 14 Nov 2017 09:52:37 +0100 Message-Id: <1510649563-22975-1-git-send-email-benjamin.gaignard@linaro.org> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org version 8: - rebased on timers/core - change timer_of_exit() name to timer_of_cleanup() - update stm32 clocksource driver to use this function version 7: - reword "clocksource: stm32: only use 32 bits timers" commit message to give more details about why 16 bits are problematics. version 6: - add dedicated patch min delta change - rework commit messages, I hope it will be better now - change new function name from timer_of_deinit to timer_of_exit - make stm32_clock_event_set_next_event() safer like done in other drivers version 6: - add timer_of_deinit function in core - rework failure cases in probe function version 5: - rebase on top of timer/core branch - rework commit message of the first patch version 4: - split patch in 3 parts - convert code to timer_of - only use 32 bits timers - add clocksource support version 3: - fix comments done by Daniel - use timer_of helper functions version 2: - fix uninitialized variable Benjamin Gaignard (6): clocksource: timer_of: rename timer_of_exit to timer_of_cleanup clocksource: stm32: convert driver to timer_of clocksource: stm32: increase min delta value clocksource: stm32: only use 32 bits timers clocksource: stm32: add clocksource support arm: dts: stm32: remove useless clocksource nodes arch/arm/boot/dts/stm32f429.dtsi | 32 ----- arch/arm/boot/dts/stm32f746.dtsi | 32 ----- drivers/clocksource/Kconfig | 1 + drivers/clocksource/timer-of.c | 9 +- drivers/clocksource/timer-of.h | 2 +- drivers/clocksource/timer-stm32.c | 242 ++++++++++++++++++++------------------ 6 files changed, 138 insertions(+), 180 deletions(-) -- 2.7.4 From 1586683610676444034@xxx Wed Dec 13 15:36:47 +0000 2017 X-GM-THRID: 1586033433502799002 X-Gmail-Labels: Inbox,Category Forums