Received: by 10.223.164.202 with SMTP id h10csp2510072wrb; Mon, 27 Nov 2017 18:55:35 -0800 (PST) X-Google-Smtp-Source: AGs4zMYcWjgUnnmvR7sjwtRfoobNKU5DoYkbHv6UvImk9ir6wFyJUC5yaN68Lpaz+HVBm3H5OIOE X-Received: by 10.84.233.1 with SMTP id j1mr21527575plk.311.1511837735324; Mon, 27 Nov 2017 18:55:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511837735; cv=none; d=google.com; s=arc-20160816; b=N7sAdttP2oEHEtGJ7PIJ5Kq9NSfrwaMa11cMOji+LoQ/SvWzRWl+eGlynoOvISnnhr GuL3tCN/MD40x0hm48HOnyrOMxV2df4R3rGvoxL9cCGQ0Yg6tVL9aM61MVCJqYEBDdkA YoOqMMq2gQyFigCGMzIliVLTJy+z2hRfLSuD4pr8WYq30VRk5V0ukMNZE6MW4Eq1mAlW WH59N7Y+l3VQ6HpSPf2zwFEpNZOwil/cmXeeZtzO1uQhKUG+G+jhbnvxV0sz0nltnblr dlbuy1YJOVaMjAvxuT8jkao1hHo9gUMEW4XQQfUlwcA+2RQwEoA9MqeZzbIxjUmkhC4h Vl0w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from:arc-authentication-results; bh=t79zleo+BMlU0eqEaLdO6tU8VWV35GpU227VmPejrck=; b=Iawknzk1dnB6KfL4pbHoOGL22nHhIhzBzTUxQqOK3gIHFa79uLwq8tP6er0QAZcj5O 9He/gy9Z9pub3kUAGYSR1kI8ElqxLFyLzDMuDhHPycjx2ZCPOmQs+2aqTucYQRn0DSOx sIunPVqdVoqrdmRFjFj6EQcGrFI3LIKf+H/nNWB4CqNwAJgXo/lPUIh+eyjeJQlDgbEC mqmqk39PTis+JD+BJEvMWPCzwrftndb5PaZdANA6Z+k8747mpTKeFWL8B/8fQQ05sgBC dsOvHtPuc0mynjj2/aUFZZDbQpK2s2aHBVvf/DHKu5L7SJN3flgdwej/tQeitK2Tt2/X BASg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l11si24925254pln.308.2017.11.27.18.55.23; Mon, 27 Nov 2017 18:55:35 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753634AbdK1CxX (ORCPT + 78 others); Mon, 27 Nov 2017 21:53:23 -0500 Received: from sci-ig2.spreadtrum.com ([222.66.158.135]:29677 "EHLO SHSQR01.spreadtrum.com" rhost-flags-OK-FAIL-OK-OK) by vger.kernel.org with ESMTP id S1753303AbdK1CxW (ORCPT ); Mon, 27 Nov 2017 21:53:22 -0500 Received: from ig2.spreadtrum.com (shmbx01.spreadtrum.com [10.0.1.203]) by SHSQR01.spreadtrum.com with ESMTP id vAS2oRjS031474 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 28 Nov 2017 10:50:27 +0800 (CST) (envelope-from Orson.Zhai@spreadtrum.com) Received: from SHCAS02.spreadtrum.com (10.0.1.202) by SHMBX01.spreadtrum.com (10.0.1.203) with Microsoft SMTP Server (TLS) id 15.0.847.32; Tue, 28 Nov 2017 10:50:56 +0800 Received: from localhost (10.0.73.143) by SHCAS02.spreadtrum.com (10.0.1.250) with Microsoft SMTP Server (TLS) id 15.0.847.32 via Frontend Transport; Tue, 28 Nov 2017 10:50:56 +0800 From: Baolin Wang To: , , , CC: , , , , Subject: [PATCH v2 1/2] dt-bindings: clocksource: Add Spreadtrum SC9860 timer Date: Tue, 28 Nov 2017 10:45:12 +0800 Message-ID: <1b80566bd849d68b0fc8de54ecbbc7b4efbb1077.1511836284.git.baolin.wang@spreadtrum.com> X-Mailer: git-send-email 2.12.2 MIME-Version: 1.0 Content-Type: text/plain X-MAIL: SHSQR01.spreadtrum.com vAS2oRjS031474 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch adds documentation of device tree bindings for the timers found on Spreadtrum SC9860 platform. Signed-off-by: Baolin Wang Acked-by: Rob Herring --- Changes since v1: - Add acked tag from Rob. --- .../bindings/timer/spreadtrum,sprd-timer.txt | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 Documentation/devicetree/bindings/timer/spreadtrum,sprd-timer.txt 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..f9d5eb9 --- /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. +- clock-frequency: The frequency of the clock that drives the counter, in Hz. + +Example: + timer@40050000 { + compatible = "sprd,sc9860-timer"; + reg = <0 0x40050000 0 0x20>; + interrupts = ; + clock-frequency = <32768>; + }; -- 1.7.9.5 From 1585306482741994462@xxx Tue Nov 28 10:47:56 +0000 2017 X-GM-THRID: 1585306482741994462 X-Gmail-Labels: Inbox,Category Updates,HistoricalUnread