From patchwork Mon Jun 6 09:26:32 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gabriel Fernandez X-Patchwork-Id: 69393 Delivered-To: patch@linaro.org Received: by 10.140.106.246 with SMTP id e109csp1387859qgf; Mon, 6 Jun 2016 02:28:10 -0700 (PDT) X-Received: by 10.36.107.17 with SMTP id v17mr14106815itc.51.1465205288287; Mon, 06 Jun 2016 02:28:08 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id fd4si9313498pab.169.2016.06.06.02.28.08; Mon, 06 Jun 2016 02:28:08 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752787AbcFFJ1x (ORCPT + 31 others); Mon, 6 Jun 2016 05:27:53 -0400 Received: from mail-wm0-f52.google.com ([74.125.82.52]:36552 "EHLO mail-wm0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752736AbcFFJ1i (ORCPT ); Mon, 6 Jun 2016 05:27:38 -0400 Received: by mail-wm0-f52.google.com with SMTP id n184so82580365wmn.1 for ; Mon, 06 Jun 2016 02:27:37 -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=gRpWZZAU5RcoD+V93zBanGFSfUCvmR6UOrFA81X2aBhJ6eYdB4JJx8Kk1fJPfgjuFY 1xkI2BtvinXg17pkgGAVkgE2y1WabIjRmt9FcGAP6OX1BBcRaGD/TGhcqvgVyPm+XjbC pJJWj1690dbZ7tU8PEeyUa/9SkMN+3Ap2YeH8= 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=B0hGDd8ACOnD9JhE9/LNPMsJbRRu0m6ORgRfAoBDRt8cupDk3PKJ00mPdZWb/GZNbF wtiBx5loBhR9WHVxmBNxOWmFoeNpEiNW0ZfFKwm2Ql65fFg7EWtmAg9BqJ1jbDO3RaKq TGuAEgc56tMtrGp8RjIiMNa/YEjsTL9Ov1AE07AbkdnIGxyq46XiEQ+DUQcwwfw1E9Az 0hHgfQKZiwHsSDwDFPxfawSjwmvPq6Ki5ks3E+Vfp0cOtAOq627Am+jVPADaEbL+kswv DAIggEcgftCxqYibyz87ERd/VqEmXNXBnxWG3rU9X460fm28ehjsv4o2HwUzPk5XG2Xl dIXg== X-Gm-Message-State: ALyK8tIXHknsywrIpiaE3D9uX52jgJnigU0Kv60L8+B/2ZbrY2M8Es+dEAr4OBQOHogeuivv X-Received: by 10.28.128.67 with SMTP id b64mr11535961wmd.2.1465205256774; Mon, 06 Jun 2016 02:27:36 -0700 (PDT) Received: from lmenx315.st.com. ([80.12.59.101]) by smtp.gmail.com with ESMTPSA id s125sm13149091wms.14.2016.06.06.02.27.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 06 Jun 2016 02:27:36 -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: [PATCH v2 13/13] ARM: DT: STi: STiH410: clock configuration to address 720p and 1080p Date: Mon, 6 Jun 2016 11:26:32 +0200 Message-Id: <1465205192-7888-14-git-send-email-gabriel.fernandez@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1465205192-7888-1-git-send-email-gabriel.fernandez@linaro.org> References: <1465205192-7888-1-git-send-email-gabriel.fernandez@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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(-) -- 1.9.1 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;