From patchwork Mon Mar 14 08:01:58 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Caesar Wang X-Patchwork-Id: 8577121 Return-Path: X-Original-To: patchwork-linux-rockchip@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 87026C0553 for ; Mon, 14 Mar 2016 08:04:14 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A48F22045A for ; Mon, 14 Mar 2016 08:04:13 +0000 (UTC) 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.kernel.org (Postfix) with ESMTPS id BBD732044C for ; Mon, 14 Mar 2016 08:04:12 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1afNU4-0005CZ-AP; Mon, 14 Mar 2016 08:04:12 +0000 Received: from mail-pa0-f66.google.com ([209.85.220.66]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1afNTw-0004x7-Uz for linux-rockchip@lists.infradead.org; Mon, 14 Mar 2016 08:04:07 +0000 Received: by mail-pa0-f66.google.com with SMTP id q6so14076570pav.0 for ; Mon, 14 Mar 2016 01:03:47 -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=tjyFAPsDwtztCzJaKwT4hMxU26VxzFRuSonQIYLNG+8=; b=jWxtHXcREt8KVkACFPi7CHtvBoSGy4+tqOTcHAg2x548t6kgT9+tqTM89Ckao4v5Rv iWqR7W1GKjRdLUL5M0JK1J/dXE4NwhdsOPfk90du+U8V3wPvruwBPR1uIFktDjWxIl5s 3pOR6L2Az+RJUr1OSHecGhGZlz+zgL3asMvVMp/fy5P0Aur8wN5IFnPulQZboycZTv8h TE/a+DqpyF3mIAABdOq27YTRtZtzLfCT9sSNrB6npvY6qFkLgLgqIah7Y4ewDFaQOkme I+d7ThvOwCAYjSkhcg8wMrujRlheVd5UDgsI9v54s3PR4bYkQZfpc4tkCktk5H78wtty Ed2w== X-Gm-Message-State: AD7BkJLnUoE38vQF1nmU98RVFWJR1FnIlW1N56UzS0udSwjjMm65GI3NG9EWjazDMcn3uw== X-Received: by 10.67.7.1 with SMTP id cy1mr36274961pad.123.1457942626873; Mon, 14 Mar 2016 01:03:46 -0700 (PDT) Received: from localhost.localdomain ([104.37.5.155]) by smtp.gmail.com with ESMTPSA id 79sm29864427pfq.65.2016.03.14.01.03.35 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 14 Mar 2016 01:03:45 -0700 (PDT) From: Caesar Wang To: Heiko Stuebner , "David S. Miller" , Rob Herring Subject: [PATCH v3 7/9] clk: rockchip: add clock-id for rk3036 emac pll source clock Date: Mon, 14 Mar 2016 16:01:58 +0800 Message-Id: <1457942520-12859-8-git-send-email-wxt@rock-chips.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1457942520-12859-1-git-send-email-wxt@rock-chips.com> References: <1457942520-12859-1-git-send-email-wxt@rock-chips.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160314_010405_324635_BAEE4F59 X-CRM114-Status: UNSURE ( 9.87 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.4 (--) 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, sergei.shtylyov@cogentembedded.com, Xing Zheng , Ian Campbell , netdev@vger.kernel.org, Michael Turquette , Kumar Gala , Stephen Boyd , linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, Pawel Moll , keescook@google.com, linux-clk@vger.kernel.org, leozwang@google.com, Caesar Wang MIME-Version: 1.0 Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Xing Zheng Suitable PLLs for the emac on the rk3036 are difficult to find and one of them is the (continuously changing) APLL. So in most cases it will be necessary to select a PLL manually. So add a clock-id for it. Signed-off-by: Xing Zheng Signed-off-by: Caesar Wang Cc: Xing Zheng Cc: Michael Turquette Cc: Heiko Stuebner Cc: Stephen Boyd Cc: linux-clk@vger.kernel.org Cc: linux-rockchip@lists.infradead.org --- Changes in v3: - Add the Cc people. Changes in v2: None include/dt-bindings/clock/rk3036-cru.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/dt-bindings/clock/rk3036-cru.h b/include/dt-bindings/clock/rk3036-cru.h index 3396591..de44109 100644 --- a/include/dt-bindings/clock/rk3036-cru.h +++ b/include/dt-bindings/clock/rk3036-cru.h @@ -54,6 +54,7 @@ #define SCLK_PVTM_VIDEO 125 #define SCLK_MAC 151 #define SCLK_MACREF 152 +#define SCLK_MACPLL 153 #define SCLK_SFC 160 /* aclk gates */