From patchwork Thu Nov 14 19:10:36 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Kryger X-Patchwork-Id: 21519 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ve0-f199.google.com (mail-ve0-f199.google.com [209.85.128.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id E415023FDD for ; Thu, 14 Nov 2013 19:11:13 +0000 (UTC) Received: by mail-ve0-f199.google.com with SMTP id cz12sf4739377veb.2 for ; Thu, 14 Nov 2013 11:11:13 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe:content-type :content-transfer-encoding; bh=Zd3yYPnW+vZ6DD2w8bYb+zjDylG0ZDfjvOAuBmlrof4=; b=YuGxiEDREjnHQ9osnbfc5ZryVi76w47sLjFAu0AaUEBp7Ns2Sd+QYK16bzLgRMHMiQ KdO6SBoYA3UmhB0uil1X7jRYLBx2x60iR+VYCUQLfCG4xg4seQp5qiqvHFKA8EcfNJ2O jqI3KjKaxs+PHON5G10W0ifgQdfZ53WSp01HYJ1+TZr9tgheNxKGWl0hlmUT3B9vfuwr dEGg92ZmkV7bWkyyddgIWnq9jhDEP1qdepYEEBhntfTB+FyAA1xadV8A6dOYlsUKcg6o X5x4VpX4QGRJ7A4sHuAav/z/6LaSkAFmf2fj0thCwkR8VC2u1a5Hfc9vj6gvxi2VRKW+ z/0w== X-Gm-Message-State: ALoCoQkrw4N259x1QKs8yw5JTQUCqfcsYtNLC07qBYG0C3zTuKCqM6pm9J1tdR2ujiW8V7zcr10q X-Received: by 10.58.128.67 with SMTP id nm3mr1237991veb.38.1384456273745; Thu, 14 Nov 2013 11:11:13 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.35.166 with SMTP id i6ls813763qej.19.gmail; Thu, 14 Nov 2013 11:11:13 -0800 (PST) X-Received: by 10.58.19.195 with SMTP id h3mr549356vee.48.1384456273653; Thu, 14 Nov 2013 11:11:13 -0800 (PST) Received: from mail-vc0-f177.google.com (mail-vc0-f177.google.com [209.85.220.177]) by mx.google.com with ESMTPS id v1si654320vdh.9.2013.11.14.11.11.13 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 14 Nov 2013 11:11:13 -0800 (PST) Received-SPF: neutral (google.com: 209.85.220.177 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.220.177; Received: by mail-vc0-f177.google.com with SMTP id id10so1022127vcb.36 for ; Thu, 14 Nov 2013 11:11:13 -0800 (PST) X-Received: by 10.58.49.169 with SMTP id v9mr546123ven.64.1384456273566; Thu, 14 Nov 2013 11:11:13 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.174.196 with SMTP id u4csp339960vcz; Thu, 14 Nov 2013 11:11:13 -0800 (PST) X-Received: by 10.182.220.225 with SMTP id pz1mr3021433obc.51.1384456271045; Thu, 14 Nov 2013 11:11:11 -0800 (PST) Received: from mms2.broadcom.com (mms2.broadcom.com. [216.31.210.18]) by mx.google.com with ESMTP id rw1si5758297oeb.87.2013.11.14.11.11.10 for ; Thu, 14 Nov 2013 11:11:10 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of tkryger@broadcom.com designates 216.31.210.18 as permitted sender) client-ip=216.31.210.18; Received: from [10.9.208.55] by mms2.broadcom.com with ESMTP (Broadcom SMTP Relay (Email Firewall v6.5)); Thu, 14 Nov 2013 11:10:33 -0800 X-Server-Uuid: 4500596E-606A-40F9-852D-14843D8201B2 Received: from IRVEXCHSMTP3.corp.ad.broadcom.com (10.9.207.53) by IRVEXCHCAS07.corp.ad.broadcom.com (10.9.208.55) with Microsoft SMTP Server (TLS) id 14.1.438.0; Thu, 14 Nov 2013 11:11:00 -0800 Received: from mail-sj1-12.sj.broadcom.com (10.10.10.20) by IRVEXCHSMTP3.corp.ad.broadcom.com (10.9.207.53) with Microsoft SMTP Server id 14.1.438.0; Thu, 14 Nov 2013 11:11:00 -0800 Received: from mps-infra-lab3.broadcom.com ( mps-infra-lab3.sj.broadcom.com [10.19.114.109]) by mail-sj1-12.sj.broadcom.com (Postfix) with ESMTP id 26574207C0; Thu, 14 Nov 2013 11:10:58 -0800 (PST) Received: by mps-infra-lab3.broadcom.com (Postfix, from userid 1004) id F3EAB4589FA; Thu, 14 Nov 2013 11:10:57 -0800 (PST) From: "Tim Kryger" To: "Christian Daudt" , "Rob Herring" , "Pawel Moll" , "Mark Rutland" , "Stephen Warren" , "Ian Campbell" , "Daniel Lezcano" , "Thomas Gleixner" , "Chris Ball" cc: "Tim Kryger" , "Device Tree List" , "Linux ARM Kernel List" , "Linux Kernel Mailing List" , "Linux MMC List" , "Linaro Patches List" Subject: [PATCH v3 1/8] ARM: dts: Declare clocks as fixed on bcm11351 Date: Thu, 14 Nov 2013 11:10:36 -0800 Message-ID: <1384456243-27053-2-git-send-email-tim.kryger@linaro.org> X-Mailer: git-send-email 1.8.0.1 In-Reply-To: <1384456243-27053-1-git-send-email-tim.kryger@linaro.org> References: <1384456243-27053-1-git-send-email-tim.kryger@linaro.org> MIME-Version: 1.0 X-WSS-ID: 7E9BFFA34RS8193358-01-01 X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: tim.kryger@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.177 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Declare clocks that are enabled and configured by bootloaders as fixed rate clocks in the DTS such that device drivers may use standard clock function calls. Signed-off-by: Tim Kryger Reviewed-by: Markus Mayer Reviewed-by: Matt Porter --- arch/arm/boot/dts/bcm11351.dtsi | 97 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 97 insertions(+) diff --git a/arch/arm/boot/dts/bcm11351.dtsi b/arch/arm/boot/dts/bcm11351.dtsi index b0c0610..eca6fbc 100644 --- a/arch/arm/boot/dts/bcm11351.dtsi +++ b/arch/arm/boot/dts/bcm11351.dtsi @@ -142,4 +142,101 @@ status = "disabled"; }; + clocks { + bsc1_clk: bsc1 { + compatible = "fixed-clock"; + clock-frequency = <13000000>; + #clock-cells = <0>; + }; + + bsc2_clk: bsc2 { + compatible = "fixed-clock"; + clock-frequency = <13000000>; + #clock-cells = <0>; + }; + + bsc3_clk: bsc3 { + compatible = "fixed-clock"; + clock-frequency = <13000000>; + #clock-cells = <0>; + }; + + pmu_bsc_clk: pmu_bsc { + compatible = "fixed-clock"; + clock-frequency = <13000000>; + #clock-cells = <0>; + }; + + hub_timer_clk: hub_timer { + compatible = "fixed-clock"; + clock-frequency = <32768>; + #clock-cells = <0>; + }; + + pwm_clk: pwm { + compatible = "fixed-clock"; + clock-frequency = <26000000>; + #clock-cells = <0>; + }; + + sdio1_clk: sdio1 { + compatible = "fixed-clock"; + clock-frequency = <48000000>; + #clock-cells = <0>; + }; + + sdio2_clk: sdio2 { + compatible = "fixed-clock"; + clock-frequency = <48000000>; + #clock-cells = <0>; + }; + + sdio3_clk: sdio3 { + compatible = "fixed-clock"; + clock-frequency = <48000000>; + #clock-cells = <0>; + }; + + sdio4_clk: sdio4 { + compatible = "fixed-clock"; + clock-frequency = <48000000>; + #clock-cells = <0>; + }; + + tmon_1m_clk: tmon_1m { + compatible = "fixed-clock"; + clock-frequency = <1000000>; + #clock-cells = <0>; + }; + + uartb_clk: uartb { + compatible = "fixed-clock"; + clock-frequency = <13000000>; + #clock-cells = <0>; + }; + + uartb2_clk: uartb2 { + compatible = "fixed-clock"; + clock-frequency = <13000000>; + #clock-cells = <0>; + }; + + uartb3_clk: uartb3 { + compatible = "fixed-clock"; + clock-frequency = <13000000>; + #clock-cells = <0>; + }; + + uartb4_clk: uartb4 { + compatible = "fixed-clock"; + clock-frequency = <13000000>; + #clock-cells = <0>; + }; + + usb_otg_ahb_clk: usb_otg_ahb { + compatible = "fixed-clock"; + clock-frequency = <52000000>; + #clock-cells = <0>; + }; + }; };