Linux on ARM based TI OMAP SoCs
 help / color / mirror / Atom feed
* [PATCH] Fix incomplete initialization of ADC[3:6]
@ 2015-07-16 22:20 Adam YH Lee
  2015-07-16 22:20 ` [PATCH] [TWL4030 MADC] Fix ADC[3:6] readings Adam YH Lee
  0 siblings, 1 reply; 10+ messages in thread
From: Adam YH Lee @ 2015-07-16 22:20 UTC (permalink / raw)
  To: linux-omap, linux-arm-kernel; +Cc: Adam YH Lee

TPS65950(TWL4030) paired with OMAP3 is used in devices such as Beagleboard and
Gumstix Overo COMs. Its ADCs from 3 to 6 seem to be broken [1][2][3].

The ADC readings for these pins are stuck at near 0v for these two reasons:
        - 3v1 bias regulator (vusb3v1) is off unless USB-otg is being used
        - pins are not configured to attach as ADC

This patch attempts to fix these issues by making sure 3v1 regulator is enabled
and pins are correctly configured as ADC inputs.

[1] http://comments.gmane.org/gmane.linux.ports.arm.omap/83698
[2] http://gumstix.8.x6.nabble.com/twl4030-madc-low-read-value-td4967139.html#none
[3] https://e2e.ti.com/support/power_management/pmu/f/43/t/732

Adam YH Lee (1):
  [TWL4030 MADC] Fix ADC[3:6] readings

 drivers/iio/adc/twl4030-madc.c | 14 ++++++++++++++
 drivers/phy/phy-twl4030-usb.c  |  7 +++++++
 2 files changed, 21 insertions(+)

-- 
2.1.4

^ permalink raw reply	[flat|nested] 10+ messages in thread
* [PATCH] Fix incomplete initialization of ADC[3:6]$
@ 2015-07-20 18:14 Adam YH Lee
       [not found] ` <1437416058-24586-1-git-send-email-adam.yh.lee-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
  0 siblings, 1 reply; 10+ messages in thread
From: Adam YH Lee @ 2015-07-20 18:14 UTC (permalink / raw)
  To: linux-omap-u79uwXL29TY76Z2rM5mHXA,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r
  Cc: linux-iio-u79uwXL29TY76Z2rM5mHXA, sre-DgEjT+Ai2ygdnm+yROfE0A,
	jic23-DgEjT+Ai2ygdnm+yROfE0A, pmeerw-jW+XmwGofnusTnJN9+BGXg,
	Adam YH Lee

Additionally the original discussion for this patch can be found here [5].
$
[1] http://comments.gmane.org/gmane.linux.ports.arm.omap/83698$
[2] http://gumstix.8.x6.nabble.com/twl4030-madc-low-read-value-td4967139.html#none$
[3] https://e2e.ti.com/support/power_management/pmu/f/43/t/732$
[4] http://www.droid-developers.org/images/2/21/Tps65950_TRM.pdf$
[5] http://www.spinics.net/lists/linux-omap/msg120300.html

Adam YH Lee (1):
  [TWL4030 MADC] Fix ADC[3:6] readings

 drivers/iio/adc/twl4030-madc.c | 14 ++++++++++++++
 drivers/phy/phy-twl4030-usb.c  |  7 +++++++
 2 files changed, 21 insertions(+)

-- 
2.1.4

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2015-07-20 19:19 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-16 22:20 [PATCH] Fix incomplete initialization of ADC[3:6] Adam YH Lee
2015-07-16 22:20 ` [PATCH] [TWL4030 MADC] Fix ADC[3:6] readings Adam YH Lee
2015-07-17  9:00   ` Sebastian Reichel
2015-07-17  9:42     ` Peter Meerwald
     [not found]       ` <alpine.DEB.2.02.1507171136180.14972-jW+XmwGofnusTnJN9+BGXg@public.gmane.org>
2015-07-20 17:47         ` Adam Lee
     [not found]           ` <CAFeBWL6ARBReHq8jom3kGu3iOaPib41nOJ3-gx358nYwsGKLfw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-07-20 17:54             ` Jonathan Cameron
     [not found]               ` <55AD35D1.7000607-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
2015-07-20 18:23                 ` Adam Lee
  -- strict thread matches above, loose matches on Subject: below --
2015-07-20 18:14 [PATCH] Fix incomplete initialization of ADC[3:6]$ Adam YH Lee
     [not found] ` <1437416058-24586-1-git-send-email-adam.yh.lee-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2015-07-20 18:14   ` [PATCH] [TWL4030 MADC] Fix ADC[3:6] readings Adam YH Lee
     [not found]     ` <1437416058-24586-2-git-send-email-adam.yh.lee-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2015-07-20 18:54       ` Peter Meerwald
     [not found]         ` <alpine.DEB.2.02.1507202051270.18050-jW+XmwGofnusTnJN9+BGXg@public.gmane.org>
2015-07-20 19:19           ` Adam Lee

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox