Received: by 10.223.164.202 with SMTP id h10csp1589158wrb; Mon, 27 Nov 2017 04:56:29 -0800 (PST) X-Google-Smtp-Source: AGs4zMa6sra4vze5SYITHjeDvPjbezLN1jzt24bz0OdH3Ls/BlZEg7gKZv9vXk57OLrSpbqHOT/d X-Received: by 10.159.214.146 with SMTP id n18mr36200757plp.310.1511787389127; Mon, 27 Nov 2017 04:56:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511787389; cv=none; d=google.com; s=arc-20160816; b=l45YbDXxclLZfItrVLmufrEFsM6vwhQ5v1JQrf5Q0x2HHMLoXbzjQ6HcGjd8iag1VG NMs0P8enf82ihhKFq4qSlm1y9ZpC9Amj+fYmjzhx8EZSeignNa/Nmh/Kxc3NERdi6CLB s32r3qpKMst1Fjv06VSGtvIrye7/8Q3dBKaHw+UJcVuUmOiICCZhxYPUsA4MOvaiFvVA n6usP3GwmrjcOgk+H/ACmHtg5ZizSI2twRsHphU+F1o3fWs1iOUt76v1w6Sdowf8epkF 36iuy2TE0BkmFTX+Rkkp4BNtNgNUFtvsLXglnBIOCjOFsrY4CSh/JK7RaPhQVP25ETKY Nogw== 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:references :in-reply-to:message-id:date:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=eDhOw3HB7hWYaCENBPFfJUy5ySHGnQDglp3zFWbI1ao=; b=ZsehzH/0lLudqniocY3MgXZ3/bC0qpeApk8u7iCTJLJpSYPbDf86/NkaKjLMo40b/u eu9kCBBu5NfPZ17i+9CL+RYMrOvAqU2MUym670+L69NW3ES8Jer/CESswfQ5djFNCfCi HtQjzPIQRWcaEUkM3fQiwHzvVRsrwHjKK4Xw3HAo2MreIaFucNGHkPuaoe92rRvBNy9Y QnS/RSTqPlqfd19v6cGRV44I7gHeruDRD7mql8b8j0M6c76BiSA29NsgPhyqdPp/PEnA vEbmg/lQGvtFkNORPmgXNlFWH1HDesIKZHWN76jWqhJcBWwuUp6Jy/kvpNj6RLBxTwXD lRzA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=rELNSzQW; 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=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 2si5952055pgi.574.2017.11.27.04.56.17; Mon, 27 Nov 2017 04:56:29 -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=@gmail.com header.s=20161025 header.b=rELNSzQW; 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=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752901AbdK0Mzb (ORCPT + 77 others); Mon, 27 Nov 2017 07:55:31 -0500 Received: from mail-pf0-f196.google.com ([209.85.192.196]:42448 "EHLO mail-pf0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752868AbdK0Mz1 (ORCPT ); Mon, 27 Nov 2017 07:55:27 -0500 Received: by mail-pf0-f196.google.com with SMTP id m88so17324234pfi.9; Mon, 27 Nov 2017 04:55:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :in-reply-to:references; bh=eDhOw3HB7hWYaCENBPFfJUy5ySHGnQDglp3zFWbI1ao=; b=rELNSzQWLbKDxvFSDkoAv7IEKOGnshx8OyEXNXsLHbioB6mXpuWC5R8Naewl0UrFU+ SBpxbrnEk51CKA94U59yoF20g1Bwp5UmztRGtf36BN6Uihom452NvSLAHe6H9MmTYKnC lWs2dT9ddwb3Jl7p5C5QjAWtjZPPWJCBuJ+n2OPiQzdo0l0TSZicx5FzQe8tSXa84DHw k69GJMY2b4LbvO9NysPG1lbc5BOqcGZ6uYQPHuUxEv9n9CXTA3rxzAUVrdYQ4JG5NI5A 3JvHz00TUOwKCJTzDis2oaz7qbagYIAZSpHEiXL38mJJ6hT/AlLAIwapEqLEKEugsY4G AANw== 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:in-reply-to:references; bh=eDhOw3HB7hWYaCENBPFfJUy5ySHGnQDglp3zFWbI1ao=; b=WO6ol+yy2JgLlaH5uJRpw0s72KIMjuZkTBnhfzUf0HC0+VT5EYEVJbVPJ8kDe3DdSw jrXBLx4il94bZKafSj96Tvrh06vNeNK+Rd4n+zoFXnZppDfvziweUAdg93pT4Bk5H8jK p4KyFbFradlor3w1V6F1F0SSf3j6e4tKC7k+ZITUfycrwrdQrqaXmVRUnrCNnUla+x7M JWDzi1F7s0TxsRSnwJWmk8e8CPYKtTQwcel+1eki68ov3shzczV+VYHQoMAtx2uUAxA4 bLQSIeDJj2PPaHHWK+SxV4A1VS5bm2EH0vQDm0MT0KWMEwlJAlK7xYmQjM9/22v19fg1 RD/w== X-Gm-Message-State: AJaThX5LWxZiqYcnWHOF9YutMXgczHZjD7NSqvz9Rvfqzz0VMRq7usVN MkIkZg5Ph6KHPVbjtKChnoM= X-Received: by 10.98.198.142 with SMTP id x14mr28894988pfk.131.1511787326674; Mon, 27 Nov 2017 04:55:26 -0800 (PST) Received: from app09.andestech.com ([118.163.51.199]) by smtp.gmail.com with ESMTPSA id w64sm55225459pfj.62.2017.11.27.04.55.23 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 27 Nov 2017 04:55:26 -0800 (PST) From: Greentime Hu To: greentime@andestech.com, linux-kernel@vger.kernel.org, arnd@arndb.de, linux-arch@vger.kernel.org, tglx@linutronix.de, jason@lakedaemon.net, marc.zyngier@arm.com, robh+dt@kernel.org, netdev@vger.kernel.org, deanbo422@gmail.com, devicetree@vger.kernel.org, viro@zeniv.linux.org.uk, dhowells@redhat.com, will.deacon@arm.com, daniel.lezcano@linaro.org, linux-serial@vger.kernel.org Cc: Rick Chen , green.hu@gmail.com Subject: [PATCH v2 35/35] dt-bindings: timer: Add andestech atcpit100 timer binding doc Date: Mon, 27 Nov 2017 20:28:22 +0800 Message-Id: <60f23e7fcff11f16b0bca4753a39d098849eeac3.1511785528.git.green.hu@gmail.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: References: In-Reply-To: References: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Rick Chen Add a document to describe Andestech atcpit100 timer and binding information. Signed-off-by: Rick Chen Acked-by: Rob Herring Signed-off-by: Greentime Hu --- .../bindings/timer/andestech,atcpit100-timer.txt | 33 ++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 Documentation/devicetree/bindings/timer/andestech,atcpit100-timer.txt diff --git a/Documentation/devicetree/bindings/timer/andestech,atcpit100-timer.txt b/Documentation/devicetree/bindings/timer/andestech,atcpit100-timer.txt new file mode 100644 index 0000000..b97ff32 --- /dev/null +++ b/Documentation/devicetree/bindings/timer/andestech,atcpit100-timer.txt @@ -0,0 +1,33 @@ +Andestech ATCPIT100 timer +------------------------------------------------------------------ +ATCPIT100 is a generic IP block from Andes Technology, embedded in +Andestech AE3XX platforms and other designs. + +This timer is a set of compact multi-function timers, which can be +used as pulse width modulators (PWM) as well as simple timers. + +It supports up to 4 PIT channels. Each PIT channel is a +multi-function timer and provide the following usage scenarios: +One 32-bit timer +Two 16-bit timers +Four 8-bit timers +One 16-bit PWM +One 16-bit timer and one 8-bit PWM +Two 8-bit timer and one 8-bit PWM + +Required properties: +- compatible : Should be "andestech,atcpit100" +- reg : Address and length of the register set +- interrupts : Reference to the timer interrupt +- clocks : a clock to provide the tick rate for "andestech,atcpit100" +- clock-names : should be "PCLK" for the external tick timer. + +Examples: + +timer0: timer@f0400000 { + compatible = "andestech,atcpit100"; + reg = <0xf0400000 0x1000>; + interrupts = <2 4>; + clocks = <&clk_pll>; + clock-names = "PCLK"; +}; -- 1.7.9.5 From 1585843497247893134@xxx Mon Dec 04 09:03:33 +0000 2017 X-GM-THRID: 1585067992121746810 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread