Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752741Ab3COFTT (ORCPT ); Fri, 15 Mar 2013 01:19:19 -0400 Received: from avon.wwwdotorg.org ([70.85.31.133]:41163 "EHLO avon.wwwdotorg.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751950Ab3COFTS (ORCPT ); Fri, 15 Mar 2013 01:19:18 -0400 Message-ID: <5142AF55.80708@nvidia.com> Date: Thu, 14 Mar 2013 23:19:17 -0600 From: Stephen Warren User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130221 Thunderbird/17.0.3 MIME-Version: 1.0 To: Bill Huang CC: sameo@linux.intel.com, gg@slimlogic.co.uk, ldewangan@nvidia.com, broonie@opensource.wolfsonmicro.com, ian@slimlogic.co.uk, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/1] mfd: palmas: Add power off control References: <1363258680-12600-1-git-send-email-bilhuang@nvidia.com> In-Reply-To: <1363258680-12600-1-git-send-email-bilhuang@nvidia.com> X-Enigmail-Version: 1.4.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 714 Lines: 17 On 03/14/2013 04:58 AM, Bill Huang wrote: > Hook up "pm_power_off" to palmas power off routine if there is DT > property "ti,system-power-controller" defined, so platform which is > powered by this regulator can be powered off properly. > diff --git a/drivers/mfd/palmas.c b/drivers/mfd/palmas.c > + pdata->pm_off = of_property_read_bool(node, > + "ti,system-power-controller"); You would need to add that property to the DT binding documentation for this device. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/