From patchwork Wed Jun 24 17:45:33 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mugunthan V N X-Patchwork-Id: 6669721 Return-Path: X-Original-To: patchwork-linux-omap@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 1676D9F457 for ; Wed, 24 Jun 2015 17:46:35 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 3C7A8205E7 for ; Wed, 24 Jun 2015 17:46:34 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 48CB420609 for ; Wed, 24 Jun 2015 17:46:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751605AbbFXRqX (ORCPT ); Wed, 24 Jun 2015 13:46:23 -0400 Received: from bear.ext.ti.com ([192.94.94.41]:38202 "EHLO bear.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752913AbbFXRqH (ORCPT ); Wed, 24 Jun 2015 13:46:07 -0400 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by bear.ext.ti.com (8.13.7/8.13.7) with ESMTP id t5OHjbLo027337; Wed, 24 Jun 2015 12:45:38 -0500 Received: from DFLE73.ent.ti.com (dfle73.ent.ti.com [128.247.5.110]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id t5OHjaJr032182; Wed, 24 Jun 2015 12:45:36 -0500 Received: from dlep32.itg.ti.com (157.170.170.100) by DFLE73.ent.ti.com (128.247.5.110) with Microsoft SMTP Server id 14.3.224.2; Wed, 24 Jun 2015 12:45:36 -0500 Received: from mugunthan-lt.itg.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep32.itg.ti.com (8.14.3/8.13.8) with ESMTP id t5OHjWom000553; Wed, 24 Jun 2015 12:45:33 -0500 From: Mugunthan V N To: CC: Tony Lindgren , Keerthy , Tero Kristo , , , Subject: [PATCH 1/1] arm: dts: am43xx-clock: Add qspi clock node. Date: Wed, 24 Jun 2015 23:15:33 +0530 Message-ID: <1435167933-5249-1-git-send-email-mugunthanvnm@ti.com> X-Mailer: git-send-email 2.4.2.387.gf86f31a MIME-Version: 1.0 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Spam-Status: No, score=-8.3 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, 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: Sourav Poddar Add clock node for qspi controller driver on am437x. Cc: Keerthy Cc: Tero Kristo Signed-off-by: Sourav Poddar Signed-off-by: Mugunthan V N --- arch/arm/boot/dts/am4372.dtsi | 2 ++ arch/arm/boot/dts/am43xx-clocks.dtsi | 8 ++++++++ 2 files changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/am4372.dtsi b/arch/arm/boot/dts/am4372.dtsi index 649e7b9..8ab7831 100644 --- a/arch/arm/boot/dts/am4372.dtsi +++ b/arch/arm/boot/dts/am4372.dtsi @@ -903,6 +903,8 @@ #address-cells = <1>; #size-cells = <0>; ti,hwmods = "qspi"; + clocks = <&qspi_fclk>; + clock-names = "fck"; interrupts = <0 138 0x4>; num-cs = <4>; status = "disabled"; diff --git a/arch/arm/boot/dts/am43xx-clocks.dtsi b/arch/arm/boot/dts/am43xx-clocks.dtsi index cc88728..1506585 100644 --- a/arch/arm/boot/dts/am43xx-clocks.dtsi +++ b/arch/arm/boot/dts/am43xx-clocks.dtsi @@ -763,4 +763,12 @@ ti,bit-shift = <8>; reg = <0x8a68>; }; + + qspi_fclk: qspi_fclk { + #clock-cells = <0>; + compatible = "ti,fixed-factor-clock"; + clocks = <&dpll_per_m2_div4_ck>; + clock-mult = <1>; + clock-div = <1>; + }; };