From patchwork Fri Sep 2 03:26:24 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chris Zhong X-Patchwork-Id: 9310423 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 692C3607D6 for ; Fri, 2 Sep 2016 03:26:56 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5C3982963B for ; Fri, 2 Sep 2016 03:26:56 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 50B3D29656; Fri, 2 Sep 2016 03:26:56 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id DBE7D2963B for ; Fri, 2 Sep 2016 03:26:55 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1bff82-0007Fs-IW; Fri, 02 Sep 2016 03:26:54 +0000 Received: from mail-pf0-f179.google.com ([209.85.192.179]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bff7z-0007Bh-QK for linux-rockchip@lists.infradead.org; Fri, 02 Sep 2016 03:26:52 +0000 Received: by mail-pf0-f179.google.com with SMTP id g202so14676204pfb.0 for ; Thu, 01 Sep 2016 20:26:31 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=bcAwHUisbIScm0FWsMDHxoPs2P/KGEXWVYSzQpbASeg=; b=blVW5EQjJoKzdS9jZ07VtUW2vajIm9maaBzQoH115Zr6GQ953UwkyOlYzYD+fk9Ul4 sm5G2fEkLZ3Ql+eqLRGR03ZUvYC+4XHgCcGDfqtkyJy8pbdEMXzjmkhq6RSSPHc/B9l9 smX0WDCig2U7I46JDTr0xJih3th0oG8bFT13xDumLkFC9MIy2mXRCWkfOdBZrzxjrc8x PvW9VlUgF79tFhoBglT4+DedSkmQOQfO25obSZ7WrMWbNix6EIM4beNHCH/jb2RRih72 gje/hDF3SCxL3T9BnKonOeya1U+Y03PE9iKeHP93unvWTvdDSG18xgATeaXsPLnldkVZ ahdg== X-Gm-Message-State: AE9vXwMUTsu1y/RRvwGAauPLvy+QiM0tyvn/WWCn5eeHRrOl8Y0OyHHfjKSZavAjnLvvNA== X-Received: by 10.98.84.65 with SMTP id i62mr32173812pfb.72.1472786790780; Thu, 01 Sep 2016 20:26:30 -0700 (PDT) Received: from user5-HP-Z620-Workstation.corp.google.com ([172.22.52.170]) by smtp.gmail.com with ESMTPSA id l82sm10723048pfk.8.2016.09.01.20.26.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 01 Sep 2016 20:26:29 -0700 (PDT) From: Chris Zhong To: heiko@sntech.de, dianders@chromium.org Subject: [v2 PATCH 2/3] clk: rockchip: add dclk_vop_frac ids for vop Date: Thu, 1 Sep 2016 20:26:24 -0700 Message-Id: <1472786785-2393-2-git-send-email-zyw@rock-chips.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1472786785-2393-1-git-send-email-zyw@rock-chips.com> References: <1472786785-2393-1-git-send-email-zyw@rock-chips.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160901_202651_951298_505B8AA6 X-CRM114-Status: UNSURE ( 8.70 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , devicetree@vger.kernel.org, Lin Huang , zhengxing@rock-chips.com, linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, Rob Herring , ykk@rock-chips.com, Chris Zhong , Jianqun Xu MIME-Version: 1.0 Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Yakir Yang Export the dclk_vop_frac out, so we can set the dclk_vop as the child of dclk_vop_frac, and then we can start to take use of the fractional dividers. Signed-off-by: Xing Zheng Signed-off-by: Yakir Yang Signed-off-by: Chris Zhong --- include/dt-bindings/clock/rk3399-cru.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/dt-bindings/clock/rk3399-cru.h b/include/dt-bindings/clock/rk3399-cru.h index ce5f3e9..220a60f 100644 --- a/include/dt-bindings/clock/rk3399-cru.h +++ b/include/dt-bindings/clock/rk3399-cru.h @@ -138,6 +138,8 @@ #define DCLK_VOP0_DIV 182 #define DCLK_VOP1_DIV 183 #define DCLK_M0_PERILP 184 +#define DCLK_VOP0_FRAC 185 +#define DCLK_VOP1_FRAC 186 #define FCLK_CM0S 190