From patchwork Tue Apr 8 22:23:54 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Elder X-Patchwork-Id: 28048 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-pd0-f197.google.com (mail-pd0-f197.google.com [209.85.192.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 45E5F20447 for ; Tue, 8 Apr 2014 22:23:47 +0000 (UTC) Received: by mail-pd0-f197.google.com with SMTP id fp1sf4536367pdb.4 for ; Tue, 08 Apr 2014 15:23:46 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=U0bUxabAp8EAJQFWmgGFEEJOQnr0q7FCcS0KDcT5CeM=; b=F+58H7Hzpd2ee0wFs9aC5FaJbTZpTHbSizkryzwSE+eIPhEJIa8jajQyaX0Bh4GR6t n54yJzR3wVmUf1Uj0P29Ii88hR3WPw+UL0CUI68Zwe8vloWEa6jBKLbcST+VN+7ATc1u /ZqlZVteole39f0s6o6MpbrVWqSBxVSzoW+Fbm/6LidHKwwVKYL8/rOljG7EaLhhAP+y 2vKV1xNsHh3D3ukzXP4pbuZuYtuwctcFWh+w2MABgNfSnemImsoB4w/8tb5zYTKWsra5 pnToTzEcsX6gXoY4DYkJ2n38UP+tH0RnuSJfSoSY95hv89M/XevQxyT0LxC+wlW9fgxd cklw== X-Gm-Message-State: ALoCoQnlhpslxK6cEUr87EOVp9deIDfR3lERqGTWMpFDPv32/nheAQ/Vb6Cu2B0Zo1Tt2Y/lW9t4 X-Received: by 10.66.188.238 with SMTP id gd14mr3129747pac.18.1396995826154; Tue, 08 Apr 2014 15:23:46 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.98.68 with SMTP id n62ls380366qge.28.gmail; Tue, 08 Apr 2014 15:23:46 -0700 (PDT) X-Received: by 10.52.142.10 with SMTP id rs10mr4484070vdb.3.1396995826009; Tue, 08 Apr 2014 15:23:46 -0700 (PDT) Received: from mail-ve0-f181.google.com (mail-ve0-f181.google.com [209.85.128.181]) by mx.google.com with ESMTPS id j20si657476vcx.127.2014.04.08.15.23.45 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 08 Apr 2014 15:23:46 -0700 (PDT) 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 oy12so1412517veb.12 for ; Tue, 08 Apr 2014 15:23:45 -0700 (PDT) X-Received: by 10.220.133.80 with SMTP id e16mr5368159vct.13.1396995825928; Tue, 08 Apr 2014 15:23:45 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.220.12.8 with SMTP id v8csp281848vcv; Tue, 8 Apr 2014 15:23:45 -0700 (PDT) X-Received: by 10.66.66.135 with SMTP id f7mr7492381pat.22.1396995825089; Tue, 08 Apr 2014 15:23:45 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id nm5si1715667pbc.79.2014.04.08.15.23.44; Tue, 08 Apr 2014 15:23:44 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756846AbaDHWXd (ORCPT + 9 others); Tue, 8 Apr 2014 18:23:33 -0400 Received: from mail-ie0-f179.google.com ([209.85.223.179]:34656 "EHLO mail-ie0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757511AbaDHWXa (ORCPT ); Tue, 8 Apr 2014 18:23:30 -0400 Received: by mail-ie0-f179.google.com with SMTP id lx4so1642796iec.38 for ; Tue, 08 Apr 2014 15:23:30 -0700 (PDT) X-Received: by 10.43.143.211 with SMTP id jn19mr5437178icc.0.1396995810165; Tue, 08 Apr 2014 15:23:30 -0700 (PDT) Received: from localhost.localdomain (c-71-195-31-37.hsd1.mn.comcast.net. [71.195.31.37]) by mx.google.com with ESMTPSA id vu3sm113677igc.6.2014.04.08.15.23.28 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 08 Apr 2014 15:23:29 -0700 (PDT) From: Alex Elder To: mturquette@linaro.org, mporter@linaro.org, bcm@fixthebug.org, devicetree@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 3/5] ARM: dts: define clock binding for bcm21664 Date: Tue, 8 Apr 2014 17:23:54 -0500 Message-Id: <1396995836-31111-4-git-send-email-elder@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1396995836-31111-1-git-send-email-elder@linaro.org> References: <1396995836-31111-1-git-send-email-elder@linaro.org> Sender: devicetree-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: devicetree@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: elder@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 Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Document the device tree binding for Broadcom BCM28164 clock control units and clocks. This SoC uses Kona CCUs, similar to the BCM281XX SoC family. Signed-off-by: Alex Elder --- .../devicetree/bindings/clock/bcm-kona-clock.txt | 39 ++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/Documentation/devicetree/bindings/clock/bcm-kona-clock.txt b/Documentation/devicetree/bindings/clock/bcm-kona-clock.txt index ebe3ab6..5286e26 100644 --- a/Documentation/devicetree/bindings/clock/bcm-kona-clock.txt +++ b/Documentation/devicetree/bindings/clock/bcm-kona-clock.txt @@ -98,3 +98,42 @@ be used. These specifiers are defined in: slave bsc2 peri 7 BCM281XX_SLAVE_CCU_BSC2 slave bsc3 peri 8 BCM281XX_SLAVE_CCU_BSC3 slave pwm peri 9 BCM281XX_SLAVE_CCU_PWM + + +BCM21664 family +--------------- +CCU compatible string values for SoCs in the BCM21664 family are: + "brcm,bcm21664-root-ccu" + "brcm,bcm21664-aon-ccu" + "brcm,bcm21664-master-ccu" + "brcm,bcm21664-slave-ccu" + +The following table defines the set of CCUs and clock specifiers for +BCM21664 family clocks. When a clock consumer references a clocks, +its symbolic specifier (rather than its numeric index value) should +be used. These specifiers are defined in: + "include/dt-bindings/clock/bcm21664.h" + + CCU Clock Type Index Specifier + --- ----- ---- ----- --------- + root frac_1m peri 0 BCM21664_ROOT_CCU_FRAC_1M + + aon hub_timer peri 0 BCM21664_AON_CCU_HUB_TIMER + + master sdio1 peri 0 BCM21664_MASTER_CCU_SDIO1 + master sdio2 peri 1 BCM21664_MASTER_CCU_SDIO2 + master sdio3 peri 2 BCM21664_MASTER_CCU_SDIO3 + master sdio4 peri 3 BCM21664_MASTER_CCU_SDIO4 + master sdio1_sleep peri 4 BCM21664_MASTER_CCU_SDIO1_SLEEP + master sdio2_sleep peri 5 BCM21664_MASTER_CCU_SDIO2_SLEEP + master sdio3_sleep peri 6 BCM21664_MASTER_CCU_SDIO3_SLEEP + master sdio4_sleep peri 7 BCM21664_MASTER_CCU_SDIO4_SLEEP + + slave uartb peri 0 BCM21664_SLAVE_CCU_UARTB + slave uartb2 peri 1 BCM21664_SLAVE_CCU_UARTB2 + slave uartb3 peri 2 BCM21664_SLAVE_CCU_UARTB3 + slave uartb4 peri 3 BCM21664_SLAVE_CCU_UARTB4 + slave bsc1 peri 4 BCM21664_SLAVE_CCU_BSC1 + slave bsc2 peri 5 BCM21664_SLAVE_CCU_BSC2 + slave bsc3 peri 6 BCM21664_SLAVE_CCU_BSC3 + slave bsc4 peri 7 BCM21664_SLAVE_CCU_BSC4