From patchwork Tue Oct 28 19:53:06 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Scott Branden X-Patchwork-Id: 39703 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wg0-f70.google.com (mail-wg0-f70.google.com [74.125.82.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 852B024026 for ; Tue, 28 Oct 2014 19:54:10 +0000 (UTC) Received: by mail-wg0-f70.google.com with SMTP id x13sf870317wgg.9 for ; Tue, 28 Oct 2014 12:54:04 -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=I8DEs3MPKGYqGkRZr12D8SoPNQflDdNXdpiPRB8ON48=; b=A+VjmwoIwHviUjAiX14S70Urjt82UFTWR9nSwdPQ+iMDzd4mqcip7UiQ/eQA1ykbfF idWZwhgQMJbKPfGQp7gD2FnbCGKg+Ojlnzpp09oHh0TGoXueat7Pidr2vATL/zNA008T 8d27dEO2KuMlhDW0CpebCrBwJudKoEJgLQGa8ZTL9OTS0XUn+YihRtVb8qtlhyO3VocC 411nvWsbRggDJhsGNcpSeohHG6tOg4+3Z/J03Sy55pByCasShomXmqUVXnMggecHf28/ i+00E9gpg6eY6nMYV3L0vy+9SxqX8TkDE0QOvIoBnuPJDRJMd8OvRmPet18MHVH50bKw YwqA== X-Gm-Message-State: ALoCoQn2RvS/yCjA5qmL6xS2T/GAioQVmnqDJA+zVriOG4FluFfy9czHV4WybcRhOe+S/C14NMyv X-Received: by 10.152.42.171 with SMTP id p11mr970287lal.4.1414526044038; Tue, 28 Oct 2014 12:54:04 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.36.67 with SMTP id o3ls109776laj.22.gmail; Tue, 28 Oct 2014 12:54:03 -0700 (PDT) X-Received: by 10.152.8.100 with SMTP id q4mr6354455laa.48.1414526043811; Tue, 28 Oct 2014 12:54:03 -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 sf5si4149812lbb.46.2014.10.28.12.54.03 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 28 Oct 2014 12:54:03 -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 l4so1273556lbv.14 for ; Tue, 28 Oct 2014 12:54:02 -0700 (PDT) X-Received: by 10.112.12.35 with SMTP id v3mr6440931lbb.80.1414526042716; Tue, 28 Oct 2014 12:54:02 -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 c5csp546598lbz; Tue, 28 Oct 2014 12:54:01 -0700 (PDT) X-Received: by 10.70.87.168 with SMTP id az8mr5746594pdb.55.1414526039613; Tue, 28 Oct 2014 12:53:59 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id nl6si2107855pbc.220.2014.10.28.12.53.58 for ; Tue, 28 Oct 2014 12:53:59 -0700 (PDT) Received-SPF: none (google.com: devicetree-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 S1751602AbaJ1Txf (ORCPT + 4 others); Tue, 28 Oct 2014 15:53:35 -0400 Received: from mail-gw1-out.broadcom.com ([216.31.210.62]:36435 "EHLO mail-gw1-out.broadcom.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752541AbaJ1Txe (ORCPT ); Tue, 28 Oct 2014 15:53:34 -0400 X-IronPort-AV: E=Sophos;i="5.04,804,1406617200"; d="scan'208";a="49567636" Received: from irvexchcas08.broadcom.com (HELO IRVEXCHCAS08.corp.ad.broadcom.com) ([10.9.208.57]) by mail-gw1-out.broadcom.com with ESMTP; 28 Oct 2014 14:19:30 -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, 28 Oct 2014 12:53:20 -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, 28 Oct 2014 12:53:18 -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 43E9740FE5; Tue, 28 Oct 2014 12:53:03 -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 v8 2/8] dt-bindings: Document Broadcom Cygnus SoC and clocks Date: Tue, 28 Oct 2014 12:53:06 -0700 Message-ID: <1414525992-3678-3-git-send-email-sbranden@broadcom.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1414525992-3678-1-git-send-email-sbranden@broadcom.com> References: <1414525992-3678-1-git-send-email-sbranden@broadcom.com> MIME-Version: 1.0 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: 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>; + }; + };