From patchwork Tue Feb 4 19:51:39 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Kryger X-Patchwork-Id: 24135 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-oa0-f71.google.com (mail-oa0-f71.google.com [209.85.219.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 694BC202FA for ; Tue, 4 Feb 2014 19:53:07 +0000 (UTC) Received: by mail-oa0-f71.google.com with SMTP id g12sf40115612oah.10 for ; Tue, 04 Feb 2014 11:53:06 -0800 (PST) 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=TrG554vtD1jk41cSwu0l01WPeDVmd+M6031dwghy8Uo=; b=DsAS7iPoLgQalT/cArQa/R05xg5JxdeRlMPObbgjm+kHGZsaxDTkIKM9vRofoENen8 T4UmbUqmAxiGoaO0sWUxygtATY22pJMpa4j1aUQCMwxnsVakuM1z+WG3or5NwMUhJ/8n KbZptUZv2Prd5663MO086l+27lIVQRxnle4WrBDFn4ue4lD3aRiAMCiGUdvD3EsJyMh6 Wyt/Xf3Xw6y5lgYclbO2sbu8RB3CpWGZu/zrhlFynOTphxiIjt/2e36N5VmdsOusPj/N XYaZhxCzDgAJLcnTUVuiGvEO5ZyNutvG1P9acFQwF78XkRqF14j2ye3XrbzdoUVbi7NM mJCA== X-Gm-Message-State: ALoCoQm2wej6hVQyYXxcRGkZuJZaZPSMWHiw/QO+0hGHM2CCSnIK0QGlhGrpkxekdZ0ZZEh9rsdk X-Received: by 10.43.78.135 with SMTP id zm7mr15356592icb.27.1391543586260; Tue, 04 Feb 2014 11:53:06 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.93.199 with SMTP id d65ls2446251qge.12.gmail; Tue, 04 Feb 2014 11:53:06 -0800 (PST) X-Received: by 10.220.98.143 with SMTP id q15mr1315315vcn.38.1391543586184; Tue, 04 Feb 2014 11:53:06 -0800 (PST) Received: from mail-ve0-f178.google.com (mail-ve0-f178.google.com [209.85.128.178]) by mx.google.com with ESMTPS id ug9si8647222vcb.107.2014.02.04.11.53.06 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 04 Feb 2014 11:53:06 -0800 (PST) Received-SPF: neutral (google.com: 209.85.128.178 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.178; Received: by mail-ve0-f178.google.com with SMTP id oy12so6322430veb.23 for ; Tue, 04 Feb 2014 11:53:06 -0800 (PST) X-Received: by 10.52.117.115 with SMTP id kd19mr28494872vdb.15.1391543586108; Tue, 04 Feb 2014 11:53:06 -0800 (PST) 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.174.196 with SMTP id u4csp270682vcz; Tue, 4 Feb 2014 11:53:05 -0800 (PST) X-Received: by 10.68.171.67 with SMTP id as3mr45220256pbc.105.1391543584235; Tue, 04 Feb 2014 11:53:04 -0800 (PST) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id fl7si25920797pad.84.2014.02.04.11.53.03; Tue, 04 Feb 2014 11:53:03 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of devicetree-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 S932547AbaBDTw6 (ORCPT + 9 others); Tue, 4 Feb 2014 14:52:58 -0500 Received: from mail-gw3-out.broadcom.com ([216.31.210.64]:16231 "EHLO mail-gw3-out.broadcom.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932198AbaBDTwu (ORCPT ); Tue, 4 Feb 2014 14:52:50 -0500 X-IronPort-AV: E=Sophos;i="4.95,781,1384329600"; d="scan'208";a="12703098" Received: from irvexchcas08.broadcom.com (HELO IRVEXCHCAS08.corp.ad.broadcom.com) ([10.9.208.57]) by mail-gw3-out.broadcom.com with ESMTP; 04 Feb 2014 12:01:27 -0800 Received: from IRVEXCHSMTP3.corp.ad.broadcom.com (10.9.207.53) by IRVEXCHCAS08.corp.ad.broadcom.com (10.9.208.57) with Microsoft SMTP Server (TLS) id 14.3.174.1; Tue, 4 Feb 2014 11:52:50 -0800 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; Tue, 4 Feb 2014 11:52:49 -0800 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 4C26B207C4; Tue, 4 Feb 2014 11:52:45 -0800 (PST) Received: by mps-infra-lab3.broadcom.com (Postfix, from userid 1004) id 232754589A7; Tue, 4 Feb 2014 11:52:45 -0800 (PST) From: Tim Kryger To: Thierry Reding , 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 v2 1/5] Documentation: dt: Add Kona PWM binding Date: Tue, 4 Feb 2014 11:51:39 -0800 Message-ID: <1391543503-14773-2-git-send-email-tim.kryger@linaro.org> X-Mailer: git-send-email 1.8.0.1 In-Reply-To: <1391543503-14773-1-git-send-email-tim.kryger@linaro.org> References: <1391543503-14773-1-git-send-email-tim.kryger@linaro.org> 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: tim.kryger@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.128.178 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>; +};