Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753894AbcC1GMT (ORCPT ); Mon, 28 Mar 2016 02:12:19 -0400 Received: from regular1.263xmail.com ([211.150.99.135]:57626 "EHLO regular1.263xmail.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752924AbcC1GML (ORCPT ); Mon, 28 Mar 2016 02:12:11 -0400 X-263anti-spam: KSV:0; X-MAIL-GRAY: 0 X-MAIL-DELIVERY: 1 X-KSVirus-check: 0 X-ABS-CHECKED: 4 X-ADDR-CHECKED: 0 X-RL-SENDER: zhengxing@rock-chips.com X-FST-TO: heiko@sntech.de X-SENDER-IP: 58.22.7.114 X-LOGIN-NAME: zhengxing@rock-chips.com X-UNIQUE-TAG: <6c4bf666834b845379a5e78ca7529977> X-ATTACHMENT-NUM: 0 X-DNS-TYPE: 0 Message-ID: <56F8CB01.2070709@rock-chips.com> Date: Mon, 28 Mar 2016 14:11:13 +0800 From: Xing Zheng User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20120410 Thunderbird/11.0.1 MIME-Version: 1.0 To: Heiko Stuebner CC: linux-rockchip@lists.infradead.org, huangtao@rock-chips.com, jay.xu@rock-chips.com, elaine.zhang@rock-chips.com, dianders@chromium.org, Michael Turquette , Stephen Boyd , linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v5 4/4] clk: rockchip: add clock controller for the RK3399 References: <1458974276-10325-1-git-send-email-zhengxing@rock-chips.com> <1458974276-10325-5-git-send-email-zhengxing@rock-chips.com> <9181730.v9nyazlRXy@phil> In-Reply-To: <9181730.v9nyazlRXy@phil> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1162 Lines: 41 Hi Heiko, On 2016年03月28日 08:13, Heiko Stuebner wrote: > Hi Xing, > > Am Samstag, 26. März 2016, 14:37:56 schrieb Xing Zheng: >> Add the clock tree definition for the new RK3399 SoC. >> >> Signed-off-by: Xing Zheng >> --- > [...] > >> + /* >> + * We use pclkin_cifinv by default GRF_SOC_CON20[9] (GSC20_9) setting in >> system, + * so we ignore the mux and make clocks nodes as following, >> + * >> + * pclkin_cifinv --|-------\ >> + * |GSC20_9|-- pclkin_cifmux >> + * pclkin_cif --|-------/ >> + */ >> + GATE(PCLK_ISP1_WRAPPER, "pclkin_isp1_wrapper", "pclkin_cifmux", > please name that source clock pclkin_cif as in the TRM. > pclkin_cif is the actual input clock - if I'm reading the TRM correctly and > the inverter is part of the soc or so? > > That we currently hide / hardcode the phase-handling should not be part of > our outside connection - which should be stable even if we implement this > later. > > Yes, I think I will modify them like this: GATE(PCLK_ISP1_WRAPPER, "pclkin_isp1_wrapper", "pclkin_cif", CLK_IGNORE_UNUSED, RK3399_CLKGATE_CON(27), 6, GFLAGS), Thanks. -- - Xing Zheng