From patchwork Tue Dec 15 17:24:56 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?TcOlbnMgUnVsbGfDpXJk?= X-Patchwork-Id: 557031 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id A13F914032E for ; Wed, 16 Dec 2015 04:26:05 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965346AbbLORZd (ORCPT ); Tue, 15 Dec 2015 12:25:33 -0500 Received: from unicorn.mansr.com ([81.2.72.234]:41269 "EHLO unicorn.mansr.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965317AbbLORZc (ORCPT ); Tue, 15 Dec 2015 12:25:32 -0500 Received: by unicorn.mansr.com (Postfix, from userid 51770) id 099841538A; Tue, 15 Dec 2015 17:25:23 +0000 (GMT) From: Mans Rullgard To: Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: marex@denx.de Subject: [PATCH 1/2] devicetree: mxsfb: add reset-active property Date: Tue, 15 Dec 2015 17:24:56 +0000 Message-Id: <1450200297-19243-1-git-send-email-mans@mansr.com> X-Mailer: git-send-email 2.6.3 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Some boards connect the LCD_RESET pin to a reset input on the display panel. On these boards, this pin must be set to the proper level for the display to function. This adds an optional "reset-active" property to the "display" subnode such that devicetrees can specify the desired polarity of the LCD_RESET pin. Signed-off-by: Mans Rullgard Acked-by: Rob Herring --- Documentation/devicetree/bindings/display/mxsfb.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Documentation/devicetree/bindings/display/mxsfb.txt b/Documentation/devicetree/bindings/display/mxsfb.txt index 96ec517..cb7212a 100644 --- a/Documentation/devicetree/bindings/display/mxsfb.txt +++ b/Documentation/devicetree/bindings/display/mxsfb.txt @@ -13,6 +13,11 @@ Required properties: - bits-per-pixel : <16> for RGB565, <32> for RGB888/666. - bus-width : number of data lines. Could be <8>, <16>, <18> or <24>. +Optional properties: +- reset-active : <0>: reset pin is active low + <1>: reset pin is active high + omitted: reset pin not used + Required sub-node: - display-timings : Refer to binding doc display-timing.txt for details.