From patchwork Mon Nov 18 18:54:57 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Kryger X-Patchwork-Id: 21585 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qe0-f71.google.com (mail-qe0-f71.google.com [209.85.128.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 6A32323FF9 for ; Mon, 18 Nov 2013 18:55:31 +0000 (UTC) Received: by mail-qe0-f71.google.com with SMTP id 1sf13235398qec.6 for ; Mon, 18 Nov 2013 10:55:30 -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:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe:content-type :content-transfer-encoding; bh=sVPjs9Wg5z5ssWeKBe2EPtGYQZ28ZBmuTo+HSork88Y=; b=S2WJ0rpfQl3losjUTKBjiwKr8aLLstKxrQM9rR2h53L6KuXAvi45a5RXAxrLtru43e 4CyWepeoeh7BJGC6L58C93jIVyFPPOYwVyO5Mkc1s33XaUcTi0xOmgVljMtlqLqyE4JJ IKb1LiB79CYM7DVgJgJF1u4wylEgB/hWCKVqmE2Fb2dnF4fDUvSWUYyyj5DfkKCwJZth eul5xCH/1yz+ASdms1vyRk2Nt3gHeUQqtzq3/C6PjmJK+7dU0o9jTUVMVYsaE+6dJwni UY2IkvauFi37M1VqzXw4k1gsaY4zw5Bi4HpyNHu5cyI9WMLM88A1v3clTZwFjUYLHzGH ngRw== X-Gm-Message-State: ALoCoQkwI61bz8QpHbY8fc8t4UmR9VT6RBwSHOlEBd/bx2cjdAwdLS0K9s0MI/t4X3Xy9eQmONQi X-Received: by 10.52.173.203 with SMTP id bm11mr1077272vdc.6.1384800930802; Mon, 18 Nov 2013 10:55:30 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.37.225 with SMTP id b1ls1270760qek.8.gmail; Mon, 18 Nov 2013 10:55:30 -0800 (PST) X-Received: by 10.220.144.80 with SMTP id y16mr16938845vcu.4.1384800930640; Mon, 18 Nov 2013 10:55:30 -0800 (PST) Received: from mail-ve0-f182.google.com (mail-ve0-f182.google.com [209.85.128.182]) by mx.google.com with ESMTPS id mh9si7617474vec.26.2013.11.18.10.55.30 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 18 Nov 2013 10:55:30 -0800 (PST) Received-SPF: neutral (google.com: 209.85.128.182 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.182; Received: by mail-ve0-f182.google.com with SMTP id pa12so5460955veb.27 for ; Mon, 18 Nov 2013 10:55:30 -0800 (PST) X-Received: by 10.52.32.37 with SMTP id f5mr13977792vdi.17.1384800930553; Mon, 18 Nov 2013 10:55:30 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.174.196 with SMTP id u4csp222840vcz; Mon, 18 Nov 2013 10:55:30 -0800 (PST) X-Received: by 10.224.43.8 with SMTP id u8mr14350305qae.70.1384800928899; Mon, 18 Nov 2013 10:55:28 -0800 (PST) Received: from mms1.broadcom.com (mms1.broadcom.com. [216.31.210.17]) by mx.google.com with ESMTP id j3si12270933qab.91.2013.11.18.10.55.28 for ; Mon, 18 Nov 2013 10:55:28 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of tkryger@broadcom.com designates 216.31.210.17 as permitted sender) client-ip=216.31.210.17; Received: from [10.9.208.57] by mms1.broadcom.com with ESMTP (Broadcom SMTP Relay (Email Firewall v6.5)); Mon, 18 Nov 2013 10:55:05 -0800 X-Server-Uuid: 06151B78-6688-425E-9DE2-57CB27892261 Received: from IRVEXCHSMTP2.corp.ad.broadcom.com (10.9.207.52) by IRVEXCHCAS08.corp.ad.broadcom.com (10.9.208.57) with Microsoft SMTP Server (TLS) id 14.1.438.0; Mon, 18 Nov 2013 10:55:19 -0800 Received: from mail-sj1-12.sj.broadcom.com (10.10.10.20) by IRVEXCHSMTP2.corp.ad.broadcom.com (10.9.207.52) with Microsoft SMTP Server id 14.1.438.0; Mon, 18 Nov 2013 10:55:19 -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 3E927207CE; Mon, 18 Nov 2013 10:55:18 -0800 (PST) Received: by mps-infra-lab3.broadcom.com (Postfix, from userid 1004) id 0C688458990; Mon, 18 Nov 2013 10:55:17 -0800 (PST) From: "Tim Kryger" To: "Thierry Reding" , "Rob Herring" , "Pawel Moll" , "Mark Rutland" , "Stephen Warren" , "Ian Campbell" , "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" , "Linaro Patches List" Subject: [PATCH 1/5] Documentation: dt: Add kona-pwm binding Date: Mon, 18 Nov 2013 10:54:57 -0800 Message-ID: <1384800901-21711-2-git-send-email-tim.kryger@linaro.org> X-Mailer: git-send-email 1.8.0.1 In-Reply-To: <1384800901-21711-1-git-send-email-tim.kryger@linaro.org> References: <1384800901-21711-1-git-send-email-tim.kryger@linaro.org> MIME-Version: 1.0 X-WSS-ID: 7E94BD021509192163-01-01 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.182 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 Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Add the binding description for the kona-pwm block 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..5c3ea1b --- /dev/null +++ b/Documentation/devicetree/bindings/pwm/bcm-kona-pwm.txt @@ -0,0 +1,24 @@ +Broadcom's PWM Controller Device Tree bindings + +Broadcom's Kona PWM Controller has 6 channels + +Required Properties : +- compatible: should be "brcm,kona-pwm" +- reg: physical base address and length of the controller's registers +- clocks: clock specifier for the kona pwm external clock +- #pwm-cells: should be 2. The first cell specifies the per-chip index + of the PWM to use and the second cell is the period in nanoseconds. + +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 = <2>; +};