From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mailout3.w1.samsung.com ([210.118.77.13]:58375 "EHLO mailout3.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752094AbaCUOKN (ORCPT ); Fri, 21 Mar 2014 10:10:13 -0400 Message-id: <532C4841.9090508@samsung.com> Date: Fri, 21 Mar 2014 15:10:09 +0100 From: Sylwester Nawrocki MIME-version: 1.0 To: Tomi Valkeinen Cc: Laurent Pinchart , Grant Likely , Philipp Zabel , Russell King - ARM Linux , Mauro Carvalho Chehab , Rob Herring , Kyungmin Park , linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, devicetree@vger.kernel.org, Guennadi Liakhovetski , Philipp Zabel Subject: Re: [PATCH v4 1/3] [media] of: move graph helpers from drivers/media/v4l2-core to drivers/of References: <1393340304-19005-1-git-send-email-p.zabel@pengutronix.de> <3632624.gNVi6QOfGx@avalon> <20140320222347.CAB6DC412EA@trevor.secretlab.ca> <2848953.vVjghJyYNE@avalon> <532C408D.4070002@ti.com> In-reply-to: <532C408D.4070002@ti.com> Content-type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: 7bit Sender: linux-media-owner@vger.kernel.org List-ID: On 21/03/14 14:37, Tomi Valkeinen wrote: > On 21/03/14 00:32, Laurent Pinchart wrote: > >> > The OF graph bindings documentation could just specify the ports node as >> > optional and mandate individual device bindings to specify it as mandatory or >> > forbidden (possibly with a default behaviour to avoid making all device >> > bindings too verbose). > > Isn't it so that if the device has one port, it can always do without > 'ports', but if it has multiple ports, it always has to use 'ports' so > that #address-cells and #size-cells can be defined? > > If so, there's nothing left for the individual device bindings to decide. Wouldn't it make the bindings even more verbose ? Letting the individual device bindings to decide sounds more sensible to me. -- Thanks, Sylwester