From patchwork Wed Oct 22 20:57:49 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Scott Branden X-Patchwork-Id: 39332 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f197.google.com (mail-lb0-f197.google.com [209.85.217.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id C8F73202DB for ; Wed, 22 Oct 2014 20:58:37 +0000 (UTC) Received: by mail-lb0-f197.google.com with SMTP id p9sf3122lbv.0 for ; Wed, 22 Oct 2014 13:58:36 -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=lOTYbkzaVJu0wF2s9GFsDUnFJfojk/XGXQw5oJ0hthIo/BBSGblmBv1bUltIg5h3cT 2y/Mq6jENkzfE/icixAJA4nN7KQKa7ZbF9Oz6rTWVYcu5sNcU04tPJj42mQKxFRJLJvg NBsY/p9sMkdcbnqjR80ALfK6E1GFIsD5ehXWY9J/QS636evX5ZDBe0oeyOCfum93kMC/ T23KpHEoK3OkNeLq0Jr8Dp+tUszmkUlE1unwhqrEO7y3vz8w/3uCDq3hINP6tWHx274x srTkP/vE71xyMQNaTPaIglaOEC22fy8JzQ/MC4G5p8oryNrTAayKEL/T9UE/LmcAU63Y bVFQ== X-Gm-Message-State: ALoCoQnFM9MOlhxnAaDKTCY4uH98G/A1egBKmzn+PzB3E6BQe27VJbkc1+mtd0HdHJySw4b9eHPv X-Received: by 10.180.182.164 with SMTP id ef4mr1456678wic.0.1414011516546; Wed, 22 Oct 2014 13:58:36 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.23.74 with SMTP id k10ls247453laf.6.gmail; Wed, 22 Oct 2014 13:58:36 -0700 (PDT) X-Received: by 10.112.239.12 with SMTP id vo12mr463030lbc.81.1414011516362; Wed, 22 Oct 2014 13:58:36 -0700 (PDT) Received: from mail-la0-f46.google.com (mail-la0-f46.google.com. [209.85.215.46]) by mx.google.com with ESMTPS id x6si2013621lbo.81.2014.10.22.13.58.36 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 22 Oct 2014 13:58:36 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.46 as permitted sender) client-ip=209.85.215.46; Received: by mail-la0-f46.google.com with SMTP id gi9so3617929lab.5 for ; Wed, 22 Oct 2014 13:58:36 -0700 (PDT) X-Received: by 10.112.189.10 with SMTP id ge10mr523760lbc.23.1414011516215; Wed, 22 Oct 2014 13:58:36 -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 c5csp152412lbz; Wed, 22 Oct 2014 13:58:35 -0700 (PDT) X-Received: by 10.68.100.69 with SMTP id ew5mr605325pbb.84.1414011514427; Wed, 22 Oct 2014 13:58:34 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id bg3si13929512pbc.60.2014.10.22.13.58.32 for ; Wed, 22 Oct 2014 13:58:34 -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 S932884AbaJVU6R (ORCPT + 27 others); Wed, 22 Oct 2014 16:58:17 -0400 Received: from mail-gw3-out.broadcom.com ([216.31.210.64]:18631 "EHLO mail-gw3-out.broadcom.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932352AbaJVU6N (ORCPT ); Wed, 22 Oct 2014 16:58:13 -0400 X-IronPort-AV: E=Sophos;i="5.04,771,1406617200"; d="scan'208";a="48759406" Received: from irvexchcas06.broadcom.com (HELO IRVEXCHCAS06.corp.ad.broadcom.com) ([10.9.208.53]) by mail-gw3-out.broadcom.com with ESMTP; 22 Oct 2014 14:01:49 -0700 Received: from IRVEXCHSMTP2.corp.ad.broadcom.com (10.9.207.52) by IRVEXCHCAS06.corp.ad.broadcom.com (10.9.208.53) with Microsoft SMTP Server (TLS) id 14.3.174.1; Wed, 22 Oct 2014 13:58:18 -0700 Received: from mail-irva-13.broadcom.com (10.10.10.20) by IRVEXCHSMTP2.corp.ad.broadcom.com (10.9.207.52) with Microsoft SMTP Server id 14.3.174.1; Wed, 22 Oct 2014 13:58: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 8308740FE5; Wed, 22 Oct 2014 13:57:53 -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 v7 2/7] dt-bindings: Document Broadcom Cygnus SoC and clocks Date: Wed, 22 Oct 2014 13:57:49 -0700 Message-ID: <1414011474-11821-3-git-send-email-sbranden@broadcom.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1414011474-11821-1-git-send-email-sbranden@broadcom.com> References: <1414011474-11821-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.46 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>; + }; + };