From patchwork Wed Mar 22 17:48:06 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 9639703 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id D66C4601E9 for ; Wed, 22 Mar 2017 17:51:22 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B6D1727F81 for ; Wed, 22 Mar 2017 17:51:22 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id AB3E128473; Wed, 22 Mar 2017 17:51:22 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=0.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, RCVD_IN_SORBS_SPAM, RCVD_IN_SORBS_WEB autolearn=no version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 3160027F81 for ; Wed, 22 Mar 2017 17:51:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=b1ufZqFF2P0W/Z7fbAun2wAP+wvOgAVE47GPp7lu0fY=; b=e2PPljbDqPfzRu4EuHnMqT3d9b 3oauqCCvPUQxKkdV3xyyfAI8Ue7mHW3V34+N8wvJj74alvlhAcUcdVOglkmTs3t0V9BIQoRbGHp/Y d1tX/bOqIM29fuMlo9B6HW/Dektu7ZlftwkrmNty3yPnoAhaXa3hohJgM/2RtRKagWpq/8DCUm6I1 b1dFtUB5G/biTt5hhLMKzOpq69yyqMBZAOWdblj9Wo9GMPiQmthSr7n9GPq0g1YLmY2IwHtI2N8qV vA7EjBdV4YY1jxKjkBcKGF2BslVlRJ7btpaUg7Er8VXuPfiuI38K9WcBVfC/wMifWN12oLeDjdPT6 nDmMsoAQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1cqkPh-0006ol-8j; Wed, 22 Mar 2017 17:51:13 +0000 Received: from mail-pg0-f68.google.com ([74.125.83.68]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cqkPS-0006RF-7t for linux-arm-kernel@lists.infradead.org; Wed, 22 Mar 2017 17:51:00 +0000 Received: by mail-pg0-f68.google.com with SMTP id 79so23062454pgf.0 for ; Wed, 22 Mar 2017 10:50:37 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=u31Hc1v6q5Tb6XREbw62skYvVinltMmlw6gJUAhI8XM=; b=NR6BCwjRmYW02mnL6x/79h9qODiIY6xIC1D+1bioxbjPe2TNzfc8J0WUrXDG/b/L2x Z8rUkgWys44H8flsEeYbZnDazNgwwPH3xvMUtQ6MfErxcYwBvYDzsbn3fAo0CHCG9Eyf iKeogCBC4Fk60kxTI4A6YqnXPUJcQ3Gn33LddKouezpqVet2BriBMyF9sBvdvuAruDoR j6ERHeT6AOz1kUzuIXTJ4LkzJaXgCOMUDLspMG24yHROYfq1T8kMnfU0mV6NXY8EVGF+ rpyvO8c4D1TDl5Lx3bO8kkjE6bQmcuXSFSb3Q3TZhFhlnNQXDdIkSsd8SSH2lZAggAVO l+5A== X-Gm-Message-State: AFeK/H27KiRv1YglRNhVFg4Vo/PkpE0/SeWKECxJ73m/2kVJcNfFIeN0Vz/Vj8ZtO7zbGw== X-Received: by 10.98.192.217 with SMTP id g86mr47032489pfk.170.1490205037193; Wed, 22 Mar 2017 10:50:37 -0700 (PDT) Received: from localhost.localdomain ([59.95.76.36]) by smtp.gmail.com with ESMTPSA id o194sm5234892pfg.66.2017.03.22.10.50.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 22 Mar 2017 10:50:35 -0700 (PDT) From: Jagan Teki To: Shawn Guo Subject: [PATCH 01/12] ARM: dts: imx6ul-geam: Add backlight support for lcdif Date: Wed, 22 Mar 2017 23:18:06 +0530 Message-Id: <1490204897-14525-2-git-send-email-jagan@openedev.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1490204897-14525-1-git-send-email-jagan@openedev.com> References: <1490204897-14525-1-git-send-email-jagan@openedev.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170322_105058_397204_8EEEA1B3 X-CRM114-Status: GOOD ( 10.35 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Matteo Lisi , linux-kernel@vger.kernel.org, Jagan Teki , Michael Trimarchi , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Jagan Teki This patch add support for lcdif backlight on GEAM6UL variant boards. Cc: Shawn Guo Cc: Matteo Lisi Cc: Michael Trimarchi Signed-off-by: Jagan Teki --- arch/arm/boot/dts/imx6ul-geam.dtsi | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/arch/arm/boot/dts/imx6ul-geam.dtsi b/arch/arm/boot/dts/imx6ul-geam.dtsi index 940aef6..ee5220c 100644 --- a/arch/arm/boot/dts/imx6ul-geam.dtsi +++ b/arch/arm/boot/dts/imx6ul-geam.dtsi @@ -49,6 +49,23 @@ reg = <0x80000000 0x08000000>; }; + backlight { + compatible = "pwm-backlight"; + pwms = <&pwm8 0 100000>; + brightness-levels = < 0 1 2 3 4 5 6 7 8 9 + 10 11 12 13 14 15 16 17 18 19 + 20 21 22 23 24 25 26 27 28 29 + 30 31 32 33 34 35 36 37 38 39 + 40 41 42 43 44 45 46 47 48 49 + 50 51 52 53 54 55 56 57 58 59 + 60 61 62 63 64 65 66 67 68 69 + 70 71 72 73 74 75 76 77 78 79 + 80 81 82 83 84 85 86 87 88 89 + 90 91 92 93 94 95 96 97 98 99 + 100>; + default-brightness-level = <100>; + }; + chosen { stdout-path = &uart1; }; @@ -143,6 +160,12 @@ display = <&display0>; }; +&pwm8 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_pwm8>; + status = "okay"; +}; + &tsc { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_tsc>; @@ -290,6 +313,12 @@ >; }; + pinctrl_pwm8: pwm8grp { + fsl,pins = < + MX6UL_PAD_ENET1_RX_ER__PWM8_OUT 0x110b0 + >; + }; + pinctrl_tsc: tscgrp { fsl,pin = < MX6UL_PAD_GPIO1_IO01__GPIO1_IO01 0xb0