Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752449AbaJKNwX (ORCPT ); Sat, 11 Oct 2014 09:52:23 -0400 Received: from mail-ig0-f177.google.com ([209.85.213.177]:56490 "EHLO mail-ig0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752365AbaJKNwU (ORCPT ); Sat, 11 Oct 2014 09:52:20 -0400 MIME-Version: 1.0 In-Reply-To: References: <1412711104-15902-1-git-send-email-romain.perier@gmail.com> From: Grant Likely Date: Sat, 11 Oct 2014 14:51:59 +0100 X-Google-Sender-Auth: UHWIqfn46X9f25TJECt3I30x3uA Message-ID: Subject: Re: [RFC PATCH v2 1/4] regulator: Add helper function to get "poweroff-source" property To: PERIER Romain Cc: devicetree , Mark Brown , Liam Girdwood , Linux Kernel Mailing List , =?ISO-8859-1?Q?Heiko_St=FCbner?= , "sameo@linux.intel.com" , Lee Jones , robh , Sebastian Reichel , Dmitry Eremin-Solenikov , David Woodhouse , Anton Vorontsov , Laxman Dewangan , "linux-omap@vger.kernel.org" , "linux-tegra@vger.kernel.org" Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Oct 10, 2014 at 1:29 PM, PERIER Romain wrote: >> >> What I'm more concerned about is the semantics of the property. What >> do the generic code paths gain by standardizing this property? Is it >> expected that > > We really need to come up with a standard property for this and document > it rather than continuing to add individual device specific properties > each time a driver adds poweroff capability, > all doing the same thing (a lot of regulators driver, mfd drivers, soc > specific drivers, power drivers already do that, that's very redudant) > . This is a simple unification logic. Yes, it's fine. I accidentally left that paragraph in when I sent my reply. I started writing that concern, and then thought better of it. The property is fine. g. -- 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/