From patchwork Fri Jul 25 19:44:24 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ajay Kumar X-Patchwork-Id: 4625451 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 25DE79F38C for ; Fri, 25 Jul 2014 19:47:37 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 62032201ED for ; Fri, 25 Jul 2014 19:47:36 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 76988201D5 for ; Fri, 25 Jul 2014 19:47:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935062AbaGYTre (ORCPT ); Fri, 25 Jul 2014 15:47:34 -0400 Received: from mailout3.samsung.com ([203.254.224.33]:49498 "EHLO mailout3.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935080AbaGYTrc (ORCPT ); Fri, 25 Jul 2014 15:47:32 -0400 Received: from epcpsbgr3.samsung.com (u143.gpu120.samsung.co.kr [203.254.230.143]) by mailout3.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0N9A00MKF9N7JD70@mailout3.samsung.com>; Sat, 26 Jul 2014 04:47:31 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [172.20.52.122]) by epcpsbgr3.samsung.com (EPCPMTA) with SMTP id CC.EE.14704.354B2D35; Sat, 26 Jul 2014 04:47:31 +0900 (KST) X-AuditID: cbfee68f-b7fef6d000003970-e4-53d2b453d4f3 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 9A.77.05196.254B2D35; Sat, 26 Jul 2014 04:47:31 +0900 (KST) Received: from chromebld-server.sisodomain.com ([107.108.73.106]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0N9A00NH99MW2550@mmp2.samsung.com>; Sat, 26 Jul 2014 04:47:30 +0900 (KST) From: Ajay Kumar To: linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org Cc: kgene.kim@samsung.com, dianders@chromium.org, ajaynumb@gmail.com, joshi@samsung.com, prashanth.g@samsung.com, Ajay Kumar Subject: [PATCH 3/3] ARM: dts: Add DT changes for display on peach_pi Date: Sat, 26 Jul 2014 01:14:24 +0530 Message-id: <1406317464-7525-4-git-send-email-ajaykumar.rs@samsung.com> X-Mailer: git-send-email 1.7.9.5 In-reply-to: <1406317464-7525-1-git-send-email-ajaykumar.rs@samsung.com> References: <1406317464-7525-1-git-send-email-ajaykumar.rs@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFmpgkeLIzCtJLcpLzFFi42JZI2JSpRu85VKwwY4P3BYH3h9ksdjwZiGz xfwj51gtzi47yGbxfdcXdoveBVfZLDY9vsZqMeP8PiaLVYc3sDtwesxuuMjisXPWXXaPzUvq Pfq2rGL0+LxJLoA1issmJTUnsyy1SN8ugSvj1LN+9oL3vBU7N1xiamD8z9XFyMkhIWAi0XG1 ixXCFpO4cG89WxcjF4eQwFJGiVmHl7PDFP0+t4MZIjGdUeL1vm2MEM4EJomds5+xgVSxCWhL bJt+kwXEFhHIlNh0F6KIWWA2o8T/A+cZQRLCAq4Sbzf2gI1lEVCVWPH1MlgDr4C7RPOyR0xd jBxA6xQk5kyyAQlzCnhIbD6xCWy+EFDJt9l7mUBmSgisYpeY2zGXFWKOgMS3yYdYIHplJTYd YIa4WlLi4IobLBMYhRcwMqxiFE0tSC4oTkovMtYrTswtLs1L10vOz93ECAz90/+e9e9gvHvA +hBjMtC4icxSosn5w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9z0WWX/r3NuqWelLGtw+hUcVn3WPO6vO7XNvglrkUr0MJZbijERDLeai 4kQAAxmPf8ICAAA= DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@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=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 Add DT nodes for panel-simple "auo,b133htn01" panel. Add backlight enable pin and backlight power supply for pwm-backlight. Also add panel phandle needed by dp to enable display on peach_pi. Signed-off-by: Ajay Kumar Reviewed-by: Javier Martinez Canillas --- arch/arm/boot/dts/exynos5800-peach-pi.dts | 27 ++++++++++----------------- 1 file changed, 10 insertions(+), 17 deletions(-) diff --git a/arch/arm/boot/dts/exynos5800-peach-pi.dts b/arch/arm/boot/dts/exynos5800-peach-pi.dts index f3ee48b..5342638 100644 --- a/arch/arm/boot/dts/exynos5800-peach-pi.dts +++ b/arch/arm/boot/dts/exynos5800-peach-pi.dts @@ -28,11 +28,13 @@ i2c20 = "/spi@12d40000/cros-ec@0/i2c-tunnel"; }; - backlight { + backlight: backlight { compatible = "pwm-backlight"; pwms = <&pwm 0 1000000 0>; brightness-levels = <0 100 500 1000 1500 2000 2500 2800>; default-brightness-level = <7>; + enable-gpios = <&gpx2 2 0>; + power-supply = <&tps65090_fet1>; pinctrl-0 = <&pwm0_out>; pinctrl-names = "default"; }; @@ -98,6 +100,12 @@ regulator-boot-on; regulator-always-on; }; + + panel: panel-simple { + compatible = "auo,b133htn01", "simple-panel"; + power-supply = <&tps65090_fet6>; + backlight = <&backlight>; + }; }; &dp { @@ -111,22 +119,7 @@ samsung,link-rate = <0x0a>; samsung,lane-count = <2>; samsung,hpd-gpio = <&gpx2 6 0>; - - display-timings { - native-mode = <&timing1>; - - timing1: timing@1 { - clock-frequency = <150660000>; - hactive = <1920>; - vactive = <1080>; - hfront-porch = <60>; - hback-porch = <172>; - hsync-len = <80>; - vback-porch = <25>; - vfront-porch = <10>; - vsync-len = <10>; - }; - }; + panel = <&panel>; }; &fimd {