From patchwork Mon Jan 8 13:28:46 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Lezcano X-Patchwork-Id: 123725 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp2731854qgn; Mon, 8 Jan 2018 05:33:51 -0800 (PST) X-Google-Smtp-Source: ACJfBosMxJnNmGmDdK5VE5+65G3arcq1kqffZv72hCIACfhNZbqItYFuFBoHYQhhkAZlE2YqlipD X-Received: by 10.99.112.70 with SMTP id a6mr1220010pgn.152.1515418430929; Mon, 08 Jan 2018 05:33:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1515418430; cv=none; d=google.com; s=arc-20160816; b=dEBp9HqQcwY78IVmF2rKxe8F5IWeiYGUnWnT9WqJNXxG6uiIiRi3HVY6t2hmJsCt0s qUhSE28GTLZtv82nRFSAWUjwMKejs8p+T4SIt8Jt7bHxzpGBZmuNIWiMBsiU380U5ldK L2HKxsyqNL0scKU/KLdKg9mfKtj3CMIRDYy3zc0iu2jGcOE2SapfRCfD4YENddNbICgR RGddEEKB1ZrdH5VXWNCb+lbB3A1zLJfZrMa0aKPcDfIfKzdmYELvxtnuw/LYMC4fviW3 HuR7XHlUl205yYAjCL3Z0uGA92gfGbzJzxk+V27f5QvwTaL4e5JNee+VbM3acvHvLXef 2yvw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=fvznOKhVJY+kExi7CVSi2bZJkroAG3oDeaRoivJXd6c=; b=KK/YfPNt8qr88e3cmIX1ns9Z9jwuA6fSHH7vnklNCB9nC6thIM7MyFmIJuMNGx4cM3 kOaHpiWXc2jTnWSPZ+LepsJVcJQoXVsc+58rVLGcQIEU4zfNJafGldkgNNdrbnUqcXOm z2nPFdgDRP1JI0DPMC0PwF+9o43IbX4vaykCQNrLZBGMr67c4JPNU9g8dT5RjKdMV+Dn qNmyEBBERQ7BrkAMR4wk/32PDFMBYRmcMtO/nacDwXCHRAPufg0MIBYecwEcdWABxCl9 K1iSxUwLO5l3Fa/8tmlQT40lLSXH/Py43g0hOUzMsL+IH0/P4AwWo4UiciRUtFTKqPA8 JgMg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=cYPhYWhc; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (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 l1si8389004pff.236.2018.01.08.05.33.50; Mon, 08 Jan 2018 05:33:50 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=cYPhYWhc; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933307AbeAHNds (ORCPT + 6 others); Mon, 8 Jan 2018 08:33:48 -0500 Received: from mail-wm0-f67.google.com ([74.125.82.67]:37659 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932672AbeAHN3f (ORCPT ); Mon, 8 Jan 2018 08:29:35 -0500 Received: by mail-wm0-f67.google.com with SMTP id f140so14209381wmd.2 for ; Mon, 08 Jan 2018 05:29:34 -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:in-reply-to:references; bh=D3nc+VbYZzLjxCoX4phEWCnDhthfa1snbtEo/DsnWpM=; b=cYPhYWhcWEP5kiIvf8s4F5CYb8PWugQWRYDdQp/tPSEDHQJei24Kpq1uDAcv7bBNfT 0eZjSIxziMxCMwulGuibOlCWSl0W9Hcp1O7/TtGalbxKQFtVH6fWkJl9bP7/qXp8Fm7l dpVxf7Tw6Nz9fkLwfDhOxAmis5pWIdUkO/QXw= 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=D3nc+VbYZzLjxCoX4phEWCnDhthfa1snbtEo/DsnWpM=; b=QuwbrDH9wUd8YLpuW6nDFPGBmG9WGr3nWpTjqdiNEMP8wQJNI1LaIrKyeOMCk46kU6 5KT+vEl2ErdaTIbYTiAHFdWUDnmEE0XnS07uHicCbhlQLDOMK3nvSKKFp1R9o3Zy0wV5 5ls2+kh4dyYQchalPVFXoljfTliGG3OO+3GI1AaebjvId8cpdr7fUb+EgdiI10siSLlA nWZsX46b+qRYsXLiCP8aNEpFKpM9DaMt2NQYymWnv7jGTvJOOOx4cUCgApxZvLlbpH5o 48IiDpHY8ycjmea6iOupqzBw7XlYsivGuX91dvdbfE89AyPCOOBDzgGXW66dn1q08OjU 31XA== X-Gm-Message-State: AKGB3mLgzQOR5Q5ikKKOLMGKxQpZUh7n8iMGBeju3JhYqdSoHvAMzKIj vGUSWKNBzdAQBfNkicKkEbczfw== X-Received: by 10.28.93.69 with SMTP id r66mr9138225wmb.28.1515418173672; Mon, 08 Jan 2018 05:29:33 -0800 (PST) Received: from mai.lan ([2001:41d0:fe90:b800:312a:53a5:1bef:6622]) by smtp.gmail.com with ESMTPSA id q196sm14354222wmb.22.2018.01.08.05.29.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 08 Jan 2018 05:29:32 -0800 (PST) From: Daniel Lezcano To: tglx@linutronix.de Cc: linux-kernel@vger.kernel.org, Baolin Wang , Rob Herring , Rob Herring , Mark Rutland , devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS) Subject: [PATCH 07/20] dt-bindings: clocksource: Add Spreadtrum SC9860 timer Date: Mon, 8 Jan 2018 14:28:46 +0100 Message-Id: <1515418139-23276-7-git-send-email-daniel.lezcano@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1515418139-23276-1-git-send-email-daniel.lezcano@linaro.org> References: <1bbaef2e-4080-3f54-7db3-a8989acfd691@free.fr> <1515418139-23276-1-git-send-email-daniel.lezcano@linaro.org> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Baolin Wang 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 Signed-off-by: Daniel Lezcano --- .../bindings/timer/spreadtrum,sprd-timer.txt | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 Documentation/devicetree/bindings/timer/spreadtrum,sprd-timer.txt -- 2.7.4 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html 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>; + };