From patchwork Thu Jul 17 06:08:13 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: caesar X-Patchwork-Id: 370979 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 8B3A614010C for ; Thu, 17 Jul 2014 16:15:10 +1000 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752461AbaGQGPJ (ORCPT ); Thu, 17 Jul 2014 02:15:09 -0400 Received: from regular2.263xmail.com ([211.157.152.4]:55330 "EHLO regular2.263xmail.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751802AbaGQGPH (ORCPT ); Thu, 17 Jul 2014 02:15:07 -0400 X-Greylist: delayed 371 seconds by postgrey-1.27 at vger.kernel.org; Thu, 17 Jul 2014 02:15:05 EDT Received: from regular1.263xmail.com (unknown [192.168.165.184]) by regular2.263xmail.com (Postfix) with ESMTP id A663F18C67A; Thu, 17 Jul 2014 14:08:46 +0800 (CST) Received: from wxt?rock-chips.com (unknown [192.168.167.154]) by regular1.263xmail.com (Postfix) with SMTP id 4EA3B36A2; Thu, 17 Jul 2014 14:08:22 +0800 (CST) X-263anti-spam: KSV:0; X-MAIL-GRAY: 0 X-MAIL-DELIVERY: 1 X-ABS-CHECKED: 4 X-KSVirus-check: 0 Received: from localhost (bj-e2-smtpcom12 [127.0.0.1]) by smtp.263.net (Postfix) with ESMTP id 8BCB81CF6F; Thu, 17 Jul 2014 14:08:19 +0800 (CST) X-RL-SENDER: wxt@rock-chips.com X-FST-TO: thierry.reding@gmail.com X-SENDER-IP: 58.22.7.114 X-LOGIN-NAME: wxt@rock-chips.com X-UNIQUE-TAG: <62440d8db8ce8f212f7b34de54d44f68> X-ATTACHMENT-NUM: 0 X-SENDER: wxt@rock-chips.com X-DNS-TYPE: 0 Received: from localhost (unknown [58.22.7.114]) by smtp.263.net (Postfix) whith ESMTP id 216872SJPYG; Thu, 17 Jul 2014 14:08:19 +0800 (CST) From: caesar To: thierry.reding@gmail.com, robh+dt@kernel.org, pawel.moll@arm.com, mark.rutland@arm.com, ijc+devicetree@hellion.org.uk, galak@codeaurora.org, rdunlap@infradead.org Cc: linux-pwm@vger.kernel.org, devicetree@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, cf@rock-chips.com, addy.ke@rock-chips.com, xjq@rock-chips.com, huangtao@rock-chips.com, hj@rock-chips.com, caesar Subject: [PATCH 1/2] pwm: add this series patch to introduce for rk-pwm and vop-pwm. Date: Thu, 17 Jul 2014 14:08:13 +0800 Message-Id: <1405577294-19336-2-git-send-email-caesar.wang@rock-chips.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1405577294-19336-1-git-send-email-caesar.wang@rock-chips.com> References: <1405577294-19336-1-git-send-email-caesar.wang@rock-chips.com> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Signed-off-by: caesar --- Documentation/devicetree/bindings/pwm/pwm-rockchip.txt | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/Documentation/devicetree/bindings/pwm/pwm-rockchip.txt b/Documentation/devicetree/bindings/pwm/pwm-rockchip.txt index 3182126..bb6e7f1 100644 --- a/Documentation/devicetree/bindings/pwm/pwm-rockchip.txt +++ b/Documentation/devicetree/bindings/pwm/pwm-rockchip.txt @@ -1,11 +1,14 @@ Rockchip PWM controller Required properties: - - compatible: should be "rockchip,rk2928-pwm" - - reg: physical base address and length of the controller's registers - - clocks: phandle and clock specifier of the PWM reference clock - - #pwm-cells: should be 2. See pwm.txt in this directory for a - description of the cell format. +- compatible: should be "rockchip,-pwm"should be one of following: + "rockchip,rk2928-pwm" - support the old version PWM for RK29xx,RK3066,RK3188 SoCs. + "rockchip,rk3288-pwm" - support the new version PWM for RK3036,RK3288 SoCs. + "rockchip,vop-pwm" - support rockchip integrated VOP-PWM for RK32 SoCs. +- reg: physical base address and length of the controller's registers. +- clocks: phandle and clock specifier of the PWM reference clock. +- #pwm-cells: should be 2. See pwm.txt in this directory for a + description of the cell format. Example: