From patchwork Wed Sep 7 19:37: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: 9319835 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 062056077F for ; Wed, 7 Sep 2016 19:40:44 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 04BC1293C4 for ; Wed, 7 Sep 2016 19:40:44 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E98B3293FF; Wed, 7 Sep 2016 19:40:43 +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 7D186293C4 for ; Wed, 7 Sep 2016 19:40:43 +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 1bhigX-0006nJ-Gf; Wed, 07 Sep 2016 19:39:01 +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 1bhig0-0006e2-Oc for linux-arm-kernel@lists.infradead.org; Wed, 07 Sep 2016 19:38:31 +0000 Received: by mail-it0-x244.google.com with SMTP id e124so2395295ith.1 for ; Wed, 07 Sep 2016 12:38:07 -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=4S1I8N7CrLUsyXd4pzA0xkskh/mainUFWEZ5d+kQo3w=; b=DNGJOjQIto+CJn+NEexN9ScE9Rd/I/YvGTEjV/g9BpvymvVffyFXcvADTvfC75C+9j Vax3YMugvViQSbq0YoHuIAiaNcksp66al12qw7IotrzyaR+lw5K7frMNM7RrqISWxi+n mjI4Og6+Iy1sZ+dSGfHSYQickd3AO/v54zIQ3ElXiamh6B4E844My+ZvRt7nJMrOgJ/s 4uCzAhBztThLPA9nIkTbryGy4KvyLokENIx5t0DvwKYjanlw8Y4CP5CEshVeNgNk5XRp PN3fKZZqqZXbpt8f/Xtl2HRN5kNjRYCfeZ611URWSqrZEPFFExrz4M3BWt/7lvvJV6BH RAoA== 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=4S1I8N7CrLUsyXd4pzA0xkskh/mainUFWEZ5d+kQo3w=; b=F9P9CNO3/Hf/gPptRDkz9pyZ96AcoFbG9AFYQvNQAGj/XtHwELqkuPHv1cBPcNOSfN HIV15T9bg4TVj1IJCL6JBxLwiSbJU9X7d9zEznzL1eRGfUX1FU9GCUGYVoT10d2ElYXM EgWfHMql1JwxJivZzXszalMB4UVXwFvaf5hHb0a1oK4mvrqXrZIc3zuElhIuB6XwJD11 r3hc2yFIJAL5R3c0cPduJWJOZ6+myka4y+qwWIFCp9HwehHov8S/n/IT71l5871i1ob0 aFRxYCqYDZHOmvKpk+iZp+wUxa2VEqzNUnuUjdmNByTl9XI4cFAuGoosazZzr8F4/N8g GzzA== X-Gm-Message-State: AE9vXwOTcKruy1RTComcxyjGdRZTPsfcsmA2CWVQqv/6EJ5viokrBZC4XT67DWeCChUVXw== X-Received: by 10.36.208.68 with SMTP id m65mr9636306itg.20.1473277087197; Wed, 07 Sep 2016 12:38:07 -0700 (PDT) Received: from CABRO3AP00510.americas.tsp.ad ([74.51.240.241]) by smtp.gmail.com with ESMTPSA id i194sm3929564itf.0.2016.09.07.12.38.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 07 Sep 2016 12:38:06 -0700 (PDT) From: Sylvain Lemieux To: vz@mleia.com, robh+dt@kernel.org Subject: [RESEND PATCH] ARM: dts: lpc32xx: set default parent clock for pwm1 & pwm2 Date: Wed, 7 Sep 2016 15:37:53 -0400 Message-Id: <1473277073-12093-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-20160907_123829_021755_C0C37050 X-CRM114-Status: UNSURE ( 8.36 ) 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 --- 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"; };