From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751505AbdAWUnp (ORCPT ); Mon, 23 Jan 2017 15:43:45 -0500 Received: from mail-ot0-f194.google.com ([74.125.82.194]:33426 "EHLO mail-ot0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750714AbdAWUno (ORCPT ); Mon, 23 Jan 2017 15:43:44 -0500 Date: Mon, 23 Jan 2017 14:43:42 -0600 From: Rob Herring To: Noralf =?iso-8859-1?Q?Tr=F8nnes?= Cc: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, thomas.petazzoni@free-electrons.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH 8/9] dt-bindings: Add Multi-Inno MI0283QT binding Message-ID: <20170123204342.duusbehci4uktlrh@rob-hp-laptop> References: <20170122181117.8210-1-noralf@tronnes.org> <20170122181117.8210-9-noralf@tronnes.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20170122181117.8210-9-noralf@tronnes.org> 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 Sun, Jan 22, 2017 at 07:11:16PM +0100, Noralf Trønnes wrote: > Add device-tree binding documentation for the MI0283QT display panel. > > Signed-off-by: Noralf Trønnes > --- > > Datasheet: https://cdn-shop.adafruit.com/datasheets/MI0283QT-11+V1.1.PDF > > > .../bindings/display/multi-inno,mi0283qt.txt | 27 ++++++++++++++++++++++ > 1 file changed, 27 insertions(+) > create mode 100644 Documentation/devicetree/bindings/display/multi-inno,mi0283qt.txt > > diff --git a/Documentation/devicetree/bindings/display/multi-inno,mi0283qt.txt b/Documentation/devicetree/bindings/display/multi-inno,mi0283qt.txt > new file mode 100644 > index 0000000..eed48c3 > --- /dev/null > +++ b/Documentation/devicetree/bindings/display/multi-inno,mi0283qt.txt > @@ -0,0 +1,27 @@ > +Multi-Inno MI0283QT display panel > + > +Required properties: > +- compatible: "multi-inno,mi0283qt". > + > +The node for this driver must be a child node of a SPI controller, hence > +all mandatory properties described in ../spi/spi-bus.txt must be specified. > + > +Optional properties: > +- dc-gpios: D/C pin. The presence/absence of this GPIO determines > + the panel interface mode (IM[3:0] pins): > + - present: IM=x110 4-wire 8-bit data serial interface > + - absent: IM=x101 3-wire 9-bit data serial interface > +- reset-gpios: Reset pin > +- power-supply: A regulator node for the supply voltage. > +- backlight: phandle of the backlight device attached to the panel > +- rotation: panel rotation in degrees counter clockwise (0,90,180,270) This isn't a standard property, but probably should be. Please document in a common spot. > + > +Example: > + mi0283qt@0{ > + compatible = "multi-inno,mi0283qt"; > + reg = <0>; > + spi-max-frequency = <32000000>; > + rotation = <90>; > + dc-gpios = <&gpio 25 0>; > + backlight = <&backlight>; > + }; > -- > 2.10.2 > > -- > 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