From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754862AbdCaTGd (ORCPT ); Fri, 31 Mar 2017 15:06:33 -0400 Received: from mail-oi0-f66.google.com ([209.85.218.66]:36587 "EHLO mail-oi0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750707AbdCaTGa (ORCPT ); Fri, 31 Mar 2017 15:06:30 -0400 Date: Fri, 31 Mar 2017 14:06:27 -0500 From: Rob Herring To: Kishon Vijay Abraham I Cc: Bjorn Helgaas , Joao Pinto , linux-pci@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, hch@infradead.org, nsekhar@ti.com Subject: Re: [PATCH v5 14/24] dt-bindings: mfd: syscon: Add documentation for #syscon-cells property Message-ID: <20170331190627.nucviejokdklgtk7@rob-hp-laptop> References: <20170327094520.3129-1-kishon@ti.com> <20170327094520.3129-15-kishon@ti.com> <20170331185852.mxa4gvjxbuxl65dq@rob-hp-laptop> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170331185852.mxa4gvjxbuxl65dq@rob-hp-laptop> User-Agent: Mutt/1.6.2-neo (2016-08-21) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Mar 31, 2017 at 01:58:52PM -0500, Rob Herring wrote: > On Mon, Mar 27, 2017 at 03:15:10PM +0530, Kishon Vijay Abraham I wrote: > > Add documentation for the optional #syscon-cells property to determine > > the number of cells that should be given in the phandle while > > referencing the syscon-node. > > > > Suggested-by: Rob Herring > > I did? When? > > I'm not remembering why we need this. Generally, phandles to a syscon > are for a single defined purpose. When do we need a list of them? Ah, I remember now the context. I suggested using standard parsing function rather than open coding. I wasn't suggesting changing the binding. Instead of of_parse_phandle_with_args, can't of_parse_phandle_with_fixed_args work? Rob From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Return-Path: Date: Fri, 31 Mar 2017 14:06:27 -0500 From: Rob Herring To: Kishon Vijay Abraham I Subject: Re: [PATCH v5 14/24] dt-bindings: mfd: syscon: Add documentation for #syscon-cells property Message-ID: <20170331190627.nucviejokdklgtk7@rob-hp-laptop> References: <20170327094520.3129-1-kishon@ti.com> <20170327094520.3129-15-kishon@ti.com> <20170331185852.mxa4gvjxbuxl65dq@rob-hp-laptop> MIME-Version: 1.0 In-Reply-To: <20170331185852.mxa4gvjxbuxl65dq@rob-hp-laptop> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Joao Pinto , linux-doc@vger.kernel.org, linux-pci@vger.kernel.org, nsekhar@ti.com, linux-kernel@vger.kernel.org, hch@infradead.org, Bjorn Helgaas , linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+bjorn=helgaas.com@lists.infradead.org List-ID: On Fri, Mar 31, 2017 at 01:58:52PM -0500, Rob Herring wrote: > On Mon, Mar 27, 2017 at 03:15:10PM +0530, Kishon Vijay Abraham I wrote: > > Add documentation for the optional #syscon-cells property to determine > > the number of cells that should be given in the phandle while > > referencing the syscon-node. > > > > Suggested-by: Rob Herring > > I did? When? > > I'm not remembering why we need this. Generally, phandles to a syscon > are for a single defined purpose. When do we need a list of them? Ah, I remember now the context. I suggested using standard parsing function rather than open coding. I wasn't suggesting changing the binding. Instead of of_parse_phandle_with_args, can't of_parse_phandle_with_fixed_args work? Rob _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel From mboxrd@z Thu Jan 1 00:00:00 1970 From: robh@kernel.org (Rob Herring) Date: Fri, 31 Mar 2017 14:06:27 -0500 Subject: [PATCH v5 14/24] dt-bindings: mfd: syscon: Add documentation for #syscon-cells property In-Reply-To: <20170331185852.mxa4gvjxbuxl65dq@rob-hp-laptop> References: <20170327094520.3129-1-kishon@ti.com> <20170327094520.3129-15-kishon@ti.com> <20170331185852.mxa4gvjxbuxl65dq@rob-hp-laptop> Message-ID: <20170331190627.nucviejokdklgtk7@rob-hp-laptop> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Fri, Mar 31, 2017 at 01:58:52PM -0500, Rob Herring wrote: > On Mon, Mar 27, 2017 at 03:15:10PM +0530, Kishon Vijay Abraham I wrote: > > Add documentation for the optional #syscon-cells property to determine > > the number of cells that should be given in the phandle while > > referencing the syscon-node. > > > > Suggested-by: Rob Herring > > I did? When? > > I'm not remembering why we need this. Generally, phandles to a syscon > are for a single defined purpose. When do we need a list of them? Ah, I remember now the context. I suggested using standard parsing function rather than open coding. I wasn't suggesting changing the binding. Instead of of_parse_phandle_with_args, can't of_parse_phandle_with_fixed_args work? Rob