[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: backlight control for NV chips in pbooks



Hi Benjamin,
On Tue, Apr 27, 2004 at 08:34:32AM +1000, Benjamin Herrenschmidt wrote:
> One thing... The formula you are using to calculate the value written,
> ideally, you should try to understand the OF forth code setting the
> brightness and reproduce the precise formula used there. It uses
How can I get at that forth code. 

> some values in the device-tree as parameters for example. I wonder
> if we risk damaging the backlight circuit by writing incorrect values
> there ...
Any ideas what these properties under pci@f0000000/NVDA,Parent@10 are:

NVPM             00010000 00000000 00000005 00000541
                 64649600 c8c8c800 00000002
(PM = power management?)
NVDA,Features    0013000f (1245199)
NVCAP            01 01 01 01 00 06 00 01 00 06

I noticed that radeonfb uses a conv_table to set the appropriate levels.
I could do that too easily (well, when rivafb is working in 2.6) until
we know more about the chip.
Cheers,
 -- Guido

Attachment: signature.asc
Description: Digital signature


Reply to: