Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp7159957ybi; Thu, 1 Aug 2019 04:08:16 -0700 (PDT) X-Google-Smtp-Source: APXvYqyRtEnVU82JRLd8Chzc6yll2MTPEUOB83GBUlHBXmTXuXXF+B7kgok7npFxfWHv4DugsD0V X-Received: by 2002:a17:902:654f:: with SMTP id d15mr117717032pln.253.1564657696249; Thu, 01 Aug 2019 04:08:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564657696; cv=none; d=google.com; s=arc-20160816; b=XSMIeeXtulfSxMI67uCn9/gR9G8bE0wuCPyfyj1yFaOH001mwxwqw/gKh9w3hicSji 9b4dQn1EdMddOifYGnm4qTPu5s00sGA5uqPWSEfBHMc1o54vJu7fIdA7j891bjzr4GWm +VsvqvIXHKSihaOhDE9Ix5MWngs7B9jWOOvMoYJTsrqyNIno15v9AT3eVH+BqH5zwSfa qaK0dwkVlC071eKn/cyMY3jytEaRtfyiLdd7MD0XXfS7ORb9m0uUgkQYdHEfeQa1afp/ N8tReh6qmevPca+00i1COsMM5Q0F8Ox8F3RbA0tSJTDITalAiXKBdVJsrvJGUK+TRzrc N5Vw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from; bh=R1K4TPO1MM4PdieXUaPC8YZtwwRnkdaWAylFp70zqJ4=; b=FFRPDYEcJ03Awozl5DYsObIPsv0RbetHB5zQ1T8Xrq9rk9kHr+iC9eTDyvXG4N6aOj HmO/mepv0klCIZISQ3KZm5rtb3aPEA2vEZNkC0GuKcPvUxawC5gp7PocrKqVeboZHmKc sgEd4nQQSBGQSf92u+0aAl00X0ELwHLvvnqclMj8OENXSeFBDlqrXXKMxOVZhenBld+I PUpQDfdz9N+T9iBokRtr9izaUzyjf2Tc2asiv1cds8c3vU5+We4PxJy1ntjms6jrWbpJ xjv+JRpb4ZuUppLtd28Wzvp3uDLDVtD1Uc2qMLYzukDwEYz5cghkzioG/4F8d8FA+PAJ 3vHA== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y10si31211517plp.117.2019.08.01.04.08.00; Thu, 01 Aug 2019 04:08:16 -0700 (PDT) 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731342AbfHALBp (ORCPT + 99 others); Thu, 1 Aug 2019 07:01:45 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:2534 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1728884AbfHALBo (ORCPT ); Thu, 1 Aug 2019 07:01:44 -0400 X-UUID: c6d8adce30634400938f08c80ac5fe95-20190801 X-UUID: c6d8adce30634400938f08c80ac5fe95-20190801 Received: from mtkcas06.mediatek.inc [(172.21.101.30)] by mailgw02.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0707 with TLS) with ESMTP id 1792032667; Thu, 01 Aug 2019 19:01:36 +0800 Received: from mtkcas08.mediatek.inc (172.21.101.126) by mtkmbs08n2.mediatek.inc (172.21.101.56) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Thu, 1 Aug 2019 19:01:35 +0800 Received: from localhost.localdomain (10.17.3.153) by mtkcas08.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Thu, 1 Aug 2019 19:01:34 +0800 From: Ran Bi To: Alexandre Belloni , Rob Herring , Matthias Brugger CC: Alessandro Zummo , Mark Rutland , Mauro Carvalho Chehab , "David S . Miller" , Greg Kroah-Hartman , Jonathan Cameron , Linus Walleij , Nicolas Ferre , , , , , , , YT Shen , Eddie Huang , Yingjoe Chen , Flora Fu , Sean Wang , Ran Bi Subject: [PATCH v2 1/4] bindings: rtc: add bindings for MT2712 RTC Date: Thu, 1 Aug 2019 19:01:19 +0800 Message-ID: <20190801110122.26834-2-ran.bi@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20190801110122.26834-1-ran.bi@mediatek.com> References: <20190801110122.26834-1-ran.bi@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain X-TM-SNTS-SMTP: 45D06EDA4E97A365DDB8FC8411C231299BF4772F0DC4E18D4349508AB0B90A912000:8 X-MTK: N Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Document the binding for MT2712 RTC implemented by rtc-mt2712. Signed-off-by: Ran Bi Reviewed-by: Rob Herring --- .../devicetree/bindings/rtc/rtc-mt2712.txt | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 Documentation/devicetree/bindings/rtc/rtc-mt2712.txt diff --git a/Documentation/devicetree/bindings/rtc/rtc-mt2712.txt b/Documentation/devicetree/bindings/rtc/rtc-mt2712.txt new file mode 100644 index 000000000000..c33d87e5e753 --- /dev/null +++ b/Documentation/devicetree/bindings/rtc/rtc-mt2712.txt @@ -0,0 +1,14 @@ +Device-Tree bindings for MediaTek SoC based RTC + +Required properties: +- compatible : Should be "mediatek,mt2712-rtc" : for MT2712 SoC +- reg : Specifies base physical address and size of the registers; +- interrupts : Should contain the interrupt for RTC alarm; + +Example: + +rtc: rtc@10011000 { + compatible = "mediatek,mt2712-rtc"; + reg = <0 0x10011000 0 0x1000>; + interrupts = ; +}; -- 2.21.0