From patchwork Tue Jan 10 10:26:43 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chunhe Lan X-Patchwork-Id: 135194 X-Patchwork-Delegate: galak@kernel.crashing.org Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from ozlabs.org (localhost [IPv6:::1]) by ozlabs.org (Postfix) with ESMTP id 89ED8B72E9 for ; Tue, 10 Jan 2012 21:26:08 +1100 (EST) Received: from ch1outboundpool.messaging.microsoft.com (ch1ehsobe002.messaging.microsoft.com [216.32.181.182]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (Client CN "mail.global.frontbridge.com", Issuer "Microsoft Secure Server Authority" (verified OK)) by ozlabs.org (Postfix) with ESMTPS id B3BC0B72B2 for ; Tue, 10 Jan 2012 21:25:32 +1100 (EST) Received: from mail52-ch1-R.bigfish.com (10.43.68.245) by CH1EHSOBE006.bigfish.com (10.43.70.56) with Microsoft SMTP Server id 14.1.225.23; Tue, 10 Jan 2012 10:25:27 +0000 Received: from mail52-ch1 (localhost [127.0.0.1]) by mail52-ch1-R.bigfish.com (Postfix) with ESMTP id A62EF500124 for ; Tue, 10 Jan 2012 10:25:27 +0000 (UTC) X-SpamScore: -1 X-BigFish: VS-1(zzfb6Izz1202hzz8275bhz2dhc1ahc1bh2a8h668h839h) X-Forefront-Antispam-Report: CIP:70.37.183.190; KIP:(null); UIP:(null); IPV:NLI; H:mail.freescale.net; RD:none; EFVD:NLI X-FB-SS: 13, Received: from mail52-ch1 (localhost.localdomain [127.0.0.1]) by mail52-ch1 (MessageSwitch) id 1326191127578730_2381; Tue, 10 Jan 2012 10:25:27 +0000 (UTC) Received: from CH1EHSMHS029.bigfish.com (snatpool1.int.messaging.microsoft.com [10.43.68.247]) by mail52-ch1.bigfish.com (Postfix) with ESMTP id 87AEE4E0043 for ; Tue, 10 Jan 2012 10:25:27 +0000 (UTC) Received: from mail.freescale.net (70.37.183.190) by CH1EHSMHS029.bigfish.com (10.43.70.29) with Microsoft SMTP Server (TLS) id 14.1.225.23; Tue, 10 Jan 2012 10:25:27 +0000 Received: from az33smr02.freescale.net (10.64.34.200) by 039-SN1MMR1-001.039d.mgd.msft.net (10.84.1.13) with Microsoft SMTP Server id 14.1.355.3; Tue, 10 Jan 2012 04:25:20 -0600 Received: from localhost.localdomain ([10.193.20.71]) by az33smr02.freescale.net (8.13.1/8.13.0) with ESMTP id q0AAPEPY013595; Tue, 10 Jan 2012 04:25:19 -0600 (CST) From: Chunhe Lan To: Subject: [PATCH 3/3] powerpc/fsl: Document Pulse Width Modulator controller device tree binding Date: Tue, 10 Jan 2012 18:26:43 +0800 Message-ID: <1326191203-11207-3-git-send-email-Chunhe.Lan@freescale.com> X-Mailer: git-send-email 1.5.6.5 In-Reply-To: <1326191203-11207-1-git-send-email-Chunhe.Lan@freescale.com> References: <1326191203-11207-1-git-send-email-Chunhe.Lan@freescale.com> MIME-Version: 1.0 X-OriginatorOrg: freescale.com Cc: kumar.gala@freescale.com, Chunhe Lan X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org Sender: linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org This document is created for freescale PWM node in dts file. In addition, it explicates the properties and gives example about PWM node. Signed-off-by: Chunhe Lan --- .../devicetree/bindings/powerpc/fsl/pwm.txt | 27 ++++++++++++++++++++ 1 files changed, 27 insertions(+), 0 deletions(-) create mode 100644 Documentation/devicetree/bindings/powerpc/fsl/pwm.txt diff --git a/Documentation/devicetree/bindings/powerpc/fsl/pwm.txt b/Documentation/devicetree/bindings/powerpc/fsl/pwm.txt new file mode 100644 index 0000000..92d68e9 --- /dev/null +++ b/Documentation/devicetree/bindings/powerpc/fsl/pwm.txt @@ -0,0 +1,27 @@ +===================================================================== +Freescale Pulse Width Modulator Controller Node +Copyright (C) 2012 Freescale Semiconductor Inc. +===================================================================== + +Properties: + +- name : Should be pwm. +- compatible : Should contain "fsl,psc9131-pwm". +- cell-index : The cell index is the pwm controller serial number, + <0> = PWM1, <1> = PWM2, and so on. +- #address-cells : Should be one. +- #size-cells : Should be zero. +- reg : Offset and length of the register set for the device. +- interrupts : + +Example: + + pwm@13000 { + cell-index = <1>; + #address-cells = <1>; + #size-cells = <0>; + compatible = "fsl,psc9131-pwm"; + reg = <0x13000 0x1000>; + interrupts = <44 2 0 0>; + interrupt-parent = <&mpic>; + };