From patchwork Wed Dec 7 19:30:47 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sylvain Lemieux X-Patchwork-Id: 9465111 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 E286A6022E for ; Wed, 7 Dec 2016 19:33:06 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D81CB212D8 for ; Wed, 7 Dec 2016 19:33:06 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CC32B28548; Wed, 7 Dec 2016 19:33:06 +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=-0.5 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, RCVD_IN_SORBS_WEB, T_DKIM_INVALID autolearn=no version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 700D4212D8 for ; Wed, 7 Dec 2016 19:33:06 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1cEhw5-0003Vb-87; Wed, 07 Dec 2016 19:31:25 +0000 Received: from mail-io0-x243.google.com ([2607:f8b0:4001:c06::243]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1cEhw0-0003OH-Pf for linux-arm-kernel@lists.infradead.org; Wed, 07 Dec 2016 19:31:22 +0000 Received: by mail-io0-x243.google.com with SMTP id r94so15519849ioe.1 for ; Wed, 07 Dec 2016 11:31:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=L/i4WoQtIif81fVbpW4R052EQM5Eis5QvSrpI+H9Y6Y=; b=uISPD6BXQxP6M3ZS//qjr90UWPvEaxDUdmuzwcNO1PoP8trYx7mTH3O6382R7GpAyS vp1YhHZ9KxNzyYeZAGM5dLcYT5ESmLIwUQR1bfiHLLGr1CqW6aW5VCxSFEhphiEPd28E w0EgNgkBogBwzTqPaV2bEN4ZH+fzM6umzadtN0JcPykA9Py90zGM6hS/bhSOy2i9L93g +jJndzsI+ItRxCg79YBs5RuFE0tDEugzJ2GdjgMFEOw4JEXdqjRebf4rB1fkD3SVEW6u DfocxqI+2/smfGke2SfSuy9SF86/QAMH4wzSejaqBlZ6noY567TR7HSfpp/ZCNGKggVi xwew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=L/i4WoQtIif81fVbpW4R052EQM5Eis5QvSrpI+H9Y6Y=; b=CEIu2aImVINZEsIMsRdE+qDJV/gSIQTJ17MFcSRuADlfxPd9m7tG8Ck4rA0W2bTmAf 1Gj8E0Cy8ZtZk6ikl8xJ2JPocAYC3YTHZd39vLeHtotRJfOjkHYrut6Q/IvH5dR02WdN +gaYVw/Ghv7sjOt/X55c4vmBzc5PPh7pky14IUerIf3L/IugiiY28aIp+uVzzBO/XBYM Z6KH+yL7+/NGxAx0zjstwC6W4URv8lsjaNz8hnfVRczfU04efPe2uKHUhG1yobC9VkWl L9WYl0Wsb7L6tGpeYnypPQmFX0gP7w1P5ijaG2863XZ3p8rwaPlkFwAgqxcGxSruY4t+ iOhQ== X-Gm-Message-State: AKaTC02GoB/jfkMYtOtLgMCDRL9ug7LWGblEDbQqWQTngOqfdvKYlPTl79xaO+uuxcnsSw== X-Received: by 10.36.135.135 with SMTP id f129mr3704252ite.106.1481139059687; Wed, 07 Dec 2016 11:30:59 -0800 (PST) Received: from CABRO3AP00510.tycofs.com ([74.51.240.241]) by smtp.gmail.com with ESMTPSA id g86sm2089526iod.10.2016.12.07.11.30.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 07 Dec 2016 11:30:59 -0800 (PST) From: Sylvain Lemieux To: vz@mleia.com, robh+dt@kernel.org Subject: [PATCH v2] ARM: dts: lpc32xx: add pwm-cells to base dts file Date: Wed, 7 Dec 2016 14:30:47 -0500 Message-Id: <1481139047-13166-1-git-send-email-slemieux.tyco@gmail.com> X-Mailer: git-send-email 1.8.3.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20161207_113120_960217_1EB42A09 X-CRM114-Status: UNSURE ( 9.91 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.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 From: Sylvain Lemieux There is no need to define the "pwm-cells" in the board specific dts file; move the entry to the base dts file. Signed-off-by: Sylvain Lemieux Acked-by: Vladimir Zapolskiy --- Changes in v2: * Update the "pwm-cells" to be compatible with the latest lpc32xx-pwm driver implementation. Note: * This patch have a dependency on the following patcheset: "pwm: lpc32xx: switch driver to one phandle argument for PWM consumers" http://www.spinics.net/lists/arm-kernel/msg547013.html arch/arm/boot/dts/lpc32xx.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/lpc32xx.dtsi b/arch/arm/boot/dts/lpc32xx.dtsi index 218d9fa..c031c94 100644 --- a/arch/arm/boot/dts/lpc32xx.dtsi +++ b/arch/arm/boot/dts/lpc32xx.dtsi @@ -472,6 +472,7 @@ assigned-clocks = <&clk LPC32XX_CLK_PWM1>; assigned-clock-parents = <&clk LPC32XX_CLK_PERIPH>; status = "disabled"; + #pwm-cells = <1>; }; pwm2: pwm@4005C004 { @@ -481,6 +482,7 @@ assigned-clocks = <&clk LPC32XX_CLK_PWM2>; assigned-clock-parents = <&clk LPC32XX_CLK_PERIPH>; status = "disabled"; + #pwm-cells = <1>; }; timer3: timer@40060000 {