From patchwork Thu Feb 18 00:17:27 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Ford X-Patchwork-Id: 8343931 Return-Path: X-Original-To: patchwork-linux-omap@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 048249F2F0 for ; Thu, 18 Feb 2016 00:17:55 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 88104203AB for ; Thu, 18 Feb 2016 00:17:49 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 033F7203DC for ; Thu, 18 Feb 2016 00:17:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1161900AbcBRARj (ORCPT ); Wed, 17 Feb 2016 19:17:39 -0500 Received: from mail-io0-f171.google.com ([209.85.223.171]:34519 "EHLO mail-io0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965509AbcBRARi (ORCPT ); Wed, 17 Feb 2016 19:17:38 -0500 Received: by mail-io0-f171.google.com with SMTP id 9so55221310iom.1 for ; Wed, 17 Feb 2016 16:17:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=0okOPm6inzUksEnK23GKk2kDf9LZzW8co5G9rxs/ySc=; b=Odl8HUMzeZO41ydc7wQS4fnQIah+u3FlQbWAQo2ow2BONA4PcyXPUhgbvcMr90Tlyq if/ui6Fj/tElixaC3OITbicPc47TwM573l6awct3xPu2wRVEdrvoavvFThIoiKF6C7hH h+/Tut5W6XGvoz9oUMsceHL82591NE6WeJfjA91P+k6xdwFDVC+x/Iwkeof7EOMj7H7z gOmU/Lp0KHUPCnHosJtslibU+F3Co7auVC+rHnb6x/gqT6/cO0gD62/OaVQCW67ReRA2 CJliXzG3iv7bW4hDRhhZUnHXkNpBGXil7fk7SN9ti/vPU1YE0HFXA+fQt0OXbPrHn3HL eqqg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=0okOPm6inzUksEnK23GKk2kDf9LZzW8co5G9rxs/ySc=; b=LSlRK1tJWCvhy6hb6CnRfE8kDkt1iyC7WAjrq3GAY80scXs29B0DwrtD1WjefxxkOJ 47dYZ0g/SQ+V1svrBPzs3CD8eXo6YdYOusInDQAM+lMNivyVgjmds0f1xtfRss2AcQI+ nOQOWWznapaCQaqe/AakQ7+HA0DSdWEBKUy3ScKQ9B96tmjZoV/RaSfo68Qa5HJjzDRz w/yPbpO5LEYLkcrzbQYtVRbU5GGJ7Fpv5EhXJ/mqsj4LJaC/OMhfjNR5YN9UmtJK+hkV AGEQCaCGHy2QYn3dq9+VfGMm/AW7ww8iBOBAAtjcOhkvurD/mclL4838NTR9b0tp8B7n mtcQ== X-Gm-Message-State: AG10YOSDxZeh5Qc8O8qORjONoIwwFt1Z74pQU88fPhZx2R8FQ6MRRtcq1ajBIZXCORtzig== X-Received: by 10.107.129.228 with SMTP id l97mr6294668ioi.76.1455754657241; Wed, 17 Feb 2016 16:17:37 -0800 (PST) Received: from localhost.localdomain (c-76-113-128-183.hsd1.mn.comcast.net. [76.113.128.183]) by smtp.gmail.com with ESMTPSA id 4sm175153igz.2.2016.02.17.16.17.35 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 17 Feb 2016 16:17:36 -0800 (PST) From: Adam Ford To: linux-omap@vger.kernel.org Cc: tony@atomide.com, adam.ford@logicpd.com, Adam Ford Subject: [PATCH V2] OMAP3LOGIC: Update default Logic PD display type Date: Wed, 17 Feb 2016 18:17:27 -0600 Message-Id: <1455754647-10378-1-git-send-email-aford173@gmail.com> X-Mailer: git-send-email 1.9.1 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=unavailable 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 At the request of Logic PD, this patch sets the display parameters to match that of Logic PD's display type 28 since type 15 is discontinued. V2: A previous patch attempted to eliminate an warning indicating no power supply for the LCD. This undoes some of those patches to make the Type 28 display work correctly. V1: First attempt to enable Type 28 display from Logic PD. Signed-off-by: Adam Ford --- arch/arm/boot/dts/logicpd-torpedo-37xx-devkit.dts | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/arch/arm/boot/dts/logicpd-torpedo-37xx-devkit.dts b/arch/arm/boot/dts/logicpd-torpedo-37xx-devkit.dts index 874ce46..4b00b58 100644 --- a/arch/arm/boot/dts/logicpd-torpedo-37xx-devkit.dts +++ b/arch/arm/boot/dts/logicpd-torpedo-37xx-devkit.dts @@ -128,22 +128,20 @@ }; video_reg: video_reg { - pinctrl-names = "default"; - pinctrl-0 = <&panel_pwr_pins>; compatible = "regulator-fixed"; regulator-name = "fixed-supply"; regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; - gpio = <&gpio5 27 GPIO_ACTIVE_HIGH>; /* gpio155, lcd INI */ }; lcd0: display@0 { compatible = "panel-dpi"; - label = "15"; + label = "28"; status = "okay"; /* default-on; */ pinctrl-names = "default"; - + pinctrl-0 = <&lcd_enable_pin>; + enable-gpios = <&gpio5 27 GPIO_ACTIVE_HIGH>; /* gpio155, lcd INI */ port { lcd_in: endpoint { remote-endpoint = <&dpi_out>; @@ -158,12 +156,12 @@ hback-porch = <2>; hsync-len = <42>; vback-porch = <3>; - vfront-porch = <4>; + vfront-porch = <2>; vsync-len = <11>; - hsync-active = <0>; - vsync-active = <0>; + hsync-active = <1>; + vsync-active = <1>; de-active = <1>; - pixelclk-active = <1>; + pixelclk-active = <0>; }; }; @@ -245,7 +243,7 @@ >; }; - panel_pwr_pins: pinmux_panel_pwr_pins { + lcd_enable_pin: pinmux_lcd_enable_pin { pinctrl-single,pins = < OMAP3_CORE1_IOPAD(0x218a, PIN_OUTPUT | PIN_OFF_OUTPUT_LOW | MUX_MODE4) /* mcbsp4_fs.gpio_155 */ >;