From patchwork Wed Apr 2 16:27:20 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Kryger X-Patchwork-Id: 27649 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ob0-f199.google.com (mail-ob0-f199.google.com [209.85.214.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 3B6B320341 for ; Wed, 2 Apr 2014 16:30:02 +0000 (UTC) Received: by mail-ob0-f199.google.com with SMTP id wo20sf2096103obc.6 for ; Wed, 02 Apr 2014 09:30:02 -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:subject:date:message-id :in-reply-to:references:mime-version:cc:precedence:list-id :list-unsubscribe:list-archive:list-post:list-help:list-subscribe :sender:errors-to:x-original-sender :x-original-authentication-results:mailing-list:content-type :content-transfer-encoding; bh=GAGGeAFhPvDqvJIpZM4wTbHbt6ULWeqPUEhKLZ4aJ/8=; b=dhrSCpYp/xWJfCQf6NwJKWsIw6jBO39gYo7qPXquwMVa0K0bkRYlz55yCeRRU8Ll5R 8il3EssfGW61KFhYPtBcY811ooBtOENtXMhMofZnEHv0/BDtup76VzOT+xWXvQ/AVBbC eysUdq8dJMEfdg66V/wWDBnim2hU7bx8WWrmFwq5pE4fnqe3qLAmV6S98l1cGnfGVhrX MN8vKT9liUBQDDcw0l3ozmM85E/6HHT35JhP7zOB8vmOiKoLlnOneDf6UFns8ewK5Lgi nt073x0IHbFJtxVULgaS8W4KQUWOjTewGbKB/hSzuR/9ttOHkbMvay8K/NQlZLHyg+m6 BgHg== X-Gm-Message-State: ALoCoQkbHjrzKP3JQGso4hAvz3YlpIPGE4qvaw7UVCpFuKdMAZcGIZb0ZIOCIMZouA0fdoRQTr0o X-Received: by 10.182.29.196 with SMTP id m4mr629862obh.26.1396456201988; Wed, 02 Apr 2014 09:30:01 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.101.21 with SMTP id t21ls381275qge.1.gmail; Wed, 02 Apr 2014 09:30:01 -0700 (PDT) X-Received: by 10.52.104.33 with SMTP id gb1mr1444220vdb.45.1396456201798; Wed, 02 Apr 2014 09:30:01 -0700 (PDT) Received: from mail-vc0-f171.google.com (mail-vc0-f171.google.com [209.85.220.171]) by mx.google.com with ESMTPS id vv9si663385vcb.91.2014.04.02.09.30.01 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 02 Apr 2014 09:30:01 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.171 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.171; Received: by mail-vc0-f171.google.com with SMTP id lg15so662231vcb.2 for ; Wed, 02 Apr 2014 09:30:01 -0700 (PDT) X-Received: by 10.52.6.162 with SMTP id c2mr1592854vda.6.1396456201704; Wed, 02 Apr 2014 09:30:01 -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.12.8 with SMTP id v8csp337585vcv; Wed, 2 Apr 2014 09:30:01 -0700 (PDT) X-Received: by 10.180.100.70 with SMTP id ew6mr3211831wib.57.1396456200347; Wed, 02 Apr 2014 09:30:00 -0700 (PDT) Received: from casper.infradead.org (casper.infradead.org. [2001:770:15f::2]) by mx.google.com with ESMTPS id co9si12281645wib.1.2014.04.02.09.29.59 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 02 Apr 2014 09:30:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org designates 2001:770:15f::2 as permitted sender) client-ip=2001:770:15f::2; Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WVO1b-0002nS-AR; Wed, 02 Apr 2014 16:28:27 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WVO1T-0000wW-Ve; Wed, 02 Apr 2014 16:28:19 +0000 Received: from mail-gw1-out.broadcom.com ([216.31.210.62]) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WVO1H-0000tt-06 for linux-arm-kernel@lists.infradead.org; Wed, 02 Apr 2014 16:28:07 +0000 X-IronPort-AV: E=Sophos;i="4.97,780,1389772800"; d="scan'208";a="22851455" Received: from irvexchcas06.broadcom.com (HELO IRVEXCHCAS06.corp.ad.broadcom.com) ([10.9.208.53]) by mail-gw1-out.broadcom.com with ESMTP; 02 Apr 2014 10:23:53 -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, 2 Apr 2014 09:27:42 -0700 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.3.174.1; Wed, 2 Apr 2014 09:27:42 -0700 Received: from dhcp-sv1-10-19-114-209.sj.broadcom.com (mps-infra-lab3.sj.broadcom.com [10.19.114.109]) by mail-sj1-12.sj.broadcom.com (Postfix) with ESMTP id 791EC27A83; Wed, 2 Apr 2014 09:27:42 -0700 (PDT) Received: by dhcp-sv1-10-19-114-209.sj.broadcom.com (Postfix, from userid 1004) id 470D12520C44; Wed, 2 Apr 2014 09:27:42 -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 Subject: [RESEND PATCH v5 1/5] Documentation: dt: Add Kona PWM binding Date: Wed, 2 Apr 2014 09:27:20 -0700 Message-ID: <1396456044-19427-2-git-send-email-tim.kryger@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1396456044-19427-1-git-send-email-tim.kryger@linaro.org> References: <1396456044-19427-1-git-send-email-tim.kryger@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140402_122807_180000_A794A56F X-CRM114-Status: UNSURE ( 9.96 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -4.8 (----) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-4.8 points) pts rule name description ---- ---------------------- -------------------------------------------------- -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at http://www.dnswl.org/, medium trust [216.31.210.62 listed in list.dnswl.org] -0.6 RP_MATCHES_RCVD Envelope sender domain matches handover relay domain -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: Linux PWM List , Linux Doc List , Tim Kryger , Linux Kernel Mailing List , Device Tree List , Broadcom Kernel Feedback List , Linux ARM Kernel List X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.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.171 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 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 | 21 ++++++++++++++++++++ 1 file changed, 21 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..8eae9fe --- /dev/null +++ b/Documentation/devicetree/bindings/pwm/bcm-kona-pwm.txt @@ -0,0 +1,21 @@ +Broadcom Kona PWM controller device tree bindings + +This controller has 6 channels. + +Required Properties : +- compatible: should contain "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. See pwm.txt in this directory for a + description of the cells format. + +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>; +};