From patchwork Wed Jan 28 09:27:55 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eddie Huang X-Patchwork-Id: 433824 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from mail-qg0-x240.google.com (mail-qg0-x240.google.com [IPv6:2607:f8b0:400d:c04::240]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 8D10E14017D for ; Wed, 28 Jan 2015 20:28:31 +1100 (AEDT) Received: by mail-qg0-f64.google.com with SMTP id z107sf3535189qgd.9 for ; Wed, 28 Jan 2015 01:28:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20120806; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-type:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:list-post:list-help:list-archive:sender:list-subscribe :list-unsubscribe; bh=GITsAMVlfOkmx7+ZXlyeABq2+12zecb2kQ+tF3y9MnE=; b=NR0eSp38Wnzr+jGlkcv43wRVielpMX8+SQcpEZQVT3hx+yqeMycVUchdWqjjAIU0hD h2Jnn7UhviTqqtauip12l6MeDwpTgO2QUJ4+lwtILfu4EEowg+jLyzlMi3OaNfY0lLSZ Dm1kz7QNxEg1dsyaOe5V8WjRkc0EHuiUaJlHrF87V4HBLZgW9o9baSAdHHIwAgC+iop3 Ed98yUS6yqHi38hN+eeS8Wo8kFlIL5WSM5wKZs9CakMQRMF8xNfgK4yNVAyjH4P7MaIv IwxPQ24V8gLuOzkhVNgi8qr8GQ+2bYhKopEdb8JgiYV2EBX20ac6rb70Yxn+p2rSxI7R 0r8A== X-Received: by 10.50.66.227 with SMTP id i3mr47931igt.14.1422437307246; Wed, 28 Jan 2015 01:28:27 -0800 (PST) X-BeenThere: rtc-linux@googlegroups.com Received: by 10.107.152.131 with SMTP id a125ls484793ioe.3.gmail; Wed, 28 Jan 2015 01:28:27 -0800 (PST) X-Received: by 10.42.95.134 with SMTP id f6mr2190260icn.18.1422437306993; Wed, 28 Jan 2015 01:28:26 -0800 (PST) Received: from mailgw01.mediatek.com ([210.61.82.183]) by gmr-mx.google.com with ESMTPS id q14si451415pdj.0.2015.01.28.01.28.26 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 28 Jan 2015 01:28:26 -0800 (PST) Received-SPF: none (google.com: eddie.huang@mediatek.com does not designate permitted sender hosts) client-ip=210.61.82.183; X-Listener-Flag: 11101 Received: from mtkhts07.mediatek.inc [(172.21.101.69)] by mailgw01.mediatek.com (envelope-from ) (mhqrelay.mediatek.com ESMTP with TLS) with ESMTP id 1045433146; Wed, 28 Jan 2015 17:28:24 +0800 Received: from mtkslt208.mediatek.inc (10.21.15.95) by mtkhts07.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 14.3.181.6; Wed, 28 Jan 2015 17:28:23 +0800 From: Eddie Huang To: Alessandro Zummo , Matthias Brugger CC: , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Grant Likely , Eddie Huang , Tianping Fang , , , , , Sascha Hauer , , Subject: [rtc-linux] [PATCH 1/2] dt: bindings: Add Mediatek RTC driver binding document Date: Wed, 28 Jan 2015 17:27:55 +0800 Message-ID: <1422437276-41334-2-git-send-email-eddie.huang@mediatek.com> X-Mailer: git-send-email 1.8.1.1.dirty In-Reply-To: <1422437276-41334-1-git-send-email-eddie.huang@mediatek.com> References: <1422437276-41334-1-git-send-email-eddie.huang@mediatek.com> MIME-Version: 1.0 X-MTK: N X-Original-Sender: eddie.huang@mediatek.com X-Original-Authentication-Results: gmr-mx.google.com; spf=none (google.com: eddie.huang@mediatek.com does not designate permitted sender hosts) smtp.mail=eddie.huang@mediatek.com Reply-To: rtc-linux@googlegroups.com Precedence: list Mailing-list: list rtc-linux@googlegroups.com; contact rtc-linux+owners@googlegroups.com List-ID: X-Google-Group-Id: 712029733259 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Add MT63xx RTC driver binding document. Signed-off-by: Tianping Fang Signed-off-by: Eddie Huang --- .../devicetree/bindings/rtc/mediatek,mt63xx-rtc.txt | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 Documentation/devicetree/bindings/rtc/mediatek,mt63xx-rtc.txt diff --git a/Documentation/devicetree/bindings/rtc/mediatek,mt63xx-rtc.txt b/Documentation/devicetree/bindings/rtc/mediatek,mt63xx-rtc.txt new file mode 100644 index 0000000..6347d4a --- /dev/null +++ b/Documentation/devicetree/bindings/rtc/mediatek,mt63xx-rtc.txt @@ -0,0 +1,18 @@ +Mediatek MT63xx real-time clock + +MT63xx is Mediatek PMIC chip series. RTC is one submodule of PMIC chip. +The RTC maintains seconds counter, also provide alarm function. + +Required properties: +- compatible: Should be "mediatek,mt6397-rtc". +- reg: base physical address and size of the registers. +- interrupt-parent: phandle for the interrupt controller +- interrupts: RTC alarm interrupt. + +Examples: +rtc: rtc@e000 { + compatible = "mediatek,mt6397-rtc"; + reg = <0xe000 0x3e>; + interrupt-parent = <&pmic>; + interrupts = <20 IRQ_TYPE_LEVEL_HIGH>; +};