From patchwork Sun Mar 13 09:07:40 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Caesar Wang X-Patchwork-Id: 8573341 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 6DCDDC0553 for ; Sun, 13 Mar 2016 09:09:18 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 941D92034B for ; Sun, 13 Mar 2016 09:09:17 +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 C48D1202E5 for ; Sun, 13 Mar 2016 09:09:16 +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 1af21U-00012i-8G; Sun, 13 Mar 2016 09:09:16 +0000 Received: from mail-pf0-f193.google.com ([209.85.192.193]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1af217-0000h7-QE for linux-rockchip@lists.infradead.org; Sun, 13 Mar 2016 09:08:55 +0000 Received: by mail-pf0-f193.google.com with SMTP id q129so10419663pfb.3 for ; Sun, 13 Mar 2016 01:08:33 -0800 (PST) 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=5KbP/pnwShspYFAy9KaYmjSDRJv3t0a09r+cduEJEQo=; b=LHm+Z5ZF3rUOynDA5WhhDdpOziI5aTXgq2xS2TyoYQ6K0euM/7zmhxs4CrbZqfYRMl ajQT07hisgAVLMD0+YXPNajcJ1KRtklHNx9x9DdBRqi7yV4r67PZUw2zbebZt7hS9QJK 9nhhGJRANdsUvXUTprCTrN+BqQgK3U6TdHN64capCjVRdXF5xGzxG7Bi/CcDYozv0wGA zVde7Wjv7rTFyGbWW59WRRk3pAMV/tE+AmAFvT3U7SqkIlxG2kb70idsTomZW6wSX7x8 /UrUr3pvtR1qGzjZmGXyp153l0SgUnLQmtjZOcwp7e96jGDpfO77NALUxbFxcAFlc2Ll FEUQ== X-Gm-Message-State: AD7BkJLL6pi8ixegNnntWHBezprczjb155OrxIolM5DyyGLCkNAdbsuQTNVVX7c/PKLpoQ== X-Received: by 10.98.89.22 with SMTP id n22mr21050987pfb.55.1457860113419; Sun, 13 Mar 2016 01:08:33 -0800 (PST) Received: from localhost.localdomain ([103.29.142.67]) by smtp.gmail.com with ESMTPSA id qh8sm24187964pac.40.2016.03.13.01.08.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 13 Mar 2016 01:08:32 -0800 (PST) From: Caesar Wang To: Heiko Stuebner , "David S. Miller" , Rob Herring Subject: [PATCH v2 7/9] clk: rockchip: add clock-id for rk3036 emac pll source clock Date: Sun, 13 Mar 2016 17:07:40 +0800 Message-Id: <1457860062-5514-8-git-send-email-wxt@rock-chips.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1457860062-5514-1-git-send-email-wxt@rock-chips.com> References: <1457860062-5514-1-git-send-email-wxt@rock-chips.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160313_010853_948220_DECE200E X-CRM114-Status: UNSURE ( 9.66 ) 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, Kumar Gala , linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, Pawel Moll , keescook@google.com, 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 --- 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 */