From patchwork Thu Nov 13 07:22:36 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kever Yang X-Patchwork-Id: 5293981 Return-Path: X-Original-To: patchwork-linux-rockchip@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 7789A9F2ED for ; Thu, 13 Nov 2014 07:25:22 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id B1E2F201E4 for ; Thu, 13 Nov 2014 07:25:21 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id F2FEE2015D for ; Thu, 13 Nov 2014 07:25:20 +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 1XoomO-0002xX-Ji; Thu, 13 Nov 2014 07:25:20 +0000 Received: from mail-pa0-x22b.google.com ([2607:f8b0:400e:c03::22b]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XoomM-0001nr-O7 for linux-rockchip@lists.infradead.org; Thu, 13 Nov 2014 07:25:19 +0000 Received: by mail-pa0-f43.google.com with SMTP id eu11so14787462pac.2 for ; Wed, 12 Nov 2014 23:24:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id; bh=OULA5XSZNyEdLB8jZhnC24+SVpX4QFhrRCWQxr91fBE=; b=ya4YoSMN/P8WDohoXU9I3rkSz1zDj2YalZkyOWeVj52mv0yuLB+BSoavZFZXqNt16l oK2+aM4sKKrSlq/W2NFb2Ovs3VVJixw64u3na+5FGUe0oQQiSBGIRMZbgq5DjuqAZ5L4 /EG3kk+Iu931UM20V6SeMQV4F0mvlm+IaidvARy39rPNPA/yWReYNcu7+d9w8CW5CoLh ff0BKdfpO4LZsQrID9wruX+wzS665vfdtd/X+smaRjubzclv3Un86+1r7dEU2uR3KPr9 zyOsgF0Qk25Li61w2om+OLO3JCKDHIbuePTrtkcti8qh/I5QCKFcguTjg1d9YjBR0BX0 spXg== X-Received: by 10.68.131.133 with SMTP id om5mr694846pbb.41.1415863494827; Wed, 12 Nov 2014 23:24:54 -0800 (PST) Received: from localhost.localdomain ([58.22.7.114]) by mx.google.com with ESMTPSA id va2sm24117280pac.15.2014.11.12.23.24.43 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 12 Nov 2014 23:24:53 -0800 (PST) From: Kever Yang To: Heiko Stuebner , Mike Turquette Subject: [PATCH 1/2] clk: rockchip: add clock ID for usbphy480m_src Date: Thu, 13 Nov 2014 15:22:36 +0800 Message-Id: <1415863357-15680-1-git-send-email-kever.yang@rock-chips.com> X-Mailer: git-send-email 1.9.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20141112_232518_807442_EEF4079B X-CRM114-Status: UNSURE ( 7.33 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.7 (/) Cc: huangtao@rock-chips.com, dkl@rock-chips.com, addy.ke@rock-chips.com, Pawel Moll , Ian Campbell , linux-kernel@vger.kernel.org, dianders@chromium.org, Kever Yang , linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org, Rob Herring , Kumar Gala , cf@rock-chips.com, Mark Rutland , sonnyrao@chromium.org, Mark yao X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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=-3.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_LOW,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=ham 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 There are 3 different parent clock from different usbphy, all of them are fixed 480MHz, it is not able to auto select by clock core to the 2nd and the 3rd parent. For different use case for different board, we may need to select different usbphy clock out as parent manually. Add the clock ID for it so that we can use in dts. Signed-off-by: Kever Yang Reviewed-by: Doug Anderson --- include/dt-bindings/clock/rk3288-cru.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/dt-bindings/clock/rk3288-cru.h b/include/dt-bindings/clock/rk3288-cru.h index 100a08c..3dcc906 100644 --- a/include/dt-bindings/clock/rk3288-cru.h +++ b/include/dt-bindings/clock/rk3288-cru.h @@ -71,6 +71,7 @@ #define SCLK_HDMI_CEC 110 #define SCLK_HEVC_CABAC 111 #define SCLK_HEVC_CORE 112 +#define SCLK_USBPHY480M_SRC 113 #define DCLK_VOP0 190 #define DCLK_VOP1 191