From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-yk0-f179.google.com ([209.85.160.179]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WzogS-0000pO-Dl for linux-mtd@lists.infradead.org; Wed, 25 Jun 2014 15:00:24 +0000 Received: by mail-yk0-f179.google.com with SMTP id 20so1157954yks.10 for ; Wed, 25 Jun 2014 08:00:02 -0700 (PDT) Date: Wed, 25 Jun 2014 11:59:10 -0300 From: Ezequiel Garcia To: "Gupta, Pekon" Subject: Re: [PATCH v1 3/3] ARM: dts: am335x-bone: add support for beaglebone LCD4 cape Message-ID: <20140625145910.GC743@arch.cereza> References: <1403612666-31197-1-git-send-email-pekon@ti.com> <1403612666-31197-4-git-send-email-pekon@ti.com> <20140624150336.GA10041@arch.cereza> <20980858CB6D3A4BAE95CA194937D5E73EAF7327@DBDE04.ent.ti.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20980858CB6D3A4BAE95CA194937D5E73EAF7327@DBDE04.ent.ti.com> Cc: Tony Lindgren , Jason Kridner , linux-mtd , linux-omap , Robert Nelson , Guido =?iso-8859-1?Q?Mart=EDnez?= List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On 25 Jun 04:38 AM, Gupta, Pekon wrote: > >From: Ezequiel Garcia > >>On 24 Jun 05:54 PM, Pekon Gupta wrote: > >> This patch adds support for LCD4 cape as advertised on > >> http://elinux.org/CircuitCo:BeagleBone_LCD4 > >> > >> This cape has: > >> * 480x272 TFT-LCD panel > >> - LCD panel datasheet and timing information are sourced from [1] > >> - LCD backlight is connected to 'EHRPWM1A' on cape board, but its used for > >> enabling backlight power-supply. So 'gpio-backlight' driver is used instead > >> of 'pwm-backlight' driver (Kconfig: BACKLIGHT_GPIO=y). > >> > > > >I'm confused about this, can you clarify why you are not using pwm-backlight? > > > > As per the schematics of this LCD4 cape board, "EHRPWM1A" pin controls > enabling/disabling of the power to backlight LED. It does not control the > voltage levels (brightness levels) of the LED. Thus it wasn't making sense > to use pwm-backlight driver which more suitable in cases where you have > multiple levels of brightness. > Here, you have only 2 levels "backlight=off | on", so I used gpio-backlight driver. > Though you can use pwm-backlight driver also, but the backlight turns ON > only when you set the /sys/class/backlight//brighteness > to maximum level (as set in DT). > Hm, I didn't know that. Thanks for this information. -- Ezequiel Garcia, VanguardiaSur www.vanguardiasur.com.ar