From patchwork Thu Sep 8 17:47:53 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sylvain Lemieux X-Patchwork-Id: 9321863 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 40836607D3 for ; Thu, 8 Sep 2016 17:50:12 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 34EF12990A for ; Thu, 8 Sep 2016 17:50:12 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 295102997D; Thu, 8 Sep 2016 17:50:12 +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=-3.3 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=ham 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 339182990B for ; Thu, 8 Sep 2016 17:50:10 +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 1bi3RP-0004xy-M7; Thu, 08 Sep 2016 17:48:47 +0000 Received: from mail-oi0-x244.google.com ([2607:f8b0:4003:c06::244]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bi3R0-0004uL-Ln for linux-arm-kernel@lists.infradead.org; Thu, 08 Sep 2016 17:48:23 +0000 Received: by mail-oi0-x244.google.com with SMTP id 2so5900868oif.2 for ; Thu, 08 Sep 2016 10:48:02 -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=qDbiKASRwFWHw9SWjPpdXYfMqa3eKHn7MKDHpZTvrRA=; b=vH3mLd18SV/lro3CW6LSX53aeiZgZmwF//Vk52JASQRQ8AARE2QKJdceNcYWD3bS8/ EkUSdIh1ZY7uqw8Ix0jKP7LEqyUWrkjQj98vE0YQMeUOJhL+vScJhF7NR2xc8j53vppE BQUW1R+2DSumTve/NXP5o863JKmHf5KpVG787oeaYqnEfBylyMClkYhXNlmxeqlux6y2 kpWgqPJQtG+ccGs01uUFacH3ybW4m15Z7IPPfXFhvTV9JddCJQlYIrURaB1SZfBxLs6e +Jx1ioc4QY4z7TL8M2Ya7kqfdXh1kS5qGkSoY9ZyW8W0kIm8zmmfRVd8AtcHekS8WtLX OBDw== 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=qDbiKASRwFWHw9SWjPpdXYfMqa3eKHn7MKDHpZTvrRA=; b=EB8sJHK5lcK7TeRz/jpvBUaayhfy1DbAXmh9dvSzpZtqzn3W0p6HOGAlvrsqceLjwZ Lu4wh37Wq+TqNUy4u9euknn+tjwxi1Bo6RvUpz7CNRmg08xXNKuEZaii/4N10qRFqyCH q9saXNi7EPEarmJQcdTTFpgLZouwwPGSb8HtuppDFbmUaOM1UEQyYnHENLrmfuBZXRQE IPywTcaAbBZGHa7UAD2Gz188yOUjQIJh259V1J8kDUkpiQf9V8dhIPB9kFhBh8NQk4r8 Mhd6MTRfvup3iVwP2ObvC1QANIusuJHBmcLJNy36fgKfnyrwatsZgaMFF4pySSOnTHOm 0zvA== X-Gm-Message-State: AE9vXwN5uig8wuN4n69D+S/dc2w5Ofzd0wkMa6z/EUb5zepphpnM1PuVCxD/UBnVxSyFXg== X-Received: by 10.157.22.240 with SMTP id s45mr918206ots.89.1473356881898; Thu, 08 Sep 2016 10:48:01 -0700 (PDT) Received: from CABRO3AP00510.americas.tsp.ad ([74.51.240.241]) by smtp.gmail.com with ESMTPSA id o204sm160657ioe.3.2016.09.08.10.48.00 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 08 Sep 2016 10:48:01 -0700 (PDT) From: Sylvain Lemieux To: vz@mleia.com, thierry.reding@gmail.com Subject: [PATCH v2] ARM: dts: lpc32xx: set default parent clock for pwm1 & pwm2 Date: Thu, 8 Sep 2016 13:47:53 -0400 Message-Id: <1473356873-10610-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-20160908_104822_887100_C8143B50 X-CRM114-Status: UNSURE ( 8.85 ) 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-pwm@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 The change setup the peripheral clock (PERIPH_CLK) as the default parent clock for PWM1 & PWM2. Signed-off-by: Sylvain Lemieux --- Changes from v1 to v2: * Only assigned the PWM clock. arch/arm/boot/dts/lpc32xx.dtsi | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/lpc32xx.dtsi b/arch/arm/boot/dts/lpc32xx.dtsi index e295e1e..218d9fa 100644 --- a/arch/arm/boot/dts/lpc32xx.dtsi +++ b/arch/arm/boot/dts/lpc32xx.dtsi @@ -469,6 +469,8 @@ compatible = "nxp,lpc3220-pwm"; reg = <0x4005C000 0x4>; clocks = <&clk LPC32XX_CLK_PWM1>; + assigned-clocks = <&clk LPC32XX_CLK_PWM1>; + assigned-clock-parents = <&clk LPC32XX_CLK_PERIPH>; status = "disabled"; }; @@ -476,6 +478,8 @@ compatible = "nxp,lpc3220-pwm"; reg = <0x4005C004 0x4>; clocks = <&clk LPC32XX_CLK_PWM2>; + assigned-clocks = <&clk LPC32XX_CLK_PWM2>; + assigned-clock-parents = <&clk LPC32XX_CLK_PERIPH>; status = "disabled"; };