[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20111104152559.GC28615@opensource.wolfsonmicro.com>
Date: Fri, 4 Nov 2011 15:25:59 +0000
From: Mark Brown <broonie@...nsource.wolfsonmicro.com>
To: "Mohammed, Afzal" <afzal@...com>
Cc: "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"Girdwood, Liam" <lrg@...com>,
"sameo@...ux.intel.com" <sameo@...ux.intel.com>,
"Nori, Sekhar" <nsekhar@...com>,
"linux-omap@...r.kernel.org" <linux-omap@...r.kernel.org>,
"gg@...mlogic.co.uk" <gg@...mlogic.co.uk>,
Jorge Eduardo Candelaria <jedu@...mlogic.co.uk>
Subject: Re: [PATCH 2/2] regulator:TPS65910: VDD1/2 voltage selector count
On Fri, Nov 04, 2011 at 02:26:05PM +0000, Mohammed, Afzal wrote:
> Hi Brown,
Ahem.
> On Fri, Nov 04, 2011 at 19:34:22, Mark Brown wrote:
> > On Fri, Nov 04, 2011 at 06:18:48PM +0530, Afzal Mohammed wrote:
> > > if (i == TPS65910_REG_VDD1 || i == TPS65910_REG_VDD2) {
> > > pmic->desc[i].ops = &tps65910_ops_dcdc;
> > > + pmic->desc[i].n_voltages = VDD1_2_NUM_VOLTS * 3;
> > This looks suspicous - what's the * 3 about?
> Gain in voltage possible is x1, 0x2 & 0x3, I am shaky
> about this change, but voltage could be changed with this,
That doesn't really clarify things - the question is why the number of
voltages we can set is three times a constant called _NUM_VOLTS?
--
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