Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp7357454imu; Mon, 3 Dec 2018 11:32:44 -0800 (PST) X-Google-Smtp-Source: AFSGD/WdxcZXgCSWi4VSsCEpIsc0AZmSZaKhGWLoLDrtE5OegpMr3gzFARPiRWmLPKd58/yqQfBz X-Received: by 2002:a17:902:9305:: with SMTP id bc5mr8415060plb.86.1543865564279; Mon, 03 Dec 2018 11:32:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543865564; cv=none; d=google.com; s=arc-20160816; b=Stf6/Js4+X5N2kCymGtYDo5tQuXEaCrIW8E5zM8h/1HdJmE/Kn3t7cQCaW73lFmQEd Egx/JVzhqfJnO2TvPpvcogVl8ePL5uWBM5zixDat75qzA49Z2bVfAKB7t72WYO/QPTjr JE7d0DedgRVZtDhOEMUoDUqU7lWhWEIrVu+ax298RQiJUvi+MbHfpk4+TQxCwGlDPPIS k7nmaC2DcRSbT3PxxmDdn0XkzgnWqmyL0R8HVRP7S25O/AVJ2ymYzHpC/ts7DB32+mAm 0KobmodzRZRgdB7Pm15j/RSFCM941Fz9REMK+WvMVbg6qFvRF8I591aJX9aZ6ovlRipS mDQQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:subject:user-agent:message-id :references:cc:in-reply-to:from:to:content-transfer-encoding :mime-version:dkim-signature; bh=bldWNC99dcFF5C40l8XYzy0m18NN3EPMGPB0pi5SepQ=; b=CRjNQjoGejs1RT73Wnox1yNa6aNsYHPX4N0y1R0DlYR5RVtOQ3hNXzou8gcuz2RFzH Q4PxjTMUrm2PabkzIRTl6w9Ucs04gIQqOYzKDJW917iSg6GUI0Arc2KMs3OsqgM+l/SK 9IzxTn9MymTP99/vpbjHjfl1WqtRGSujIFFqXQOLKId2x/Vx5LPWAbjEPUYHtVReOGhc oaw/icCjk9i1y9VK6fnusjPXrKExuB4P2Ksw5sMBem5ZD25YuCXfGkUZN8FJO9Mu/rEp 7B/jik/0VIotVISYPOZ3jI5OZ0yk7E/IweV08+kSu3k/vwfSEATjGB+J1OX0JIS2OKzJ dFyw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=YcwJF6eo; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id b63si15587823pfa.250.2018.12.03.11.32.29; Mon, 03 Dec 2018 11:32:44 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=YcwJF6eo; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1726041AbeLCTb4 (ORCPT + 99 others); Mon, 3 Dec 2018 14:31:56 -0500 Received: from mail.kernel.org ([198.145.29.99]:49022 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725890AbeLCTb4 (ORCPT ); Mon, 3 Dec 2018 14:31:56 -0500 Received: from localhost (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 4ADF1214C1; Mon, 3 Dec 2018 19:31:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1543865510; bh=bldWNC99dcFF5C40l8XYzy0m18NN3EPMGPB0pi5SepQ=; h=To:From:In-Reply-To:Cc:References:Subject:Date:From; b=YcwJF6eobsBrG/PE6dZ5q+fmyDg3as1PLv/1vrUHpcticoIjqZ4CTbC/5I2sdzGhV bq6kR88w5XtV+sqxNUGvFUjeo9xo9s3n+IVWCICD2sXaBFNB2pmm75NTSuDTlg1uIr tp+HYi3QeywLVyH47niTgcXfAND4xLiXAF+GOuuI= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable To: "A.s. Dong" , "linux-clk@vger.kernel.org" From: Stephen Boyd In-Reply-To: <1542200198-3017-3-git-send-email-aisheng.dong@nxp.com> Cc: "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "mturquette@baylibre.com" , "shawnguo@kernel.org" , Anson Huang , Jacky Bai , dl-linux-imx , "A.s. Dong" , Stephen Boyd References: <1542200198-3017-1-git-send-email-aisheng.dong@nxp.com> <1542200198-3017-3-git-send-email-aisheng.dong@nxp.com> Message-ID: <154386550973.88331.6413976100924685018@swboyd.mtv.corp.google.com> User-Agent: alot/0.7 Subject: Re: [PATCH V6 2/9] clk: fractional-divider: add CLK_FRAC_DIVIDER_ZERO_BASED flag support Date: Mon, 03 Dec 2018 11:31:49 -0800 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting A.s. Dong (2018-11-14 05:01:39) > Adding CLK_FRAC_DIVIDER_ZERO_BASED flag to indicate the numerator and > denominator value in register are start from 0. > = > This can be used to support frac dividers like below: > Divider output clock =3D Divider input clock x [(frac +1) / (div +1)] > where frac/div in register is: > 000b - Divide by 1. > 001b - Divide by 2. > 010b - Divide by 3. > = > Cc: Stephen Boyd > Cc: Michael Turquette > Signed-off-by: Dong Aisheng > = > --- Applied to clk-next