Received: by 10.192.165.148 with SMTP id m20csp1118647imm; Fri, 27 Apr 2018 13:03:49 -0700 (PDT) X-Google-Smtp-Source: AB8JxZroMon57kv9WrCm56qHl7vJmIztTHm7o074uQwQ2eed8vDDK1L7ahcz8fjtmUiIPMO8ottn X-Received: by 2002:a17:902:108a:: with SMTP id c10-v6mr3523267pla.111.1524859429810; Fri, 27 Apr 2018 13:03:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524859429; cv=none; d=google.com; s=arc-20160816; b=s6HNKz/2qsshaEG4SR1n1xaiPUccWtE1FwmhCbExm95K6NY3PgBmCXK2dVRF+qyT0E RcLGE1poHV04YTDtCI0DT4bcvlHsP3IQh8vjQcJx2RNikwtYjNq8trgReK96s7ImXFpm 5otMCnNQjjJMB/sg/3PsulKwDybuDPmz9+OOtxrPTSe48hSyrU6+FjC6Dm9iHLoM/5Af poMBHon2cm1s3C3bPThMqUiOA8XUDOYFTEyrnW9A1iAgI9RAfGkAb+ZdFuqUAWI+KUfw JO76FDjoEyCysGm+uOmgIJ4b4mZRRLY5PS644vMgOWbZzXFd8JuuCfVU9cOh3VXNmu6r RnDQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=AssoRb69cvmPpXsyhkk4FoIkP85m2oaXlaIJe+m7mHY=; b=kc1Fjt4HHk0v0zMyTUjY3LiZy0gOXZC3UgRbjFsleIwzXmd5jl0GdnK8aqBxy/bBNr f483SrPyL2MRVm5UAJ70bBaWZC/XcAVh+JW1khYZVt9jlrSuh/4Hd+sOqMupWLN7HUee RX6vJT7BENrcPWR/6wJAb2EPhBsdhD0s8q+8N8/B8LHeAGSYKCA52tW+HqxjBldb68jp xW18e6vmSv/t8cdePk/kWM+e+Vlo+0rEfdjXHdJbiXM9a3G2DETKIXAWtY08qXFh+slx WHjh260gYKyHZWOR4vA14D3/4YbrMFHDwCWukLFziOqOpkzqCO/oiczIBha5Lmd8q4pA Tdjw== 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 p20si1844755pfi.345.2018.04.27.13.03.34; Fri, 27 Apr 2018 13:03:49 -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 S1759114AbeD0UC3 (ORCPT + 99 others); Fri, 27 Apr 2018 16:02:29 -0400 Received: from mail-ot0-f195.google.com ([74.125.82.195]:45955 "EHLO mail-ot0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758787AbeD0UC1 (ORCPT ); Fri, 27 Apr 2018 16:02:27 -0400 Received: by mail-ot0-f195.google.com with SMTP id w4-v6so3329599ote.12; Fri, 27 Apr 2018 13:02:27 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=AssoRb69cvmPpXsyhkk4FoIkP85m2oaXlaIJe+m7mHY=; b=oNOESgDAnrjuNX4YwT8qpO8q1VKT4YJR+2Ue+l3PNrEurx33+JONvwSP0qwSt36VcL 2nhW9I7pWT/nol3GBG9/HvQOMb9mKDLAOXhIJMmmeRFWmBma9yN/hpYHWaQyO0W7/Kbv WUydAu7ome7JbLybFcJeKGVSXzbtMFa9K5Issi7M+dLTLEN9y+Xlvksf0+14rMg4XAVf k22W1pTIgVlyvjIsp0nFOB8hyotbT21xTHAZ4i1K7fvsD7y3A93Qu67hOhYFGeawEz3V 9D63+/Q37CuFrE0ZFXeBJlCgLWYQUygxyc+nitgp6uapvBUJ72ef3545b+8sSAlFmF6u 67+g== X-Gm-Message-State: ALQs6tCkXErEnICBJZxcWGHNWiUjUcNxn4msMJkh6kyUMm1fL0CCYerI kj80TrHfBAgzRu/mnNJgzA== X-Received: by 2002:a9d:196:: with SMTP id e22-v6mr2297142ote.6.1524859346718; Fri, 27 Apr 2018 13:02:26 -0700 (PDT) Received: from localhost (216-188-254-6.dyn.grandenetworks.net. [216.188.254.6]) by smtp.gmail.com with ESMTPSA id t197-v6sm1024616oih.36.2018.04.27.13.02.25 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 27 Apr 2018 13:02:26 -0700 (PDT) Date: Fri, 27 Apr 2018 15:02:25 -0500 From: Rob Herring To: sean.wang@mediatek.com Cc: mark.rutland@arm.com, sre@kernel.org, lee.jones@linaro.org, a.zummo@towertech.it, alexandre.belloni@free-electrons.com, matthias.bgg@gmail.com, eddie.huang@mediatek.com, devicetree@vger.kernel.org, linux-rtc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-pm@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 01/17] dt-bindings: power: reset: mt6323: add bindings for MT6323 power controller Message-ID: <20180427200225.lq63ex7eiukc6egl@rob-hp-laptop> References: <0b3123e42c8a47e3fa8b21aa2e139e6d3dc69f41.1524646231.git.sean.wang@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <0b3123e42c8a47e3fa8b21aa2e139e6d3dc69f41.1524646231.git.sean.wang@mediatek.com> User-Agent: NeoMutt/20170609 (1.8.3) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Apr 25, 2018 at 05:32:27PM +0800, sean.wang@mediatek.com wrote: > From: Sean Wang > > Adding device-tree binding for the power controller which is a tiny > circuit block present as a part of MT6323 PMIC and is responsible for > externally powering off or on a remote SoC the PMIC is connected to. > > Cc: devicetree@vger.kernel.org > Signed-off-by: Sean Wang > --- > .../bindings/power/reset/mt6323-poweroff.txt | 20 ++++++++++++++++++++ > 1 file changed, 20 insertions(+) > create mode 100644 Documentation/devicetree/bindings/power/reset/mt6323-poweroff.txt > > 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 0000000..6f7c590 > --- /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"; Why do you need this in DT? It doesn't define any resources. The parent can just as well register a reset or poweroff handler. Rob > + }; > + } > -- > 2.7.4 >