From patchwork Wed Oct 15 02:58:52 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Scott Branden X-Patchwork-Id: 38763 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f72.google.com (mail-la0-f72.google.com [209.85.215.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 8981120973 for ; Wed, 15 Oct 2014 03:00:51 +0000 (UTC) Received: by mail-la0-f72.google.com with SMTP id gq15sf158634lab.7 for ; Tue, 14 Oct 2014 20:00:50 -0700 (PDT) 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:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe:content-type; bh=416vTDuaUs6fVQyc/N4PXmC8T9Yvujwd1dbyWTFucto=; b=YoANIihP8jx+nB/Z/+Kcl6dJClKV+BCEdPGSDpfjK/YlA7tyIAMV53y7RhmAZO/q/y G3PtQo5oLcaJtB/ROOy/hbpW9L2WUhz6lKLXqINY7nhQELZyFrkNZMoag23kQGL/n2Sc Kb7SS+fEQerblqZzUMw7NrsTn5mwABbG88J84c2M+xIpLeAgBq0w+EoR7ihpSl1wC0Yi E+K4GN+kPzJcyNraO+jOF6eaq0Cvv1REu98GKwJqCjc/IDsyf1ddHVMbf2HoTPS3O5tq Z0zEf3yDdPNBcOz8io038TB0Ga7ASpE7AspYfFKtrcH+rF65uyINmwmItIq2c0INcT+U ZPCw== X-Gm-Message-State: ALoCoQlQuzC8jNOag0nMiUOcXvZq2W/JFhoCY40hNz4EyrdPjLZtdESjqcaOWfvn8x11msCfQE6s X-Received: by 10.180.108.140 with SMTP id hk12mr118045wib.4.1413342050146; Tue, 14 Oct 2014 20:00:50 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.18.131 with SMTP id w3ls10333lad.79.gmail; Tue, 14 Oct 2014 20:00:49 -0700 (PDT) X-Received: by 10.112.222.195 with SMTP id qo3mr9358286lbc.29.1413342049596; Tue, 14 Oct 2014 20:00:49 -0700 (PDT) Received: from mail-lb0-f169.google.com (mail-lb0-f169.google.com [209.85.217.169]) by mx.google.com with ESMTPS id ug4si28829983lbc.5.2014.10.14.20.00.49 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 14 Oct 2014 20:00:49 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.169 as permitted sender) client-ip=209.85.217.169; Received: by mail-lb0-f169.google.com with SMTP id 10so269696lbg.28 for ; Tue, 14 Oct 2014 20:00:49 -0700 (PDT) X-Received: by 10.112.44.229 with SMTP id h5mr23041lbm.86.1413342049174; Tue, 14 Oct 2014 20:00:49 -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.112.84.229 with SMTP id c5csp519963lbz; Tue, 14 Oct 2014 20:00:48 -0700 (PDT) X-Received: by 10.70.127.239 with SMTP id nj15mr9494885pdb.125.1413342047609; Tue, 14 Oct 2014 20:00:47 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k2si14633194pdm.44.2014.10.14.20.00.46 for ; Tue, 14 Oct 2014 20:00:47 -0700 (PDT) Received-SPF: none (google.com: linux-kernel-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756011AbaJODAl (ORCPT + 27 others); Tue, 14 Oct 2014 23:00:41 -0400 Received: from mail-gw2-out.broadcom.com ([216.31.210.63]:1481 "EHLO mail-gw2-out.broadcom.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932625AbaJOC7O (ORCPT ); Tue, 14 Oct 2014 22:59:14 -0400 X-IronPort-AV: E=Sophos;i="5.04,721,1406617200"; d="scan'208";a="48226057" Received: from irvexchcas08.broadcom.com (HELO IRVEXCHCAS08.corp.ad.broadcom.com) ([10.9.208.57]) by mail-gw2-out.broadcom.com with ESMTP; 14 Oct 2014 20:20:45 -0700 Received: from IRVEXCHSMTP1.corp.ad.broadcom.com (10.9.207.51) by IRVEXCHCAS08.corp.ad.broadcom.com (10.9.208.57) with Microsoft SMTP Server (TLS) id 14.3.174.1; Tue, 14 Oct 2014 19:59:01 -0700 Received: from mail-irva-13.broadcom.com (10.10.10.20) by IRVEXCHSMTP1.corp.ad.broadcom.com (10.9.207.51) with Microsoft SMTP Server id 14.3.174.1; Tue, 14 Oct 2014 19:59:16 -0700 Received: from mail.broadcom.com (lbrmn-lnxub113.ric.broadcom.com [10.136.13.65]) by mail-irva-13.broadcom.com (Postfix) with ESMTP id 50B6440FE8; Tue, 14 Oct 2014 19:58:54 -0700 (PDT) From: Scott Branden To: Christian Daudt , Matt Porter , Russell King , , Mike Turquette , Alex Elder , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , "Kumar Gala" , Andrew Morton , "David S. Miller" , Greg Kroah-Hartman , Joe Perches , "Mauro Carvalho Chehab" , Antti Palosaari CC: JD Zheng , Ray Jui , , , , Jonathan Richardson , Scott Branden Subject: [PATCH v5 2/6] dt-bindings: Document Broadcom Cygnus SoC and clocks Date: Tue, 14 Oct 2014 19:58:52 -0700 Message-ID: <1413341936-17606-3-git-send-email-sbranden@broadcom.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1413341936-17606-1-git-send-email-sbranden@broadcom.com> References: <1413341936-17606-1-git-send-email-sbranden@broadcom.com> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: sbranden@broadcom.com X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.169 as permitted sender) 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: , From: Jonathan Richardson Reviewed-by: Arun Parameswaran Tested-by: Jonathan Richardson Reviewed-by: JD (Jiandong) Zheng Reviewed-by: Ray Jui Signed-off-by: Scott Branden --- .../devicetree/bindings/arm/bcm/cygnus.txt | 31 ++++++++++++++++++ .../devicetree/bindings/clock/bcm-cygnus-clock.txt | 34 ++++++++++++++++++++ 2 files changed, 65 insertions(+) create mode 100644 Documentation/devicetree/bindings/arm/bcm/cygnus.txt create mode 100644 Documentation/devicetree/bindings/clock/bcm-cygnus-clock.txt diff --git a/Documentation/devicetree/bindings/arm/bcm/cygnus.txt b/Documentation/devicetree/bindings/arm/bcm/cygnus.txt new file mode 100644 index 0000000..4c77169 --- /dev/null +++ b/Documentation/devicetree/bindings/arm/bcm/cygnus.txt @@ -0,0 +1,31 @@ +Broadcom Cygnus device tree bindings +------------------------------------ + + +Boards with Cygnus SoCs shall have the following properties: + +Required root node property: + +BCM11300 +compatible = "brcm,bcm11300", "brcm,cygnus"; + +BCM11320 +compatible = "brcm,bcm11320", "brcm,cygnus"; + +BCM11350 +compatible = "brcm,bcm11350", "brcm,cygnus"; + +BCM11360 +compatible = "brcm,bcm11360", "brcm,cygnus"; + +BCM58300 +compatible = "brcm,bcm58300", "brcm,cygnus"; + +BCM58302 +compatible = "brcm,bcm58302", "brcm,cygnus"; + +BCM58303 +compatible = "brcm,bcm58303", "brcm,cygnus"; + +BCM58305 +compatible = "brcm,bcm58305", "brcm,cygnus"; diff --git a/Documentation/devicetree/bindings/clock/bcm-cygnus-clock.txt b/Documentation/devicetree/bindings/clock/bcm-cygnus-clock.txt new file mode 100644 index 0000000..00d26ed --- /dev/null +++ b/Documentation/devicetree/bindings/clock/bcm-cygnus-clock.txt @@ -0,0 +1,34 @@ +Broadcom Cygnus Clocks + +This binding uses the common clock binding: +Documentation/devicetree/bindings/clock/clock-bindings.txt + +Currently various "fixed" clocks are declared for peripheral drivers that use +the common clock framework to reference their core clocks. Proper support of +these clocks will be added later + +Device tree example: + + clocks { + #address-cells = <1>; + #size-cells = <1>; + ranges; + + osc: oscillator { + compatible = "fixed-clock"; + #clock-cells = <1>; + clock-frequency = <25000000>; + }; + + apb_clk: apb_clk { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <1000000000>; + }; + + periph_clk: periph_clk { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <500000000>; + }; + };