Re: [PATCH v2] iio: iadc: Qualcomm SPMI PMIC current ADC driver

From: Mark Rutland
Date: Wed Sep 24 2014 - 13:10:54 EST


> > > > +
> > > > +- qcom,rsense:
> > > > + Usage: optional
> > > > + Value type: <u32>
> > > > + Definition: External sense register value in Ohm. Defining this
> > > > + propery will instruct ADC to use external ADC sense channel.
> > > > + If property is not defined ADC will use internal sense channel.
> > >
> > > The latter two sentences sound like a driver description.
> > >
> > > What exactly is the difference between the internal and external
> > > channels, and what exactly is the value in the sense register used for?
> >
> > Internal - when using chip build-in resistor
> > External - when using off-chip resistor
>
> Would it be possible to use the internal channel when you have an
> external resistor?
>
> If so, does the device have a channel per resistor, or can either
> resistor be selected and applied to the single channel the device has?
>
> This might be better worded as "external-registor-ohms".

I meant to say "external-resistor-ohms".

Muscle memory and lack of coffee got the better of me.

Mark.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/