Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp3724514ybl; Mon, 12 Aug 2019 05:26:46 -0700 (PDT) X-Google-Smtp-Source: APXvYqx27ZFMtX4gIehOjQxBZXez3QrwWIWQnQ/CqCMKZOtRuX5YjjP+rd5qJggGRsSc9ed8n9Mt X-Received: by 2002:a63:b346:: with SMTP id x6mr30220211pgt.218.1565612805758; Mon, 12 Aug 2019 05:26:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565612805; cv=none; d=google.com; s=arc-20160816; b=hma4PNfNPJ1917+t3gSRHbZkBHHugTO7nOhP3+XFdjxthB2ZoNMbvf6ytJuF+W220s 0Gjns6XU7NugjCsFH20sxzn/es15VbRPzzSpkafMlEH7VtbtiYQl2zipxRfx5+nT/6Qm tEgP0CaLllqVi9AEOlHnPohRC2wqdtQh0/EWpZvXJK9FKW8QMFSbOnWlSB1TEEXaM0IW lTb3WGh+PhxClMCLIEwmd1LE6Jl+niIzwoH0qKvnUvKJ9e6VDwLw2H8sukbmcEV6LwHP Vt3cq0vuBBxYCW9+LrefEo8zoGGKvmkZtwNbhcDIQC+itb22niNTFnKV4u9bGYBxj1bC uCaQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from; bh=NrSff+fwIxohWxTOF3D/9sq86XwR/WDbyd/+Di7RAUU=; b=z5lfT2G0w1JhNtl8MtiUL7xFGsLinLKel7YUj0K8/JP7E5nu4hKEIa+SQRhhUVUnud /+rEXXTNH4oLHOSvrB+dhZRdR+qeb5+ugV4YRyF5cKaScJ16ga03PLPFk42IO4lpQK9Z jM8rAlrK2QtS5WtSffj2dkchLocIR92trKXmqRbWgKXgqR+gWQqjr59cNCGC5enVPehj PBCjKCiklIGgu9EZ3UcIhMU+GJMbp/8RZx/xkYj/1Q3XEuIT8EJ7bS3qxFa3EMOCVb14 rmogZ3s9N6PsmXD8ADx6C2qB0TsvDBCs3VFiD991zOiul0BGLXAmKa4VNeem3s8y3QRv f2cQ== 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 p2si4709502pff.169.2019.08.12.05.26.30; Mon, 12 Aug 2019 05:26:45 -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 S1728790AbfHLMYy (ORCPT + 99 others); Mon, 12 Aug 2019 08:24:54 -0400 Received: from mxwww.masterlogin.de ([95.129.51.220]:59246 "EHLO mxwww.masterlogin.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728510AbfHLMYK (ORCPT ); Mon, 12 Aug 2019 08:24:10 -0400 Received: from mxout2.routing.net (unknown [192.168.10.82]) by new.mxwww.masterlogin.de (Postfix) with ESMTPS id 7729A96D5E; Mon, 12 Aug 2019 12:15:30 +0000 (UTC) Received: from mxbox2.masterlogin.de (unknown [192.168.10.253]) by mxout2.routing.net (Postfix) with ESMTP id C7876647BC; Mon, 12 Aug 2019 12:15:30 +0000 (UTC) Received: from localhost.localdomain (fttx-pool-217.61.152.193.bambit.de [217.61.152.193]) by mxbox2.masterlogin.de (Postfix) with ESMTPSA id 7BDD1100D0A; Mon, 12 Aug 2019 14:15:29 +0200 (CEST) From: Frank Wunderlich To: Alessandro Zummo , Alexandre Belloni , Allison Randal , "David S. Miller" , devicetree@vger.kernel.org, Eddie Huang , Greg Kroah-Hartman , Jonathan Cameron , Kate Stewart , Lee Jones , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-pm@vger.kernel.org, linux-rtc@vger.kernel.org, Mark Rutland , Matthias Brugger , Mauro Carvalho Chehab , Nicolas Ferre , Richard Fontana , Rob Herring , Sean Wang , Sebastian Reichel , Thomas Gleixner , "Tianping . Fang" Cc: Josef Friedl , Frank Wunderlich Subject: [PATCH v5 02/10] dt-bindings: add missing mt6397 rtc Date: Mon, 12 Aug 2019 14:15:03 +0200 Message-Id: <20190812121511.4169-3-frank-w@public-files.de> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190812121511.4169-1-frank-w@public-files.de> References: <20190812121511.4169-1-frank-w@public-files.de> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Josef Friedl add missing devicetree-binding document for mt6397 rtc in later patch driver is extended with mt6323 chip Suggested-By: Alexandre Belloni Signed-off-by: Josef Friedl Signed-off-by: Frank Wunderlich --- changes since v4: use relative path changes since v3: moved SOB changes since v2: splitted rtc-mt6397.txt from first patch --- .../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 000000000000..4d2d8317e16b --- /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: +../../bindings/mfd/mt6397.txt + +For MediaTek PMIC wrapper bus bindings, see: +../../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.17.1