From patchwork Fri Apr 25 18:31:11 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Kryger X-Patchwork-Id: 29120 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ie0-f200.google.com (mail-ie0-f200.google.com [209.85.223.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id AD2E82055D for ; Fri, 25 Apr 2014 18:33:34 +0000 (UTC) Received: by mail-ie0-f200.google.com with SMTP id lx4sf23724276iec.11 for ; Fri, 25 Apr 2014 11:33:34 -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=Qss7r37qOA6eUuaKrWBjJ+snC+muC2jAnGS+G/ipGNeffT8/eJfgcidTRIyavKrSFq VdDbiSod86X6Uj6pKgk3HoSaifimT7Yf73uGQ2B1ggKouq556iVcnZZ3sMe+DlrXV31r QHCbEYQ86D6N01pyIxnsJi5mEQlF2Kt7U+ye16KVgTZtT8kIoGPZhuTqgFcwzZAqhkYU y7/oGIUySWtGkbFESsulJ6Gt13RmAA+S90OKM1onAVVwSzLCyhS4TBvceCPEBwRjprGI aUdzzVYy49DkG6X5YiYqtljUq9ydMM3FlDvV1JHDox67Yw12d9CeJ5LiQNNK/7G1OA4O uOtQ== X-Gm-Message-State: ALoCoQnOZ/vtxFvYTvosouvGEUvjjPj8jmnyE5p2EC/gbMbbEEqSapIGqD52uj4NQNWlTLsx/LFp X-Received: by 10.182.95.68 with SMTP id di4mr5520326obb.4.1398450814060; Fri, 25 Apr 2014 11:33:34 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.88.72 with SMTP id s66ls1734663qgd.11.gmail; Fri, 25 Apr 2014 11:33:33 -0700 (PDT) X-Received: by 10.58.202.133 with SMTP id ki5mr7688831vec.19.1398450813953; Fri, 25 Apr 2014 11:33:33 -0700 (PDT) Received: from mail-vc0-f170.google.com (mail-vc0-f170.google.com [209.85.220.170]) by mx.google.com with ESMTPS id la9si1901649veb.38.2014.04.25.11.33.33 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 25 Apr 2014 11:33:33 -0700 (PDT) Received-SPF: none (google.com: patch+caf_=patchwork-forward=linaro.org@linaro.org does not designate permitted sender hosts) client-ip=209.85.220.170; Received: by mail-vc0-f170.google.com with SMTP id hr9so5340864vcb.29 for ; Fri, 25 Apr 2014 11:33:33 -0700 (PDT) X-Received: by 10.220.105.130 with SMTP id t2mr7935579vco.18.1398450813873; Fri, 25 Apr 2014 11:33:33 -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.221.72 with SMTP id ib8csp118605vcb; Fri, 25 Apr 2014 11:33:33 -0700 (PDT) X-Received: by 10.229.66.133 with SMTP id n5mr14100482qci.0.1398450813366; Fri, 25 Apr 2014 11:33:33 -0700 (PDT) Received: from bombadil.infradead.org (bombadil.infradead.org. [2001:1868:205::9]) by mx.google.com with ESMTPS id v9si4276196qar.82.2014.04.25.11.33.33 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 25 Apr 2014 11:33:33 -0700 (PDT) Received-SPF: none (google.com: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org does not designate permitted sender hosts) client-ip=2001:1868:205::9; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Wdkv2-0000fr-HQ; Fri, 25 Apr 2014 18:32:16 +0000 Received: from mail-gw3-out.broadcom.com ([216.31.210.64]) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Wdkua-0000JZ-4R for linux-arm-kernel@lists.infradead.org; Fri, 25 Apr 2014 18:31:48 +0000 X-IronPort-AV: E=Sophos;i="4.97,928,1389772800"; d="scan'208";a="26106991" Received: from irvexchcas07.broadcom.com (HELO IRVEXCHCAS07.corp.ad.broadcom.com) ([10.9.208.55]) by mail-gw3-out.broadcom.com with ESMTP; 25 Apr 2014 11:50:54 -0700 Received: from IRVEXCHSMTP3.corp.ad.broadcom.com (10.9.207.53) by IRVEXCHCAS07.corp.ad.broadcom.com (10.9.208.55) with Microsoft SMTP Server (TLS) id 14.3.174.1; Fri, 25 Apr 2014 11:31:21 -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; Fri, 25 Apr 2014 11:31:21 -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 2AC6727A82; Fri, 25 Apr 2014 11:31:21 -0700 (PDT) Received: by dhcp-sv1-10-19-114-209.sj.broadcom.com (Postfix, from userid 1004) id 01D0A2520BE7; Fri, 25 Apr 2014 11:31:20 -0700 (PDT) From: Tim Kryger To: Thierry Reding , Matt Porter , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , "Randy Dunlap" , Christian Daudt , "Grant Likely" Subject: [PATCH v6 RESEND 1/5] Documentation: dt: Add Kona PWM binding Date: Fri, 25 Apr 2014 11:31:11 -0700 Message-ID: <1398450675-19609-2-git-send-email-tim.kryger@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1398450675-19609-1-git-send-email-tim.kryger@linaro.org> References: <1398450675-19609-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-20140425_113148_195729_7041D773 X-CRM114-Status: UNSURE ( 9.21 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -3.0 (---) X-Spam-Report: SpamAssassin version 3.3.2 on bombadil.infradead.org summary: Content analysis details: (-3.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at http://www.dnswl.org/, medium trust [216.31.210.64 listed in list.dnswl.org] -0.7 RP_MATCHES_RCVD Envelope sender domain matches handover relay domain 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: patch+caf_=patchwork-forward=linaro.org@linaro.org does not designate permitted sender hosts) 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>; +};