Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758663AbbLBOwA (ORCPT ); Wed, 2 Dec 2015 09:52:00 -0500 Received: from foss.arm.com ([217.140.101.70]:43124 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758439AbbLBOv6 (ORCPT ); Wed, 2 Dec 2015 09:51:58 -0500 Date: Wed, 2 Dec 2015 14:51:55 +0000 From: Liviu Dudau To: Rob Herring Cc: Jon Medhurst , Mark Rutland , Punit Agrawal , Arnd Bergmann , Pawel Moll , Ian Campbell , Catalin Marinas , Kumar Gala , Will Deacon , Greg Kroah-Hartman , DRI devel , LKML , devicetree , Sudeep Holla , Russell King , Andrew Morton , LAKML Subject: Re: [PATCH v3 1/4] drm: arm: Add DT bindings documentation for HDLCD driver. Message-ID: <20151202145155.GA972@e106497-lin.cambridge.arm.com> References: <1449058982-18595-1-git-send-email-Liviu.Dudau@arm.com> <1449058982-18595-2-git-send-email-Liviu.Dudau@arm.com> <20151202142515.GA7404@rob-hp-laptop> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20151202142515.GA7404@rob-hp-laptop> 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 Content-Length: 4161 Lines: 134 On Wed, Dec 02, 2015 at 08:25:15AM -0600, Rob Herring wrote: > On Wed, Dec 02, 2015 at 12:22:59PM +0000, Liviu Dudau wrote: > > Cc: Rob Herring > > Cc: Pawel Moll > > Cc: Mark Rutland > > Cc: Ian Campbell > > Cc: Kumar Gala > > > > Signed-off-by: Liviu Dudau > > I still think you should have a more specific compatible string, but > here's some rope: :) Now I need to find some soap and a small wooden box. > > Acked-by: Rob Herring Thanks! Liviu > > > --- > > .../devicetree/bindings/display/arm,hdlcd.txt | 79 ++++++++++++++++++++++ > > 1 file changed, 79 insertions(+) > > create mode 100644 Documentation/devicetree/bindings/display/arm,hdlcd.txt > > > > diff --git a/Documentation/devicetree/bindings/display/arm,hdlcd.txt b/Documentation/devicetree/bindings/display/arm,hdlcd.txt > > new file mode 100644 > > index 0000000..78bc242 > > --- /dev/null > > +++ b/Documentation/devicetree/bindings/display/arm,hdlcd.txt > > @@ -0,0 +1,79 @@ > > +ARM HDLCD > > + > > +This is a display controller found on several development platforms produced > > +by ARM Ltd and in more modern of its' Fast Models. The HDLCD is an RGB > > +streamer that reads the data from a framebuffer and sends it to a single > > +digital encoder (DVI or HDMI). > > + > > +Required properties: > > + - compatible: "arm,hdlcd" > > + - reg: Physical base address and length of the controller's registers. > > + - interrupts: One interrupt used by the display controller to notify the > > + interrupt controller when any of the interrupt sources programmed in > > + the interrupt mask register have activated. > > + - clocks: A list of phandle + clock-specifier pairs, one for each > > + entry in 'clock-names'. > > + - clock-names: A list of clock names. For HDLCD it should contain: > > + - "pxlclk" for the clock feeding the output PLL of the controller. > > + > > +Required sub-nodes: > > + - port: The HDLCD connection to an encoder chip. The connection is modeled > > + using the OF graph bindings specified in > > + Documentation/devicetree/bindings/graph.txt. > > + > > +Optional properties: > > + - memory-region: phandle to a node describing memory (see > > + Documentation/devicetree/bindings/reserved-memory/reserved-memory.txt) to be > > + used for the framebuffer; if not present, the framebuffer may be located > > + anywhere in memory. > > + > > + > > +Example: > > + > > +/ { > > + ... > > + > > + hdlcd@2b000000 { > > + compatible = "arm,hdlcd"; > > + reg = <0 0x2b000000 0 0x1000>; > > + interrupts = ; > > + clocks = <&oscclk5>; > > + clock-names = "pxlclk"; > > + port { > > + hdlcd_output: endpoint@0 { > > + remote-endpoint = <&hdmi_enc_input>; > > + }; > > + }; > > + }; > > + > > + /* HDMI encoder on I2C bus */ > > + i2c@7ffa0000 { > > + .... > > + hdmi-transmitter@70 { > > + compatible = "....."; > > + reg = <0x70>; > > + port@0 { > > + hdmi_enc_input: endpoint { > > + remote-endpoint = <&hdlcd_output>; > > + }; > > + > > + hdmi_enc_output: endpoint { > > + remote-endpoint = <&hdmi_1_port>; > > + }; > > + }; > > + }; > > + > > + }; > > + > > + hdmi1: connector@1 { > > + compatible = "hdmi-connector"; > > + type = "a"; > > + port { > > + hdmi_1_port: endpoint { > > + remote-endpoint = <&hdmi_enc_output>; > > + }; > > + }; > > + }; > > + > > + ... > > +}; > > -- > > 2.6.2 > > > _______________________________________________ > dri-devel mailing list > dri-devel@lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/dri-devel -- ==================== | I would like to | | fix the world, | | but they're not | | giving me the | \ source code! / --------------- ¯\_(ツ)_/¯ -- 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/