From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.5 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 36FCCC0651F for ; Thu, 4 Jul 2019 18:55:12 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 1081221738 for ; Thu, 4 Jul 2019 18:55:11 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="A9W9qNyO" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1081221738 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=bootlin.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=isai3DHGtsXXStohfGDVnUZJ91QFQ76mZs3wwUmrsWw=; b=A9W9qNyOCpI87n QlsAgPXEkveZaXfyPudtAq3vp19cmYkRLrJ3NvnmiNNOaIeIrXZaL5g0DnXuLBUtDwN5Q7nIlAmh9 5+SNbEddHnCyjYCo9dYoECYEN15lk70ZFlyYJyUfhPJgIwuD8V2MZmK0pCiM6u5ETbwVSMcdQLM18 nG/+aLknj+kC6ai4/gEqmVNC/fLoE7oK+8h5hvBGA4Asn4jb1trdZDY/SzL84eaLwLTDAt5f87zj5 mGKSOdij4C258jhRRvy+5emCBOQX2Def+xHNJ/dKS+WBn7bmmkFW38/72H8r+3P4OJyxPVyavhfqg p9J6qVTToOK0/Y2bHGhA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1hj6sx-0000UA-6Y; Thu, 04 Jul 2019 18:55:11 +0000 Received: from relay5-d.mail.gandi.net ([217.70.183.197]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hj6ss-0007e5-L0; Thu, 04 Jul 2019 18:55:09 +0000 X-Originating-IP: 90.65.161.137 Received: from localhost (lfbn-1-1545-137.w90-65.abo.wanadoo.fr [90.65.161.137]) (Authenticated sender: alexandre.belloni@bootlin.com) by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id 565C21C0009; Thu, 4 Jul 2019 18:54:48 +0000 (UTC) Date: Thu, 4 Jul 2019 20:54:48 +0200 From: Alexandre Belloni To: Frank Wunderlich Subject: Re: [PATCH v2 1/7] docs: dt-bindings: add poweroff Message-ID: <20190704185448.GI3692@piout.net> References: <20190703164822.17924-1-frank-w@public-files.de> <20190703164822.17924-2-frank-w@public-files.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20190703164822.17924-2-frank-w@public-files.de> User-Agent: Mutt/1.12.0 (2019-05-25) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190704_115507_385511_1D2D6B65 X-CRM114-Status: GOOD ( 23.18 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , Linus Walleij , linux-kernel@vger.kernel.org, Richard Fontana , Mauro Carvalho Chehab , "Paul E . McKenney" , Lee Jones , linux-rtc@vger.kernel.org, Rob Herring , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-pm@vger.kernel.org, Sean Wang , Rob Herring , linux-mediatek@lists.infradead.org, Matthias Brugger , Thomas Gleixner , Eddie Huang , Allison Randal , Alessandro Zummo , Josef Friedl , Greg Kroah-Hartman , Sebastian Reichel , "David S . Miller" Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org Please use a better subject line. On 03/07/2019 18:48:16+0200, Frank Wunderlich wrote: > From: Josef Friedl > > add documentation for pmic, rtc and power/reset devicetree bindings > > Suggested-by: Frank Wunderlich > Signed-off-by: Josef Friedl > Signed-off-by: Frank Wunderlich > --- > .../devicetree/bindings/mfd/mt6397.txt | 10 ++++++- > .../bindings/power/reset/mt6323-poweroff.txt | 20 +++++++++++++ > .../devicetree/bindings/rtc/rtc-mt6397.txt | 29 +++++++++++++++++++ This file is unrelated to the patch, it should be separated. > 3 files changed, 58 insertions(+), 1 deletion(-) > create mode 100644 Documentation/devicetree/bindings/power/reset/mt6323-poweroff.txt > create mode 100644 Documentation/devicetree/bindings/rtc/rtc-mt6397.txt > > diff --git a/Documentation/devicetree/bindings/mfd/mt6397.txt b/Documentation/devicetree/bindings/mfd/mt6397.txt > index 0ebd08af777d..44acb9827716 100644 > --- a/Documentation/devicetree/bindings/mfd/mt6397.txt > +++ b/Documentation/devicetree/bindings/mfd/mt6397.txt > @@ -8,6 +8,7 @@ MT6397/MT6323 is a multifunction device with the following sub modules: > - Clock > - LED > - Keys > +- Power controller > > It is interfaced to host controller using SPI interface by a proprietary hardware > called PMIC wrapper or pwrap. MT6397/MT6323 MFD is a child device of pwrap. > @@ -22,8 +23,10 @@ compatible: "mediatek,mt6397" or "mediatek,mt6323" > Optional subnodes: > > - rtc > - Required properties: > + Required properties: Should be one of follows > + - compatible: "mediatek,mt6323-rtc" > - compatible: "mediatek,mt6397-rtc" > + For details, see Documentation/devicetree/bindings/rtc/rtc-mt6397.txt > - regulators > Required properties: > - compatible: "mediatek,mt6397-regulator" > @@ -46,6 +49,11 @@ Optional subnodes: > - compatible: "mediatek,mt6397-keys" or "mediatek,mt6323-keys" > see Documentation/devicetree/bindings/input/mtk-pmic-keys.txt > > +- power-controller > + Required properties: > + - compatible: "mediatek,mt6323-pwrc" > + For details, see Documentation/devicetree/bindings/power/reset/mt6323-poweroff.txt > + > Example: > pwrap: pwrap@1000f000 { > compatible = "mediatek,mt8135-pwrap"; > diff --git a/Documentation/devicetree/bindings/power/reset/mt6323-poweroff.txt b/Documentation/devicetree/bindings/power/reset/mt6323-poweroff.txt > new file mode 100644 > index 000000000000..933f0c48e887 > --- /dev/null > +++ b/Documentation/devicetree/bindings/power/reset/mt6323-poweroff.txt > @@ -0,0 +1,20 @@ > +Device Tree Bindings for Power Controller on MediaTek PMIC > + > +The power controller which could be found on PMIC is responsible for externally > +powering off or on the remote MediaTek SoC through the circuit BBPU. > + > +Required properties: > +- compatible: Should be one of follows > + "mediatek,mt6323-pwrc": for MT6323 PMIC > + > +Example: > + > + pmic { > + compatible = "mediatek,mt6323"; > + > + ... > + > + power-controller { > + compatible = "mediatek,mt6323-pwrc"; > + }; > + } > diff --git a/Documentation/devicetree/bindings/rtc/rtc-mt6397.txt b/Documentation/devicetree/bindings/rtc/rtc-mt6397.txt > new file mode 100644 > index 000000000000..ebd1cf80dcc8 > --- /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.17.1 > -- Alexandre Belloni, Bootlin Embedded Linux and Kernel engineering https://bootlin.com _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel