From patchwork Thu Nov 14 19:10:41 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Kryger X-Patchwork-Id: 21517 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ob0-f199.google.com (mail-ob0-f199.google.com [209.85.214.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 1ECD423FDD for ; Thu, 14 Nov 2013 19:11:12 +0000 (UTC) Received: by mail-ob0-f199.google.com with SMTP id wm4sf5655505obc.10 for ; Thu, 14 Nov 2013 11:11:11 -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=uoafIBQ0YEo5dChGJJMOK4KdjDlkpMahsEVMSSMipJc=; b=lao7QDRemBw6IPmwFJ+lPZNn3ixEHXvLA+MFPnxWVTsyaAQwLEBH5We5FwZ3FgSDFt KHuoQo1ughkv+viaZ7nfauZ64u/AIEiNOd+aC2KCER62sEUfuh/cgK9qDXaUPQLXcc95 RstpZ22J6Stz5Rs4peXEeNl+kbpo4OXPlH0/8BpXLDVix0Oyl8Oa+uwHz5wGLxiE2I65 VMmzuylmfGjSPJNy+6kEg1TPpmYjrTajG0pY4AYuLro9efDaHNZ4ar3oRSFhgeTxiAOC mA7fX/ZsGOp8gpzb0wV1OCAjuyVj/sEh8nNoOc9ydv9IkdTBTv5H6iOJD/kVzICJIPUW GW2w== X-Gm-Message-State: ALoCoQnjlR6MJPxei1snreFVDfJlsEHwiUV16Cuo+ef8zR1d3+R8GaOYU+RYd3E6k5nOo4AzUdN9 X-Received: by 10.50.66.232 with SMTP id i8mr1702200igt.3.1384456271556; Thu, 14 Nov 2013 11:11:11 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.29.6 with SMTP id f6ls1133363qeh.3.gmail; Thu, 14 Nov 2013 11:11:11 -0800 (PST) X-Received: by 10.52.74.74 with SMTP id r10mr460696vdv.78.1384456271404; Thu, 14 Nov 2013 11:11:11 -0800 (PST) Received: from mail-ve0-f181.google.com (mail-ve0-f181.google.com [209.85.128.181]) by mx.google.com with ESMTPS id vh9si17701318vcb.100.2013.11.14.11.11.11 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 14 Nov 2013 11:11:11 -0800 (PST) Received-SPF: neutral (google.com: 209.85.128.181 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.181; Received: by mail-ve0-f181.google.com with SMTP id jx11so2191226veb.26 for ; Thu, 14 Nov 2013 11:11:11 -0800 (PST) X-Received: by 10.58.107.4 with SMTP id gy4mr848406veb.39.1384456271319; Thu, 14 Nov 2013 11:11:11 -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 u4csp339955vcz; Thu, 14 Nov 2013 11:11:11 -0800 (PST) X-Received: by 10.60.39.169 with SMTP id q9mr3006115oek.79.1384456270827; Thu, 14 Nov 2013 11:11:10 -0800 (PST) Received: from mms2.broadcom.com (mms2.broadcom.com. [216.31.210.18]) by mx.google.com with ESMTP id tr10si510713obc.113.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 B1C68207D2; Thu, 14 Nov 2013 11:10:58 -0800 (PST) Received: by mps-infra-lab3.broadcom.com (Postfix, from userid 1004) id 877254589FC; Thu, 14 Nov 2013 11:10:58 -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 6/8] Documentation: dt: kona-timer: Add clocks property Date: Thu, 14 Nov 2013 11:10:41 -0800 Message-ID: <1384456243-27053-7-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: 7E9BFFA24RS8193357-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.128.181 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 --- Documentation/devicetree/bindings/arm/bcm/kona-timer.txt | 8 +++++++- 1 file changed, 7 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..b84e184 100644 --- a/Documentation/devicetree/bindings/arm/bcm/kona-timer.txt +++ b/Documentation/devicetree/bindings/arm/bcm/kona-timer.txt @@ -8,13 +8,19 @@ Required properties: - DEPRECATED: compatible : "bcm,kona-timer" - reg : Register range for the timer - interrupts : interrupt for the timer +- clocks: clock specifier for the kona i2c 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>; };