Received: by 2002:a25:ef43:0:0:0:0:0 with SMTP id w3csp564611ybm; Wed, 27 May 2020 02:27:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwznT9NVyarOfunG5zGN5V/H5Qty89VWnfeUA4sGVeDN0gGGn5DGLBkgC1SSNyyMf7VGEKZ X-Received: by 2002:a17:906:7e43:: with SMTP id z3mr4935236ejr.221.1590571637223; Wed, 27 May 2020 02:27:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590571637; cv=none; d=google.com; s=arc-20160816; b=wozBB90wKqo8T47AjBdYuRnS3FYPtzzG4WXBmeklY8rZfbH3/FdgoeiO//RC2kBTxX F/kDT0aEZtATlirwg7MJcWI3c92FevE6qXpMq2ynNXqCs0Gl38cw1KDnvEhtNfJglWyc hy6aBLZ0Wz3GiJc3+mNok6o53/UEZTHlcOBsdb3GAo3lpLjglMKzBotksYW/LL8azYZo E9XKV683GXMD9zbh3oRDetR2Qa8iLaTJHwmVJZwRSw0RK3OoFsYD07yl5Nroi1+AH/6F Jsx2Prrmnl1hNaNOmrOdnRO+wgUNZ/gXWq3UsTZMY4e34Lse2m0dhnbqYpQXUuvmfw+3 cb/g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:message-id:date:to:cc:from :subject:references:in-reply-to:content-transfer-encoding :mime-version:dkim-signature; bh=NtZy5/K3/zCTcG/yP4zAKmzCDT70slJ8ic2T/Pp+kCg=; b=iFbbg5a1QUPTqzqOW2oiDHYMjp0aKRCXcNx/2jqCi8ET5mQYNXdYZJESNb+rfyLjqE 0HmSreQ6aEpA44KirCW06zP7HfzDgWDKDXYSYZNklOFEWqh8RBeKmddWpuo98GCRDCSP 2XyFLintWKZJVqIv3en7ieqgdcn/9U6vdR/g6RaGT77YOgymD5IKg62KVYeuCTCXmht4 m25X6VV+MuMxDNVX4EcuN5NAWqJXNW3xu0tjDx3fzDCrSAxkvTvUdx/vASoOit94qL0R hW+XhwAZ7dzBZOv7/1tCzG+G6ib3dlzRySUokUNx1+Q/OoK5TzxDbxNl76KIB/e9Bu9i udPQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="F/+TmWTl"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q9si1317067edb.473.2020.05.27.02.26.53; Wed, 27 May 2020 02:27:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="F/+TmWTl"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727944AbgE0BBV (ORCPT + 99 others); Tue, 26 May 2020 21:01:21 -0400 Received: from mail.kernel.org ([198.145.29.99]:32924 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727938AbgE0BBV (ORCPT ); Tue, 26 May 2020 21:01:21 -0400 Received: from kernel.org (unknown [104.132.0.74]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id C7E9B2089D; Wed, 27 May 2020 01:01:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1590541280; bh=NtZy5/K3/zCTcG/yP4zAKmzCDT70slJ8ic2T/Pp+kCg=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=F/+TmWTl8teuTFMAfcjl519GMYb1JpQU7IFk0YGOjpJzSWNT9tSOh/sqLuXF9qwNZ uRXemv0/3ahLWAbpwAjrX98j8AAMFhSPx9ZmBRWCUVuBzuSa5yQITiCfx3lUpkEqTa pB5Ig7CDi1s2TVLG0PdGmP4eO2PqgUkABQPIza/E= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <1583185843-20707-2-git-send-email-jolly.shah@xilinx.com> References: <1583185843-20707-1-git-send-email-jolly.shah@xilinx.com> <1583185843-20707-2-git-send-email-jolly.shah@xilinx.com> Subject: Re: [PATCH v2 1/4] drivers: clk: zynqmp: Limit bestdiv with maxdiv From: Stephen Boyd Cc: rajanv@xilinx.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Rajan Vaja , Jolly Shah To: Jolly Shah , arm@kernel.org, linux-clk@vger.kernel.org, michal.simek@xilinx.com, mturquette@baylibre.com, olof@lixom.net Date: Tue, 26 May 2020 18:01:20 -0700 Message-ID: <159054128018.88029.11167718877921501862@swboyd.mtv.corp.google.com> User-Agent: alot/0.9 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Jolly Shah (2020-03-02 13:50:40) > From: Rajan Vaja >=20 > Clock divider value should not be greater than maximum divider value. > So use minimum of best divider or maximum divider value. >=20 > Signed-off-by: Rajan Vaja > Signed-off-by: Jolly Shah > --- Applied to clk-next