mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: "Marc Reilly" <marc@cpdesign.com.au>
To: 'Sascha Hauer' <s.hauer@pengutronix.de>
Cc: barebox@lists.infradead.org
Subject: RE: Splash screen on mx35 3 stack
Date: Mon, 5 Apr 2010 14:55:33 +1000	[thread overview]
Message-ID: <003d01cad47c$3cc272d0$b6475870$@cpdesign.com.au> (raw)
In-Reply-To: <20100331121903.GU2241@pengutronix.de>

Hi Sascha,

Please pardon my terrible manners for not saying a big "thank you" sooner!
Easter holiday preparations got in the way.

> I have short circuited pins 2 and 3 of q6 on the personality board to get
power
> to the LCD. q6 is normally driven by the mc9s08 (pin ptf0). We did not
have
> any code for this chip at that time and then forgot about it. As we now
have a
> driver for it it should only be a matter of finding the right bits to
twiddle with.

Ah, I see ... so this LCD only works if power is supplied to it? :)

As a quick test I shorted out pin 2 and 3 of Q6, and the LCD works.
However, I can't that FET to turn on via software. I've tried enabling the
LCD in f3s_enable_display with:

u8 mask = (0x01 << 6);
mc9sdz60_set_bits( mc9sdz60_get(), MC9SDZ60_REG_GPIO_1, mask ,  mask);

From a quick glance, this seemed to be essentially what the kernel was
doing. Mc9sdz60 registers read as expected but the screen stays off - that's
as much as I had time for.

> Patches welcome ;)
If I figure it out, will submit a patch for sure, but I'll be moving to
custom hardware soon and it will become irrelevant, so I may have to admit
defeat.

Thanks again!

Cheers
Marc

  


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

  reply	other threads:[~2010-04-05  4:55 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-31  9:59 Marc Reilly
2010-03-31 12:19 ` Sascha Hauer
2010-04-05  4:55   ` Marc Reilly [this message]
2010-04-06  6:30     ` 'Sascha Hauer'
2010-04-06  6:48       ` Peter Korsgaard
2010-04-01  5:58 ` Eric Bénard

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='003d01cad47c$3cc272d0$b6475870$@cpdesign.com.au' \
    --to=marc@cpdesign.com.au \
    --cc=barebox@lists.infradead.org \
    --cc=s.hauer@pengutronix.de \
    /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