Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp913464ybl; Fri, 23 Aug 2019 10:12:51 -0700 (PDT) X-Google-Smtp-Source: APXvYqzr37P40BevsQy88B0tPcDw19nSfZyOkQZYv0aatuFOWeoJrltI9ZNffXJg1k19VvftdYlb X-Received: by 2002:a17:902:b582:: with SMTP id a2mr5972051pls.199.1566580371603; Fri, 23 Aug 2019 10:12:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566580371; cv=none; d=google.com; s=arc-20160816; b=wAfFym3P5AU2fVHAa4mNFT36njGz7vh8uWyvsBF04me032juG9CeZyrRlIh0HDjXr5 UJ5Y8ZEscGm8tunOaoLV5pPNLhlcZPjDCuYsqHpIstC1zuR1M96SjaVB+yBCxK5C0x6P xRZertNMnkV12+xk79Of5okARRE2be5mvETBip0ESJqfJdMvb5aSbPnckXrmONlPcVvv tuuimfnRLVQvQtUtFcSaZ/6CzlNnAvX5CCLuG8KEpL0M/DQLQMarYIhKr/LpUVSOQxNw n3y/OAbSxk6KvwptJpVNkapZ5dhNjDW3yv5wN6jwLz66AHyDcMzle8tjZKi/kG4sALRc JFmA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id; bh=gtJU9vbF6IKt/aGXonf7DpxPYH//E+/Nv1q4dWK7/VA=; b=vY4bm9bDnYwCT3zvO+wLPOzwxkFBUuSNSuZOoWFcli0ufm9eL34UQWF1tXh0PPHBYs Xlekw2lnc5jSs/qdhbN/CoIasPbCfSnBNnMiJBW7kYJZhjdccqtNTtwp9mgyJCDhkaj0 wp+Kbko96nECLSM2wmAcQns+fFb7/7euHF9hREuE0FOTVissNLuodamm4Q8/SpVoe/xo 7BCXHGrhtDdkiitvjIllf5uf6ZcljlFCFQMMEYENcsLBYxR4xCewAfJsRad1q+8uyJi0 NKa6pp4ENWgGHyd9Z2zlPKpJ0tLxCorPnOG0MX+4Z/NSKrDnd6M05ZIlv+zfD1COBGB5 /U1w== 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 j27si2334627pgj.571.2019.08.23.10.12.35; Fri, 23 Aug 2019 10:12:51 -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 S2404599AbfHWGfn (ORCPT + 99 others); Fri, 23 Aug 2019 02:35:43 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:36095 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S2404002AbfHWGfn (ORCPT ); Fri, 23 Aug 2019 02:35:43 -0400 X-UUID: 7ab191db2f1c49c793ecc1f23032c2d2-20190823 X-UUID: 7ab191db2f1c49c793ecc1f23032c2d2-20190823 Received: from mtkexhb02.mediatek.inc [(172.21.101.103)] by mailgw02.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0707 with TLS) with ESMTP id 1157516820; Fri, 23 Aug 2019 14:35:34 +0800 Received: from MTKCAS32.mediatek.inc (172.27.4.184) by mtkmbs08n1.mediatek.inc (172.21.101.55) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Fri, 23 Aug 2019 14:35:32 +0800 Received: from [10.17.3.153] (172.27.4.253) by MTKCAS32.mediatek.inc (172.27.4.170) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Fri, 23 Aug 2019 14:35:26 +0800 Message-ID: <1566542131.12318.52.camel@mhfsdcap03> Subject: Re: [PATCH v2 1/4] bindings: rtc: add bindings for MT2712 RTC From: Ran Bi To: Matthias Brugger CC: Alexandre Belloni , Rob Herring , 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 Date: Fri, 23 Aug 2019 14:35:31 +0800 In-Reply-To: <84bd8752-f437-781f-9f08-cedfca6cc06a@gmail.com> References: <20190801110122.26834-1-ran.bi@mediatek.com> <20190801110122.26834-2-ran.bi@mediatek.com> <84bd8752-f437-781f-9f08-cedfca6cc06a@gmail.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.10.4-0ubuntu2 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-MTK: N Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, > > +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; > > No clocks for the RTC? What about CLK_TOP_RTC_SEL from the clk driver? > > Regards, > Matthias > I suppose that we don't need clock control for mt2712 RTC. RTC clock is directly come from 32K crystal and there is no control register to switch the clock. In mt2712, CLK_TOP_RTC_SEL is prepared for other module even it called CLK_TOP_RTC_SEL. Regards, Ran > > + > > +Example: > > + > > +rtc: rtc@10011000 { > > + compatible = "mediatek,mt2712-rtc"; > > + reg = <0 0x10011000 0 0x1000>; > > + interrupts = ; > > +}; > >