From patchwork Wed Sep 17 12:34:11 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nishanth Menon X-Patchwork-Id: 37517 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ee0-f72.google.com (mail-ee0-f72.google.com [74.125.83.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id F253A2054D for ; Wed, 17 Sep 2014 12:34:33 +0000 (UTC) Received: by mail-ee0-f72.google.com with SMTP id d17sf918839eek.7 for ; Wed, 17 Sep 2014 05:34:32 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe:content-type; bh=y9gcH0EaezG9eylnNHnAA4wqTBpDCNdIMo4myqCgq8A=; b=cF5xYBsamEf3NyofoBcEr4WrheV+Mb7jjasA4CXehPKotJSXjEmMRhtjkKlD3vGjUy V6c+Vw/Gqw9vTrHwvMNdec239TUfeurOvFa13VfQAJPATTpLJ+W6hpTSWkQeawzY9o8R FwS29ulFjyN/7nHg9il+bgOXKuefp8HcySWJNsqOfiLbQOWrHLpQa3DmU1ovKwwySO0T NtfXPp9zS7vb1qi4z95EaxaQHzW7KqnGFbSihJXyi3MVxsZVLMvn5U1fcd+d+7BBvOBt o0znk2zSG77kxUAIg6hh1+4Ks7QfZ/pY5YCCiK1xShh22MiacFGVoVegUlUGFxiAmvme p/lw== X-Gm-Message-State: ALoCoQnr2OYoRYAVN7zFsngTqSshPFRWeBZk9SP/Kurs609Q9vlSEqECh3q6W2YRXjLARl4Eii45 X-Received: by 10.194.205.138 with SMTP id lg10mr471836wjc.5.1410957272674; Wed, 17 Sep 2014 05:34:32 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.116.99 with SMTP id jv3ls111287lab.54.gmail; Wed, 17 Sep 2014 05:34:32 -0700 (PDT) X-Received: by 10.112.198.228 with SMTP id jf4mr41340680lbc.35.1410957272509; Wed, 17 Sep 2014 05:34:32 -0700 (PDT) Received: from mail-lb0-f176.google.com (mail-lb0-f176.google.com [209.85.217.176]) by mx.google.com with ESMTPS id zc10si1930697lbb.46.2014.09.17.05.34.32 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 17 Sep 2014 05:34:32 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.176 as permitted sender) client-ip=209.85.217.176; Received: by mail-lb0-f176.google.com with SMTP id z11so1703456lbi.21 for ; Wed, 17 Sep 2014 05:34:32 -0700 (PDT) X-Received: by 10.152.204.231 with SMTP id lb7mr41725424lac.44.1410957272369; Wed, 17 Sep 2014 05:34:32 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.130.169 with SMTP id of9csp566381lbb; Wed, 17 Sep 2014 05:34:31 -0700 (PDT) X-Received: by 10.70.103.79 with SMTP id fu15mr19587733pdb.126.1410957270793; Wed, 17 Sep 2014 05:34:30 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id tf5si34745842pab.88.2014.09.17.05.34.30 for ; Wed, 17 Sep 2014 05:34:30 -0700 (PDT) Received-SPF: none (google.com: devicetree-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755050AbaIQMe2 (ORCPT + 5 others); Wed, 17 Sep 2014 08:34:28 -0400 Received: from comal.ext.ti.com ([198.47.26.152]:48383 "EHLO comal.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754363AbaIQMe1 (ORCPT ); Wed, 17 Sep 2014 08:34:27 -0400 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by comal.ext.ti.com (8.13.7/8.13.7) with ESMTP id s8HCYKv4030622; Wed, 17 Sep 2014 07:34:20 -0500 Received: from DLEE71.ent.ti.com (dlee71.ent.ti.com [157.170.170.114]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id s8HCYKDe023512; Wed, 17 Sep 2014 07:34:20 -0500 Received: from dflp32.itg.ti.com (10.64.6.15) by DLEE71.ent.ti.com (157.170.170.114) with Microsoft SMTP Server id 14.3.174.1; Wed, 17 Sep 2014 07:34:20 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp32.itg.ti.com (8.14.3/8.13.8) with ESMTP id s8HCYJVM023505; Wed, 17 Sep 2014 07:34:20 -0500 From: Nishanth Menon To: Lee Jones , Samuel Ortiz CC: Sebastian Reichel , Tony Lindgren , , , , Nishanth Menon Subject: [PATCH V2 1/2] Documentation: devicetree: mfd: twl4030-power: Use the standard 'ti, system-power-controller' to mark power control Date: Wed, 17 Sep 2014 07:34:11 -0500 Message-ID: <1410957252-764-2-git-send-email-nm@ti.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1410957252-764-1-git-send-email-nm@ti.com> References: <1410957252-764-1-git-send-email-nm@ti.com> MIME-Version: 1.0 Sender: devicetree-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: devicetree@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: nm@ti.com X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.176 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , ti,system-power-controller is more or less the standard way of indicating that the PMIC is the system wide power controller and hence may be used to switch off the system. Almost ALL TI PMIC drivers and many Maxim PMIC drivers follow the same style. So support 'ti,system-power-controller' in addition to the usual 'ti,use_poweroff' to indicate that the PMIC instance has control for switching off the system. Signed-off-by: Nishanth Menon Acked-By: Sebastian Reichel --- V2: picked up documentation suggestion from Sebastien V1: https://patchwork.kernel.org/patch/4836381/ .../devicetree/bindings/mfd/twl4030-power.txt | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/mfd/twl4030-power.txt b/Documentation/devicetree/bindings/mfd/twl4030-power.txt index b9ee7b9..a7390c7 100644 --- a/Documentation/devicetree/bindings/mfd/twl4030-power.txt +++ b/Documentation/devicetree/bindings/mfd/twl4030-power.txt @@ -23,8 +23,13 @@ down during off-idle. Note that this does not work on all boards depending on how the external oscillator is wired. Optional properties: -- ti,use_poweroff: With this flag, the chip will initiates an ACTIVE-to-OFF or - SLEEP-to-OFF transition when the system poweroffs. + +- ti,system-power-controller: This indicates that TWL4030 is the + power supply master of the system. With this flag, the chip will + initiates an ACTIVE-to-OFF or SLEEP-to-OFF transition when the + system poweroffs. + +- ti,use_poweroff: Deprecated name for ti,system-power-controller Example: &i2c1 {