Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1520438

[PATCH v2 3/3] drivers: mfd: ti_am335x_tscadc: increase ADC ref clock to 24MHz

From Mugunthan V N <mugunthanvnm@ti.com>
Newsgroups linux.kernel
Subject [PATCH v2 3/3] drivers: mfd: ti_am335x_tscadc: increase ADC ref clock to 24MHz
Date 2016-11-13 01:00 +0100
Message-ID <sCQng-Fi-13@gated-at.bofh.it> (permalink)
References <sC0I1-h7-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Increase ADC reference clock from 3MHz to 24MHz so that the
sampling rates goes up from 100K samples per second to 800K
samples per second on AM335x and AM437x SoC.

Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com>
---
 include/linux/mfd/ti_am335x_tscadc.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/linux/mfd/ti_am335x_tscadc.h b/include/linux/mfd/ti_am335x_tscadc.h
index b9a53e013bff..f6c449b96ea5 100644
--- a/include/linux/mfd/ti_am335x_tscadc.h
+++ b/include/linux/mfd/ti_am335x_tscadc.h
@@ -137,7 +137,7 @@
 #define SEQ_STATUS BIT(5)
 #define CHARGE_STEP		0x11
 
-#define ADC_CLK			3000000
+#define ADC_CLK			24000000
 #define TOTAL_STEPS		16
 #define TOTAL_CHANNELS		8
 #define FIFO1_THRESHOLD		19
-- 
2.11.0.rc0.7.gbe5a750

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v2 0/3] increase TSCADC clock to 24MHz and fix ti,charge-delay to represent in nS  Mugunthan V N <mugunthanvnm@ti.com> - 2016-11-10 17:50 +0100
  [PATCH v2 1/3] dt/binding: ti-tsc-adc: deprecate ti,charge-delay and add binding doc for ti,charge-delay-ns Mugunthan V N <mugunthanvnm@ti.com> - 2016-11-10 19:20 +0100
    Re: [PATCH v2 1/3] dt/binding: ti-tsc-adc: deprecate ti,charge-delay  and add binding doc for ti,charge-delay-ns Rob Herring <robh@kernel.org> - 2016-11-15 03:00 +0100
  [PATCH v2 3/3] drivers: mfd: ti_am335x_tscadc: increase ADC ref clock to 24MHz Mugunthan V N <mugunthanvnm@ti.com> - 2016-11-13 01:00 +0100
    Re: [PATCH v2 3/3] drivers: mfd: ti_am335x_tscadc: increase ADC ref  clock to 24MHz Lee Jones <lee.jones@linaro.org> - 2016-11-22 14:10 +0100
  [PATCH v2 2/3] Input: ti_am335x_tsc: Add support for ti,charge-delay-ns Mugunthan V N <mugunthanvnm@ti.com> - 2016-11-13 06:40 +0100
  Re: [PATCH v2 0/3] increase TSCADC clock to 24MHz and fix  ti,charge-delay to represent in nS Mugunthan V N <mugunthanvnm@ti.com> - 2016-11-25 06:00 +0100

csiph-web