Received: by 10.213.65.68 with SMTP id h4csp187291imn; Fri, 23 Mar 2018 02:21:56 -0700 (PDT) X-Google-Smtp-Source: AG47ELsPyEB2B+gR3/KDwIUf9tVqDutzogiSso/t+PPdmgZhWCiUXDQ6TeOB1OO4Q/W+p09QdK5e X-Received: by 10.99.36.193 with SMTP id k184mr20311114pgk.80.1521796916032; Fri, 23 Mar 2018 02:21:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521796915; cv=none; d=google.com; s=arc-20160816; b=vnbRCu+mHTUZhm+3LXyeh2ST4KZigdTanxN2vCHLwmUutT6TuXGb4iJ/VNM3kYslPD s9CDJhZwAcZDsFlJ3v7rq2r3Xy+C6mNWV+zBfX4AFFSnoVC4lUezidcvK0XRD8wuwDi6 GewWzncQcghEXx1G2NO1xnvm8T4IqcLMxvTzRzmxvntKmhq1NSVq6g3Dba4iJZz25hb7 YGCj3oY5U/32c1zNC7J/a0NKNgPQllJ3sUHICBe+GtUzMGpX4qF/aBsBi/rHHMezDV/s IIgs0uR5VvGPZdAjkJcafRaYJEvHIr1wJ48zDGYaMiw3JSg6wzccyfvFtiWt4cAuY6qH QZFA== 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:arc-authentication-results; bh=YVDPSBtU/rim0IzJ+hJ/e6T+UBqGrUwHZ/tqwNIYTq4=; b=Tblx1sbsTCQxDK/lga3X+3FCXfu1WP8fqPW3z1YwRNBkRbUBz9PKzNhYx6qkS5q/TK /4yzVut1+dfLvYWE9LxwBD64OoP0dqOVyVq0UPY1z25ryYKD2GWjfrd9tX+ohpAwGZiP aBbjonsL9XtWsKRk4BD2FjGO2SuE8nTrdK8gt6c2fhjL6+e9Du6toFIgKu9XUnxNipOd zZJNrhv0DjzUGoVJTxIDVnMdp+RJ52byrZDJxIQwPGE6eoADg3piwlvLdxtXU3r8aTpN aenenTQg1fZznczWtumj371VeO5dNXIHTmXqE21KsM5GPI//nHrhpHlEDhGCGt5mFEhV EbUw== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e129si6395292pfe.87.2018.03.23.02.21.41; Fri, 23 Mar 2018 02:21:55 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752425AbeCWJUH (ORCPT + 99 others); Fri, 23 Mar 2018 05:20:07 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:24959 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1752009AbeCWJPb (ORCPT ); Fri, 23 Mar 2018 05:15:31 -0400 X-UUID: 0eb758de64fc4f2bb60390d1187e0327-20180323 Received: from mtkcas06.mediatek.inc [(172.21.101.30)] by mailgw02.mediatek.com (envelope-from ) (mhqrelay.mediatek.com ESMTP with TLS) with ESMTP id 1869929563; Fri, 23 Mar 2018 17:15:25 +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.1210.3; Fri, 23 Mar 2018 17:15:23 +0800 Received: from mtkswgap22.mediatek.inc (172.21.77.33) by mtkcas08.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1210.3 via Frontend Transport; Fri, 23 Mar 2018 17:15:24 +0800 From: To: , , , , , , CC: , , , , , Sean Wang Subject: [PATCH v1 02/16] dt-bindings: rtc: mediatek: add bindings for PMIC RTC Date: Fri, 23 Mar 2018 17:14:59 +0800 Message-ID: <5846e8be319c4836808c8127d5bb51b7e999e896.1521794177.git.sean.wang@mediatek.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain X-TM-AS-Product-Ver: SMEX-12.5.0.5042-8.2.9001-23736.004 X-TM-AS-Result: No-5.369500-8.000000-10 X-TMASE-MatchedRID: JLDJ3zY9u2kxFdXyW/P+XRWCVBr+Ay98TJDl9FKHbrm7qpOHKudqczQz 47GqDWjpnD3AxwqeC/r+5j8x5GH+mf+rTYoF7Kee05yZiz1u26Rdxx6WRf+5sM7EPIkVcg+Oxtf MCZzvZ+lPN9Ds5e3i44Ay6p60ZV62fJ5/bZ6npdg7AFczfjr/7JJ0UX/rKgouzOHrU8JWvsOZ7v bKAdnMwEolWaGFokF9vyjT7c4jENc= X-TM-AS-User-Approved-Sender: No X-TM-AS-User-Blocked-Sender: No X-TMASE-Result: 10--5.369500-8.000000 X-TMASE-Version: SMEX-12.5.0.5042-8.2.9001-23736.004 X-TMASE-POSTMAN: 2-d; X-MTK: N Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Sean Wang Add device-tree binding for MediaTek PMIC based RTC. Signed-off-by: Sean Wang --- .../devicetree/bindings/rtc/rtc-mt6397.txt | 39 ++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 Documentation/devicetree/bindings/rtc/rtc-mt6397.txt diff --git a/Documentation/devicetree/bindings/rtc/rtc-mt6397.txt b/Documentation/devicetree/bindings/rtc/rtc-mt6397.txt new file mode 100644 index 0000000..83ff6be --- /dev/null +++ b/Documentation/devicetree/bindings/rtc/rtc-mt6397.txt @@ -0,0 +1,39 @@ +Device-Tree bindings for MediaTek PMIC based RTC + +MediaTek PMIC based RTC is an independent function of MediaTek PMIC which +is working as a multi-function device (MFD). And the RTC can be configured and +set up via PMIC wrapper bus. Which is also common resource shared among the +other functions present on the PMIC. + +For MediaTek PMIC wrapper bus bindings, see: +Documentation/devicetree/bindings/soc/mediatek/pwrap.txt + +Required parent node: +- pmic + For MediaTek PMIC MFD bindings, see: + Documentation/devicetree/bindings/mfd/mt6397.txt + +Required properties: +- compatible: Should be one of follows + "mediatek,mt6323-rtc": for MT6323 PMIC + "mediatek,mt6397-rtc": for MT6397 PMIC + +Optional child node: +- power-off + For Power-Off Device for MediaTek PMIC RTC bindings, see: + Documentation/devicetree/bindings/power/reset/mt6397-rtc-poweroff.txt + +Example: + + pmic { + compatible = "mediatek,mt6323"; + + ... + rtc { + compatible = "mediatek,mt6323-rtc"; + + power-off { + compatible = "mediatek,mt6323-rtc-poweroff"; + }; + }; +}; -- 2.7.4