From patchwork Thu Sep 5 12:36:31 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrzej Hajda X-Patchwork-Id: 2854099 Return-Path: X-Original-To: patchwork-linux-arm@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 DB193C0AB5 for ; Thu, 5 Sep 2013 12:40:16 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id C1EDB201BB for ; Thu, 5 Sep 2013 12:40:15 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 7EFBC20160 for ; Thu, 5 Sep 2013 12:40:14 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VHYq1-0000QW-GJ; Thu, 05 Sep 2013 12:39:05 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1VHYpd-0000Vp-Jl; Thu, 05 Sep 2013 12:38:41 +0000 Received: from mailout3.w1.samsung.com ([210.118.77.13]) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1VHYot-0000PE-Ck for linux-arm-kernel@lists.infradead.org; Thu, 05 Sep 2013 12:37:57 +0000 Received: from eucpsbgm2.samsung.com (unknown [203.254.199.245]) by mailout3.w1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MSN00HG0KEAGO50@mailout3.w1.samsung.com> for linux-arm-kernel@lists.infradead.org; Thu, 05 Sep 2013 13:37:27 +0100 (BST) X-AuditID: cbfec7f5-b7ef66d00000795a-71-52287b079029 Received: from eusync4.samsung.com ( [203.254.199.214]) by eucpsbgm2.samsung.com (EUCPMTA) with SMTP id 06.C4.31066.70B78225; Thu, 05 Sep 2013 13:37:27 +0100 (BST) Received: from AMDC1061.digital.local ([106.116.147.88]) by eusync4.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0MSN001B7KDXF650@eusync4.samsung.com>; Thu, 05 Sep 2013 13:37:27 +0100 (BST) From: Andrzej Hajda To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 10/12] ARM: exynos5440: create a DT header defining CLK IDs Date: Thu, 05 Sep 2013 14:36:31 +0200 Message-id: <1378384594-4807-14-git-send-email-a.hajda@samsung.com> X-Mailer: git-send-email 1.8.1.2 In-reply-to: <1378384594-4807-1-git-send-email-a.hajda@samsung.com> References: <1378384594-4807-1-git-send-email-a.hajda@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrKJMWRmVeSWpSXmKPExsVy+t/xa7rs1RpBBpdWC1jcWneO1eLA7Ies Fr0LrrJZnG16w26x6fE1VosZ5/cxWTydcJHNgd3jzrU9bB6bl9R7nJ+xkNGjb8sqRo/Pm+QC WKO4bFJSczLLUov07RK4MlquNDAXXOaqmPtzP1MDYw9nFyMnh4SAicTddw2sELaYxIV769m6 GLk4hASWMkr8edTJCOH0MUls2LafBaSKTUBT4u/mm2wgtoiAhsSUrsfsIDazwC4miYNHmEBs YQFviakzvjGD2CwCqhLrJt0Bs3kFnCVmda6G2qYg8fPyCbA5nEDxOzOfgMWFBJwk5u5+xziB kXcBI8MqRtHU0uSC4qT0XCO94sTc4tK8dL3k/NxNjJCg+rqDcekxq0OMAhyMSjy8GobqQUKs iWXFlbmHGCU4mJVEeJnSNIKEeFMSK6tSi/Lji0pzUosPMTJxcEo1ME5sXaXz69DdwoaSyu2x mkYr33U+eRJYba5y8uDte4xittHHNiiqMy5bV8s567ZievU228naS7PnJ+sc6989v8R181MJ j5QqyR2zXmYfjSwRZX8RZOzkW5jWfPaIcvadlKQOAVvZqOMvAzR4Zxx8WigkkhYZJnuC+btL taev8UKjgGDDdYZcSizFGYmGWsxFxYkAeARIGAgCAAA= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130905_083755_579300_6E321A50 X-CRM114-Status: UNSURE ( 6.79 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -9.3 (---------) Cc: Kukjin Kim , Mike Turquette , "moderated list:OPEN FIRMWARE AND..." , Andrzej Hajda , Kyungmin Park , "moderated list:ARM/S5P EXYNOS AR..." X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 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=-6.6 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 The patch adds header file defining clock IDs. This allows to use macros instead of magic numbers in DT bindings. Signed-off-by: Andrzej Hajda Signed-off-by: Kyungmin Park --- include/dt-bindings/clock/exynos5440.h | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 include/dt-bindings/clock/exynos5440.h diff --git a/include/dt-bindings/clock/exynos5440.h b/include/dt-bindings/clock/exynos5440.h new file mode 100644 index 0000000..68a472d --- /dev/null +++ b/include/dt-bindings/clock/exynos5440.h @@ -0,0 +1,29 @@ +#ifndef _DT_BINDINGS_CLOCK_EXYNOS_5440_H +#define _DT_BINDINGS_CLOCK_EXYNOS_5440_H + +#define CLK_XTAL 1 +#define CLK_ARM_CLK 2 +#define CLK_SPI_BAUD 16 +#define CLK_PB0_250 17 +#define CLK_PR0_250 18 +#define CLK_PR1_250 19 +#define CLK_B_250 20 +#define CLK_B_125 21 +#define CLK_B_200 22 +#define CLK_SATA 23 +#define CLK_USB 24 +#define CLK_GMAC0 25 +#define CLK_CS250 26 +#define CLK_PB0_250_O 27 +#define CLK_PR0_250_O 28 +#define CLK_PR1_250_O 29 +#define CLK_B_250_O 30 +#define CLK_B_125_O 31 +#define CLK_B_200_O 32 +#define CLK_SATA_O 33 +#define CLK_USB_O 34 +#define CLK_GMAC0_O 35 +#define CLK_CS250_O 36 +#define CLK_NR_CLKS 37 + +#endif /* _DT_BINDINGS_CLOCK_EXYNOS_5440_H */