From patchwork Tue Jan 12 10:22:20 2016 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: 8015871 Return-Path: X-Original-To: patchwork-linux-fbdev@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 2513E9F1C0 for ; Tue, 12 Jan 2016 10:22:54 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 57734202EB for ; Tue, 12 Jan 2016 10:22:53 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 7621420115 for ; Tue, 12 Jan 2016 10:22:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752766AbcALKWv (ORCPT ); Tue, 12 Jan 2016 05:22:51 -0500 Received: from unicorn.mansr.com ([81.2.72.234]:57985 "EHLO unicorn.mansr.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752245AbcALKWq (ORCPT ); Tue, 12 Jan 2016 05:22:46 -0500 Received: by unicorn.mansr.com (Postfix, from userid 51770) id 2CD7D15393; Tue, 12 Jan 2016 10:22:38 +0000 (GMT) From: Mans Rullgard To: Rob Herring , Tomi Valkeinen Cc: Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Jean-Christophe Plagniol-Villard , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-fbdev@vger.kernel.org Subject: [RESEND PATCH 1/2] devicetree: mxsfb: add reset-active property Date: Tue, 12 Jan 2016 10:22:20 +0000 Message-Id: <1452594141-26073-1-git-send-email-mans@mansr.com> X-Mailer: git-send-email 2.7.0 Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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 --- 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 96ec5179c8a0..cb7212a6bdf2 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.