From patchwork Mon Sep 26 18:47:21 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sylvain Lemieux X-Patchwork-Id: 9351201 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 1B4116077B for ; Mon, 26 Sep 2016 18:49:31 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0C98C28B06 for ; Mon, 26 Sep 2016 18:49:31 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0042B28B27; Mon, 26 Sep 2016 18:49:30 +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.6 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 9EFFD28B06 for ; Mon, 26 Sep 2016 18:49:30 +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 1boawU-0001DN-3d; Mon, 26 Sep 2016 18:47:54 +0000 Received: from mail-io0-x242.google.com ([2607:f8b0:4001:c06::242]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1boawO-00015H-Ss for linux-arm-kernel@lists.infradead.org; Mon, 26 Sep 2016 18:47:50 +0000 Received: by mail-io0-x242.google.com with SMTP id 92so6101296iom.2 for ; Mon, 26 Sep 2016 11:47:28 -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; bh=ZR8CzJmozuJKuyZQalFlw9Xk3L6Xq9egdoxDgMxz4tE=; b=p8Gd9WPUKKrybQQREjUTneEng1pMi3l+r0301Vdq1yILYtBhfDD9x4w01+PNcDyOgE uKfwYAuNRH1TSLu5q0RBU6cTA306PMh3zXnDXSJu23HTvyGa4z4uFvs4xi2mEhwBAy5r 8wcg2jCfTT9vgX6rHegel/17dPovUK4fCbCZpkjq7GC5yca3iEqKeZEB76S1anZ74j2W kFXW2zuss08J6KJQ47Ioms7xOTmVW8vNvomwXqGuKyOukd5DAInyBcyUaYayJ2wp+E+G JHS92mT0EVELfAUr2odWvxmGYd4HfL6rizqjx8uu7qIXw+80QY9uzVG0YY8APW3QzkTM /z6w== 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=ZR8CzJmozuJKuyZQalFlw9Xk3L6Xq9egdoxDgMxz4tE=; b=hHFR8JadYrBJrwcSOXYDOyP0u2k626PrAkaodB/nC2qGo3ROMBA6WDSL+WKfF2fleW gF6HGqYD8uc4wYHVIadn5Sxp2vAc/KlB+QG6KH9yVnT10tK4A9xRIoGXPEEcNaGDDn2b BsjYpod5QYOoxeqEhRtbyFRKxuaKBwQc64OHFULN1y4H+8B7jkAh0NTLmKNkF4nQaDgG 3g02mARQUVDC2q1eCQOPuJ26MuBkYyrlqSRfZ/RTpXCu4q3aaYRLs+tN6myzJZnkOwCv odDjo2bvounqte3yx/Tgb8sZCpCaGp60nVA3GSS0qI190kMjUInhyzbAIo/TTx5lop0E ezTw== X-Gm-Message-State: AE9vXwPrFzE3mmmyc6RPlf3HwbXJZHci5ZEjPdDiRJp2E3FZYkglZ9ZODxPdqHu1jcGHqA== X-Received: by 10.107.9.154 with SMTP id 26mr24659583ioj.76.1474915647413; Mon, 26 Sep 2016 11:47:27 -0700 (PDT) Received: from CABRO3AP00510.localdomain ([74.51.240.241]) by smtp.gmail.com with ESMTPSA id y76sm4338415ita.2.2016.09.26.11.47.26 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 26 Sep 2016 11:47:27 -0700 (PDT) From: Sylvain Lemieux To: vz@mleia.com Subject: [PATCH] ARM: dts: lpc32xx: add pwm-cells to base dts file Date: Mon, 26 Sep 2016 14:47:21 -0400 Message-Id: <1474915641-11209-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-20160926_114749_108363_9FD02314 X-CRM114-Status: UNSURE ( 9.44 ) 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: 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 --- Note: * This patch should be apply after "ARM: dts: lpc32xx: set default parent clock for pwm1 & pwm2" http://www.spinics.net/lists/arm-kernel/msg530277.html - There is no dependency between the patches. 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 = <2>; }; pwm2: pwm@4005C004 { @@ -481,6 +482,7 @@ assigned-clocks = <&clk LPC32XX_CLK_PWM2>; assigned-clock-parents = <&clk LPC32XX_CLK_PERIPH>; status = "disabled"; + #pwm-cells = <2>; }; timer3: timer@40060000 {