[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-id: <047801ccfc1b$76f07b50$64d171f0$@com>
Date: Wed, 07 Mar 2012 13:33:37 +0900
From: Sangbeom Kim <sbkim73@...sung.com>
To: axel.lin@...il.com, linux-kernel@...r.kernel.org
Cc: 'Liam Girdwood' <lrg@...com>,
'Mark Brown' <broonie@...nsource.wolfsonmicro.com>
Subject: RE: [PATCH] regulator: Rename s5m8767_convert_voltage to
s5m8767_get_proper_voltage_sel
Hi,
> > I was confused by the function name, s5m8767_convert_voltage() converts
> what to what?
Convert means that Normal Voltage unit to 8767 internal voltage register
unit.
> BTW, I'm also confused by s5m8767_set_high and s5m8767_set_low functions.
> Both function sets the same gpios to the same state. ( by different order
)
> Maybe we need comments (or rename) for both functions.
S5M8767A can be controlled with 3 GPIO.
To control voltage with GPIO, Order is very important.
Because Voltage inversion should not be happened.
If DVFS table is like a below,
1.5Ghz 1.5V
1.0Ghz 1.0V
0.5Ghz 0.5V
If System try to change 1.0Ghz(1.0V) -> 1.5Ghz(1.5V)
Absolutely 0.5V should not be set.
Thanks,
Sangbeom.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists