Received: by 10.192.165.148 with SMTP id m20csp470139imm; Wed, 25 Apr 2018 02:34:47 -0700 (PDT) X-Google-Smtp-Source: AIpwx49ws2Oy3D43r44idtKwj21vrpEREIhFWyBhUQmnxNQ0mRabfVQHGmCqUt+MsbfVi495yIJ1 X-Received: by 10.99.63.6 with SMTP id m6mr18897719pga.340.1524648887206; Wed, 25 Apr 2018 02:34:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524648887; cv=none; d=google.com; s=arc-20160816; b=edV2ucl0SqgcQlngAyg4ago7K7FlXabENyBhBc1hsJ29Dmpu0TXuemy4d7yfZ667KO rcq7xXxJ29lq4Q7wc3eeVM7+lPYbbo3w0KJnKbpeBUgg5j37eeiVd8Gl/tMsTfQaMXKV svTwwsekY9bN+mY6bvISg06QSfHaBfNkgaJFiOeFlH13dw+D0aBrpobtPkmKvoZdNIkD tzEvprg9Zq9auEfOP1gcFjJZ1uBkzGHyI1mXx/xb42RaTy/BZegFDavn7SUFkQG3EA2H DjerYDFKgz25rWzX/uWL/2wITFe0oLgPcGx5E5JEWCUgN5cujye3p0TLgQS8BokMGSOT x+3w== 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=wNYjoU1Ly50hl0OnNfIL8ko+qLYDyjVqx7IWGZ7TDQA=; b=e8ClsD2GTzRxth3cBr/9qub8eODgDVg7lWEdDb9IrnbyfMnZBy/yNhbLYuys4ZEGng RCJxBFzGNqRNgwTiM029tjLi95FyaAvUuP3Yj2oQFnPKwQ8LMI8xBRDzQsg2J2H6FBEf 7H7ld5DmwGAXyT5ow6OWQTw38XejE6EOD1GQ+YdqrW1ycfytdt60udqxDMiCAWlnb+/Y qETcLja4QU9qYAFprHr/nnwV36SoyB5l9TOTUHZ+QBXTsc3qPUUN/bnPukpn98PHeXSV Sc6hpuwrqOHVaFiPWxlsMqH7y1rDIb9m84XEN+GYQUudRE/FZ+0IqSyYn0qptfzLasqF yTUw== 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 p17si7232423pgn.662.2018.04.25.02.34.30; Wed, 25 Apr 2018 02:34:47 -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 S1751910AbeDYJdR (ORCPT + 99 others); Wed, 25 Apr 2018 05:33:17 -0400 Received: from mailgw01.mediatek.com ([210.61.82.183]:13791 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1751567AbeDYJdD (ORCPT ); Wed, 25 Apr 2018 05:33:03 -0400 X-UUID: ad99b6db2ee6483eae5d802b2f126b2d-20180425 Received: from mtkcas08.mediatek.inc [(172.21.101.126)] by mailgw01.mediatek.com (envelope-from ) (mhqrelay.mediatek.com ESMTP with TLS) with ESMTP id 946604884; Wed, 25 Apr 2018 17:32:49 +0800 Received: from mtkcas08.mediatek.inc (172.21.101.126) by mtkmbs08n1.mediatek.inc (172.21.101.55) with Microsoft SMTP Server (TLS) id 15.0.1210.3; Wed, 25 Apr 2018 17:32:48 +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; Wed, 25 Apr 2018 17:32:48 +0800 From: To: , , , , , , , CC: , , , , , , "Sean Wang" Subject: [PATCH v2 02/17] dt-bindings: rtc: mt6397: add bindings for MediaTek PMIC based RTC Date: Wed, 25 Apr 2018 17:32:28 +0800 Message-ID: X-Mailer: git-send-email 1.7.9.5 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain 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 Cc: devicetree@vger.kernel.org Signed-off-by: Sean Wang --- .../devicetree/bindings/rtc/rtc-mt6397.txt | 29 ++++++++++++++++++++++ 1 file changed, 29 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..6e97248 --- /dev/null +++ b/Documentation/devicetree/bindings/rtc/rtc-mt6397.txt @@ -0,0 +1,29 @@ +Device-Tree bindings for MediaTek PMIC based RTC + +MediaTek PMIC based RTC is an independent function of MediaTek PMIC that works +as a type of multi-function device (MFD). The RTC can be configured and set up +with PMIC wrapper bus which is a common resource shared with the other +functions found on the same PMIC. + +For MediaTek PMIC MFD bindings, see: +Documentation/devicetree/bindings/mfd/mt6397.txt + +For MediaTek PMIC wrapper bus bindings, see: +Documentation/devicetree/bindings/soc/mediatek/pwrap.txt + +Required properties: +- compatible: Should be one of follows + "mediatek,mt6323-rtc": for MT6323 PMIC + "mediatek,mt6397-rtc": for MT6397 PMIC + +Example: + + pmic { + compatible = "mediatek,mt6323"; + + ... + + rtc { + compatible = "mediatek,mt6323-rtc"; + }; + }; -- 2.7.4