Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754254AbeAHRcW (ORCPT + 1 other); Mon, 8 Jan 2018 12:32:22 -0500 Received: from terminus.zytor.com ([65.50.211.136]:44157 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754013AbeAHRcV (ORCPT ); Mon, 8 Jan 2018 12:32:21 -0500 Date: Mon, 8 Jan 2018 09:28:44 -0800 From: tip-bot for Baolin Wang Message-ID: Cc: robh+dt@kernel.org, daniel.lezcano@linaro.org, baolin.wang@spreadtrum.com, mark.rutland@arm.com, mingo@kernel.org, peterz@infradead.org, tglx@linutronix.de, torvalds@linux-foundation.org, linux-kernel@vger.kernel.org, robh@kernel.org, hpa@zytor.com Reply-To: mark.rutland@arm.com, mingo@kernel.org, baolin.wang@spreadtrum.com, daniel.lezcano@linaro.org, robh+dt@kernel.org, linux-kernel@vger.kernel.org, hpa@zytor.com, robh@kernel.org, torvalds@linux-foundation.org, tglx@linutronix.de, peterz@infradead.org In-Reply-To: <1515418139-23276-7-git-send-email-daniel.lezcano@linaro.org> References: <1515418139-23276-7-git-send-email-daniel.lezcano@linaro.org> To: linux-tip-commits@vger.kernel.org Subject: [tip:timers/core] dt-bindings/clocksource: Add Spreadtrum SC9860 timer documentation Git-Commit-ID: 286f30db8b713b17e048bb86df1e257fd8695498 X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: Commit-ID: 286f30db8b713b17e048bb86df1e257fd8695498 Gitweb: https://git.kernel.org/tip/286f30db8b713b17e048bb86df1e257fd8695498 Author: Baolin Wang AuthorDate: Mon, 8 Jan 2018 14:28:46 +0100 Committer: Ingo Molnar CommitDate: Mon, 8 Jan 2018 17:57:24 +0100 dt-bindings/clocksource: Add Spreadtrum SC9860 timer documentation This patch adds documentation of device tree bindings for the timers found on the Spreadtrum SC9860 platform. Signed-off-by: Baolin Wang Signed-off-by: Daniel Lezcano Acked-by: Rob Herring Cc: Linus Torvalds Cc: Mark Rutland Cc: Peter Zijlstra Cc: Rob Herring Cc: Thomas Gleixner Cc: devicetree@vger.kernel.org Link: http://lkml.kernel.org/r/1515418139-23276-7-git-send-email-daniel.lezcano@linaro.org Signed-off-by: Ingo Molnar --- .../bindings/timer/spreadtrum,sprd-timer.txt | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/Documentation/devicetree/bindings/timer/spreadtrum,sprd-timer.txt b/Documentation/devicetree/bindings/timer/spreadtrum,sprd-timer.txt new file mode 100644 index 0000000..6d97e7d --- /dev/null +++ b/Documentation/devicetree/bindings/timer/spreadtrum,sprd-timer.txt @@ -0,0 +1,20 @@ +Spreadtrum timers + +The Spreadtrum SC9860 platform provides 3 general-purpose timers. +These timers can support 32bit or 64bit counter, as well as supporting +period mode or one-shot mode, and they are can be wakeup source +during deep sleep. + +Required properties: +- compatible: should be "sprd,sc9860-timer" for SC9860 platform. +- reg: The register address of the timer device. +- interrupts: Should contain the interrupt for the timer device. +- clocks: The phandle to the source clock (usually a 32.768 KHz fixed clock). + +Example: + timer@40050000 { + compatible = "sprd,sc9860-timer"; + reg = <0 0x40050000 0 0x20>; + interrupts = ; + clocks = <&ext_32k>; + };