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


Groups > linux.kernel > #1157500

[PATCH v2 4/5] clk: ti: DRA7: Add tbclk data for ehrpwm

From Vignesh R <vigneshr@ti.com>
Newsgroups linux.kernel
Subject [PATCH v2 4/5] clk: ti: DRA7: Add tbclk data for ehrpwm
Date 2015-06-03 14:30 +0200
Message-ID <pxfY2-SD-103@gated-at.bofh.it> (permalink)
References <pxfXZ-SD-39@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


tbclk is needed by ehrpwm to generate pwm waveforms. Hence, register
the required clock information.

Signed-off-by: Vignesh R <vigneshr@ti.com>
---
 drivers/clk/ti/clk-7xx.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/clk/ti/clk-7xx.c b/drivers/clk/ti/clk-7xx.c
index 5d2217ae4478..366be43d15fe 100644
--- a/drivers/clk/ti/clk-7xx.c
+++ b/drivers/clk/ti/clk-7xx.c
@@ -304,6 +304,9 @@ static struct ti_dt_clk dra7xx_clks[] = {
 	DT_CLK("4882a000.timer", "timer_sys_ck", "timer_sys_clk_div"),
 	DT_CLK("4882c000.timer", "timer_sys_ck", "timer_sys_clk_div"),
 	DT_CLK("4882e000.timer", "timer_sys_ck", "timer_sys_clk_div"),
+	DT_CLK("4843e200.ehrpwm", "tbclk", "ehrpwm0_tbclk"),
+	DT_CLK("48440200.ehrpwm", "tbclk", "ehrpwm1_tbclk"),
+	DT_CLK("48442200.ehrpwm", "tbclk", "ehrpwm2_tbclk"),
 	DT_CLK(NULL, "sys_clkin", "sys_clkin1"),
 	{ .node_name = NULL },
 };
-- 
2.4.1

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

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


Thread

[PATCH v2 0/5] Add support for PWMSS on DRA7 Vignesh R <vigneshr@ti.com> - 2015-06-03 14:30 +0200
  [PATCH v2 4/5] clk: ti: DRA7: Add tbclk data for ehrpwm Vignesh R <vigneshr@ti.com> - 2015-06-03 14:30 +0200
  [PATCH v2 3/5] ARM: dts: DRA7: Add TBCLK for PWMSS Vignesh R <vigneshr@ti.com> - 2015-06-03 14:30 +0200

csiph-web