From patchwork Wed Jun 22 12:32:11 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sylvain Lemieux X-Patchwork-Id: 9192643 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 EBD4A6075A for ; Wed, 22 Jun 2016 12:34:58 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DBD88283E9 for ; Wed, 22 Jun 2016 12:34:58 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D0C7E28402; Wed, 22 Jun 2016 12:34:58 +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 734EA283E9 for ; Wed, 22 Jun 2016 12:34:58 +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 1bFhLP-0002Xu-Pt; Wed, 22 Jun 2016 12:33:23 +0000 Received: from mail-it0-x244.google.com ([2607:f8b0:4001:c0b::244]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bFhLM-0002TV-G8 for linux-arm-kernel@lists.infradead.org; Wed, 22 Jun 2016 12:33:21 +0000 Received: by mail-it0-x244.google.com with SMTP id g127so6684958ith.2 for ; Wed, 22 Jun 2016 05:32:59 -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=bCpqg1hvN6kolu67mZc6o1s9ygsNV4r3H1q4Rk/atWA=; b=rVOeAA1W1Hf0JhAnYNyxwLcIA5PVZ/3jNGbOzrYtw0/mwLtijgwO7RoSGp8Ts4fCRd KCfb4LOI4QwUzG1IUg1ySowHVArJ5k66q6Nnxbr7CZEr1XK6TsFzykRUG8WmZ7PfAooN DCYBBkCrScaETy8QNDmHQxf4SJX8hL4cYHNr0iUlckFpKf8JW7NvYM/ib79kktlPc63i 62ny0r8yqba9kqfFOiu05vUuJCxISstpYXjbp/5ZNd5sGSfRp04jUZVzsH9RhRwKNPku 8OfH89YquI0flkNzHirpZO2m5PFjP5WVbLybGGexAc7iA8ynyPx7Wl3FGja5ugpl1y/W Hgdg== 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=bCpqg1hvN6kolu67mZc6o1s9ygsNV4r3H1q4Rk/atWA=; b=eSqlCXAv9xZKG6gH7dq+U6t74l06kFJgHVIUMZqsBXzGooqyd5NAs1Fhmj/sdWbzW9 4mGdk7ICyzID74G/RaZVEtk5+dow2GZMc9M2YVMdxVevMZfbTcHYPIQR0zEzmIvEbfwR LV3avuiBsvhI2m0J6tNNvBJioQ+0yXDLvbggb3/+y80hX0ftGxQtujL7gERf0bIF+1kq HKQtclIUh33rxdtCyricpIolClFilMynEgjte4fhRSQzQ0lQRrwPLpA3bkXTYn5uaeQy 6GoFeGzQ/rINRd33xguA96vTpjpnO1TMT/CXSqUTvTUXQTvrhLjkYMqFWmi4Tnhw0JO7 LCeQ== X-Gm-Message-State: ALyK8tLQqeYH3S3IRJAWWRwVadlTD1o3Dl22Hxmxk14MQLwAkGaeX/desyjeZcv90S7z5Q== X-Received: by 10.36.82.72 with SMTP id d69mr14049770itb.3.1466598779184; Wed, 22 Jun 2016 05:32:59 -0700 (PDT) Received: from CABRO3AP00510.americas.tsp.ad ([74.51.240.241]) by smtp.gmail.com with ESMTPSA id g11sm97925iod.41.2016.06.22.05.32.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 22 Jun 2016 05:32:58 -0700 (PDT) From: Sylvain Lemieux To: vz@mleia.com, robh+dt@kernel.org Subject: [PATCH] ARM: dts: lpc32xx: set default parent clock for pwm1 & pwm2 Date: Wed, 22 Jun 2016 08:32:11 -0400 Message-Id: <1466598731-5144-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-20160622_053320_590901_8315674E X-CRM114-Status: UNSURE ( 7.84 ) 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 The change setup the peripheral clock (PERIPH_CLK) as the default parent clock for PWM1 & PWM2. Signed-off-by: Sylvain Lemieux --- Dependencies: - clk: lpc32xx: allow peripheral clock selection in device tree http://thread.gmane.org/gmane.linux.kernel.clk/6938 arch/arm/boot/dts/lpc32xx.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/lpc32xx.dtsi b/arch/arm/boot/dts/lpc32xx.dtsi index e295e1e..ed85b95 100644 --- a/arch/arm/boot/dts/lpc32xx.dtsi +++ b/arch/arm/boot/dts/lpc32xx.dtsi @@ -469,6 +469,9 @@ compatible = "nxp,lpc3220-pwm"; reg = <0x4005C000 0x4>; clocks = <&clk LPC32XX_CLK_PWM1>; + assigned-clocks = <&clk LPC32XX_CLK_PWM1>, + <&clk LPC32XX_CLK_PERIPH>; + assigned-clock-parents = <&clk LPC32XX_CLK_PERIPH>; status = "disabled"; }; @@ -476,6 +479,9 @@ compatible = "nxp,lpc3220-pwm"; reg = <0x4005C004 0x4>; clocks = <&clk LPC32XX_CLK_PWM2>; + assigned-clocks = <&clk LPC32XX_CLK_PWM2>, + <&clk LPC32XX_CLK_PERIPH>; + assigned-clock-parents = <&clk LPC32XX_CLK_PERIPH>; status = "disabled"; };