Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1451116

[PATCH v3] arm64: dts: mt8173: add mmsel clocks for 4K support

From Bibby Hsieh <bibby.hsieh@mediatek.com>
Newsgroups linux.kernel
Subject [PATCH v3] arm64: dts: mt8173: add mmsel clocks for 4K support
Date 2016-07-27 10:30 +0200
Message-ID <rZso1-5mS-7@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


If MT8173 can support HDMI 4K resoultion, the
VENCPLL should be configured to 800MHZ.
We didn't set VENCPLL directly, we set the
mm_sel to 400MHz statically in the board device tree.

Signed-off-by: Bibby Hsieh <bibby.hsieh@mediatek.com>
---
Changes since v2:
 - Align the clocks of dpi0 node.

Changes since v1:
 - Do not set the VENCPLL by clk_set_rate
   at display driver.
 - Configure the mm_sel to 400MHz statically
   in the board device tree.
---
 arch/arm64/boot/dts/mediatek/mt8173.dtsi |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi b/arch/arm64/boot/dts/mediatek/mt8173.dtsi
index 78529e4..9c22204 100644
--- a/arch/arm64/boot/dts/mediatek/mt8173.dtsi
+++ b/arch/arm64/boot/dts/mediatek/mt8173.dtsi
@@ -690,7 +690,9 @@
 			compatible = "mediatek,mt8173-mmsys", "syscon";
 			reg = <0 0x14000000 0 0x1000>;
 			power-domains = <&scpsys MT8173_POWER_DOMAIN_MM>;
+			clocks = <&topckgen CLK_TOP_MM_SEL>;
 			#clock-cells = <1>;
+			clock-frequency  = <400000000>;
 		};
 
 		ovl0: ovl@1400c000 {
-- 
1.7.9.5

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH v3] arm64: dts: mt8173: add mmsel clocks for 4K support Bibby Hsieh <bibby.hsieh@mediatek.com> - 2016-07-27 10:30 +0200
  Re: [PATCH v3] arm64: dts: mt8173: add mmsel clocks for 4K support CK Hu <ck.hu@mediatek.com> - 2016-07-27 11:30 +0200
    Re: [PATCH v3] arm64: dts: mt8173: add mmsel clocks for 4K support Bibby Hsieh <bibby.hsieh@mediatek.com> - 2016-07-28 04:50 +0200
  Re: [PATCH v3] arm64: dts: mt8173: add mmsel clocks for 4K support Philipp Zabel <p.zabel@pengutronix.de> - 2016-07-27 11:40 +0200
    Re: [PATCH v3] arm64: dts: mt8173: add mmsel clocks for 4K support Bibby Hsieh <bibby.hsieh@mediatek.com> - 2016-07-28 04:50 +0200

csiph-web