From patchwork Thu Feb 25 22:36:35 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Franklin Cooper X-Patchwork-Id: 8427171 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id A798B9F2F0 for ; Thu, 25 Feb 2016 22:38:52 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id DAC7A2038A for ; Thu, 25 Feb 2016 22:38:51 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id E9CC720295 for ; Thu, 25 Feb 2016 22:38:41 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1aZ4X2-0000UF-EJ; Thu, 25 Feb 2016 22:37:12 +0000 Received: from mail-oi0-f66.google.com ([209.85.218.66]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1aZ4Wz-0000Nd-1A for linux-arm-kernel@lists.infradead.org; Thu, 25 Feb 2016 22:37:09 +0000 Received: by mail-oi0-f66.google.com with SMTP id j125so3356838oih.0 for ; Thu, 25 Feb 2016 14:36:50 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=8+6LGDEPtAhNnQ83rRXH0KZ3ruvmmX/FAoQm5EeafdE=; b=Us9O4CK3kd/Bj1K2nNCFB4HVG7Ap3gSi7u9MUZytx43SU6OwYfJakgBXkkwN0cag4g N2k0igeUER9oECflL/it7bC3dCubELPQ5v4lIm8e0q+Sdd+JhIJ1t07PSb4pxB1fSxM+ NdpOSFMF3jpokhjf0iwVbQ//DMj8t8jPBgZPv1cHnJzUgWk8sbCcCJYmfyfJHn1oRHZh vJmENcqzAXYf+EXAR9mv6axjcZBx/5VguxL52oSd0z+Xp3eKgRfNgaaRVJ5r2zomIXyT aAKehacJCEsxW+kS58GlocceZOhjUPA+H2w/z52nS+iE8ZtO0HS9+SthBqsVOaHsfzNj MDFg== X-Gm-Message-State: AG10YOQXUtJ07IL85nEUIFte9P1wZlYauOQhXMkpsCZqJFmlKaicxhuPyAb+ZMzHapip/g== X-Received: by 10.202.79.72 with SMTP id d69mr23448297oib.53.1456439810101; Thu, 25 Feb 2016 14:36:50 -0800 (PST) Received: from beast-server.fios-router.home (pool-173-57-21-86.dllstx.fios.verizon.net. [173.57.21.86]) by smtp.gmail.com with ESMTPSA id d10sm6691995oem.0.2016.02.25.14.36.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 25 Feb 2016 14:36:49 -0800 (PST) From: Franklin S Cooper Jr To: paul@pwsan.com, t-kristo@ti.com, tony@atomide.com, vigneshr@ti.com, linux-pwm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org Subject: [PATCH v3 4/5] clk: ti: DRA7: Add tbclk data for ehrpwm Date: Thu, 25 Feb 2016 16:36:35 -0600 Message-Id: <1456439796-28546-5-git-send-email-fcooper@ti.com> X-Mailer: git-send-email 2.7.0 In-Reply-To: <1456439796-28546-1-git-send-email-fcooper@ti.com> References: <1456439796-28546-1-git-send-email-fcooper@ti.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160225_143709_127391_A47540E8 X-CRM114-Status: UNSURE ( 8.94 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -1.9 (-) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Vignesh R tbclk is needed by ehrpwm to generate pwm waveforms. Hence, register the required clock information. Signed-off-by: Vignesh R Acked-by: Michael Turquette --- Version 3 changes: None 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 a911d7d..7fcf818 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"), DT_CLK(NULL, "dss_deshdcp_clk", "dss_deshdcp_clk"), { .node_name = NULL },