From patchwork Wed Nov 26 00:13:02 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Doug Anderson X-Patchwork-Id: 5382901 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.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 1564CC11AC for ; Wed, 26 Nov 2014 00:14:00 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 33BCF201BC for ; Wed, 26 Nov 2014 00:13:59 +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 440FC200E1 for ; Wed, 26 Nov 2014 00:13:58 +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 1XtQEz-00031U-Mh; Wed, 26 Nov 2014 00:13:53 +0000 Received: from mail-ig0-x233.google.com ([2607:f8b0:4001:c05::233]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XtQEl-0002vc-Sb for linux-rockchip@lists.infradead.org; Wed, 26 Nov 2014 00:13:40 +0000 Received: by mail-ig0-f179.google.com with SMTP id r2so1711338igi.12 for ; Tue, 25 Nov 2014 16:13:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id; bh=qpT4hX59p1/FdhAXHIr5LiElzM4t1E35p+/zgAnzf2g=; b=PKUNBWsOEMhVBRy/IZS29lV6U7C4F/0Ukqhc13NmquRhZWnq/oQSEcZEJ1OdC3FaEa sZaXlIdNHlFAVmX9iU3aWslzwN+i/GP52e0hpyz66ptm+JDyul0LRYdB+bZ+rCRU4eh/ pg0LlJ6uF/+NtdMz1HiNw1r/GkUd9yv4gAfNs= 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=qpT4hX59p1/FdhAXHIr5LiElzM4t1E35p+/zgAnzf2g=; b=e59qMFTQrOqqThjCU6lEsjqEITfbq7VNXMiSoFrD51DzpgpL90OlmgnqphPdJ70fOV fC3WnEfYZp91dtYmvjvhH9Oz8Ea7/57O6VILiJ0EzE3VJI8wCQuykNofR4j+7CBj0xV+ 5ygiGvn1KyEfiCe2n0zRaRCrU5QdeZU7N1UXaXQQVMC69v+UWj1jYMZDBUyAByxi/u+l 1/DsjEYxJS1NTBDMMFaTcXNUQmFM82wu33qOrIVX7f7RN5x0/1nQiD2Jx5qTa+f7bbno hN1nb9dipTrEkLNuIyD0brPlWyOnXaLnctc1vFfbB54iwTZvCAQSncZeknpGGr6dQsGX mSwA== X-Gm-Message-State: ALoCoQkYq3mdALcEbIqvIaWuzys2D8NQjQRROBCpC6kHR4TWUGjluT3uBCYrn0SiccgQeeHPfwye X-Received: by 10.42.53.80 with SMTP id m16mr32025963icg.43.1416960797616; Tue, 25 Nov 2014 16:13:17 -0800 (PST) Received: from tictac.mtv.corp.google.com ([172.22.65.76]) by mx.google.com with ESMTPSA id ik2sm1781735igb.9.2014.11.25.16.13.15 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 25 Nov 2014 16:13:16 -0800 (PST) From: Doug Anderson To: Heiko Stuebner , cym@rock-chips.com, Mike Turquette Subject: [PATCH 1/2] clk: rockchip: add binding ID for DMC (memory controller) clocks on rk3288 Date: Tue, 25 Nov 2014 16:13:02 -0800 Message-Id: <1416960783-25119-1-git-send-email-dianders@chromium.org> X-Mailer: git-send-email 2.1.0.rc2.206.gedb03e5 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20141125_161340_010996_F675EFC9 X-CRM114-Status: UNSURE ( 7.00 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.8 (/) Cc: mark.rutland@arm.com, devicetree@vger.kernel.org, pawel.moll@arm.com, ijc+devicetree@hellion.org.uk, linux-kernel@vger.kernel.org, Derek Basehore , Doug Anderson , kever.yang@rock-chips.com, linux-rockchip@lists.infradead.org, robh+dt@kernel.org, galak@codeaurora.org, linux-arm-kernel@lists.infradead.org, mark.yao@rock-chips.com 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=-2.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_LOW, T_DKIM_INVALID, T_RP_MATCHES_RCVD, 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 From: Jeff Chen The DMC clocks need to be turned off at runtime, so we should have IDs so we can export them. Signed-off-by: Jeff Chen [dianders: split into two patches; adjusted commit msg] Signed-off-by: Doug Anderson --- include/dt-bindings/clock/rk3288-cru.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/dt-bindings/clock/rk3288-cru.h b/include/dt-bindings/clock/rk3288-cru.h index 100a08c..8e19ed5 100644 --- a/include/dt-bindings/clock/rk3288-cru.h +++ b/include/dt-bindings/clock/rk3288-cru.h @@ -141,6 +141,10 @@ #define PCLK_VIO2_H2P 361 #define PCLK_CPU 362 #define PCLK_PERI 363 +#define PCLK_DDRUPCTL0 364 +#define PCLK_PUBL0 365 +#define PCLK_DDRUPCTL1 366 +#define PCLK_PUBL1 367 /* hclk gates */ #define HCLK_GPS 448