From mboxrd@z Thu Jan 1 00:00:00 1970 From: Javier Martinez Canillas Subject: Re: [PATCH 1/5] regulator: of: Add regulator-initial-mode parse support Date: Wed, 08 Oct 2014 18:29:26 +0200 Message-ID: <54356666.4090003@collabora.co.uk> References: <1412775847-15213-1-git-send-email-javier.martinez@collabora.co.uk> <1412775847-15213-2-git-send-email-javier.martinez@collabora.co.uk> <20141008142511.GA4609@sirena.org.uk> <54354C7D.7090104@collabora.co.uk> <20141008151220.GE4609@sirena.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20141008151220.GE4609@sirena.org.uk> Sender: linux-samsung-soc-owner@vger.kernel.org To: Mark Brown Cc: Doug Anderson , Chanwoo Choi , Olof Johansson , Chris Zhong , Krzysztof Kozlowski , Abhilash Kesavan , linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org List-Id: devicetree@vger.kernel.org On 10/08/2014 05:12 PM, Mark Brown wrote: > On Wed, Oct 08, 2014 at 04:38:53PM +0200, Javier Martinez Canillas wrote: >> On 10/08/2014 04:25 PM, Mark Brown wrote: > >> > That doesn't mean that the definition of those modes is something we can >> > sensibly provide in generic code, especially in a completely >> > undocumented fashion (perhaps you've done that later in the patch series >> > but bisection also applies to reviewability). > >> As a general question, now that the convention is for DT binding docs to go >> in a separate patch, should the DT documentation be added before or after >> that code using these bindings is added? > > It fairly obviously needs to go before so that reviewers can tell if the > code is actually implementing the binding. > Well, is not fairly obvious to me. One can also say the opposite, why the kernel is documenting a DT binding that is not (currently) implemented? That's why what makes the most sense for me is what the old convention did, add the DT binding docs in the same patch that implements the binding. Anyways, thanks for letting me know what is the convention today.