From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932291AbcFJRgZ (ORCPT ); Fri, 10 Jun 2016 13:36:25 -0400 Received: from mail-oi0-f66.google.com ([209.85.218.66]:33013 "EHLO mail-oi0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752946AbcFJRgX (ORCPT ); Fri, 10 Jun 2016 13:36:23 -0400 Date: Fri, 10 Jun 2016 12:36:21 -0500 From: Rob Herring To: Andrea Merello Cc: dri-devel@lists.freedesktop.org, airlied@linux.ie, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Stefan Kristiansson , Tomi Valkeinen , Francesco Diotalevi , Claudio Lorini Subject: Re: [PATCH 2/2] drm: Add DT bindings documentation for OpenCores VGA/LCD controller Message-ID: <20160610173621.GA17641@rob-hp-laptop> References: <1465479199-9810-1-git-send-email-andrea.merello@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1465479199-9810-1-git-send-email-andrea.merello@gmail.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jun 09, 2016 at 03:33:19PM +0200, Andrea Merello wrote: > Signed-off-by: Andrea Merello > Cc: Stefan Kristiansson > Cc: Tomi Valkeinen > Cc: Francesco Diotalevi > Cc: Claudio Lorini > --- > .../bindings/display/opencores,ocdrm.txt | 27 ++++++++++++++++++++++ > 1 file changed, 27 insertions(+) > create mode 100644 Documentation/devicetree/bindings/display/opencores,ocdrm.txt > > diff --git a/Documentation/devicetree/bindings/display/opencores,ocdrm.txt b/Documentation/devicetree/bindings/display/opencores,ocdrm.txt > new file mode 100644 > index 0000000..8d36de5 > --- /dev/null > +++ b/Documentation/devicetree/bindings/display/opencores,ocdrm.txt > @@ -0,0 +1,27 @@ > +OpenCores VGA/LCD controller > + > +Required properties: > +- compatible: "opencores,ocdrm" Name this based on what the h/w block is called, not a Linux subsystem. Is there any sort of versioning for OpenCore IP that you can include in the name? > +- reg: Physical base address and length of the controller's registers. > +- clocks: Must contain an entry for the pixelclock generator. > + See ../clocks/clock-bindings.txt for details. > + > +Required sub-nodes: > +- port: the connection to a DRM bridge. The connection is modelled Don't include Linux driver details (DRM) in bindings. > + using the OF graph bindings specified in > + Documentation/devicetree/bindings/graph.txt. > + > +Example: > + > +ocdrm@43c10000 { > + compatible = "opencores,ocfb-drm"; Doesn't match the above and even worse naming. > + reg = <0x43c10000 0x10000>; > + clocks = <&pix_clock>; > + ports { > + port@0 { Single port doesn't need a unit address. > + rgb_out: endpoint { > + remote-endpoint = <&bridge_in>; > + }; > + }; > + }; > +}; > -- > 1.9.1 > > -- > To unsubscribe from this list: send the line "unsubscribe devicetree" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html