From patchwork Wed Mar 12 20:15:42 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Kryger X-Patchwork-Id: 26161 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-yh0-f69.google.com (mail-yh0-f69.google.com [209.85.213.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 093FC236AC for ; Wed, 12 Mar 2014 20:18:25 +0000 (UTC) Received: by mail-yh0-f69.google.com with SMTP id b6sf75097yha.4 for ; Wed, 12 Mar 2014 13:18:25 -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=21YrTRwOnu1SVqaoLJvebi9DegB5YV88xqNFzdElkfw=; b=dYCmsAVCgO6riI2GvswZYD6ldxfZw0SBU10Oa9QDQ9CCcu3LDq8Jiq5/9LITuwgSit 8dNhorFB8/IaNuBVmG1rhz3AJF0yJV0hSt3jm4RxxZGfjZHAM5EocAdp+CxY7kCpSI8K 4XFK5gwVRj6OKCVOQ4/izCB92baKVCdTWHPIvAl0LaMtTn8E8YfgYYu0z1yAvv3OrpWP yYlJNead1T0YJXCgkghVdEBb9dZWDoXQ8qHF6kkkExedROXAar9mPeAzHb9akTuPcDTc xELIvoEs/aYeQPfU9XvbUTUtd/WfKVoR4NutdOXRlgLU2lUD7PS9ouC2fSjrwa9u0F3d lTqQ== X-Gm-Message-State: ALoCoQkGsTB1sC5pDGR0AjEaML+a1JN7kHb637QD41f6SzikgISxSP3l7mpPvLz1FnvS2VYLY+9Y X-Received: by 10.236.124.114 with SMTP id w78mr1789966yhh.52.1394655505727; Wed, 12 Mar 2014 13:18:25 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.98.97 with SMTP id n88ls13288qge.64.gmail; Wed, 12 Mar 2014 13:18:25 -0700 (PDT) X-Received: by 10.221.26.10 with SMTP id rk10mr33893711vcb.0.1394655505249; Wed, 12 Mar 2014 13:18:25 -0700 (PDT) Received: from mail-vc0-f176.google.com (mail-vc0-f176.google.com [209.85.220.176]) by mx.google.com with ESMTPS id u5si7824501vdo.134.2014.03.12.13.18.25 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 12 Mar 2014 13:18:25 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.176 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.220.176; Received: by mail-vc0-f176.google.com with SMTP id lc6so32006vcb.35 for ; Wed, 12 Mar 2014 13:18:25 -0700 (PDT) X-Received: by 10.220.250.203 with SMTP id mp11mr33138734vcb.2.1394655505156; Wed, 12 Mar 2014 13:18:25 -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.78.9 with SMTP id i9csp316670vck; Wed, 12 Mar 2014 13:18:24 -0700 (PDT) X-Received: by 10.66.171.76 with SMTP id as12mr7479979pac.52.1394655504082; Wed, 12 Mar 2014 13:18:24 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id qy5si3356559pab.50.2014.03.12.13.18.22; Wed, 12 Mar 2014 13:18:22 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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 S1753169AbaCLUSO (ORCPT + 26 others); Wed, 12 Mar 2014 16:18:14 -0400 Received: from mail-gw1-out.broadcom.com ([216.31.210.62]:43238 "EHLO mail-gw1-out.broadcom.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752141AbaCLUP6 (ORCPT ); Wed, 12 Mar 2014 16:15:58 -0400 X-IronPort-AV: E=Sophos;i="4.97,640,1389772800"; d="scan'208";a="19377528" Received: from irvexchcas06.broadcom.com (HELO IRVEXCHCAS06.corp.ad.broadcom.com) ([10.9.208.53]) by mail-gw1-out.broadcom.com with ESMTP; 12 Mar 2014 14:01:02 -0700 Received: from IRVEXCHSMTP3.corp.ad.broadcom.com (10.9.207.53) by IRVEXCHCAS06.corp.ad.broadcom.com (10.9.208.53) with Microsoft SMTP Server (TLS) id 14.3.174.1; Wed, 12 Mar 2014 13:15:57 -0700 Received: from mail-sj1-12.sj.broadcom.com (10.10.10.20) by IRVEXCHSMTP3.corp.ad.broadcom.com (10.9.207.53) with Microsoft SMTP Server id 14.3.174.1; Wed, 12 Mar 2014 13:15:57 -0700 Received: from mps-infra-lab3.broadcom.com (mps-infra-lab3.sj.broadcom.com [10.19.114.109]) by mail-sj1-12.sj.broadcom.com (Postfix) with ESMTP id 22ADB207CD; Wed, 12 Mar 2014 13:15:57 -0700 (PDT) Received: by mps-infra-lab3.broadcom.com (Postfix, from userid 1004) id E793D458A54; Wed, 12 Mar 2014 13:15:56 -0700 (PDT) From: Tim Kryger To: Thierry Reding , Matt Porter , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , "Rob Landley" , Christian Daudt , Grant Likely CC: Tim Kryger , Linux PWM List , Device Tree List , Linux Doc List , Linux Kernel Mailing List , Broadcom Kernel Feedback List , Linux ARM Kernel List Subject: [PATCH v3 1/5] Documentation: dt: Add Kona PWM binding Date: Wed, 12 Mar 2014 13:15:42 -0700 Message-ID: <1394655346-30048-2-git-send-email-tim.kryger@linaro.org> X-Mailer: git-send-email 1.8.0.1 In-Reply-To: <1394655346-30048-1-git-send-email-tim.kryger@linaro.org> References: <1394655346-30048-1-git-send-email-tim.kryger@linaro.org> 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: tim.kryger@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.176 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: , Add the binding description for the Kona PWM controller found on Broadcom's mobile SoCs. Signed-off-by: Tim Kryger Reviewed-by: Alex Elder Reviewed-by: Markus Mayer --- .../devicetree/bindings/pwm/bcm-kona-pwm.txt | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 Documentation/devicetree/bindings/pwm/bcm-kona-pwm.txt diff --git a/Documentation/devicetree/bindings/pwm/bcm-kona-pwm.txt b/Documentation/devicetree/bindings/pwm/bcm-kona-pwm.txt new file mode 100644 index 0000000..c8e2d13 --- /dev/null +++ b/Documentation/devicetree/bindings/pwm/bcm-kona-pwm.txt @@ -0,0 +1,24 @@ +Broadcom Kona PWM controller device tree bindings + +This controller has 6 channels. + +Required Properties : +- compatible: should be "brcm,kona-pwm" +- reg: physical base address and length of the controller's registers +- clocks: phandle + clock specifier pair for the external clock +- #pwm-cells: should be 3. The first cell specifies the per-chip index + of the PWM to use, the second cell is the period in nanoseconds, and + the third cell is the flags. + +Refer to pwm/pwm.txt for generic pwm controller node properties. + +Refer to clocks/clock-bindings.txt for generic clock consumer properties. + +Example: + +pwm: pwm@3e01a000 { + compatible = "brcm,bcm11351-pwm", "brcm,kona-pwm"; + reg = <0x3e01a000 0xc4>; + clocks = <&pwm_clk>; + #pwm-cells = <3>; +};