From patchwork Thu Dec 5 19:20:42 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Kryger X-Patchwork-Id: 22091 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ie0-f199.google.com (mail-ie0-f199.google.com [209.85.223.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 132D523FBA for ; Thu, 5 Dec 2013 19:21:26 +0000 (UTC) Received: by mail-ie0-f199.google.com with SMTP id lx4sf57274995iec.6 for ; Thu, 05 Dec 2013 11:21:25 -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; bh=kAlYaq0dZzLyg6cWD9pp84bTALIEaXD8NHoSNQ0BJcY=; b=FwFKY784AwGOaV93AHUsjeTE/2aLBdasuWW03YU8GV8L7orNJzNU6Au38XqC12ZiSC zt6VyKaJ0E5sIc2g5sNR5hdj7A0P/D861znVh/enTyrDLm0QP+doO1ltgWO4DBD6zwFo PuChd84yjlXDbIYelYqRlH3Xxji19s8nHOWHUQ/z6BSU7DyibQEOqbNw44W+CXHq8f6X afIiwyQL/LVCFslj23mMbHWyXlYbLMpaUd05ihgconUGvyOscfOHYfg38uy1OEyNkJ9P 6qhXd+sOeoszPL2aprchusphE6dbnSRLk4f6U7Iitgb9iBXfHjPrGVaeu3kHBgi6jWoY H2Ew== X-Gm-Message-State: ALoCoQldLEB3/WK8PBnklSPQyPgon6rZwB9pEcuASJVO3Dx6Fw/RVOC7GbJYyTEKhmhYskaLKG8b X-Received: by 10.182.88.200 with SMTP id bi8mr3197049obb.43.1386271285773; Thu, 05 Dec 2013 11:21:25 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.73.69 with SMTP id j5ls1004348qev.48.gmail; Thu, 05 Dec 2013 11:21:25 -0800 (PST) X-Received: by 10.221.29.8 with SMTP id rw8mr2566369vcb.56.1386271285578; Thu, 05 Dec 2013 11:21:25 -0800 (PST) Received: from mail-vc0-f172.google.com (mail-vc0-f172.google.com [209.85.220.172]) by mx.google.com with ESMTPS id uw1si10239654vdc.71.2013.12.05.11.21.25 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 05 Dec 2013 11:21:25 -0800 (PST) Received-SPF: neutral (google.com: 209.85.220.172 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.172; Received: by mail-vc0-f172.google.com with SMTP id hz11so13372699vcb.17 for ; Thu, 05 Dec 2013 11:21:25 -0800 (PST) X-Received: by 10.220.186.202 with SMTP id ct10mr66679427vcb.14.1386271285444; Thu, 05 Dec 2013 11:21:25 -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 u4csp40665vcz; Thu, 5 Dec 2013 11:21:25 -0800 (PST) X-Received: by 10.42.215.80 with SMTP id hd16mr55361498icb.17.1386271282207; Thu, 05 Dec 2013 11:21:22 -0800 (PST) Received: from mail-gw2-out.broadcom.com (mail-gw2-out.broadcom.com. [216.31.210.63]) by mx.google.com with ESMTP id ow5si15336095icc.51.2013.12.05.11.21.21 for ; Thu, 05 Dec 2013 11:21:22 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of tkryger@broadcom.com designates 216.31.210.63 as permitted sender) client-ip=216.31.210.63; X-IronPort-AV: E=Sophos;i="4.93,835,1378882800"; d="scan'208";a="365453" Received: from irvexchcas06.broadcom.com (HELO IRVEXCHCAS06.corp.ad.broadcom.com) ([10.9.208.53]) by mail-gw2-out.broadcom.com with ESMTP; 05 Dec 2013 11:25:40 -0800 Received: from IRVEXCHSMTP2.corp.ad.broadcom.com (10.9.207.52) by IRVEXCHCAS06.corp.ad.broadcom.com (10.9.208.53) with Microsoft SMTP Server (TLS) id 14.1.438.0; Thu, 5 Dec 2013 11:21:20 -0800 Received: from mail-sj1-12.sj.broadcom.com (10.10.10.20) by IRVEXCHSMTP2.corp.ad.broadcom.com (10.9.207.52) with Microsoft SMTP Server id 14.1.438.0; Thu, 5 Dec 2013 11:21:19 -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 9C2AC207D2; Thu, 5 Dec 2013 11:21:18 -0800 (PST) Received: by mps-infra-lab3.broadcom.com (Postfix, from userid 1004) id 75E5F458A0F; Thu, 5 Dec 2013 11:21:18 -0800 (PST) From: Tim Kryger To: Christian Daudt , Rob Herring , Pawel Moll , Mark Rutland , Stephen Warren , Ian Campbell , Daniel Lezcano , Thomas Gleixner , Chris Ball , Axel Lin CC: Tim Kryger , Device Tree List , Linux ARM Kernel List , Linux Kernel Mailing List , Linux MMC List , Linaro Patches List Subject: [PATCH v4 6/8] Documentation: dt: kona-timer: Add clocks property Date: Thu, 5 Dec 2013 11:20:42 -0800 Message-ID: <1386271244-3927-7-git-send-email-tim.kryger@linaro.org> X-Mailer: git-send-email 1.8.0.1 In-Reply-To: <1386271244-3927-1-git-send-email-tim.kryger@linaro.org> References: <1386271244-3927-1-git-send-email-tim.kryger@linaro.org> MIME-Version: 1.0 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.172 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: , The frequency for the Kona timer can either be specified through the device tree or determined by checking the rate of the clock specified in the device tree. Update the documentation to reflect both ways. Signed-off-by: Tim Kryger Reviewed-by: Matt Porter Reviewed-by: Christian Daudt --- Documentation/devicetree/bindings/arm/bcm/kona-timer.txt | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/arm/bcm/kona-timer.txt b/Documentation/devicetree/bindings/arm/bcm/kona-timer.txt index 17d88b2..39adf54 100644 --- a/Documentation/devicetree/bindings/arm/bcm/kona-timer.txt +++ b/Documentation/devicetree/bindings/arm/bcm/kona-timer.txt @@ -8,13 +8,18 @@ Required properties: - DEPRECATED: compatible : "bcm,kona-timer" - reg : Register range for the timer - interrupts : interrupt for the timer +- clocks: phandle + clock specifier pair of the external clock - clock-frequency: frequency that the clock operates +Only one of clocks or clock-frequency should be specified. + +Refer to clocks/clock-bindings.txt for generic clock consumer properties. + Example: timer@35006000 { compatible = "brcm,kona-timer"; reg = <0x35006000 0x1000>; interrupts = <0x0 7 0x4>; - clock-frequency = <32768>; + clocks = <&hub_timer_clk>; };