From patchwork Fri Dec 19 00:13:45 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Torokhov X-Patchwork-Id: 5516591 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 6F8EA9F30B for ; Fri, 19 Dec 2014 00:14:20 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A3518202E6 for ; Fri, 19 Dec 2014 00:14:19 +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 C03D52024F for ; Fri, 19 Dec 2014 00:14:18 +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 1Y1lD0-0002ya-9X; Fri, 19 Dec 2014 00:14:18 +0000 Received: from mail-ob0-f172.google.com ([209.85.214.172]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Y1lCx-0002rf-Dg for linux-rockchip@lists.infradead.org; Fri, 19 Dec 2014 00:14:15 +0000 Received: by mail-ob0-f172.google.com with SMTP id va8so8060290obc.3 for ; Thu, 18 Dec 2014 16:13:53 -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; bh=U5SOBDVtMegDtG0cWUaOjmcYPVbbcdWWKW8PvchLejA=; b=Odv7wPoVO5TcqA0tH1Un35C/nGMwfNbd8wU4NXLZxxi/hcNuj299KaWRmxzd1gxrt/ Tb4GM4bwqMloKtKmetW15texY/1LGY1/2sLUvAPiavVr9/5ez1wwKGd+SRDa3IpaZsN8 nPSld8ImxZEYAgu24m6wcN35g+olTCkSKuUTto615Jpe+GzlMDlKuFJ9FQR5XwOHSLhB LhoPby9ii9VinATcGf9A0L+WFjXmMrgxchSbB41fuTLpmR5mUrxCLOAAwwKf9KE4zc2p +OYbVLTjXhOMQ4tqTnMuremOfhIMX+JtMqVdXX+IVgTwocLRMY1ikyqaABt+bLhap0Jh VLSA== X-Gm-Message-State: ALoCoQlmVLhpUSOekgttZSWH9A31SfJ/UIXu1qTECbf3TlCYtIGw/LxC5SQaIGPUm5wS272BMceu X-Received: by 10.107.14.12 with SMTP id 12mr4939031ioo.65.1418948033299; Thu, 18 Dec 2014 16:13:53 -0800 (PST) Received: from dtor-ws.mtv.corp.google.com ([172.22.64.149]) by mx.google.com with ESMTPSA id r18sm3853769ioi.28.2014.12.18.16.13.52 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 18 Dec 2014 16:13:52 -0800 (PST) From: Dmitry Torokhov To: Heiko Stuebner Subject: [PATCH 1/2] CHROMIUM: clk: rockchip: add clock IDs for the PVTM clocks Date: Thu, 18 Dec 2014 16:13:45 -0800 Message-Id: <1418948026-3463-1-git-send-email-dtor@chromium.org> X-Mailer: git-send-email 2.2.0.rc0.207.ga3a616c X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20141218_161415_512262_D8B252ED X-CRM114-Status: UNSURE ( 5.84 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.7 (/) Cc: devicetree@vger.kernel.org, addy.ke@rock-chips.com, Mike Turquette , hl@rock-chips.com, linux-kernel@vger.kernel.org, kever.yang@rock-chips.com, dianders@chromium.org, linux-rockchip@lists.infradead.org, sonnyrao@chromium.org 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=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, T_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: Huang Lin Process-Voltage-Temperature Monitor has two clocks, PVTM_CORE and PVTM_GPU. Signed-off-by: Huang Lin Signed-off-by: Dmitry Torokhov Reviewed-by: Doug Anderson --- Note that I left a hole at 122 for SCLK_USBPHY480M_SRC which is floating around. include/dt-bindings/clock/rk3288-cru.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/dt-bindings/clock/rk3288-cru.h b/include/dt-bindings/clock/rk3288-cru.h index f60ce72..ba4c194 100644 --- a/include/dt-bindings/clock/rk3288-cru.h +++ b/include/dt-bindings/clock/rk3288-cru.h @@ -81,6 +81,9 @@ #define SCLK_SDIO1_SAMPLE 120 #define SCLK_EMMC_SAMPLE 121 +#define SCLK_PVTM_CORE 123 +#define SCLK_PVTM_GPU 124 + #define DCLK_VOP0 190 #define DCLK_VOP1 191