From patchwork Thu Jun 16 09:20:33 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gabriel Fernandez X-Patchwork-Id: 9180187 X-Patchwork-Delegate: mturquette@baylibre.com 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 CDBCD6075D for ; Thu, 16 Jun 2016 09:22:36 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B93DB26490 for ; Thu, 16 Jun 2016 09:22:36 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id ADACB282FF; Thu, 16 Jun 2016 09:22:36 +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=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 618E526490 for ; Thu, 16 Jun 2016 09:22:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753779AbcFPJWC (ORCPT ); Thu, 16 Jun 2016 05:22:02 -0400 Received: from mail-wm0-f45.google.com ([74.125.82.45]:38439 "EHLO mail-wm0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754032AbcFPJV0 (ORCPT ); Thu, 16 Jun 2016 05:21:26 -0400 Received: by mail-wm0-f45.google.com with SMTP id m124so59985477wme.1 for ; Thu, 16 Jun 2016 02:21:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=9sXEXz++N2UPnlvUszZmcaI/omBvrwM+qWODOaka1iw=; b=bgEHZ9Ax9kkcWURoXhqMDTWyx3Sy26JzqtQOon8BOefwl+nov3nLMaV2ra3I0aD7rY /6OGU0RrLp7ScN/2NqGRPHKem0J9uO9VmT86C+uUZegywj14EZeqyRhKSsUHBiaEL9vv NYDw2IfNJPpU6SXIVHnQu+C1M7xWB1pg4Y7dA= 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:in-reply-to :references; bh=9sXEXz++N2UPnlvUszZmcaI/omBvrwM+qWODOaka1iw=; b=WeJeZgqvIbw2sFCSory7UbwvY5FnT24v4lEo7jjnrixf2f81qLCUYrzLaSkZJqhX2a BjpFn5Abg8ucTH0lOMt7p5gLtTAb2r+IX3NckpHXRIqWV85iGD3jFcpQpCumueNVkZUA l+83KU2aXvBKJnRPLDeO5mpkQM0KDgG8hlySFCF5irbp2VsN70ZobFQSoH1ypIKRm7m0 7ODEoZ7CJ9EolrZKnwIWa0JiPNuTIHF+LihK9ra4fK0EXvi5eGocCxUnBUKdd/hsSuhl RDKoF7DMoBwyxls5uhvrOr5EiJyvFSUC1YGy1clzOMXq1FzJRNnYO5ktn2bEZg0AXM4w TK6g== X-Gm-Message-State: ALyK8tJh+1CDqYtKi17itUTKFYwbf5eMEoebuFvTCyYUdTjed+1JkZF5Q6v6xtQi4aQPnc8y X-Received: by 10.28.215.139 with SMTP id o133mr3634681wmg.74.1466068884900; Thu, 16 Jun 2016 02:21:24 -0700 (PDT) Received: from lmenx315.st.com. ([80.12.42.230]) by smtp.gmail.com with ESMTPSA id db6sm42619757wjb.2.2016.06.16.02.21.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 16 Jun 2016 02:21:23 -0700 (PDT) From: Gabriel Fernandez To: Rob Herring , Mark Rutland , Ian Campbell , Kumar Gala , Srinivas Kandagatla , Maxime Coquelin , Patrice Chotard , Russell King , Michael Turquette , Stephen Boyd , Olivier Bideau , Gabriel Fernandez , Geert Uytterhoeven , Sebastian Hesselbarth , Andrzej Hajda , Pankaj Dev , Dinh Nguyen , Arnd Bergmann , Thierry Reding Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, kernel@stlinux.com, linux-clk@vger.kernel.org, Lee Jones , Peter Griffin , , , , Subject: [RESEND PATCH v2 13/13] ARM: DT: STi: STiH410: clock configuration to address 720p and 1080p Date: Thu, 16 Jun 2016 11:20:33 +0200 Message-Id: <1466068833-5055-14-git-send-email-gabriel.fernandez@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1466068833-5055-1-git-send-email-gabriel.fernandez@linaro.org> References: <1466068833-5055-1-git-send-email-gabriel.fernandez@linaro.org> Sender: linux-clk-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP It is necessary to properly configure these clocks in order to address 720p and 1080p HDMI resolution. Signed-off-by: Vincent Abriou Signed-off-by: Gabriel Fernandez --- arch/arm/boot/dts/stih410.dtsi | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/arch/arm/boot/dts/stih410.dtsi b/arch/arm/boot/dts/stih410.dtsi index 18ed1ad..7eec729 100644 --- a/arch/arm/boot/dts/stih410.dtsi +++ b/arch/arm/boot/dts/stih410.dtsi @@ -103,7 +103,10 @@ #size-cells = <1>; assigned-clocks = <&clk_s_d2_quadfs 0>, - <&clk_s_d2_quadfs 0>, + <&clk_s_d2_quadfs 1>, + <&clk_s_c0_pll1 0>, + <&clk_s_c0_flexgen CLK_COMPO_DVP>, + <&clk_s_c0_flexgen CLK_MAIN_DISP>, <&clk_s_d2_flexgen CLK_PIX_MAIN_DISP>, <&clk_s_d2_flexgen CLK_PIX_AUX_DISP>, <&clk_s_d2_flexgen CLK_PIX_GDP1>, @@ -113,14 +116,21 @@ assigned-clock-parents = <0>, <0>, + <0>, + <&clk_s_c0_pll1 0>, + <&clk_s_c0_pll1 0>, <&clk_s_d2_quadfs 0>, - <&clk_s_d2_quadfs 0>, + <&clk_s_d2_quadfs 1>, <&clk_s_d2_quadfs 0>, <&clk_s_d2_quadfs 0>, <&clk_s_d2_quadfs 0>, <&clk_s_d2_quadfs 0>; - assigned-clock-rates = <297000000>, <297000000>; + assigned-clock-rates = <297000000>, + <108000000>, + <0>, + <400000000>, + <400000000>; ranges;