From mboxrd@z Thu Jan 1 00:00:00 1970 From: bibby.hsieh@mediatek.com (Bibby Hsieh) Date: Thu, 28 Jul 2016 10:47:17 +0800 Subject: [PATCH v3] arm64: dts: mt8173: add mmsel clocks for 4K support In-Reply-To: <1469611556.11841.77.camel@mtksdaap41> References: <1469607914-64831-1-git-send-email-bibby.hsieh@mediatek.com> <1469611556.11841.77.camel@mtksdaap41> Message-ID: <1469674037.29230.0.camel@mtksdaap41> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Hi, CK, Thanks for your comments. On Wed, 2016-07-27 at 17:25 +0800, CK Hu wrote: > Hi, Bibby: > > On Wed, 2016-07-27 at 16:25 +0800, Bibby Hsieh wrote: > > 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. > > You may rewrite the description as below: > > 'To support HDMI 4K resolution, mmsys need clock mm_sel to be 400MHz.' > > You need not to mention VENCPLL because it's controlled by clock driver. > Ok, I will modify that. > > > > Signed-off-by: Bibby Hsieh > > --- > > 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 at 1400c000 { > > Regards, > CK > Bibby