From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from kirsty.vergenet.net ([202.4.237.240]:53871 "EHLO kirsty.vergenet.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726260AbeKCAeW (ORCPT ); Fri, 2 Nov 2018 20:34:22 -0400 Date: Fri, 2 Nov 2018 16:26:50 +0100 From: Simon Horman To: Niklas =?utf-8?Q?S=C3=B6derlund?= Cc: Wolfram Sang , Masahiro Yamada , Ulf Hansson , linux-mmc@vger.kernel.org, linux-renesas-soc@vger.kernel.org Subject: Re: [PATCH] mmc: renesas_sdhi: remove workaround for HS400 clock Message-ID: <20181102152646.37qfp2nma4xqqxle@verge.net.au> References: <20181031225944.1226-1-niklas.soderlund@ragnatech.se> <20181102115502.if7heamsrphlal5k@verge.net.au> <20181102124247.GA13506@bigcity.dyn.berto.se> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20181102124247.GA13506@bigcity.dyn.berto.se> Sender: linux-renesas-soc-owner@vger.kernel.org List-ID: On Fri, Nov 02, 2018 at 01:42:47PM +0100, Niklas Söderlund wrote: > Hi Simon, > > On 2018-11-02 12:55:02 +0100, Simon Horman wrote: > > On Wed, Oct 31, 2018 at 11:59:44PM +0100, Niklas Söderlund wrote: > > > From: Niklas Söderlund > > > > > > The driver sets an incorrect clock and depends on the clock driver > > > knowledge of this incorrect setting to still set a 200Mhz SDn clock. > > > Instead of spreading the workaround between the two drivers the clock > > > driver should be made aware of the ES versions where the special clock > > > handling is needed no need to keep this workaround in the SDHI driver. > > > > > > Signed-off-by: Niklas Söderlund > > > > Does this change cause a regression pending an update > > to the clock driver? > > No it does not, the corresponding BSP commit to the clock driver [1] was > never part of upstream. This change should never have been merged > upstream as it uses the hack from the BSP clock driver. Also HS400 have > never been enabled upstream for Gen3. > > 1. 11fca067bde0221d ("clk: renesas: rcar-gen3: Fix SD divider setting") Thanks, got it. Reviewed-by: Simon Horman