From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Sat, 9 Jul 2016 01:35:09 +0900 From: Andi Shyti To: Michael Turquette Cc: Andi Shyti , Rob Herring , Mark Rutland , Kukjin Kim , Krzysztof Kozlowski , Mark Brown , Sylwester Nawrocki , Tomasz Figa , Stephen Boyd , Chanwoo Choi , Jaehoon Chung , linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-spi@vger.kernel.org, Andi Shyti Subject: Re: [PATCH v2 6/7] spi: s3c64xx: restore removed comments Message-ID: <20160708163509.GE1256@jack.zhora.eu> References: <1467989201-14661-1-git-send-email-andi.shyti@samsung.com> <1467989201-14661-7-git-send-email-andi.shyti@samsung.com> <146799464881.73491.7507792367941552864@resonance> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <146799464881.73491.7507792367941552864@resonance> List-ID: Hi Mike, > > if (sdd->port_conf->clk_from_cmu) { > > + /* There is half-multiplier before the SPI */ > > clk_set_rate(sdd->src_clk, sdd->cur_speed * 2); > > Just a small comment, but if the fixed-factor divide-by-two clock was > modeled in Linux, then this driver could call clk_set_rate on that clock > with the "correct" rate. > > I guess that this driver would be the provider of that clock? Makes sense, I will check it. Thanks again, Andi