From patchwork Sat Aug 12 10:19:43 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Wahren X-Patchwork-Id: 9896957 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 05AE4603F2 for ; Sat, 12 Aug 2017 10:21:25 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E834728B79 for ; Sat, 12 Aug 2017 10:21:24 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DC80528C86; Sat, 12 Aug 2017 10:21:24 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 4B10A28B79 for ; Sat, 12 Aug 2017 10:21:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=5SUBNH69ORnzpUWG4LddJQRHf7JUgjMiWQfviqo1cqc=; b=ETUoT3M0iwGWCHBDns4w0o309r bJXc8AbvulJXqF/dIUKv3T5ZZtNkWci2VkkNRJd3Z4pY6UlA/BWci+C2JWS6xxmnXaJrCmT2XbgX8 +W/j3qT9QEDQHJ3sGG+62+YMk0BldPI68rHR3m2QR7ZBW4pSiv5OMCvVKxozv/EuY1bVkZglbHrXj 9iiIx57QP2OkKQh1KmhKF9GEFfckodI+YJVCNdfpmQV1U3uDKTmGJzcovy1OyEvLJf7iHEUnPq/6F beprR75u8gWGl9e7PtXh8Y6CbLOiwyKxZF7pctTKjIni9AFf6zWDHacKHnyMEaRcqNOzSf1fG1DK6 8Y5czb/Q==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dgTWz-0002Rh-2p; Sat, 12 Aug 2017 10:20:33 +0000 Received: from mout.kundenserver.de ([212.227.17.24]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dgTWr-0001SU-PE; Sat, 12 Aug 2017 10:20:28 +0000 Received: from localhost.localdomain ([95.90.209.23]) by mrelayeu.kundenserver.de (mreue101 [212.227.15.183]) with ESMTPSA (Nemesis) id 0LoHJh-1d9bkL3yiP-00gE6N; Sat, 12 Aug 2017 12:19:57 +0200 From: Stefan Wahren To: Thierry Reding Subject: [PATCH V2 1/2] dt-bindings: pwm-bcm2835: Increase pwm-cells Date: Sat, 12 Aug 2017 12:19:43 +0200 Message-Id: <1502533184-15765-2-git-send-email-stefan.wahren@i2se.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1502533184-15765-1-git-send-email-stefan.wahren@i2se.com> References: <1502533184-15765-1-git-send-email-stefan.wahren@i2se.com> X-Provags-ID: V03:K0:xhx2nqORxUbPzSaR+CqTKUjLa2xHXZBUo9fanLgjf6qdUrMILHG BZr4SbY5kcrC7TU2VS25KFP5GJXX/4twDcVQVMbDKRN1ri99teXc0CtoO4f3RlTmAmPd9Wb JyuYSeqrgnZd7iju6J1nacJUiefGSImMNI+YgoixPmUksZvNyZeven1YMIk+JiPgAfwDBR/ Gr/voopLrbvrYdt6TI0Pg== X-UI-Out-Filterresults: notjunk:1; V01:K0:1+gAC+7leTM=:tJQJ2wFK9SAr/wp/gKMV+Q nEVvc1pRGW2gJnp1Nk4UcdB+H3VPR305kLRKTx5u8pA+I19aiOwzIiZW1i2RS0WfUnHsfqfxK cESVyaqglaeZGZ3QvkvrHWfeqQRLJINDNQaIT/b0oBvFiWNRIwYuSECe77cGykGsUdLRL0wWn y+BGN6PbnH7gf4sygYao+FG2M2Oy6llan/Io0z2pIi1S8hPfyMwHXzFBv6P80uRYAAc2wT44o YU/5wDNMant95YcTxp8Nhrff4vQqLZjZ3Ihqaf47BfoqBQbuhpg0OxiWAeuQ+3jEMrojnpG85 FWZiNIR5punGjitopjpQtWJKZ2AbKRT3P8QU088K5KJSaXQHZ3PR4kVaNY8aoSjbIPwaYdJsc Fmmn8RCTUTg8Y8scrUGMkW0SIXfgcOk4xqKaycEuvf/BzSnwUR81OSeHD3jLacwXMJZ7OyesW lGD2FzRCL//e7IOJpkAohbyFAN+Z4dZyFH2pqKgHxk6X2oLBXlxaw3lGfsNd4AuWnsQaYh2AL FRQ6eiuG+2XjtDnaysNiA5OYO6IV39h5sgz+dq5L8XkuUqfVzmQuKHSaj14eU9fIesaPp9NCw /QYIvnaNiTw/s+9SQSblof+YSfYskuq6MYOJhB2MtdaQqtDLY1jw3kWRhu2RYXOfmPP0gCuTQ Zf1Mw6WPT6yDtKPWWbBlytl0VrK2uJe7fCMgpLS+KCevUjZLNJygwy+vCfmws4XLIxCVzatAf lY5mqpBfb5mbXIm2Fl2i5tgGcQD60niQSASwcQ== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170812_032026_198272_336970D4 X-CRM114-Status: UNSURE ( 8.65 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , devicetree@vger.kernel.org, linux-pwm@vger.kernel.org, Stefan Wahren , Rob Herring , linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP We need to increase the pwm-cells for the optional flags parameter, before we can implement support for polarity setting via DT. Signed-off-by: Stefan Wahren Acked-by: Rob Herring --- Documentation/devicetree/bindings/pwm/pwm-bcm2835.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/pwm/pwm-bcm2835.txt b/Documentation/devicetree/bindings/pwm/pwm-bcm2835.txt index cf573e8..8cf87d1 100644 --- a/Documentation/devicetree/bindings/pwm/pwm-bcm2835.txt +++ b/Documentation/devicetree/bindings/pwm/pwm-bcm2835.txt @@ -6,7 +6,7 @@ Required properties: - clocks: This clock defines the base clock frequency of the PWM hardware system, the period and the duty_cycle of the PWM signal is a multiple of the base period. -- #pwm-cells: Should be 2. See pwm.txt in this directory for a description of +- #pwm-cells: Should be 3. See pwm.txt in this directory for a description of the cells format. Examples: @@ -15,7 +15,7 @@ pwm@2020c000 { compatible = "brcm,bcm2835-pwm"; reg = <0x2020c000 0x28>; clocks = <&clk_pwm>; - #pwm-cells = <2>; + #pwm-cells = <3>; }; clocks {