Re: [PATCH v4] hwmon/mc13xxx-adc: add support for the MC13892 PMIC

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

 



On Fri, 10 Feb 2012 11:47:36 +0100, Uwe Kleine-König wrote:
> On Fri, Feb 10, 2012 at 10:40:35AM +0100, Jean Delvare wrote:
> > Hmm, this means that the touchscreen inputs are _never_ exposed for the
> > MC13892, even though the documentation says these inputs exist on that
> > chip. Is this an oversight, or is there a good reason to not expose
> > these inputs on the MC13892?
>
> No, that's correct. The mc13782's touchscreen inputs can be used for
> touch (in that case they are not used in the mc13783-adc driver) or as
> general purpose input (in which case mc13783_group_ts is used). For the
> mc13892 the touch lines are dedicated for touch and there is no general
> purpose functionallity, so on mc13892 mc13783_group_ts is never
> instantiated.

>From the MC13892 datasheet:

"TSX1 AND TSX2, TSY1 AND TSY2 (...)

Touch Screen Interfaces X1 and X2, Y1 and Y2. The touch screen X plate
is connected to TSX1 and TSX2, while the Y plate is connected to Y1 and
Y2. **In inactive mode, these pins can also be used as general purpose
ADC inputs.** They are respectively mapped on ADC channels 4, 5, 6, and
7. In interrupt mode, a voltage is applied to the X-plate (TSX2) via a
weak current source to VCORE, while the Y-plate is connected to ground
(TSY1)."

So this doesn't seem to be fundamentally different from the MC13783, hm?

-- 
Jean Delvare

_______________________________________________
lm-sensors mailing list
lm-sensors@xxxxxxxxxxxxxx
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors



[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux