From patchwork Tue Oct 28 23:15:05 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Scott Branden X-Patchwork-Id: 39712 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f199.google.com (mail-wi0-f199.google.com [209.85.212.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 1C97F24026 for ; Tue, 28 Oct 2014 23:17:05 +0000 (UTC) Received: by mail-wi0-f199.google.com with SMTP id r20sf1263870wiv.2 for ; Tue, 28 Oct 2014 16:17: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=416vTDuaUs6fVQyc/N4PXmC8T9Yvujwd1dbyWTFucto=; b=JmY38nQ93/DLezaNBJLUBn2vaY9Rrbk6oIdpnEUSWOdIltm9MDkuqiYRJKKOI0tM27 QTxaJr4oitzN5RhcSCAsqzy6Qa+hjv/e9TCH38CcU9sWbdEeEfv5feXmDGXAMaI0gz5/ 89tzzgAZHcL18gh/loSbs0EFdQ5NJCa9Te9ibeY77VukQDVB2Z74bVbVbGEbLQ4gb1vU xcnnPxHXrbjFykZx5ow5BoqC4baTkwEztP5B9osQGIk6S5dV+fI344LOuCCgBwLDaitG 7+oTEgezFNbWDOZlrmhZ5X93T2AztxBsGE0p8vOmIgyGl1zol1Jr1hasOHPUCtIE1z22 d9Zg== X-Gm-Message-State: ALoCoQla606syyso7VPLZNPLls79xgbqTIgJqD1bXkr6IrWfxhFEGt/+4hB+yFUctszz7AlanksJ X-Received: by 10.112.89.195 with SMTP id bq3mr1021310lbb.9.1414538224247; Tue, 28 Oct 2014 16:17:04 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.3.170 with SMTP id d10ls117366lad.75.gmail; Tue, 28 Oct 2014 16:17:03 -0700 (PDT) X-Received: by 10.112.167.130 with SMTP id zo2mr7444075lbb.4.1414538223943; Tue, 28 Oct 2014 16:17:03 -0700 (PDT) Received: from mail-la0-f45.google.com (mail-la0-f45.google.com. [209.85.215.45]) by mx.google.com with ESMTPS id yf1si4725445lab.63.2014.10.28.16.17.03 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 28 Oct 2014 16:17:03 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.45 as permitted sender) client-ip=209.85.215.45; Received: by mail-la0-f45.google.com with SMTP id gm9so1563666lab.32 for ; Tue, 28 Oct 2014 16:17:03 -0700 (PDT) X-Received: by 10.152.120.199 with SMTP id le7mr7207452lab.67.1414538223856; Tue, 28 Oct 2014 16:17:03 -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 c5csp571691lbz; Tue, 28 Oct 2014 16:17:02 -0700 (PDT) X-Received: by 10.67.30.232 with SMTP id kh8mr3400pad.149.1414538222077; Tue, 28 Oct 2014 16:17:02 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id tl10si2611467pac.46.2014.10.28.16.17.01 for ; Tue, 28 Oct 2014 16:17:02 -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 S1755226AbaJ1XQ6 (ORCPT + 26 others); Tue, 28 Oct 2014 19:16:58 -0400 Received: from mail-gw1-out.broadcom.com ([216.31.210.62]:3842 "EHLO mail-gw1-out.broadcom.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752190AbaJ1XP3 (ORCPT ); Tue, 28 Oct 2014 19:15:29 -0400 X-IronPort-AV: E=Sophos;i="5.04,805,1406617200"; d="scan'208";a="49582139" 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 17:41:43 -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 16:15:27 -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 16:15:27 -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 32FF14102B; Tue, 28 Oct 2014 16:15:07 -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 v9 2/8] dt-bindings: Document Broadcom Cygnus SoC and clocks Date: Tue, 28 Oct 2014 16:15:05 -0700 Message-ID: <1414538111-11668-3-git-send-email-sbranden@broadcom.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1414538111-11668-1-git-send-email-sbranden@broadcom.com> References: <1414538111-11668-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.215.45 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 Acked-by: Michael Turquette --- .../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>; + }; + };