Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755632Ab3DMA1s (ORCPT ); Fri, 12 Apr 2013 20:27:48 -0400 Received: from wolverine02.qualcomm.com ([199.106.114.251]:37756 "EHLO wolverine02.qualcomm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752975Ab3DMA1q (ORCPT ); Fri, 12 Apr 2013 20:27:46 -0400 X-IronPort-AV: E=Sophos;i="4.87,466,1363158000"; d="scan'208";a="38215026" From: Stephen Boyd To: linux-arm-kernel@lists.infradead.org Cc: linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Mark Rutland , Marc Zyngier , devicetree-discuss@lists.ozlabs.org Subject: [PATCHv2 0/4] Memory mapped architected timers Date: Fri, 12 Apr 2013 17:27:39 -0700 Message-Id: <1365812863-5367-1-git-send-email-sboyd@codeaurora.org> X-Mailer: git-send-email 1.8.2.1.342.gfa7285d Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1709 Lines: 37 This patchset adds support for memory mapped architected timers. We don't have any other global broadcast timer in our system, so we use the mmio timer during low power modes. The first patch is the binding. The next two patches lay some groundwork so that the last patch is simpler. The final patch adds support for mmio timers. Patches are based on a recent patch from Mark that removes the physical count reading (clocksource: arch_timer: use virtual counter, message id <1364404312-4427-4-git-send-email-mark.rutland@arm.com>). Updates since v1: * Assigned counter reading function and commented why for arm64 * Updated DT binding to replace frame-id with frame-number and use status property Stephen Boyd (4): Documentation: Add memory mapped ARM architected timer binding ARM: arch_timers: Pass clock event to set_mode callback clocksource: arch_timer: Push the read/write wrappers deeper clocksource: arch_timer: Add support for memory mapped timers .../devicetree/bindings/arm/arch_timer.txt | 59 ++- arch/arm/include/asm/arch_timer.h | 5 +- arch/arm64/include/asm/arch_timer.h | 4 +- drivers/clocksource/arm_arch_timer.c | 455 +++++++++++++++++---- include/clocksource/arm_arch_timer.h | 4 +- 5 files changed, 449 insertions(+), 78 deletions(-) -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, hosted by The Linux Foundation -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/