public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
From: Tomi Valkeinen <tomi.valkeinen@ti.com>
To: Russ Dill <Russ.Dill@ti.com>
Cc: Tony Lindgren <tony@atomide.com>,
	linux-omap@vger.kernel.org,
	Robert Nelson <robertcnelson@gmail.com>,
	Jason Kridner <jkridner@beagleboard.org>
Subject: Re: [PATCH] OMAP: Beagle: fix TFP410 powerdown GPIO init
Date: Thu, 14 Jun 2012 11:13:33 +0300	[thread overview]
Message-ID: <1339661613.2229.6.camel@deskari> (raw)
In-Reply-To: <CA+Bv8XbwWbdTFFo9KHoOk7Tq8XBWDOWhkEqq7Pz6by_8sE_ngA@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 2058 bytes --]

On Thu, 2012-06-14 at 00:59 -0700, Russ Dill wrote:
> On Thu, Jun 14, 2012 at 12:18 AM, Tomi Valkeinen <tomi.valkeinen@ti.com> wrote:
> > On Wed, 2012-06-13 at 23:58 -0700, Russ Dill wrote:
> >> On Wed, Jun 13, 2012 at 2:20 AM, Tomi Valkeinen <tomi.valkeinen@ti.com> wrote:
> >> > Commit e813a55eb9c9bc6c8039fb16332cf43402125b30 ("OMAP: board-files:
> >> > remove custom PD GPIO handling for DVI output") moved TFP410 chip's
> >> > powerdown-gpio handling from the board files to the tfp410 driver. One
> >> > gpio_request_one(powerdown-gpio, ...) was mistakenly left unremoved in
> >> > the Beagle board file. This causes the tfp410 driver to fail to request
> >> > the gpio on Beagle, causing the driver to fail and thus the DVI output
> >> > doesn't work.
> >>
> >> Can you take the one I sent earlier instead?
> >>
> >> http://www.spinics.net/lists/linux-omap/msg69913.html
> >
> > Hmm, that probably doesn't apply. The power-down GPIO is now handled in
> > the tfp410 driver, not in the board files.
> 
> Give me a branch to rebase it onto and I will.

v3.5-rc2

> > Looking more closely at the board file, what are these nDVI_PWR_EN,
> > DVI_LDO_EN and DVI_PU gpios? There's no "enable line" on tfp410. Only
> > the power-down gpio, which is none of the above...
> 
> On my schematic, DVI_LDO_EN is labeled more sanely, DVI_PU. I'm not
> sure of the history of that. My patch does remove any reference to
> DVI_LDO_EN.
> 
> nDVI_PWR_EN is labeled AUX_3V3_DIS on my schematic. AUX_3V3_DIS is
> connected to the disable pin of an LDO that provides power for the DVI
> transceiver.

Okay. These are a bit problematic, because we're in the process of
removing these kinds of things from the board file, as they cannot be
supported with device tree. The tfp410 driver in v3.5 doesn't even have
the platform_enable/disable callback anymore.

Those do not belong to tfp410 driver, but I don't really know how they
should be handled. This is one of the questions about device tree that
is unclear to me...

 Tomi


[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

  reply	other threads:[~2012-06-14  8:13 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-13  9:20 [PATCH] OMAP: Beagle: fix TFP410 powerdown GPIO init Tomi Valkeinen
2012-06-14  6:58 ` Russ Dill
2012-06-14  7:18   ` Tomi Valkeinen
2012-06-14  7:59     ` Russ Dill
2012-06-14  8:13       ` Tomi Valkeinen [this message]
2012-06-14  8:17         ` Russ Dill
2012-06-14  8:20           ` Tomi Valkeinen
2012-06-14 11:40         ` Russ Dill
2012-06-14 12:20           ` Tomi Valkeinen
2012-06-20 13:48             ` Tony Lindgren

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1339661613.2229.6.camel@deskari \
    --to=tomi.valkeinen@ti.com \
    --cc=Russ.Dill@ti.com \
    --cc=jkridner@beagleboard.org \
    --cc=linux-omap@vger.kernel.org \
    --cc=robertcnelson@gmail.com \
    --cc=tony@atomide.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox