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: 5382931 Return-Path: X-Original-To: patchwork-linux-arm@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 195C49F2F5 for ; Wed, 26 Nov 2014 00:16:43 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 55D8F200ED for ; Wed, 26 Nov 2014 00:16:42 +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 8C7D6200E1 for ; Wed, 26 Nov 2014 00:16:41 +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 1XtQEp-0002zs-Re; Wed, 26 Nov 2014 00:13:43 +0000 Received: from mail-ig0-x234.google.com ([2607:f8b0:4001:c05::234]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XtQEl-0002vb-Sc for linux-arm-kernel@lists.infradead.org; Wed, 26 Nov 2014 00:13:40 +0000 Received: by mail-ig0-f180.google.com with SMTP id h15so1732223igd.1 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=KWmSl4cGHVE5Q2lWgyS8MV8rDzN70nkSolDtdTvoSiQlSZsNQd1hJAj2f1nB631/Dg V1jXMaDTngj/9KF27Z/S08M3f+0kOYnDKQb9u2hW2N91+bfHlqLNS7P2w9Y/PqAA9LQA XHgEihVrdMgv25JYs4W7OuYxg21nrvXSCnWQvrksW2QDo/t3n4HteaQrCwAmwH0D/5tl ooUrnZUkE4bgpcTyHgc8LGNsFGW7IHTJtfwUxnrJVOc3fmuufe1Mx1uOFIlXhZEi1G4k o20J3vG/DTacM7ZGF907M/nNDi0ssxHwr72eLIklraEnomp9ezDgBemsWr3cgz/MIpkr NMVQ== X-Gm-Message-State: ALoCoQnq/fOPKIFIBTSlYP/AJgJ5ou5f+/M1LeD2r8sZk/FFvaexliBbONAMh1f0I7RAUgWLURkN 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_161339_991918_5E224F21 X-CRM114-Status: UNSURE ( 8.63 ) 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-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=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