From patchwork Wed Apr 9 16:23:07 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Kryger X-Patchwork-Id: 28109 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ve0-f197.google.com (mail-ve0-f197.google.com [209.85.128.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id E95E6202DD for ; Wed, 9 Apr 2014 16:25:19 +0000 (UTC) Received: by mail-ve0-f197.google.com with SMTP id pa12sf8071680veb.8 for ; Wed, 09 Apr 2014 09:25:19 -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=jdFepj1E4AzRU5B9cwPqdhnIn7ADR20LFoVQnC5EZDW3fDlm65vpAkoyl2MXoDL302 BXam5sTwsREsh7ZEG6m1F2HcPEYW5bRap3htTmfOuDrGJP8hYn2eUIeFU+v2DMYJl2h7 8GBbc1vXKFBwZR75nTuc3w6jnFjjVsqX7VIqTGWtvx1qhEtTpSR0n/dPUMeBUWQv8NeQ whV1eUTBNDXxS13vIty2pn656TmJaFd4wykS++8Ugf+eOfrluNzKbWl3XD/8aP6MEbaz CqFb3SqPmxjX1n3OBUamKcJnSM9U2IWuraBVmBFGmRt9jT88ENucJDnGTzje3doAPwvs +D5A== X-Gm-Message-State: ALoCoQnDJPHJuEhXEmBnawmYGyGSXUTT5vcas8Jb1GJzl8xA1qwJjWKn6+yhCgcYVJ8H1URM+GKQ X-Received: by 10.58.41.39 with SMTP id c7mr5227622vel.25.1397060719680; Wed, 09 Apr 2014 09:25:19 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.95.66 with SMTP id h60ls708633qge.54.gmail; Wed, 09 Apr 2014 09:25:19 -0700 (PDT) X-Received: by 10.52.173.165 with SMTP id bl5mr7876616vdc.13.1397060719535; Wed, 09 Apr 2014 09:25:19 -0700 (PDT) Received: from mail-ve0-f180.google.com (mail-ve0-f180.google.com [209.85.128.180]) by mx.google.com with ESMTPS id bp12si221313veb.27.2014.04.09.09.25.19 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 09 Apr 2014 09:25:19 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.128.180 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.180; Received: by mail-ve0-f180.google.com with SMTP id jz11so2343196veb.11 for ; Wed, 09 Apr 2014 09:25:19 -0700 (PDT) X-Received: by 10.52.119.197 with SMTP id kw5mr8033035vdb.5.1397060719450; Wed, 09 Apr 2014 09:25:19 -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 v8csp343507vcv; Wed, 9 Apr 2014 09:25:18 -0700 (PDT) X-Received: by 10.180.20.71 with SMTP id l7mr10748815wie.35.1397060717298; Wed, 09 Apr 2014 09:25:17 -0700 (PDT) Received: from casper.infradead.org (casper.infradead.org. [2001:770:15f::2]) by mx.google.com with ESMTPS id du7si3053165wib.108.2014.04.09.09.25.16 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 09 Apr 2014 09:25:17 -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 1WXvJE-0007ZJ-MR; Wed, 09 Apr 2014 16:25:09 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WXvIl-00020I-Sd; Wed, 09 Apr 2014 16:25:04 +0000 Received: from mail-gw2-out.broadcom.com ([216.31.210.63]) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WXvHw-0001uh-78 for linux-arm-kernel@lists.infradead.org; Wed, 09 Apr 2014 16:23:49 +0000 X-IronPort-AV: E=Sophos;i="4.97,827,1389772800"; d="scan'208";a="23659117" Received: from irvexchcas08.broadcom.com (HELO IRVEXCHCAS08.corp.ad.broadcom.com) ([10.9.208.57]) by mail-gw2-out.broadcom.com with ESMTP; 09 Apr 2014 09:45:45 -0700 Received: from IRVEXCHSMTP1.corp.ad.broadcom.com (10.9.207.51) by IRVEXCHCAS08.corp.ad.broadcom.com (10.9.208.57) with Microsoft SMTP Server (TLS) id 14.3.174.1; Wed, 9 Apr 2014 09:23:25 -0700 Received: from mail-sj1-12.sj.broadcom.com (10.10.10.20) by IRVEXCHSMTP1.corp.ad.broadcom.com (10.9.207.51) with Microsoft SMTP Server id 14.3.174.1; Wed, 9 Apr 2014 09:23:25 -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 7774C27A85; Wed, 9 Apr 2014 09:23:24 -0700 (PDT) Received: by dhcp-sv1-10-19-114-209.sj.broadcom.com (Postfix, from userid 1004) id 3ECD82520BEF; Wed, 9 Apr 2014 09:23:24 -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, 9 Apr 2014 09:23:07 -0700 Message-ID: <1397060591-5060-2-git-send-email-tim.kryger@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1397060591-5060-1-git-send-email-tim.kryger@linaro.org> References: <1397060591-5060-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-20140409_122348_358442_CF425F82 X-CRM114-Status: GOOD ( 10.66 ) X-Spam-Score: -4.5 (----) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-4.5 points) pts rule name description ---- ---------------------- -------------------------------------------------- -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at http://www.dnswl.org/, medium trust [216.31.210.63 listed in list.dnswl.org] -0.3 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.128.180 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>; +};