From patchwork Sat Aug 29 01:21:48 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Florian Fainelli X-Patchwork-Id: 512107 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id CD3BC14016A for ; Sat, 29 Aug 2015 11:25:18 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=HAasP42d; dkim-atps=neutral Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751648AbbH2BY4 (ORCPT ); Fri, 28 Aug 2015 21:24:56 -0400 Received: from mail-pa0-f51.google.com ([209.85.220.51]:32800 "EHLO mail-pa0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751830AbbH2BYa (ORCPT ); Fri, 28 Aug 2015 21:24:30 -0400 Received: by pacgr6 with SMTP id gr6so5542554pac.0; Fri, 28 Aug 2015 18:24:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=e15ZwMPz9xbIi9LGY77aTHb51sbi9ooi4E1yNi5N9DQ=; b=HAasP42d1mfW+I2b0K0y91NRkW6QtD7WSXP37XylV8qCLx+B+jT4suy2uYvVfgFyuj j9pvLzNC31Ur5W+Nu6NFNE/TI/LiEXxoIJo4xXf3uuMWFVKy+vJGVD8Mi0R5hnyI54fw 3Tic72oF6gS8si5H5mKB6P9SjhrLxXGBiYy2z2I3myDeG9oki3PK/Y0EyY2xll4qTIwV eFteO4kS41piRHha86/zJzIFyuH5B/XNmDwBga+HTKEowbDrJVHH4eF6uGbyZYklPvaT IOPnIC6Ft83sDnfwVwfcRp6doyw253HGtrzkHw5X0gv1b82ipdFpXuaBa3nNchwGZDN5 EchQ== X-Received: by 10.68.100.226 with SMTP id fb2mr18281806pbb.92.1440811469966; Fri, 28 Aug 2015 18:24:29 -0700 (PDT) Received: from fainelli-desktop.broadcom.com (5520-maca-inet1-outside.broadcom.com. [216.31.211.11]) by smtp.gmail.com with ESMTPSA id fm3sm396294pdb.49.2015.08.28.18.24.28 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 28 Aug 2015 18:24:29 -0700 (PDT) From: Florian Fainelli To: linux-kernel@vger.kernel.org Cc: bcm-kernel-feedback-list@broadcom.com, thierry.reding@gmail.com, devicetree@vger.kernel.org, linux-pwm@vger.kernel.org, Florian Fainelli Subject: [PATCH v3 1/2] Documentation: dt: add Broadcom BCM7038 PWM controller binding Date: Fri, 28 Aug 2015 18:21:48 -0700 Message-Id: <1440811309-1289-2-git-send-email-f.fainelli@gmail.com> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1440811309-1289-1-git-send-email-f.fainelli@gmail.com> References: <1440811309-1289-1-git-send-email-f.fainelli@gmail.com> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add a binding documentation for the Broadcom BCM7038 PWM controller found in BCM7xxx chips. Signed-off-by: Florian Fainelli --- Changes in v3: - list 'clocks' property as mandatory .../devicetree/bindings/pwm/brcm,bcm7038-pwm.txt | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 Documentation/devicetree/bindings/pwm/brcm,bcm7038-pwm.txt diff --git a/Documentation/devicetree/bindings/pwm/brcm,bcm7038-pwm.txt b/Documentation/devicetree/bindings/pwm/brcm,bcm7038-pwm.txt new file mode 100644 index 000000000000..d9254a6da5ed --- /dev/null +++ b/Documentation/devicetree/bindings/pwm/brcm,bcm7038-pwm.txt @@ -0,0 +1,20 @@ +Broadcom BCM7038 PWM controller (BCM7xxx Set Top Box PWM controller) + +Required properties: + +- compatible: must be "brcm,bcm7038-pwm" +- reg: physical base address and length for this controller +- #pwm-cells: should be 2. See pwm.txt in this directory for a description + of the cells format +- clocks: a phandle to the reference clock for this block which is fed through + its internal variable clock frequency generator + + +Example: + + pwm: pwm@f0408000 { + compatible = "brcm,bcm7038-pwm"; + reg = <0xf0408000 0x28>; + #pwm-cells = <2>; + clocks = <&upg_fixed>; + };