From patchwork Wed Sep 3 19:06:47 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nishanth Menon X-Patchwork-Id: 36632 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ie0-f200.google.com (mail-ie0-f200.google.com [209.85.223.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 6C17F204FF for ; Wed, 3 Sep 2014 19:07:17 +0000 (UTC) Received: by mail-ie0-f200.google.com with SMTP id at20sf46330637iec.7 for ; Wed, 03 Sep 2014 12:07:17 -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=8wsJweujoEO5Eq5oIn5ETjbRb156fHzV/BtRx1pxJvU=; b=RfoBbLNkxnTGLVDpsw2xmNy+OEVgPiGIWCecVVTngcp7qd2nAuBHOIEKZrOjz4fwfy UJWOp4w1YYHIvx8AvXLmf5X2Tlf82wCRk0TARovB/69cvNNM+lmxkXoBnO4M4G7hpqaO nE6X+vBfYEiKEpx7WtoVt8xs/RvCE4EJxaUQz3l0V/BDcD5NVOhbERxZTjaT2aa66WZj EPb1CSdFtYT0Hh8yHxvBopB7+V7JZbt2vt/XOzPh5zm83erL0a6uV8ND6Rc/VVJWrtCi z4vJWWXwxxu8rkw4xZDhkCj0mckuMaO97xpaZ1BGAoricL6UaeHgqbdAQsbTcrAbt7Sr AVjA== X-Gm-Message-State: ALoCoQn7uXZGkhF5fhn1xx+I90g5Lw+oOfll+9OggSDvG0BZRDBbOClTV0q8et2hpbWhiSVCf3Pv X-Received: by 10.50.43.168 with SMTP id x8mr13936420igl.4.1409771236991; Wed, 03 Sep 2014 12:07:16 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.44.119 with SMTP id f110ls2561925qga.96.gmail; Wed, 03 Sep 2014 12:07:16 -0700 (PDT) X-Received: by 10.221.48.201 with SMTP id ux9mr2032256vcb.68.1409771236819; Wed, 03 Sep 2014 12:07:16 -0700 (PDT) Received: from mail-vc0-f177.google.com (mail-vc0-f177.google.com [209.85.220.177]) by mx.google.com with ESMTPS id 20si4228526vcd.22.2014.09.03.12.07.16 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 03 Sep 2014 12:07:16 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.177 as permitted sender) client-ip=209.85.220.177; Received: by mail-vc0-f177.google.com with SMTP id hq11so9385502vcb.36 for ; Wed, 03 Sep 2014 12:07:16 -0700 (PDT) X-Received: by 10.52.120.51 with SMTP id kz19mr1216631vdb.95.1409771236728; Wed, 03 Sep 2014 12:07:16 -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.221.45.67 with SMTP id uj3csp726104vcb; Wed, 3 Sep 2014 12:07:16 -0700 (PDT) X-Received: by 10.67.4.1 with SMTP id ca1mr61852088pad.50.1409771235715; Wed, 03 Sep 2014 12:07:15 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id fs14si12645383pdb.215.2014.09.03.12.07.15 for ; Wed, 03 Sep 2014 12:07:15 -0700 (PDT) Received-SPF: none (google.com: linux-kernel-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 S1756160AbaICTGz (ORCPT + 26 others); Wed, 3 Sep 2014 15:06:55 -0400 Received: from devils.ext.ti.com ([198.47.26.153]:46330 "EHLO devils.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754995AbaICTGw (ORCPT ); Wed, 3 Sep 2014 15:06:52 -0400 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by devils.ext.ti.com (8.13.7/8.13.7) with ESMTP id s83J6nju018533; Wed, 3 Sep 2014 14:06:49 -0500 Received: from DFLE73.ent.ti.com (dfle73.ent.ti.com [128.247.5.110]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id s83J6nS6007337; Wed, 3 Sep 2014 14:06:49 -0500 Received: from dflp32.itg.ti.com (10.64.6.15) by DFLE73.ent.ti.com (128.247.5.110) with Microsoft SMTP Server id 14.3.174.1; Wed, 3 Sep 2014 14:06:49 -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 s83J6n18013947; Wed, 3 Sep 2014 14:06:49 -0500 From: Nishanth Menon To: Tony Lindgren , Lee Jones , Samuel Ortiz CC: , , , Nishanth Menon Subject: [PATCH 1/2] Documentation: devicetree: mfd: twl4030-power: Use the standard 'ti, system-power-controller' to mark power control Date: Wed, 3 Sep 2014 14:06:47 -0500 Message-ID: <1409771208-21867-2-git-send-email-nm@ti.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1409771208-21867-1-git-send-email-nm@ti.com> References: <1409771208-21867-1-git-send-email-nm@ti.com> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@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.220.177 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 --- .../devicetree/bindings/mfd/twl4030-power.txt | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/mfd/twl4030-power.txt b/Documentation/devicetree/bindings/mfd/twl4030-power.txt index b9ee7b9..e1dff57 100644 --- a/Documentation/devicetree/bindings/mfd/twl4030-power.txt +++ b/Documentation/devicetree/bindings/mfd/twl4030-power.txt @@ -23,8 +23,11 @@ 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 OR ti,use_poweroff: 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. Example: &i2c1 {